Re: DNS query performance

2006-09-13 Thread Phil Regnauld
Marcelo Gardini do Amaral <[EMAIL PROTECTED]> writes: > > I would like to discuss a little bit more about UDP performance. I've > made some tests and the results may have some value here. > > In this test is easy to see that there is something different in the > FreeBSD 6 branch. 1. Can y

FreeBSD 6.1 + ath0 + NAT

2006-09-13 Thread Phil Chadwick
Hi all, This is my first post, so please be gentle :-) I have a Linksys WAG54G V.2 ADSL modem (Firmware Version: 1.00.39) connection to the Internet, and a Netgear WG311T wireless Ethernet card running on FreeBSD 6.1 (PC#1). Recently I added a second FreeBSD 6.1 system (PC#2) which has no wirele

Rapid link state changes on bge(4) interface

2006-09-13 Thread Slawek Zak
Hi, I'm testing network failover on IBM BladeCenter running FreeBSD 6.1 STABLE for Sep 6th. I suspect a problem with link state change detection in bge code. When I disable internal port on chassis built-in ethernet switch, kernel floods syslog with messages about link state changes and coalesci

Re: Where is IPSec NAT-T support?

2006-09-13 Thread VANHULLEBUS Yvan
On Sat, Sep 09, 2006 at 08:31:47PM +0900, Norikatsu Shigemura wrote: > On Wed, 6 Sep 2006 09:01:35 +0200 [NAT-T patches] > > - The public patch (A) works for IPSEC, and should apply on both > > RELENG_6 and RELENG_6_1 (some minor patching issues may need to be > > solved by hand, but it's just

Re: Where is IPSec NAT-T support?

2006-09-13 Thread Larry Baird
>> I'm interesting FAST_IPSEC support:-). > > if Larry or someone else have quickly some time to do it, please let > me know. > > If no one else port that (it shouldn't be too difficult, but takes > some time), I'll do it "ASAP". I'll make the time. Should have something in the next da

Re: DNS query performance

2006-09-13 Thread Marcelo Gardini do Amaral
Hi John, > I have not had time to fully investigate this issue but it appeared that > some queries from queryperf never made it out of the FreeBSD 6.1 box. When > I ran netstat -s -p udp I saw that that the numbers for delivered and > datagrams output differed by the number of queries that quer

Re: Improved TCP syncookie implementation

2006-09-13 Thread Igor Sysoev
On Sun, 3 Sep 2006, Andre Oppermann wrote: I've pretty much rewritten our implementation of TCP syncookies to get rid of some locking in TCP syncache and to improve their functionality. The RFC1323 timestamp option is used to carry the full TCP SYN+SYN/ACK optional feature information. This me

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

2006-09-13 Thread David Christensen
> I'm testing network failover on IBM BladeCenter running FreeBSD 6.1 > STABLE for Sep 6th. > > I suspect a problem with link state change detection in bge code. When > I disable internal port on chassis built-in ethernet switch, kernel > floods syslog with messages about link state changes and co

Re: DNS query performance

2006-09-13 Thread Robert Watson
On Mon, 11 Sep 2006, Marcelo Gardini do Amaral wrote: I would like to discuss a little bit more about UDP performance. I've made some tests and the results may have some value here. In this test is easy to see that there is something different in the FreeBSD 6 branch. I made a benchmark wi

Re: DNS query performance

2006-09-13 Thread Robert Watson
On Wed, 13 Sep 2006, Robert Watson wrote: On Mon, 11 Sep 2006, Marcelo Gardini do Amaral wrote: I would like to discuss a little bit more about UDP performance. I've made some tests and the results may have some value here. In this test is easy to see that there is something different in th

Re: DNS query performance

2006-09-13 Thread Mike Tancsa
At 01:27 PM 9/13/2006, Robert Watson wrote: The other common optimization advice that you may already have received is to check which time counter FreeBSD has selected. Right now, 6.x/7.x err on the side of accurate over fast. There's been quite a bit of debate about this approach, and it's

Bridge

2006-09-13 Thread Jon Otterholm
Hi. According to man if_bridge one could filter L2-traffic with ipfw: From man if_bridge: ARP and REVARP packets are forwarded without being filtered and others that are not IP nor IPv6 packets are not forwarded when pfil_onlyip is enabled. IPFW can filter Ethernet types using mac-t

Re: Improved TCP syncookie implementation

2006-09-13 Thread Andre Oppermann
Igor Sysoev wrote: On Sun, 3 Sep 2006, Andre Oppermann wrote: I've pretty much rewritten our implementation of TCP syncookies to get rid of some locking in TCP syncache and to improve their functionality. The RFC1323 timestamp option is used to carry the full TCP SYN+SYN/ACK optional feature i

Re: Improved TCP syncookie implementation

2006-09-13 Thread Igor Sysoev
On Wed, 13 Sep 2006, Andre Oppermann wrote: Igor Sysoev wrote: On Sun, 3 Sep 2006, Andre Oppermann wrote: I've pretty much rewritten our implementation of TCP syncookies to get rid of some locking in TCP syncache and to improve their functionality. The RFC1323 timestamp option is used to car

Re: Improved TCP syncookie implementation

2006-09-13 Thread Andre Oppermann
Igor Sysoev wrote: On Wed, 13 Sep 2006, Andre Oppermann wrote: Igor Sysoev wrote: On Sun, 3 Sep 2006, Andre Oppermann wrote: I've pretty much rewritten our implementation of TCP syncookies to get rid of some locking in TCP syncache and to improve their functionality. The RFC1323 timestamp o

Re: Limit arp on bridge

2006-09-13 Thread Andrew Thompson
On Tue, Sep 12, 2006 at 05:04:12PM +0200, Jon Otterholm wrote: > Hello. > > I am trying to limit arp-broadcast between member-IF on a bridge > (if_bridge) with no luck. > > I have the following sysctls set: > > net.link.bridge.pfil_member: 1 > net.link.bridge.pfil_bridge: 1 > net.link.bridge.pf

Re: Bridge

2006-09-13 Thread Andrew Thompson
On Wed, Sep 13, 2006 at 08:19:41PM +0200, Jon Otterholm wrote: > Hi. > > According to man if_bridge one could filter L2-traffic with ipfw: > > From man if_bridge: > ARP and REVARP packets are forwarded without being filtered and others > that are not IP nor IPv6 packets are not forwarded

Re: Bridge

2006-09-13 Thread Eygene Ryabinkin
Andrew, good day! > The check for ARP happens before the ipfw layer2 code so it isnt > currently possible to filter them. > > switch (ether_type) { >case ETHERTYPE_ARP: >case ETHERTYPE_REVARP: >return (0); /* Automatically pass */ I am a bit confu

Re: Bridge

2006-09-13 Thread Andrew Thompson
On Thu, Sep 14, 2006 at 08:38:02AM +0400, Eygene Ryabinkin wrote: > Andrew, good day! > > > The check for ARP happens before the ipfw layer2 code so it isnt > > currently possible to filter them. > > > > switch (ether_type) { > > case ETHERTYPE_ARP: > > case ETHERTYPE_REVA

Reading a configuration file from a driver code during intialization.

2006-09-13 Thread sivakumar.subramani
Hi all, For our driver we have following requirement. We have a configuration file that will be updated by the user and while loading the driver, the initialization code should read the configuration file to get the value and use it in the driver code. Is there is any way to read a configura