Skip to contentSkip to conversation

NetBios iptables trouble with small TCP packets

DISCUSSION sp3 sp3 1 participant 1 message Jan 3, 2004

lore
Share & tools
lore

sp3 sp3

author
#0 lore raw
Quoted 42 lines

From: "John A. Sullivan III" <[email protected]>
To: sp3 sp3 <[email protected]>
CC: [email protected]
Subject: Re: NetBios iptables trouble with small TCP packets
Date: Fri, 02 Jan 2004 23:02:42 -0500

Quoted 3 lines · On Fri, 2004-01-02 at 21:53, sp3 sp3 wrote:

I,

I have two networks connected with a linux firewall/router that is

running

Quoted 2 lines

RH8 and a firewall script.
I'm having a problem with the transfer of small files (<256kb) using

NetBios

Quoted 3 lines

over TCP/IP between a NT4 machine and a win2k machine. The fw is doing source nat.
The problem is that when i transfer a small file, the win2k machine

seams to

Quoted 2 lines

hang for a moment ( 10 seconds ) and displays an error.
I have searched the MS site for the error and i have found that it's

related

Quoted 4 lines

to a time out.

I have searched the logs, and nothing unusual is reported. I have checked the firewall logs also, and no drop packet is found ( i

log

Quoted 8 lines

all "can't happened" rules ).

I have tried many things, like:
- checking the MTU of the interfaces
- cheching the mss value using ifconfig
- each NIC uses a separate IRQ

The problem is on the fw/router machine 'im shure. I know it, because a

have

Quoted 4 lines

tried to put the same machines on the same LAN and there is no problem.

Does any one have any sugestion for this stange problem?

Quoted 8 lines
Quoted 6 lines

Best regards,
Sp3

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail

Are you sure the packets are making it to the firewall?

Yes, i'm shure, i saw the packets getting out with tcdump.

Quoted 3 lines

A product like
Ethereal (www.ethereal.com) can be of great help. If you turn off the firewall and just route, do you still have the same problem?

I cant just route them for now....but i can create less restrictive rules. I will try it.

Quoted 3 lines

It is
possible that the two Windows stations can't find each other if they are not on the same network.

As i'm ding source nat on the fw, the request is seen by the nt server as comming from the firewall and not from the w2k machine.

Quoted 3 lines

For example, if there is no service location
running such as WINS or DNS, they may try to find each other via broadcast which will then be blocked by the router (not the firewall).

Yes, it true, but i'm using for now plain ip address to establish the connection to the nt server (i.e \\IP\sharename ).

Thank's to the help.

Regards Sp3

_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail