[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

netstat -an alternatives



Hi.

I am trying to create script that would activate when other machines 
connect to certain ports on internet through this machine. This box is 
doing the masquarading.

I tried to use tcpdump, but it does not have any timeout options that I 
need. And besides I just need to see if connection is established. The 
packets might take a while to come in. I need almost immidiate answer. 
I don't need to see the packets just that there is currently a link 
established between a masquaraded machine and a site on internet with a 
specific port#. Sort of like what "netstat -an" does, but looking at 
non-local connections.

Any ideas ?



Reply to: