-9.9 C
United States of America
Monday, January 20, 2025

macos – Some applications report “no path to host” connecting to Home windows server when run with out sudo


On my Home windows 11 machine, at 10.204.221.106, I am working a netcat listener:

ncat.exe -lv 31415

On macOS Sequoia 15.0.1, I can efficiently hook up with the Home windows machine with nc like this:

(base) Andrews-Mini-2:MacOS andrewtapia$ nc 10.204.221.106 31415
howdy
there
^C

However I get an error utilizing telnet:

(base) Andrews-Mini-2:MacOS andrewtapia$ telnet 10.204.221.106 31415
Making an attempt 10.204.221.106...
telnet: join to deal with 10.204.221.106: No path to host
telnet: Unable to connect with distant host

Telnet is model 303.141.1 of this brew system.

Except I run telnet with sudo:

(base) Andrews-Mini-2:MacOS andrewtapia$ sudo telnet 10.204.221.106 31415
Making an attempt 10.204.221.106...
Linked to tatl.
Escape character is '^]'.
howdy
there
^]
telnet> Connection closed.

Evidently, this works even when I exploit sudo to turn out to be a non-root consumer, e.g., sudo -u no one telnet 10.204.221.106 31415.

I believed possibly this was a firewall concern on the Mac aspect, however the System Settings declare that the firewall is off. I am additionally not working a third-party firewall. What may very well be inflicting this downside?


Routing tables:

(base) Andrews-Mini-2:~ andrewtapia$ netstat -rnf inet
Routing tables

Web:
Vacation spot        Gateway            Flags               Netif Expire
default            10.204.221.1       UGScg                 en0
default            10.204.221.1       UGScIg                en1
default            hyperlink#25            UCSIg           bridge100      !
default            hyperlink#27            UCSIg           bridge101      !
default            hyperlink#31            UCSIg           bridge102      !
10.204.221/24      hyperlink#8             UCS                   en0      !
10.204.221/24      hyperlink#11            UCSI                  en1      !
10.204.221.1/32    hyperlink#8             UCS                   en0      !
10.204.221.1       a0:36:bc:75:66:18  UHLWIir               en0   1180
10.204.221.1       a0:36:bc:75:66:18  UHLWIir               en1   1197
10.204.221.1/32    hyperlink#11            UCSI                  en1      !
10.204.221.43/32   hyperlink#11            UCS                   en1      !
10.204.221.55/32   hyperlink#8             UCS                   en0      !
10.204.221.55      f0:18:98:ec:5a:9e  UHLWI                 lo0
10.204.221.95      3c:2a:f4:b9:e1:cd  UHLWI                 en0    814
10.204.221.95      3c:2a:f4:b9:e1:cd  UHLWI                 en1    814
10.204.221.106     f8:fe:5e:ae:c9:1e  UHLWI                 en0    994
10.204.221.243     8a:ef:7a:f7:e3:a6  UHLWI                 en0   1114
10.204.221.243     8a:ef:7a:f7:e3:a6  UHLWIi                en1   1114
10.204.221.255     ff:ff:ff:ff:ff:ff  UHLWbI                en0      !
127                127.0.0.1          UCS                   lo0
127.0.0.1          127.0.0.1          UH                    lo0
169.254            hyperlink#8             UCS                   en0      !
169.254            hyperlink#11            UCSI                  en1      !
169.254.145.12     cc:a7:c1:25:d5:48  UHLSW                 en0      !
169.254.169.254    hyperlink#8             UHLSW                 en0      !
169.254.223.239    cc:a7:c1:25:d5:48  UHLSW                 en0      !
172.16.33/24       hyperlink#27            UC              bridge101      !
172.16.169/24      hyperlink#25            UC              bridge100      !
192.168.14         hyperlink#31            UC              bridge102      !
224.0.0/4          hyperlink#8             UmCS                  en0      !
224.0.0/4          hyperlink#11            UmCSI                 en1      !
224.0.0.251        1:0:5e:0:0:fb      UHmLWI                en0
224.0.0.251        1:0:5e:0:0:fb      UHmLWI                en1
224.0.0.251        1:0:5e:0:0:fb      UHmLWIg         bridge101
224.0.0.251        1:0:5e:0:0:fb      UHmLWIg         bridge102
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI                en0
239.255.255.250    1:0:5e:7f:ff:fa    UHmLWI                en1
255.255.255.255/32 hyperlink#8             UCS                   en0      !
255.255.255.255/32 hyperlink#11            UCSI                  en1      !

Path to 10.204.221.106:

(base) Andrews-Mini-2:~ andrewtapia$ route -n get 10.204.221.106
   path to: 10.204.221.106
vacation spot: 10.204.221.106
  interface: en0
      flags: <UP,HOST,DONE,LLINFO,WASCLONED,IFSCOPE,IFREF>
 recvpipe  sendpipe  ssthresh  rtt,msec    rttvar  hopcount      mtu     expire
       0         0         0         0         0         0      1500       920

System Settings > Common > Privateness & Safety > Native Community settings:

Screenshot of a window showing the Local Network settings. The only applications shown are Spotify, AdobeGCClient, and Deskflow; all are enabled.

Outputs of tcpdump -vvv -X -ni en0 -w capX.pcap 'port 31415 or arp' for:

A diagram exhibiting a part of my community:

Diagram showing part of my network. The Mac Mini at 10.204.221.55 is connected to a NETGEAR 1G switch via ethernet. In turn, the switch is connected to a patch panel, which is connected to the router. The ASUS laptop at 10.204.221.106 is connected wirelessly to the same router.


As advised, I attempted working ping -c1 -W1 10.204.221.106 earlier than working the telnet command with and with out sudo and recorded the output of arp -an at every step.

arp -an earlier than working ping -c1 -W1 10.204.221.106:

? (10.204.221.1) at a0:36:bc:75:66:18 on en0 ifscope [ethernet]
? (10.204.221.1) at a0:36:bc:75:66:18 on en1 ifscope [ethernet]
? (10.204.221.6) at 80:e6:50:20:f6:c4 on en0 ifscope [ethernet]
? (10.204.221.42) at c:4d:e9:ca:51:71 on en0 ifscope [ethernet]
? (10.204.221.51) at 7c:10:c9:5e:7c:4e on en0 ifscope [ethernet]
? (10.204.221.51) at 7c:10:c9:5e:7c:4e on en1 ifscope [ethernet]
? (10.204.221.55) at f0:18:98:ec:5a:9e on en0 ifscope everlasting [ethernet]
? (10.204.221.95) at 3c:2a:f4:b9:e1:cd on en0 ifscope [ethernet]
? (10.204.221.95) at 3c:2a:f4:b9:e1:cd on en1 ifscope [ethernet]
? (10.204.221.159) at 46:56:8b:83:1c:f7 on en0 ifscope [ethernet]
? (10.204.221.159) at (incomplete) on en1 ifscope [ethernet]
? (10.204.221.231) at 3c:6:30:eb:96:38 on en0 ifscope [ethernet]
? (10.204.221.231) at 3c:6:30:eb:96:38 on en1 ifscope [ethernet]
? (10.204.221.243) at 8a:ef:7a:f7:e3:a6 on en0 ifscope [ethernet]
? (10.204.221.243) at 8a:ef:7a:f7:e3:a6 on en1 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope everlasting [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en1 ifscope everlasting [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope everlasting [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en1 ifscope everlasting [ethernet]

arp -an after ping -c1 -W1 10.204.221.106 and each different step:

? (10.204.221.1) at a0:36:bc:75:66:18 on en0 ifscope [ethernet]
? (10.204.221.1) at a0:36:bc:75:66:18 on en1 ifscope [ethernet]
? (10.204.221.6) at 80:e6:50:20:f6:c4 on en0 ifscope [ethernet]
? (10.204.221.42) at c:4d:e9:ca:51:71 on en0 ifscope [ethernet]
? (10.204.221.51) at 7c:10:c9:5e:7c:4e on en0 ifscope [ethernet]
? (10.204.221.51) at 7c:10:c9:5e:7c:4e on en1 ifscope [ethernet]
? (10.204.221.55) at f0:18:98:ec:5a:9e on en0 ifscope everlasting [ethernet]
? (10.204.221.95) at 3c:2a:f4:b9:e1:cd on en0 ifscope [ethernet]
? (10.204.221.95) at 3c:2a:f4:b9:e1:cd on en1 ifscope [ethernet]
? (10.204.221.106) at f8:fe:5e:ae:c9:1e on en0 ifscope [ethernet]
? (10.204.221.159) at 46:56:8b:83:1c:f7 on en0 ifscope [ethernet]
? (10.204.221.159) at (incomplete) on en1 ifscope [ethernet]
? (10.204.221.231) at 3c:6:30:eb:96:38 on en0 ifscope [ethernet]
? (10.204.221.231) at 3c:6:30:eb:96:38 on en1 ifscope [ethernet]
? (10.204.221.243) at 8a:ef:7a:f7:e3:a6 on en0 ifscope [ethernet]
? (10.204.221.243) at 8a:ef:7a:f7:e3:a6 on en1 ifscope [ethernet]
? (10.204.221.255) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
? (10.204.221.255) at ff:ff:ff:ff:ff:ff on en1 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en0 ifscope everlasting [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en1 ifscope everlasting [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en0 ifscope everlasting [ethernet]
? (239.255.255.250) at 1:0:5e:7f:ff:fa on en1 ifscope everlasting [ethernet]

Output of systemextensionsctl listing:

0 extension(s)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles