On Mon, Feb 09, 2004 at 01:51:31AM -0500, Jason Matheson wrote:
> Hi,
>
> I am running ipfiler on a mail server and have noticed alot of attempted
> incoming connections from Hotmail which seem to coincide with outgoing
> messages sent to Hotmail from the server. Here is a sample:
>
>
[snip]
> fxp0 @0:29 b mc12-f29.bay6.hotmail.com[65.54.167.165],smtp ->
> myserver.com[IP],stun-p2 PR tcp len 20 115 -AFP IN
>
> The server is succesfully receiving E-mail from Hotmail so I do not
> think these are regular SMTP connections that are trying to be
> established. Any ideas as to what is "trying" to go here?
We see that the ACK, FIN, and PSH ("-AFP") flags are set in the TCP
header. The hotmail.com system is trying to close up the TCP
connection, but for whatever reason, the firewall doesn't know about
the connection. It probably did exist, but has already been closed up
and forgotten.
I can think of three likely reasons for this. (1) Your ACK of
the previous FIN was lost and this is a retransmission. But since IPF
thought it saw the connection shut down cleanly, it no longer has the
TCP connection in its state table. The TIME_WAIT state the firewall
keeps on the TCP connections may not be long enough. The other two
possibilities are someone has a (2) messed up TCP stack or (3)
NAT/load balancer device.
--
Crist J. Clark | [EMAIL PROTECTED]
| [EMAIL PROTECTED]
http://people.freebsd.org/~cjc/ | [EMAIL PROTECTED]