Snort mailing list archives

Re: ssh-tunnel between sensor and database-server


From: Sean Brown <sblinux () shaw ca>
Date: Fri, 27 Aug 2004 19:21:21 -0600

On August 25, 2004 9:47 am, Steffen Maetzky (extern) wrote:
I have build an ssh-tunnel between my snort-sensor and my
database-server and it seems to work.

I had like to control this with tcpdump and it shows something like
this:

      "IP1".32817 > "IP2".22
      "IP2".22 > "IP1".32817

      "IP1"=sensor
      "IP2"=server

I expect port 3306 instead of 32817 and that confuses me.

Can anyone explain me why 32817 is used?
Does ssh "hide" the source-port by using it?

Thanks in advance,

Steffen
The 32817 is the outgoing source port from your snort sensor to your ssh 
server. Only a destination is a designated port, whereas originating port 
numbers are random numbers >1024. What your looking at is the ssh traffic, 
not the traffic crossing the tunnel.

-Sean Brown


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: