[SuSE Linux] monitoring a tcp port
Hi, I know alot of people have done this, so why not ask? I'm playing with Mysql which listens on TCP port 3306. For the time being, I only am using it for tests and learning and stay on my localhost and local lan. BUT, when I go online and have the server still running, I would like to know if anyone is trying to gain access to the port, and their ip address. I figure that tcpdump is the thing to use, but what would the syntax be to monitor the single port and write it to a log file? The perl script Courtney seems to do this, but it has been designed to detect Satan-style attacks, and dosn't report a single port request. I wish the man pages had better examples. :-) - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
zentara wrote:
Hi, I know alot of people have done this, so why not ask?
<A HREF="http://www.psionic.com/abacus/abacus_sentry.html"><A HREF="http://www.psionic.com/abacus/abacus_sentry.html</A">http://www.psionic.com/abacus/abacus_sentry.html</A</A>> is a good starting point for a very robust, well documented and quite usable piece of freeware that answers your requisite. use it well. Regards, Stu - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Don't know if you got a response to this already... I use tcpdump eg. tcpdump port 25 > yourlogfile will show activity on port 25 both ways tcpdump dst port 25 > yourlogfile will show activity on port 25 for destination only On Wed, 11 Nov 1998, zentara wrote:
Hi, I know alot of people have done this, so why not ask?
I'm playing with Mysql which listens on TCP port 3306. For the time being, I only am using it for tests and learning and stay on my localhost and local lan.
BUT, when I go online and have the server still running, I would like to know if anyone is trying to gain access to the port, and their ip address.
Lou - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
Luis Costabile wrote:
Don't know if you got a response to this already...
I use tcpdump
eg. tcpdump port 25 > yourlogfile
will show activity on port 25 both ways
tcpdump dst port 25 > yourlogfile
will show activity on port 25 for destination only
Thanks, but I was given this url which does exactly what I wanted. Check it out: <A HREF="http://www.psionic.com/abacus/abacus_sentry.html"><A HREF="http://www.psionic.com/abacus/abacus_sentry.html</A">http://www.psionic.com/abacus/abacus_sentry.html</A</A>> It is sort of an automatic firewall. - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e
participants (3)
-
luis@lac.resonet.com
-
stugreen@realtime.net
-
zentara@mindspring.com