Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2007 14:44:47 +0100
From:      Dan Lukes <dan@obluda.cz>
To:        freebsd-security@freebsd.org
Subject:   Re: Reality check: IPFW sees SSH traffic that sshd does not?
Message-ID:  <460136CF.8030700@obluda.cz>
In-Reply-To: <20070321133221.GG31533@bunrab.catwhisker.org>
References:  <20070321123033.GD31533@bunrab.catwhisker.org>	<46012D37.5060603@bofh.lt> <20070321133221.GG31533@bunrab.catwhisker.org>

next in thread | previous in thread | raw e-mail | index | archive | help
David Wolfskill wrote:
>> Might be a SYN scan. I believe SSH will not log anything if a three-way
>> handshake has not been completed.

	The application layer can accept only "completed" connections, so 
handshaking must be successfully completed first before the application 
can accept the incoming connection. It's not SSH specific behavior.

>> Of course, it would help if you provided ipfw logs to determine exactly
>> what kind of packets it was.

> Mar 20 09:12:29 janus kernel: ipfw: 10000 Accept TCP 204.11.235.148:26102 172.16.8.11:22 out via vr0
> Mar 20 19:30:07 janus kernel: ipfw: 10000 Accept TCP 204.11.235.148:33000 172.16.8.11:22 out via vr0

	It may not help. We can see packet in one direction but not in 
opposite. Unfortunately, we can't decide it's because there are no reply 
packets or the response packets are not logged by your configuration.

						Dan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?460136CF.8030700>