Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telnet connection to pat on MacOS 15 doesn't work without turning off the firewall #460

Open
gunnarre opened this issue Oct 19, 2024 · 0 comments

Comments

@gunnarre
Copy link

pat version: Pat v0.16.0 (823b991) darwin/amd64 - go1.22.2

Operating system and architecture: MacOS 15.0.1 (24A348), darwin/arm64, using darwin/amd64 via Rosetta.

I set up a listener on telnet. I also allowed pat through the application firewall with sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/local/bin/pat. However when I tried to connect from WoAD 1.5.3 on Android 8.1, it did not work unless I turn off the firewall completely with sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate off

If the bind address is blank "listen_addr": ":8774", the failure is silent. But if I input an IP address in the configuration, the log lines are

2024/10/19 09:43:25 Accept telnet failed: read tcp 192.168.10.149:8774->192.168.10.143:38482: read: socket is not connected
2024/10/19 09:43:25 Listener telnet failed: listen tcp 192.168.10.149:8774: bind: address already in use
2024/10/19 09:43:25 Will try to re-establish listener in the background...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant