Re: [patch] ng_netflow

2010-06-24 Thread Дмитрий Замураев
>> >> There are several major bugs in this patch. I'm planning to make updated >> patch in several weeks. >> At the moment it's a very bad idea to use current version in production >>> I noticed :) I have many kernel panic's on heavy load (300+300Mbit on GE channel) in function GetAsNumber. Can't

Re: Unknown Behavior of PF+ALTQ on a Bridge

2010-06-24 Thread Rafael Henrique Faria
On Thu, Jun 24, 2010 at 18:56, Ermal Luçi wrote: > 2010/6/24 Rafael Henrique Faria : >> Just to be more clean: >> >> My pf.conf: >> >> wan_if="bce0" >> >> set limit { states 10, frags 2 } >> set loginterface $wan_if >> set optimization normal >> set block-policy drop >> set fingerprin

Re: Unknown Behavior of PF+ALTQ on a Bridge

2010-06-24 Thread Ermal Luçi
2010/6/24 Rafael Henrique Faria : > Just to be more clean: > > My pf.conf: > > wan_if="bce0" > > set limit { states 10, frags 2 } > set loginterface $wan_if > set optimization normal > set block-policy drop > set fingerprints "/etc/pf.os" > set skip on lo > > altq on $wan_if cbq bandwi

Re: Unknown Behavior of PF+ALTQ on a Bridge

2010-06-24 Thread Michal Buchtik
Hi, On 2010/06/24 21:42, Rafael Henrique Faria wrote: So, my question is: why the default queue is being used, If I have a rule to use the out_bal queue to all outgoing traffic on that interface? I need to redirect all the traffic from a subnet (/24) to one queue (incoming and outgoing traffic)

Re: Unknown Behavior of PF+ALTQ on a Bridge

2010-06-24 Thread Rafael Henrique Faria
Just to be more clean: My pf.conf: wan_if="bce0" set limit { states 10, frags 2 } set loginterface $wan_if set optimization normal set block-policy drop set fingerprints "/etc/pf.os" set skip on lo altq on $wan_if cbq bandwidth 100% queue { out_bal, out_std } queue out_bal bandwi

Re: Unknown Behavior of PF+ALTQ on a Bridge

2010-06-24 Thread Rafael Henrique Faria
On Thu, Jun 24, 2010 at 14:04, Ermal Luçi wrote: > On Thu, Jun 24, 2010 at 3:12 PM, Rafael Henrique Faria > wrote: >> Hi. >> >> I'm working on a Brige between a router Cisco 7200, and a 3Com 7900 switch. >> I have several subnetworks, and I need to balance the bandwidth between then. >> >> The Br

Re: Unknown Behavior of PF+ALTQ on a Bridge

2010-06-24 Thread Ermal Luçi
On Thu, Jun 24, 2010 at 3:12 PM, Rafael Henrique Faria wrote: > Hi. > > I'm working on a Brige between a router Cisco 7200, and a 3Com 7900 switch. > I have several subnetworks, and I need to balance the bandwidth between then. > > The Brigde is running: "FreeBSD dell05 8.1-PRERELEASE FreeBSD > 8.

Re: [patch] ng_netflow

2010-06-24 Thread Sam Fourman Jr.
> > There are several major bugs in this patch. I'm planning to make updated > patch in several weeks. > At the moment it's a very bad idea to use current version in production >> I would be willing to test the new patch, I could use it. Sam Fourman Jr. Fourman Networks http://www.fourmannetworks

Re: Observations from an old timer playing with 64 bit numbers...

2010-06-24 Thread Randall Stewart
On Jun 24, 2010, at 6:10 AM, Luigi Rizzo wrote: On Thu, Jun 24, 2010 at 05:43:36AM -0700, Randall Stewart wrote: Lugi: One other comment I want to make about your numbers... well maybe three ;-) ... Randall, my numbers may well be affected by large errors, but the point was just to show tha

Re: kern/127057: [udp] Unable to send UDP packet via IPv6 socket to IPv4 mapped address

2010-06-24 Thread Alexander V. Chernikov
The following reply was made to PR kern/127057; it has been noted by GNATS. From: "Alexander V. Chernikov" To: bug-follo...@freebsd.org, sa...@system.pl Cc: Subject: Re: kern/127057: [udp] Unable to send UDP packet via IPv6 socket to IPv4 mapped address Date: Thu, 24 Jun 2010 19:54:02 +0400

Re: kern/127057: [udp] Unable to send UDP packet via IPv6 socket to IPv4 mapped address

2010-06-24 Thread Alexander V. Chernikov
The following reply was made to PR kern/127057; it has been noted by GNATS. From: "Alexander V. Chernikov" To: bug-follo...@freebsd.org, sa...@system.pl Cc: Subject: Re: kern/127057: [udp] Unable to send UDP packet via IPv6 socket to IPv4 mapped address Date: Thu, 24 Jun 2010 19:44:25 +0400

Re: kmem_map too small panics with Soekris/Atheros access point [ath rate control]

2010-06-24 Thread Boris Kochergin
Sam Leffler wrote: Boris Kochergin wrote: Stef Walter wrote: Boris Kochergin wrote: I, too, recall the days when you had multiple rate-control algorithms to choose from, but that doesn't appear to be the case anymore. As a workaround, I wrote a little script that checks if tha

Unknown Behavior of PF+ALTQ on a Bridge

2010-06-24 Thread Rafael Henrique Faria
Hi. I'm working on a Brige between a router Cisco 7200, and a 3Com 7900 switch. I have several subnetworks, and I need to balance the bandwidth between then. The Brigde is running: "FreeBSD dell05 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Tue Jun 22 13:59:17 BRT 2010 rafaelhfa...@dell05:/usr/obj/

Re: Observations from an old timer playing with 64 bit numbers...

2010-06-24 Thread Luigi Rizzo
On Thu, Jun 24, 2010 at 05:43:36AM -0700, Randall Stewart wrote: > Lugi: > > One other comment I want to make about your numbers... well maybe > three ;-) ... Randall, my numbers may well be affected by large errors, but the point was just to show that the *16/32/64 functions are already widely

Re: Observations from an old timer playing with 64 bit numbers...

2010-06-24 Thread Randall Stewart
On Jun 24, 2010, at 5:29 AM, Erik Trulsson wrote: On Thu, Jun 24, 2010 at 05:19:29AM -0700, Randall Stewart wrote: Bob: Thats strange... when I do man byteorder (on my FreeBSD 8.0 system upgraded to head .. buildworld/ installworld/ et.al) I get the same man age showing for both man nto

Re: Observations from an old timer playing with 64 bit numbers...

2010-06-24 Thread Erik Trulsson
On Thu, Jun 24, 2010 at 05:19:29AM -0700, Randall Stewart wrote: > Bob: > > Thats strange... when I do > > man byteorder > > (on my FreeBSD 8.0 system upgraded to head .. buildworld/installworld/ > et.al) > > I get the same man age showing for both > > man ntohl > > and > > man byteorder B

Re: Observations from an old timer playing with 64 bit numbers...

2010-06-24 Thread Randall Stewart
Lugi: One other comment I want to make about your numbers... well maybe three ;-) On Jun 23, 2010, at 10:12 AM, Luigi Rizzo wrote: On Wed, Jun 23, 2010 at 09:50:26AM -0700, Randall Stewart wrote: ... strong objection! We should instead use names with exact sizes (16,32,64). So please tel

Re: [patch] ng_netflow

2010-06-24 Thread Alexander V. Chernikov
Дмитрий Замураев wrote: If you can, add information abount AS numbers too. ASN patch for 16-bit ASN's for V5 protocol: http://www.stasyan.com/devel/ng_netflow/patch_asnum_1 Proto V5 can't handle 32-bit ASN unlike V9. But I can't understand why it's not working for me, AS numbers exists for first

Re: Observations from an old timer playing with 64 bit numbers...

2010-06-24 Thread Randall Stewart
Bob: Thats strange... when I do man byteorder (on my FreeBSD 8.0 system upgraded to head .. buildworld/installworld/ et.al) I get the same man age showing for both man ntohl and man byteorder This may just be a problem with my system.. I will check the other 8.0 installed systems at wor