Re: Improved TCP syncookie implementation

2006-09-14 Thread Ruslan Ermilov
On Wed, Sep 13, 2006 at 10:31:43PM +0200, Andre Oppermann wrote: > Igor Sysoev wrote: > >Well, suppose protocol similar to SSH or SMTP: > > > >1) the client calls connect(), it sends SYN; > >2) the server receives SYN and sends SYN/ACK with cookie; > >3) the client receives SYN/ACK and sends ACK; >

Re: Rapid link state changes on bge(4) interface

2006-09-14 Thread Slawek Zak
On 9/13/06, David Christensen <[EMAIL PROTECTED]> wrote: I can't access the information on this web site through Mozilla after clicking "I Accept". Hm. I've just found out that posting direct links to documents is too Web 1.0 for ibm.com. Here is link to the parent page - works for me: http://

Re: Improved TCP syncookie implementation

2006-09-14 Thread Igor Sysoev
On Thu, 14 Sep 2006, Ruslan Ermilov wrote: On Wed, Sep 13, 2006 at 10:31:43PM +0200, Andre Oppermann wrote: Igor Sysoev wrote: Well, suppose protocol similar to SSH or SMTP: 1) the client calls connect(), it sends SYN; 2) the server receives SYN and sends SYN/ACK with cookie; 3) the client re

ppp command port does not listens on ipv4 unless no INET6 in kernel

2006-09-14 Thread Julian Stacey
Hi Net@ people, I posted this to hackers@ Mon, 11 Sep 2006 20:30:38 +0200 (CEST) & got no response. I've fixed typos in subject & body. Hopefuly net@ is more appropriate & can respond please :-) --- (cc [EMAIL PROTECTED] who's maybe expert, from examples seen in share :-) I'm not clear if this

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Phil Regnauld
Willem Jan Withagen (wjw) writes: > > Now I'm pretty shure that ipfw does not stretch indefinitely to contain > perhaps something like 100.000 ip-numbers (would be a nice test. :) ) Actually, it should. > So I'd > like to see if there is something to do with divert and some matching on a

blocking a string in a packet using ipfw

2006-09-14 Thread Willem Jan Withagen
[ I guess I haven't been paying too much attention during ipwf class :( And I got the suggestion to try FreeBSD-net@ instead of security. But I'm not subscribed to this list, so please Cc: me. ] Hi, perhaps somebody could give some pointers. I received a call from a customer this morning th

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Gary Palmer
On Thu, Sep 14, 2006 at 03:29:14PM +0200, Willem Jan Withagen wrote: > I received a call from a customer this morning that all of his websites were > no longer on line. So After some resetting and more I turnout that there > was a > serious overload on his server. Over 500 clients connected. (norm

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Barney Wolff
On Thu, Sep 14, 2006 at 03:46:12PM +0200, Phil Regnauld wrote: > Willem Jan Withagen (wjw) writes: > > > > Now I'm pretty shure that ipfw does not stretch indefinitely to contain > > perhaps something like 100.000 ip-numbers (would be a nice test. :) ) > > Actually, it should. I have over

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Oliver Fromme
Gary Palmer wrote: > Willem Jan Withagen wrote: > > I received a call from a customer this morning that all of his websites > > were > > no longer on line. So After some resetting and more I turnout that there > > was a > > serious overload on his server. Over 500 clients connected. (norm i

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Willem Jan Withagen
Gary Palmer wrote: On Thu, Sep 14, 2006 at 03:29:14PM +0200, Willem Jan Withagen wrote: I received a call from a customer this morning that all of his websites were no longer on line. So After some resetting and more I turnout that there was a serious overload on his server. Over 500 clients c

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Willem Jan Withagen
Barney Wolff wrote: On Thu, Sep 14, 2006 at 03:46:12PM +0200, Phil Regnauld wrote: Willem Jan Withagen (wjw) writes: Now I'm pretty shure that ipfw does not stretch indefinitely to contain perhaps something like 100.000 ip-numbers (would be a nice test. :) ) Actually, it should. I ha

Re: Improved TCP syncookie implementation

2006-09-14 Thread Andre Oppermann
Ruslan Ermilov wrote: On Wed, Sep 13, 2006 at 10:31:43PM +0200, Andre Oppermann wrote: Igor Sysoev wrote: Well, suppose protocol similar to SSH or SMTP: 1) the client calls connect(), it sends SYN; 2) the server receives SYN and sends SYN/ACK with cookie; 3) the client receives SYN/ACK and sen

Re: Improved TCP syncookie implementation

2006-09-14 Thread Andre Oppermann
Igor Sysoev wrote: On Thu, 14 Sep 2006, Ruslan Ermilov wrote: On Wed, Sep 13, 2006 at 10:31:43PM +0200, Andre Oppermann wrote: Igor Sysoev wrote: Well, suppose protocol similar to SSH or SMTP: 1) the client calls connect(), it sends SYN; 2) the server receives SYN and sends SYN/ACK with cook

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Willem Jan Withagen
Oliver Fromme wrote: Gary Palmer wrote: > Willem Jan Withagen wrote: > > I received a call from a customer this morning that all of his websites were > > no longer on line. So After some resetting and more I turnout that there > > was a > > serious overload on his server. Over 500 clients

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Gary Palmer
On Thu, Sep 14, 2006 at 05:14:55PM +0200, Willem Jan Withagen wrote: > I had several suggestions this direction. And it does help a little. > The math is however against me. > > I had over 50 request/sec for this file. Now if the virus uses anything > which leaves the connection open for regular

Re: Reading a configuration file from a driver code during intialization.

2006-09-14 Thread John-Mark Gurney
[EMAIL PROTECTED] wrote this message on Thu, Sep 14, 2006 at 12:16 +0530: > Is there is any other solution to the above problem? > > > > Actually I am looking for some thing similar to Module loadable > parameters in the Linux Device Driver. look at kenv... It lets you set arbitrary values and

Re: DNS query performance

2006-09-14 Thread Marcelo Gardini do Amaral
> >Are you able to boot a 7.x kernel on this box? An as yet un-MFC'd > >optimization to the UDP send path is present in the 7.x kernel, suggested > >by ISC, which significantly improves threaded BIND9 performance. I've not > >benchmarked unthreaded BIND9 with the change. If you want to test

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Julian Elischer
Willem Jan Withagen wrote: [ I guess I haven't been paying too much attention during ipwf class :( And I got the suggestion to try FreeBSD-net@ instead of security. But I'm not subscribed to this list, so please Cc: me. ] Hi, perhaps somebody could give some pointers. I received a call fr

Re: blocking a string in a packet using ipfw

2006-09-14 Thread Julian Elischer
Willem Jan Withagen wrote: Barney Wolff wrote: On Thu, Sep 14, 2006 at 03:46:12PM +0200, Phil Regnauld wrote: Willem Jan Withagen (wjw) writes: Now I'm pretty shure that ipfw does not stretch indefinitely to contain perhaps something like 100.000 ip-numbers (would be a nice test. :) )

Re: FAST_IPSEC NAT-T support

2006-09-14 Thread Scott Ullrich
On 9/14/06, Larry Baird <[EMAIL PROTECTED]> wrote: Please find attached two patches for adding FAST_IPSEC NAT-T support to FreeBSD 6.x. The patch "freebsd6-fastipsec-natt.diff" is dependent upon Yvan's IPSEC NAT-T patch "freebsd6-natt.diff" which can be found at http://ipsec-tools.cvs.sourceforg

Re: DNS query performance

2006-09-14 Thread Andrey V. Elsukov
Marcelo Gardini do Amaral wrote: With the 7.x kernel and no changes in src/sys/netinet/udp_usrreq.c I tried different timecounters and I couldn't see any performance difference. You have tested with a GENERIC kernel? You should remove all debugging kernel options before testing performance. -

RE: Reading a configuration file from a driver code during intialization.

2006-09-14 Thread sivakumar.subramani
Hi Mark, As I mentioned in the previous mail, the main issue is to read a Configuration parameter file from driver code. I am already using Sysctl variables as mentioned below, Currently I have written a small kernel module that will create a sysctl variable and update with a default value.

Re: Where is IPSec NAT-T support?

2006-09-14 Thread VANHULLEBUS Yvan
On Fri, Sep 15, 2006 at 06:02:38AM +0600, Kamanashis Roy Shuva wrote: > Hi, > You have done a great jop. And I find this useful today. Problem is things > are not working fine. > I have compiled freebsd with the patch > MD5 (freebsd6-natt.diff) = 81d535363981b5e84be77cbf26918ccc > for natt suppor