On 1/15/2013 3:10 PM, Alexander Farber wrote:
sorry for the stupid question, but how to use
tcpdump to check for incoming connections?

I've come up only with these commands sofar:

# netstat -an |grep -w 25
tcp        0      0 127.0.0.1:25                0.0.0.0:*
      LISTEN

# iptables -L|grep -w smtp
ACCEPT     tcp  --  anywhere             anywhere            state NEW
tcp multiport dports smtp,ssh

Thanks
Alex

The first problem is that you are not listening on the right IP address.
use:
inet_interfaces = all

instead of what you have.

And I recommend you to learn a bit more about linux basics.

Best regards,
Eliezer


Reply via email to