Hello,
It seems that if there is a Transparent Proxy running on the system, all calls to listen() function of socket API fail with an error. This affects any TCP socket of any process.
Steps to reproduce:
2. Observe that listen() does not work anymore. It can be tested with netcat tool:
% nc -vv -l 5555
nc: listen: Protocol wrong type for socket
It seems that if there is a Transparent Proxy running on the system, all calls to listen() function of socket API fail with an error. This affects any TCP socket of any process.
Steps to reproduce:
Run a Transparent Proxy with the following rules:
Code Block NENetworkRule(remoteNetwork: nil, remotePrefix: 0, localNetwork: nil, localPrefix: 0, protocol: .TCP, direction: NETrafficDirection.outbound)
2. Observe that listen() does not work anymore. It can be tested with netcat tool:
% nc -vv -l 5555
nc: listen: Protocol wrong type for socket