Networking Forums

Networking Forums > Computer Networking > Windows Networking > Windows Firewall dropping syn/ack packets!?

Reply
Thread Tools Display Modes

Windows Firewall dropping syn/ack packets!?

 
 
Sheepfarming
Guest
Posts: n/a

 
      09-26-2007, 01:46 PM

I installed an ODBC driver on a Windows Server 2003 R2 SP2 machine and
attempted to set up a DSN to connect to a remote database.

When I test the DSN connection it fails.

On examining the windows firewall log I see the line below once for every
failed connection:-

2007-09-26 13:45:29 DROP TCP 10.2.196.65 10.2.239.8 3306 1952 48 SA
374811178 2640928510 5840 - - - RECEIVE

The windows server is 10.2.239.8 and the database is on 10.2.196.65 running
on TCP port 3306.

Correct me if I'm wrong but isn't this showing windows firewall rejecting
the SYN/ACK of a legit TCP handshake?

If so why is it doing this, I'm initiating the outgoing connection, surely
the related packets should be allowed?

I hope someone can throw some light on this.

Cheers.
 
Reply With Quote
 
 
 
 
Steve Riley [MSFT]
Guest
Posts: n/a

 
      09-26-2007, 04:07 PM
To make sure I understand:

This log shows a dropped SYN-ACK from the Windows server (10.2.239.8:3306)
to the database server (10.2.196.65:1952).

Which computer are you getting this log from?

--
Steve Riley
(E-Mail Removed)
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"Sheepfarming" <(E-Mail Removed)> wrote in message
news:C9CBE659-DD6B-433D-A87C-(E-Mail Removed)...
>
> I installed an ODBC driver on a Windows Server 2003 R2 SP2 machine and
> attempted to set up a DSN to connect to a remote database.
>
> When I test the DSN connection it fails.
>
> On examining the windows firewall log I see the line below once for every
> failed connection:-
>
> 2007-09-26 13:45:29 DROP TCP 10.2.196.65 10.2.239.8 3306 1952 48 SA
> 374811178 2640928510 5840 - - - RECEIVE
>
> The windows server is 10.2.239.8 and the database is on 10.2.196.65
> running
> on TCP port 3306.
>
> Correct me if I'm wrong but isn't this showing windows firewall rejecting
> the SYN/ACK of a legit TCP handshake?
>
> If so why is it doing this, I'm initiating the outgoing connection, surely
> the related packets should be allowed?
>
> I hope someone can throw some light on this.
>
> Cheers.


 
Reply With Quote
 
Sheepfarming
Guest
Posts: n/a

 
      09-27-2007, 11:08 AM
"Steve Riley [MSFT]" wrote:

> To make sure I understand:
>
> This log shows a dropped SYN-ACK from the Windows server (10.2.239.8:3306)
> to the database server (10.2.196.65:1952).


The Windows2K3 server (10.2.239.8:1952) appears to be dropping the SYN-ACK
from the database server (10.2.196.65:3306).

> Which computer are you getting this log from?


The W2K3 server (10.2.239.8) initiated the connection (to port 3306 on the
database server 10.2.196.65) and the log is from the W2K3 server (10.2.239.8).

There aren't any dropped packets on the database server.

I hope that makes more sense.

Cheers.



 
Reply With Quote
 
Steve Riley [MSFT]
Guest
Posts: n/a

 
      09-27-2007, 05:20 PM
Hm. Looks like I misread your log the first time. This is what you wrote:

2007-09-26 13:45:29 DROP TCP 10.2.196.65 10.2.239.8 3306 1952 48 SA
374811178 2640928510 5840 - - - RECEIVE

This is the format of the firewall log:

Date Time Action Protocol Source-IP Dest-IP Source-Port Dest-Port Size
TCPFlags TCPSyn TCPAck TCPWinSize ICMPType ICMPCode Info Path

So this is a SYN-ACK from 10.2.196.65:3306 to 10.2.239.8:1952. This matches
your statement

> The Windows2K3 server (10.2.239.8:1952) appears to be dropping the SYN-ACK
> from the database server (10.2.196.65:3306).


Obviously the initial SYN from the 2003 Server is getting to the database
server. I'm at a loss why its firewall is blocking the reply, I'll have to
ask around. Meanwhile, try something, and I doubt this will work: create an
exception that permits inbound traffic from the database server. This is
more curiosity than anything else.

--
Steve Riley
(E-Mail Removed)
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"Sheepfarming" <(E-Mail Removed)> wrote in message
news:741276D5-4E95-47D8-AF86-(E-Mail Removed)...
> "Steve Riley [MSFT]" wrote:
>
>> To make sure I understand:
>>
>> This log shows a dropped SYN-ACK from the Windows server
>> (10.2.239.8:3306)
>> to the database server (10.2.196.65:1952).

>
> The Windows2K3 server (10.2.239.8:1952) appears to be dropping the SYN-ACK
> from the database server (10.2.196.65:3306).
>
>> Which computer are you getting this log from?

>
> The W2K3 server (10.2.239.8) initiated the connection (to port 3306 on
> the
> database server 10.2.196.65) and the log is from the W2K3 server
> (10.2.239.8).
>
> There aren't any dropped packets on the database server.
>
> I hope that makes more sense.
>
> Cheers.
>
>
>

 
Reply With Quote
 
Steve Riley [MSFT]
Guest
Posts: n/a

 
      09-28-2007, 01:33 AM
How many network interfaces are in the Windows server? I'm wondering if
perhaps the SYN-ACK is arriving on a different network interface than the
one that sent the original SYN.

--
Steve Riley
(E-Mail Removed)
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"Steve Riley [MSFT]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hm. Looks like I misread your log the first time. This is what you wrote:
>
> 2007-09-26 13:45:29 DROP TCP 10.2.196.65 10.2.239.8 3306 1952 48 SA
> 374811178 2640928510 5840 - - - RECEIVE
>
> This is the format of the firewall log:
>
> Date Time Action Protocol Source-IP Dest-IP Source-Port Dest-Port Size
> TCPFlags TCPSyn TCPAck TCPWinSize ICMPType ICMPCode Info Path
>
> So this is a SYN-ACK from 10.2.196.65:3306 to 10.2.239.8:1952. This
> matches your statement
>
>> The Windows2K3 server (10.2.239.8:1952) appears to be dropping the
>> SYN-ACK
>> from the database server (10.2.196.65:3306).

>
> Obviously the initial SYN from the 2003 Server is getting to the database
> server. I'm at a loss why its firewall is blocking the reply, I'll have to
> ask around. Meanwhile, try something, and I doubt this will work: create
> an exception that permits inbound traffic from the database server. This
> is more curiosity than anything else.
>
> --
> Steve Riley
> (E-Mail Removed)
> http://blogs.technet.com/steriley
> http://www.protectyourwindowsnetwork.com
>
>
> "Sheepfarming" <(E-Mail Removed)> wrote in message
> news:741276D5-4E95-47D8-AF86-(E-Mail Removed)...
>> "Steve Riley [MSFT]" wrote:
>>
>>> To make sure I understand:
>>>
>>> This log shows a dropped SYN-ACK from the Windows server
>>> (10.2.239.8:3306)
>>> to the database server (10.2.196.65:1952).

>>
>> The Windows2K3 server (10.2.239.8:1952) appears to be dropping the
>> SYN-ACK
>> from the database server (10.2.196.65:3306).
>>
>>> Which computer are you getting this log from?

>>
>> The W2K3 server (10.2.239.8) initiated the connection (to port 3306 on
>> the
>> database server 10.2.196.65) and the log is from the W2K3 server
>> (10.2.239.8).
>>
>> There aren't any dropped packets on the database server.
>>
>> I hope that makes more sense.
>>
>> Cheers.
>>
>>
>>

 
Reply With Quote
 
Ant
Guest
Posts: n/a

 
      09-28-2007, 09:54 AM
"Steve Riley [MSFT]" wrote:

> How many network interfaces are in the Windows server? I'm wondering if
> perhaps the SYN-ACK is arriving on a different network interface than the
> one that sent the original SYN.


Doh! I have a very red face right now.

I forgot the database server has 2 interfaces, and a direct route back to
the W2K3 server's subnet.

Many thanks.
 
Reply With Quote
 
Steve Riley [MSFT]
Guest
Posts: n/a

 
      09-28-2007, 05:31 PM
Glad to help out.

--
Steve Riley
(E-Mail Removed)
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"Ant" <(E-Mail Removed)> wrote in message
news:622C474D-16DD-461C-97E8-(E-Mail Removed)...
> "Steve Riley [MSFT]" wrote:
>
>> How many network interfaces are in the Windows server? I'm wondering if
>> perhaps the SYN-ACK is arriving on a different network interface than the
>> one that sent the original SYN.

>
> Doh! I have a very red face right now.
>
> I forgot the database server has 2 interfaces, and a direct route back to
> the W2K3 server's subnet.
>
> Many thanks.


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WLBS Dropping Packets Justin C. Gould Windows Networking 0 03-05-2009 09:02 PM
Windows Firewall Dropping Return UDP Packets Will Windows Networking 3 03-09-2008 01:26 PM
UDP packets dropping Vishal Linux Networking 10 11-13-2006 04:40 PM
WAP11 Dropping Packets Dave Breiland Wireless Internet 2 11-05-2003 11:51 PM
Firewall dropping Kazaa UDP packets it shouldn't -- Need help Greg Smith Linux Networking 0 11-04-2003 06:55 AM



1 2 3 4 5 6 7 8 9 10 11