TCP window scaling > 14

2007-12-21 Thread Darren Spruell
I have a FreeBSD host which I noticed recently triggering some snort decoder alerts due to using a TCP window scaling (rfc1323) value of 15. The decoder is tripping because anything greater than 14 is considered invalid. This text from RFC seems to support it: Since the max window is 2**S (where

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread Erik Osterholm
On Tue, Nov 13, 2007 at 03:53:38PM +0200, Alupului Costin wrote: > On Nov 13, 2007 4:20 AM, Girish Venkatachalam > <[EMAIL PROTECTED]> wrote: > > On 22:08:03 Nov 12, Alupului Costin wrote: > > > > > > pass in quick on vlan0 from any to anIP/32 > > > pass out quick on vlan0 from anIP/32 to any keep

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread Erik Osterholm
On Tue, Nov 13, 2007 at 07:25:23PM +0530, Girish Venkatachalam wrote: > On 18:57:34 Nov 13, Girish Venkatachalam wrote: > > I just read the post you linked. Thanks. :) > > I read the post once again and it looks as though I understood what is > mentioned there. > > The 'no-df' in scrub rule clear

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread Girish Venkatachalam
n bridges. I.E. you > can not create states on inbound rules at all although filtering > works. Another problem is that states created by outbound traffic > don't seem to take into account the window scaling when the client > uses that. > I was a big fan of the bridge setup simply b

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread Alupului Costin
use ALTQ with hfsc discipline; but that's > > not really important. My problem comes with the filter rules. I have > > to use keep state because of the speed benefits (really I don't have a > > choice), but PF has a problem when the clients passing traffic through &g

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread Girish Venkatachalam
On 18:57:34 Nov 13, Girish Venkatachalam wrote: > I just read the post you linked. Thanks. :) I read the post once again and it looks as though I understood what is mentioned there. The 'no-df' in scrub rule clears the Don't fragment bit in the IP header. When a host wrongly sends fragmented pack

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread Alupului Costin
t; > not really important. My problem comes with the filter rules. I have > > to use keep state because of the speed benefits (really I don't have a > > choice), > > One should always keep state. > > > but PF has a problem when the clients passing traffic through > >

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread Girish Venkatachalam
On 23:42:20 Nov 12, Erik Osterholm wrote: > My understanding (and please correct me if I'm wrong) is that > keeping state requires fragmented packet reassembly, which can break > some applications. You mean that you cannot support "broken applications" if you do reassembly? Packet reassembly h

Re: PF, bridge, states and window scaling problem

2007-11-13 Thread J65nko
h the filter rules. I have > to use keep state because of the speed benefits (really I don't have a > choice), but PF has a problem when the clients passing traffic through > the bridge use TCP window scaling. Here is an example of four filter > rules that I thought should work to pas

Re: PF, bridge, states and window scaling problem

2007-11-12 Thread Erik Osterholm
On Tue, Nov 13, 2007 at 07:50:53AM +0530, Girish Venkatachalam wrote: > On 22:08:03 Nov 12, Alupului Costin wrote: > > I seem to have quite a problem with PF. I have set up a bridge to > > shape my upstream traffic. I use ALTQ with hfsc discipline; but that's > > not really important. My problem co

Re: PF, bridge, states and window scaling problem

2007-11-12 Thread Girish Venkatachalam
ause of the speed benefits (really I don't have a > choice), One should always keep state. > but PF has a problem when the clients passing traffic through > the bridge use TCP window scaling. Here is an example of four filter > rules that I thought should work to pass the traffic fr

PF, bridge, states and window scaling problem

2007-11-12 Thread Alupului Costin
e a choice), but PF has a problem when the clients passing traffic through the bridge use TCP window scaling. Here is an example of four filter rules that I thought should work to pass the traffic from one client through the bridge and create a state: pass in quick on vlan0 from any to anIP/32 pass ou

Re: Question about Window Scaling

2007-08-31 Thread J65nko
On 8/30/07, Shah, Baiju-p98993 <[EMAIL PROTECTED]> wrote: > Greetings. > > We currently use Espion appliance running FreeBSD 4.9 as a mail interceptor > for SPAM. We have one customer who has their mail gateway hard coded with > Window Scaling (WS=9). Their mail gateway fa

RE: Question about Window Scaling

2007-08-31 Thread Shah, Baiju-p98993
, August 30, 2007 11:16 AM To: Shah, Baiju-p98993; freebsd-questions@freebsd.org Subject: Re: Question about Window Scaling Hi Baiju, Try this to get started: http://proj.sunet.se/E2E/tcptune.html http://www.wormulon.net/files/pub/FreeBSD_Network_Tuning_-_slides.pdf If upgrading is an option: http

Re: Question about Window Scaling

2007-08-30 Thread Bob Middaugh
-- From: "Shah, Baiju-p98993" <[EMAIL PROTECTED]> > Greetings. > > We currently use Espion appliance running FreeBSD 4.9 as a mail interceptor > for > SPAM. We have one customer who has their mail gateway hard coded with Window > Scaling (W

Question about Window Scaling

2007-08-30 Thread Shah, Baiju-p98993
Greetings. We currently use Espion appliance running FreeBSD 4.9 as a mail interceptor for SPAM. We have one customer who has their mail gateway hard coded with Window Scaling (WS=9). Their mail gateway fails to establish SMTP hello connection with WS=9. However if they set their Window

Re: Window scaling

2005-10-27 Thread Daniel Gonzalez
> > "Do you think that it is possible to modify parameters on the BSD box in > order to reach the same transfer rates than the Debian box with only one > connection ?" I would think there may be options you can pass to the ethernet driver via ifconfig or maybe adjusting net related sysctls. You c

Window Scaling

2005-10-27 Thread ptitoliv
reach more higher transfer rates. On my Debian Box, I can reach easily 900 KB/s with only one connection. I have heard about TCP Window size and Window scaling. Do you think that it is possible to modify parameters on the BSD box in order to reach the same transfer rates than the Debian box with

Window Scaling

2005-10-27 Thread ptitoliv
reach more higher transfer rates. On my Debian Box, I can reach easily 900 KB/s with only one connection. I have heard about TCP Window size and Window scaling. Do you think that it is possible to modify parameters on the BSD box in order to reach the same transfer rates than the Debian box with