2
My VPN client sometimes can't bind to the UDP port (500) it uses. It seems to leave behind a "bind" to port 500 on a previous run, even though it has quit.
The port is reported as "already in use" (Mac os X), but doesn't have an associated process:
$ sudo netstat -na | grep "udp.*\.500\>"
udp4 0 0 192.168.50.181.500 *.*
udp4 0 0 192.168.29.166.500 *.*
But sudo lsof
doesn't show a process on port 500 (ie sudo lsof -i:500 -P
reports nothing).
I can successfully use the VPN client after rebooting the machine, but am hoping for a less disruptive way to clear the state.
There is no virtual network interface in ifconfig or in the "System Pref / Networking" screen. I do use a VPN client called IPSecuritas, but it doesn't register itself as a virtual interface. I believe it's badly behaved in some circumstances, but I can't figure out how to clean up after it. – Chocohound – 2012-11-12T16:50:36.160
Also, if what you were saying is the issue, wouldn't there be a process listed by lsof? – Chocohound – 2012-11-12T16:52:45.937
@Chocohound if it's implemented in the kernel then there needn't be a process. – Alnitak – 2012-11-12T16:53:28.070
Alnitak, good point. But the issue still remains -- there is no virtual network interface listed... – Chocohound – 2012-11-12T17:39:30.700