BPF JIT compiler

2008-04-11 Thread Matthew Luckie
The existing intel BPF JIT compiler has one flaw. sys/net/bpf_filter.c initialises the A and X registers to zero when called. The just in time compiler does not. This means the JIT compiler will behave differently to the interpreter on any filter that does not set the A or X registers before

Re: TCP options order changed in FreeBSD 7, incompatible with some routers

2008-04-11 Thread Anders Nordby
Hi, On Wed, Apr 09, 2008 at 08:23:13AM +, Bjoern A. Zeeb wrote: >> I had the same problem, and temporarily worked around it by disabling >> SACK: > ok, here we go... > > as I had explained on freebsd-net@ lately there had been 2 changes to > possibly fix this issue. > > I am currently in the

Re: TCP options order changed in FreeBSD 7, incompatible with some routers

2008-04-11 Thread Bjoern A. Zeeb
On Fri, 11 Apr 2008, Anders Nordby wrote: Hi, in case you did not receive a private mail from me please do not go to any of the mentioned urls or you will make a one week data collection worthless. Thank you. PS: the webservers will go away within a few hours anyway... Simply open the follo

bpf does not see packets forwarded with ipfw fwd

2008-04-11 Thread Eugene Grosbein
Hi! One of 7.0 users has reported in some cyrillic newsgroup a problem that I have reproduced in my 7.0-STABLE system. That is: tcpdump does not show locally originated outgoing IP packets that were processed by 'ipfw fwd' rule. The same configuration presents no problems with 6.3-STABLE. Conside