Re: Impending NATM removal

2017-04-07 Thread Hartmut Brandt
On Fri, 7 Apr 2017, ?ukasz W?jcik wrote: ?W>they're not the only ones. Just my 5cents. The other thing is that ATM/NATM ?W>infrastructure in FreeBSD seems to never have been ?W> ?W>finished. That's true. ITU-T used to produce poor-quality ATM standards at a much higher rate than anybody could fo

Re[2]: Some gruesome moments with performance of FreeBSD at over 20K interfaces

2014-04-10 Thread Hartmut Brandt
On Thu, 10 Apr 2014, Vladislav Prodan wrote: VP>> On Wed, 9 Apr 2014, Vladislav Prodan wrote: VP>> VP>> VP>b) Service bsnmpd started at 12K interfaces, but immediately loaded CPU VP>> VP>at 80-100% VP>> VP>> I could imagine that this is because of the statistics polling. bsnmp VP>> implements

Re: Some gruesome moments with performance of FreeBSD at over 20K interfaces

2014-04-10 Thread Harti Brandt
On Wed, 9 Apr 2014, Vladislav Prodan wrote: VP>b) Service bsnmpd started at 12K interfaces, but immediately loaded CPU VP>at 80-100% I could imagine that this is because of the statistics polling. bsnmp implements 64-bit interface statistics but we have only 32-bit statistics in the kernel. So

Re: BSNMPD: several (cosmetic?) problems

2013-04-08 Thread Harti Brandt
Hi, On Sun, 7 Apr 2013, Lev Serebryakov wrote: LS>(1) I have a lot of "could not encode error response" in LS>/var/log/messages after change of hardware. It looks like, every LS>request from mrtg for "unexistent" interface leads to this message. LS>I'll reconfigure mrtg, of course, but it is ann

VNET and IPv6 multicast routing

2012-07-11 Thread Hartmut Brandt
Is $subj supposed to work in -current? When I set MFC entries in a second jails the ones installed from the first jail get destroyed or mixed up. harti ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To

Re: CARP-interface fail-over in case required program fails.

2011-07-20 Thread Kim A. Brandt
Thanks Patrick and Dmitry, indeed `ifstated' and the ``running external tests''-part, sound like it will be helpful. /Kim On 2011-07-20 16:19, Patrick Lamaiziere wrote: > Le Mon, 18 Jul 2011 19:18:53 +0400, > Dmitry Banschikov a écrit : > > Hi, > >>> is it possible to let a CARP-interface fa

CARP-interface fail-over in case required program fails.

2011-07-18 Thread Kim A. Brandt
Hello list, is it possible to let a CARP-interface fail(-over) in the situation when a certain program fails or stops working? I hope it's clear enough what I have in mind. Could you give me any pointers on how this can be archived? /Kim

Re: CARP-interface fail-over in case required program fails.

2011-07-18 Thread Kim A. Brandt
org/faq/pf/carp.html#forcefail On 2011-07-18 16:05, Kim A. Brandt wrote: Hello list, is it possible to let a CARP-interface fail(-over) in the situation when a certain program fails or stops working? I hope it's clear enough what I have in mind. Could you give me any pointers on how this can be archived? /Kim

Re: bsnmpd: ifTable and if_nametoindex() inconsistency

2011-01-24 Thread Harti Brandt
On Sat, 22 Jan 2011, Eugene Grosbein wrote: EG>On 23.01.2011 00:24, Eugene Grosbein wrote: EG>> I really need quick method to obtain SNMP index within mpd55 code EG>> (for my local mpd hacks) and if_nametoindex() used to seem nice way... EG>> I need to export indexes via mpd's web interface so tha

Re: Querying bsnmpd through /var/run/snmpd.sock

2011-01-24 Thread Harti Brandt
On Sun, 23 Jan 2011, Eugene Grosbein wrote: EG>bsnmpd running with mibII module opens local socket /var/run/snmpd.sock EG>mentioned in snmp_mibII(3) manual page: EG> EG> The mibII module opens a socket that is used to execute all network EG> related ioctl(2) functions. This socket is glob

Re: bsnmpd: ifTable and if_nametoindex() inconsistency

2011-01-24 Thread Harti Brandt
On Sat, 22 Jan 2011, Eugene Grosbein wrote: EG>I run 8.2-PRERELEASE with bsnmpd and mpd55 serving PPPoE users. EG>I've noticed that sometimes snmpwalk shows interface indexes EG>that partially differ from what if_nametoindex(3) returns EG>with off-by-one or off-by-two. For example, just now this s

Re: Future of netnatm: looking for testers

2010-12-17 Thread Harti Brandt
On Fri, 17 Dec 2010, Robert Watson wrote: RW> RW>On Wed, 15 Dec 2010, Bjoern A. Zeeb wrote: RW> RW>> I would request two things: RW>> RW>> 1) the extra couple of months; this will not prevent the evitable removal RW>> yet only defer it. RW> RW>Sounds good to me -- my goal is not to remove NETNA

Re: Default gateway on different net

2010-09-28 Thread Lasse Brandt
Sorry for the late reply, On 24. Sep 2010, at 12:56 , Lars Eggert wrote: > This seems very complex. Have you simply tried: > > ipv6_defaultrouter="2a01:::3180::1" > ipv6_ifconfig_re0="2a01:::3183::1 prefixlen 64" Yes - but you can't add a defaultroute to an ip not on the same sub

Re: Default gateway on different net

2010-09-24 Thread Lasse Brandt
Hi, Thanks for the replies :) On 23/09/2010, at 18.15, bz=li...@zabbadoz.net wrote: > On Fri, 24 Sep 2010, Hiroki Sato wrote: >> la> 1) Is the hosting provider actually forcing me to do something "bad" >> la> og plain wrong? >> >> In that situation normally you get an IP address in the /59 netwo

Re: Default gateway on different net

2010-09-22 Thread Lasse Brandt
Hi again, Just wanted to update on the problem, in case someone stumbles upon this in the archives - original mail: http://lists.freebsd.org/pipermail/freebsd-net/2010-September/026481.html On 21. Sep 2010, at 12:37 , Lasse Brandt wrote: > 2) Should the default route really be the last route

Default gateway on different net

2010-09-21 Thread Lasse Brandt
Hi, I have a server in location that provides ipv6 (not sure the ipv6 part is important, but thats how I stumbled upon this). First a bit of information about the server: FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 1 NIC with ipv4 and v6 addresses. I got an ipv6 subnet (/64) from the

Re: Poor situation with snmp support in FreeBSD

2010-03-28 Thread Hartmut Brandt
On Sat, 27 Mar 2010, alexpalias-bsd...@yahoo.com wrote: One thing that is not working as expected in bsnmpd (or maybe I'm not expecting the right thing) is replying to queries on multihomed hosts. That is, if one machine has 2 network interfaces, one with IP address 192.168.1.1, mask 255.255.

Re: Poor situation with snmp support in FreeBSD

2010-03-26 Thread Hartmut Brandt
On Fri, 26 Mar 2010, Vasily Samoylov wrote: VS>On 26.03.2010 9:10, Harti Brandt wrote: VS>> SS>P.S. Back to the thread topic - so the only problem the author is VS>> SS>facing with bsnmp is that it lacks support for LLDP, do I understand VS>> SS>correctly? VS>>

Re: Poor situation with snmp support in FreeBSD

2010-03-26 Thread Hartmut Brandt
On Fri, 26 Mar 2010, Alexander Bubnov wrote: AB>I am sorry may be I am going to ask often asked question... Why not to AB>implement features which is lacking in net-snmp for FreeBSD instead of AB>writing new snmp (bsnmp)? As a plus net-snmp has BSD like license. Many years ago I needed a small SN

Re: Poor situation with snmp support in FreeBSD

2010-03-26 Thread Harti Brandt
Hi, On Fri, 26 Mar 2010, Alexander Bubnov wrote: AB>One more question please in scope of snmp topic. does bsnmp support master AB>agentx mode? No. I read through the documents and decided that I would not have time to implement this. I often use external agents in projects, but usually use cus

Re: Poor situation with snmp support in FreeBSD

2010-03-26 Thread Harti Brandt
Hi, On Thu, 25 Mar 2010, Shteryana Shopova wrote: SS>On Thu, Mar 25, 2010 at 1:33 PM, Harti Brandt wrote: SS>> On Thu, 25 Mar 2010, Vasyl Samoilov wrote: SS>> SS>> SS>> - bsnmp is lacking developers (I'm the only one). I had a surgery in SS>+ 1 (count me in

Re: Poor situation with snmp support in FreeBSD

2010-03-25 Thread Harti Brandt
On Thu, 25 Mar 2010, Vasyl Samoilov wrote: VS>So far I found two options for snmp daemon - bsnmp and net-snmp. net-snmo VS>giving back invalid data, bsnmp lacks some data at all. Just two general remarks: - net-snmp is probably developed on Linux so it doesn't know how to access many of the in

generating routing message on LL address change

2009-12-02 Thread Harti Brandt
Hi all, I would like to commit the following patch. It generates an RTM_IFINFO message when the link-layer address of an interface is changed. This should be no problem for routing daemons, because the same messages are also generated when other interface state changes. Are there any reasons

ARP regression in releng-8

2009-11-22 Thread Harti Brandt
Hi all, I try to figure out something simple like the ARP retransmission timeout to populate the ipv4InterfaceRetransmitTime in the RFC4293 MIB. In line 357 of netinet/if_ether.c it says: /* * Return EWOULDBLOCK if we have tried less than arp_maxtries. It * will be m

Re: TCP bug?

2009-06-19 Thread Harti Brandt
Hi, On Fri, 19 Jun 2009, Chuck Swiger wrote: CS>On Jun 19, 2009, at 10:44 AM, Harti Brandt wrote: CS>> When the TCP is in SYN-SENT state (the user has called connect()) and the CS>> peer answers with an almost-lamp test packet which has SYN, FIN, ACK and CS>> data larger

Re: TCP bug?

2009-06-19 Thread Hartmut Brandt
- check that TCP is in EsTABLISHED state Everything is fine except that TCP ends up in CLOSE_WAIT. harti KF>Harti Brandt wrote: KF>> KF>> Hi all, KF>> KF>> one of my TCP test cases breaks in what one could call an edge case: KF>> KF>> When the TCP is in SYN-SEN

TCP bug?

2009-06-19 Thread Harti Brandt
Hi all, one of my TCP test cases breaks in what one could call an edge case: When the TCP is in SYN-SENT state (the user has called connect()) and the peer answers with an almost-lamp test packet which has SYN, FIN, ACK and data larger than the window, TCP ACKs a window full of data, drops the

TCP bug?

2009-06-19 Thread Harti Brandt
Hi all, one of my TCP test cases breaks in what one could call an edge case: When the TCP is in SYN-SENT state (the user has called connect()) and the peer answers with an almost-lamp test packet which has SYN, FIN, ACK and data larger than the window, TCP ACKs a window full of data, drops the

Re: TCP Free-BSD setup behaviour.

2009-06-16 Thread Harti Brandt
On Tue, 16 Jun 2009, Erik Trulsson wrote: ET>On Tue, Jun 16, 2009 at 04:37:32PM +0530, saravana perumal wrote: ET>> Hi  Louie. ET>>   ET>> As per Testing ET>>   ET>> 1.Sending SYN and reaching the SYN_SENT state INTIALLY [Active open] ET>> 2. Then Expects to RECEIVE SYN packet and ET>> 3. To Sen

Re: bsnmpd + netsnmp & 64bits counters problem, bce interface problems maybe ?

2009-05-29 Thread Harti Brandt
> s>bsnmpd does it every second. s> s>also, as far as this " s>options=bb" s> s>jumbo is disabled on the switch. s> s>in comparison to another gigabit, (em0) on that switch. s>options=9b s> s>they're both at MTU 1500 though. s> s>thanks s>

Re: bsnmpd + netsnmp & 64bits counters problem, bce interface problems maybe ?

2009-05-29 Thread Harti Brandt
understand it they should go up and wrap at either 32-bit or 64-bit. There are only two cases when they go down: a wrap or a discontinuity, which would be recorded in ifCounterDiscontinuityTime. Just to check: could you please disable TSO on the interface and look what it does? harti s>Hart

Re: bsnmpd + netsnmp & 64bits counters problem, bce interface problems maybe ?

2009-05-29 Thread Harti Brandt
On Thu, 28 May 2009, smallpox wrote: s>hey guys, i've read s> [SNIP] s> s>in comparison to an intel em.. 32bit, it's linked at a gigabit though.. but no s>heavy traffic there. s> s>--BEGIN WORKING s>IF-MIB::ifInOctets.1 /15 sec: 1932426 s>IF-MIB::ifOutOctets.1 /15 sec: 24270520 s>IF-MIB::ifInOct

Re: bsnmp module for monitoring network flows: bsnmp-pcap

2009-01-21 Thread Harti Brandt
On Tue, 20 Jan 2009, Shteryana Shopova wrote: SS>> SS> SS>> SS>This is indeed interesting :) SS>> SS>One thing to point out is that { begemot 206 } is already allocated SS>> SS>for begemotVlan - and the two modules will conflict - you might want SS>> SS>to contact harti for a free OID under begemo

Re: bsnmp module for monitoring network flows: bsnmp-pcap

2009-01-20 Thread Harti Brandt
On Tue, 20 Jan 2009, Shteryana Shopova wrote: SS>Hi, SS> SS>On Tue, Jan 20, 2009 at 3:20 AM, Stef wrote: SS>> Figured this may be interesting for folks... SS>> SS>> I've released a bsnmp module which can monitor arbitrary traffic flows SS>> and expose them as SNMP counters. SS>> SS> SS>This is in

Re: bsnmpd & BGP full view

2008-12-26 Thread Hartmut Brandt
Eugene Grosbein wrote: Petri Helenius wrote: In any case it should re-read the kernel table only every 10 minutes and in the mean time monitor the routing socket to update its copy of the table. If of course someone is doing a lot of updates on Why does it have to re-read the table p

Re: bsnmpd & BGP full view

2008-12-25 Thread Hartmut Brandt
Eugene Grosbein wrote: Hi! Is there a way to reduce bsnmpd's CPU & memory usage for BGP router using full view? I do not need to deal with routing table via SNMP. SNMP is needed to monitor interface byte counters only via mrtg. bsnmpd grows upto 18Mb for FreeBSD 6.4 and worse, it hogs CPU whil

Re: NATM hardware available

2008-12-25 Thread Hartmut Brandt
Robert Watson wrote: On Wed, 24 Dec 2008, Bruce Simpson wrote: Hartmut Brandt wrote: In any case there is still an Todo on my side: the routing information for NETNATM is currently lost somewhere between L2 and L3 :-) I guess I come back to you in the new year to fix this issue... Have to

Re: HEADSUP: arp-v2 has been committed

2008-12-23 Thread Hartmut Brandt
Hi Kip, Kip Macy wrote: And another point: when changing external interfaces it might be possible to ask for a full port build with the changes to look for the fall-out on ports. I would say that this commit was a good candidate to get the port maintainers into the boat earlier. n

Re: HEADSUP: arp-v2 has been committed

2008-12-23 Thread Hartmut Brandt
Li, Qing wrote: Hi Hartmut, I appreciate your candid feedback. You raised many valid points. I combined both of your emails in this reply, please see my comments below ... You are absolutely right. This was a complete oversight on my part. I was telling myself "I think I am forgetting

Re: HEADSUP: arp-v2 has been committed

2008-12-23 Thread Hartmut Brandt
maintainers into the boat earlier. not so happy, harti -- Qing -Original Message- From: Hartmut Brandt Sent: Sunday, December 21, 2008 8:54 AM To: Kip Macy Cc: Vladimir Grebenschikov ; Qing Li ; freebsd-net@freebsd.org ; Gerald Pfeifer ; freebsd-curr...@freebsd.org Subject: Re: HEAD

Re: HEADSUP: arp-v2 has been committed

2008-12-23 Thread Hartmut Brandt
Li, Qing wrote: Yes, at least in the IPv4 case, I still generate the routing messages whenever entries are modified, so you can still wait for notifications on the routing socket. One should check for the address family AF_LINK type instead of checking for RTF_LLINFO flag. It's an over sight t

Re: HEADSUP: arp-v2 has been committed

2008-12-21 Thread Hartmut Brandt
Kip Macy wrote: The flag is not needed. It is only possible to retrieve arp entries by way of sysctl. The converse of this is you no longer need to grab all the entries in the routing table and look at each one to determine which are cloned routes (dynamic host routes) which contain ARP entries.

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Bruce Simpson wrote: BS>Harti Brandt wrote: BS>> The highspeed counters are only there if this is a high-speed interface. BS>> High speed means that the baudrate in the interface MIB (the one in the BS>> kernel) must be larger than 20Mbaud. BS>>

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>Harti Brandt wrote: SM>> On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>> SM>> SM>Hello. SM>> SM> SM>> SM>Some weird thing has happened with 64bit counters: SM>> SM> SM>> SM>

Re: bsnmpd & 64bits counters problem

2008-12-16 Thread Harti Brandt
On Tue, 16 Dec 2008, Sergey Matveychuk wrote: SM>Hello. SM> SM>Some weird thing has happened with 64bit counters: SM> SM>% snmpwalk -v2c -cpublic localhost ifInOctets SM>IF-MIB::ifInOctets.1 = Counter32: 4107815474 SM>... SM>IF-MIB::ifInOctets.16 = Counter32: 2894713654 SM> SM>% snmpwalk -v2c -cpu

Re: TCP and syncache question

2008-11-21 Thread Hartmut Brandt
Andre Oppermann wrote: Harti Brandt wrote: Hi Andre, On Mon, 17 Nov 2008, Andre Oppermann wrote: AO>This is a bit more complicated because of interactions with tcp_input() AO>where syncache_expand() is called from. AO> AO>The old code (as of December 2002) behaved slightly di

Re: TCP and syncache question

2008-11-21 Thread Hartmut Brandt
Andre Oppermann wrote: Harti Brandt wrote: Hi Andre, On Mon, 17 Nov 2008, Andre Oppermann wrote: AO>This is a bit more complicated because of interactions with tcp_input() AO>where syncache_expand() is called from. AO> AO>The old code (as of December 2002) behaved slightly di

Re: TCP and syncache question

2008-11-19 Thread Harti Brandt
Hi Andre, On Mon, 17 Nov 2008, Andre Oppermann wrote: AO>This is a bit more complicated because of interactions with tcp_input() AO>where syncache_expand() is called from. AO> AO>The old code (as of December 2002) behaved slightly different. It would AO>not remove the syncache entry when (SND.UN

Re: TCP and syncache question

2008-11-16 Thread Hartmut Brandt
Rui Paulo wrote: On 15 Nov 2008, at 20:08, Hartmut Brandt wrote: Hi, in tcp_syncache.c:syncache_expand() there is a test that the acknowledgement number and the sequence number of an incoming ACK segment are in the expected range. If they are not, syncache_expand() returns 0 and tcp_input

TCP and syncache question

2008-11-15 Thread Hartmut Brandt
Hi, in tcp_syncache.c:syncache_expand() there is a test that the acknowledgement number and the sequence number of an incoming ACK segment are in the expected range. If they are not, syncache_expand() returns 0 and tcp_input drops the segment and sets a reset. So far so good. But syncache_exp

Re: SNMP High Capacity Counters

2008-10-19 Thread Hartmut Brandt
Eugene Grosbein wrote: On Sat, Oct 18, 2008 at 07:18:52PM +0200, Hartmut Brandt wrote: I've just found that ports/net-snmp (version 5.4) built WITH_MFD_REWRITES=yes supports IF-MIB, and in theory should show 64-bit ifHC* counters but it does not. It seems agent/mibgroup/if-mib/data_a

Re: SNMP High Capacity Counters

2008-10-18 Thread Hartmut Brandt
Eugene Grosbein wrote: Hi! I've just found that ports/net-snmp (version 5.4) built WITH_MFD_REWRITES=yes supports IF-MIB, and in theory should show 64-bit ifHC* counters but it does not. It seems agent/mibgroup/if-mib/data_access/interface_sysctl.c that obtains interface statistics from the ker

Re: mrtg peak on reboot / snmp-issue?

2008-06-15 Thread Hartmut Brandt
Olivier Mueller wrote: Hello, Small but curious thing on my freebsd-based systems: when a server is rebooted, it generates a peak (or "spike"?) on the network mrtg for all interfaces (here just before 1 am): http://8304.ch/om/stuff/mrtg_localhost_1-day.png This could happen if either the daem

Re: TDMA / Interrupts / Pre-emptible

2007-12-07 Thread Harti Brandt
On Fri, 7 Dec 2007, Bruce M. Simpson wrote: BMS>I can't comment on kernel scheduler jitter though, so someone who is working BMS>directly in that area will hopefully respond -- arch@ or hackers@ might be a BMS>better place to field that question. BMS> BMS>I believe microsecond resolution for your

TCP conformance question

2007-11-17 Thread Harti Brandt
Hi, I was browsing through our TCP implementation and found the following: according to RFC 793 if a segment with length 0 is received its sequence number must hold: RCV.NXT <= SEG.SEQ < RCV.NXT + RCV.WND. That is, the sequence number must be within the window. Otherwise the segment is not a

Re: Disable Exponential Backoff (retry) on Ethernet?

2007-10-20 Thread Harti Brandt
On Sat, 20 Oct 2007, Peter Jeremy wrote: PJ>On Wed, Oct 17, 2007 at 08:51:34PM -0700, Len Gross wrote: PJ>>I'm doing some protocol development and it is convenient to start it on PJ>>Ethernet. I will need to send a packet to the Ethernet device and only have PJ>>it be sent once, even if there is

Re: kern/110720: [net] [patch] support for interface descriptions

2007-03-24 Thread Hartmut Brandt
On Sat, 24 Mar 2007, Eugene Grosbein wrote: EG>On Sat, Mar 24, 2007 at 11:30:44AM +0100, Andre Oppermann wrote: EG> EG>> Harti Brandt wrote: EG>> >Nice feature, although it would be nice to align the maximum length with EG>> >IF-MIB::ifDescr (255 byte + \0). Also

Re: kern/110720: [net] [patch] support for interface descriptions

2007-03-24 Thread Harti Brandt
Nice feature, although it would be nice to align the maximum length with IF-MIB::ifDescr (255 byte + \0). Also I suppose that the field more naturally fits into struct if_data (see net/if.h) given the comment for that struct: /* * Structure describing information about an interface * which m

Re: RFC: a MIB for a SNMP vlan monitoring module

2007-01-10 Thread Harti Brandt
Hi, On Tue, 9 Jan 2007, Shteryana Shopova wrote: SS>Work is about to start on a vlan monitoring module for bsnmpd(1) - I'm SS>attaching the private BEGEMOT MIB that the module will implement. Any SS>comments or suggestions are very welcome. I'm not an expert on the VLAN stuff, so I cannot comme

Re: FreeBSD NFS Client, Windows 2003 NFS server

2006-12-08 Thread Harti Brandt
On Thu, 7 Dec 2006, Harti Brandt wrote: HB>On Thu, 7 Dec 2006, M. Warner Losh wrote: HB> HB>MWL>In message: <[EMAIL PROTECTED]> HB>MWL>Harti Brandt <[EMAIL PROTECTED]> writes: HB>MWL>: MWL>Does anybody have experience with using FreeBSD 4.x or

Re: FreeBSD NFS Client, Windows 2003 NFS server

2006-12-07 Thread Harti Brandt
On Thu, 7 Dec 2006, M. Warner Losh wrote: MWL>In message: <[EMAIL PROTECTED]> MWL> Harti Brandt <[EMAIL PROTECTED]> writes: MWL>: MWL>Does anybody have experience with using FreeBSD 4.x or 6.x NFS clients MWL>: MWL>against a Windows 2003 NFS server? Wh

Re: FreeBSD NFS Client, Windows 2003 NFS server

2006-12-07 Thread Harti Brandt
Hi Warner, On Wed, 6 Dec 2006, M. Warner Losh wrote: MWL>Does anybody have experience with using FreeBSD 4.x or 6.x NFS clients MWL>against a Windows 2003 NFS server? What is the performance relative MWL>to using a FreeBSD NFS server? What is the stability? Does locking MWL>work? Does the Wi

Re: paket loss on freebsd router if (b)snmpd is running##SPAM

2006-10-30 Thread Hartmut Brandt
interpret the CVS log correctly. In any case it is still a question why a user space program doing work causes the interfaces to loose packets. I don't know enough about the POLLING stuff though to make a qualified guess. harti On Fri, 27 Oct 2006, Thomas wrote: T>Hello Harti T> T&g

Re: paket loss on freebsd router if (b)snmpd is running##SPAM

2006-10-27 Thread Harti Brandt
On Fri, 27 Oct 2006, Thomas wrote: T>Hello Harti T> T>Harti Brandt schrieb: T>> On Fri, 27 Oct 2006, Thomas wrote: T>> T>> T>Hello T>> T> T>> T>I use several 5.4 and 6.1 FBSD machines as router (with quagga). The T>> T>average traffic is

Re: paket loss on freebsd router if (b)snmpd is running##SPAM

2006-10-27 Thread Harti Brandt
On Fri, 27 Oct 2006, Thomas wrote: T>Hello T> T>I use several 5.4 and 6.1 FBSD machines as router (with quagga). The T>average traffic is 300mbit/s (em interfaces with polling enabled). It T>works more or less. T> T>Problem: T>If bsnmpd is running and I'm doing a snmpwalk from a remote machine the

Re: Instructing dhclient to set hostname of client

2006-10-24 Thread Harti Brandt
On Mon, 23 Oct 2006, Joe Holden wrote: JH>Andrey V. Elsukov wrote: JH>> Doug Barton wrote: JH>>> If you're talking about a laptop where you're not sure what the DHCP JH>>> server is going to send you, then I have this in /etc/rc.local: JH>> JH>> Hi, Doug. JH>> JH>> What you think about adding a

Re: cvs commit: src/sys/net if_vlan.c

2006-07-04 Thread Harti Brandt
On Tue, 4 Jul 2006, Brooks Davis wrote: BD>On Tue, Jul 04, 2006 at 09:02:32PM +0200, Harti Brandt wrote: BD>> On Tue, 4 Jul 2006, Julian Elischer wrote: BD>> BD>> JE>Harti Brandt wrote: BD>> JE> BD>> JE>> On Tue, 4 Jul 2006, Brooks Davis wrote: BD>

Re: cvs commit: src/sys/net if_vlan.c

2006-07-04 Thread Harti Brandt
On Tue, 4 Jul 2006, Julian Elischer wrote: JE>Harti Brandt wrote: JE> JE>> On Tue, 4 Jul 2006, Brooks Davis wrote: JE>> JE>> BD>On Tue, Jul 04, 2006 at 10:25:39AM -0600, M. Warner Losh wrote: JE>> BD>> In message: <[EMAIL PROTECTED]> JE>> BD>

Re: cvs commit: src/sys/net if_vlan.c

2006-07-04 Thread Harti Brandt
On Tue, 4 Jul 2006, Brooks Davis wrote: BD>On Tue, Jul 04, 2006 at 10:25:39AM -0600, M. Warner Losh wrote: BD>> In message: <[EMAIL PROTECTED]> BD>> Brooks Davis <[EMAIL PROTECTED]> writes: BD>> : and act as though the interface is not there. We could then consider BD>> : either holdi

Re: Blocking N consecutive packets with netgraph

2006-05-25 Thread Hartmut Brandt
[EMAIL PROTECTED] wrote: I need to test a multicast streaming media application by selectively dropping packets in the network connecting the source to the viewer. The capability I need is to drop N consecutive packets, where N ranges from 1 to 50 and is chosen via the command line. I had hope

Re: Anyone heard about Broadband over power lines???

2006-05-24 Thread Harti Brandt
On Tue, 23 May 2006, Mark Jayson Alvarez wrote: MJA>Hi, MJA> MJA>A while ago, a group of individuals have demonstrated MJA>us with devices that can be used to extend your MJA>network throughout every corner of your company MJA>through the use of electric outlet... A quick googling MJA>tells me tha

Re: bsnmp-regex SNMP module

2006-04-07 Thread Harti Brandt
On Fri, 7 Apr 2006, Andrey V. Elsukov wrote: AVE>Harti Brandt wrote: AVE>> That would not help people running current, because the port is only build AVE>> for version that don't have bsnmpd in the tree. AVE> AVE>I can make it like bind9, PORT_REPLACES_BASE_BSNMPD :) AVE

Re: bsnmp-regex SNMP module

2006-04-07 Thread Harti Brandt
On Fri, 7 Apr 2006, Andrey V. Elsukov wrote: AVE>Nate Nielsen wrote: AVE>> Anyone want to help with the FreeBSD port? AVE> AVE>I can try to include this module as optional AVE>part of net-mgmt/bsnmpd. That would not help people running current, because the port is only build for version that don

Re: bsnmp-regex SNMP module

2006-04-07 Thread Harti Brandt
On Fri, 7 Apr 2006, Nate Nielsen wrote: NN>-BEGIN PGP SIGNED MESSAGE- NN>Hash: SHA1 NN> NN>Bjoern A. Zeeb wrote: NN>> On Thu, 6 Apr 2006, Nate Nielsen wrote: NN>> NN>>> A thousand apologies if announcing this here is inappropriate, but since NN>>> it's related to FreeBSD's very own bsnmpd

Re: bsnmp with vlan, no speed values are set

2006-04-04 Thread Harti Brandt
On Fri, 31 Mar 2006, Thomas wrote: T>Hi T> T>I use bsnmpd-1.11_3 with FreeBSD 5.4-RELEASE on my router. It works very T>well. The only problem are my vlans on my em interfaces. T> T>As you see below it doesn't set any speed values for vlans. Afaik this T>means I can't use 64bit counter (ifHCInOcte

64-bit SNMP interface counters

2006-02-27 Thread Harti Brandt
This new version has the 64-bit HC counters in the ifXTable really 64-bit on all our platforms. If anybody has interfaces > 1GBit/sec I would be interested how this works. harti On Mon, 27 Feb 2006, Hartmut Brandt wrote: HB>harti 2006-02-27 16:16:18 UTC HB> HB> FreeBSD sr

Re: bsnmpd (was: 64-bit SNMP counters for FreeBSD && graphing bandwidth usage)

2006-02-15 Thread Harti Brandt
On Wed, 15 Feb 2006, Gleb Smirnoff wrote: GS>On Tue, Feb 14, 2006 at 11:58:21AM +0100, Anders Nordby wrote: GS>A> Some things popping off my mind: GS> GS>- A SMUX interface, allowing a process to provide a MIB branch GS> available via bsnmpd. May be in future I will have time to GS> make a SNMP

Re: bsnmpd (was: 64-bit SNMP counters for FreeBSD && graphing bandwidth usage)

2006-02-14 Thread Harti Brandt
On Tue, 14 Feb 2006, Anders Nordby wrote: AN>On Tue, Feb 14, 2006 at 01:39:01PM +0300, Gleb Smirnoff wrote: AN>> A> I should make a list of "what bsnmpd needs" to be more usable, in case AN>> A> Harti is interested. ;-P AN>> Where is such list? AN> AN>Some things popping off my mind: AN> AN>- Abil

Re: 64-bit SNMP counters for FreeBSD && graphing bandwidth usage

2006-02-14 Thread Harti Brandt
On Tue, 14 Feb 2006, Gleb Smirnoff wrote: GS>On Tue, Feb 14, 2006 at 11:37:23AM +0100, Anders Nordby wrote: GS>A> I should make a list of "what bsnmpd needs" to be more usable, in case GS>A> Harti is interested. ;-P GS> GS>Where is such list? I was thinking to setup such a list on my FreeBSD WiKi

Re: 64-bit SNMP counters for FreeBSD && graphing bandwidth usage

2006-02-14 Thread Harti Brandt
On Tue, 14 Feb 2006, Oleg Polyakov wrote: OP>--- Gleb Smirnoff <[EMAIL PROTECTED]> wrote: OP> OP>> On Tue, Feb 14, 2006 at 09:39:00AM +0100, Harti Brandt wrote: OP>> H> AN>I changed port to 163 cause I am actually using net-snmp snmpd on port OP>> H> AN>

Re: 64-bit SNMP counters for FreeBSD && graphing bandwidth usage

2006-02-14 Thread Harti Brandt
On Tue, 14 Feb 2006, Gleb Smirnoff wrote: GS>On Tue, Feb 14, 2006 at 09:39:00AM +0100, Harti Brandt wrote: GS>H> AN>I changed port to 163 cause I am actually using net-snmp snmpd on port GS>H> AN>161 still. Anyway, it seems bsnmpd insists these are 10 mbps interfaces? GS>

Re: 64-bit SNMP counters for FreeBSD && graphing bandwidth usage

2006-02-14 Thread Harti Brandt
On Tue, 14 Feb 2006, Anders Nordby wrote: AN>On Tue, Feb 14, 2006 at 09:07:42AM +0100, Harti Brandt wrote: AN>>>It seems ifHCInOctets and ifHCOutOctets are missing. How come? Do I need AN>>>to use SNMP v3? Another query tool? AN>> 10 bits/seconds seems utterly wrong fo

Re: 64-bit SNMP counters for FreeBSD && graphing bandwidth usage

2006-02-14 Thread Harti Brandt
On Mon, 13 Feb 2006, Anders Nordby wrote: AN>Hi, AN> AN>On Tue, Feb 07, 2006 at 05:11:31PM +0300, Gleb Smirnoff wrote: AN>>> Is there any way to have 64-bit SNMP counters in FreeBSD? Especially for AN>>> ifInOctets/ifOutOctets. It seems the built-in bsnmpd only has AN>>> Counter32, and net-snmpd t

Re: interface cleanup

2005-07-21 Thread Harti Brandt
On Thu, 21 Jul 2005, Anders Persson wrote: AP>I have not had time to go through netgraph enough yet, but does anyone have AP>some ideas how to avoid using kvm to obtain netgraph info? Add a control message to the ng_socket type that returns you the info you need. harti __

Re: debugging hatm

2005-05-25 Thread Harti Brandt
On Wed, 25 May 2005, Donatas wrote: D>hello, D>has anyone any ideas on how enable debug on hatm (HE155) interface? D> D>hw.atm.hatmN.debug D> D>sysctl -a |grep hw.atm doesn't show such viariable and I don't see any parameters in if_hatmvar.h exept debug flags. You must build the driver with the

Re: hatm(4) and freebsd4.11

2005-04-27 Thread Harti Brandt
On Wed, 27 Apr 2005, Donatas wrote: D>is there any posibility to use Fore Marconi HE155 under 4.11? No. That would probably require to backport some ATM infrastructure first. harti ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mail

Re: [OT] aal5 pdu CRC

2005-01-27 Thread Harti Brandt
On Thu, 27 Jan 2005, Jose M Rodriguez wrote: JMR>El Jueves, 27 de Enero de 2005 16:10, Harti Brandt escribi?: JMR>> On Thu, 27 Jan 2005, Jose M Rodriguez wrote: JMR>> JMR>> JMR>Hi, JMR>> JMR> JMR>> JMR>get some free time to work in uadsl, but have a prob

Re: [OT] aal5 pdu CRC

2005-01-27 Thread Harti Brandt
On Thu, 27 Jan 2005, Jose M Rodriguez wrote: JMR>Hi, JMR> JMR>get some free time to work in uadsl, but have a problem. Hope someone that JMR>can read ITU I.363 can answer this. JMR> JMR>Every usb adsl modem implementation I see doesn't obey aal5 pdu encoding JMR>standards, which requires that t

Re: netgraph cpcsinit + vcc parrameters

2004-09-08 Thread Harti Brandt
On Wed, 8 Sep 2004, donatas wrote: d>hello, d>I use netgraph for : d> d>hatm: <-> atmllc <->em d> d>also I use vcc chanels: d> d>ngctl msg hatm0: cpcsinit {name="sig1" aal=5 vci=55} d> d>I need to set some more vcc parameters ( ubr, pixel-rate, burst-size) d> d>it was possible

Re: netgraph only on i386/ia64 - why ?

2004-08-18 Thread Harti Brandt
On Wed, 18 Aug 2004, John Polstra wrote: JP>On 18-Aug-2004 Julian Elischer wrote: JP>> John Polstra wrote: JP>>> JP>>> There is one problem with netgraph on 64-bit platforms. The ng_msghdr JP>>> struct is 52 bytes / 4-byte aligned (see ng_message.h). That means JP>>> the message payload is not

Re: netgraph only on i386/ia64 - why ?

2004-08-18 Thread Harti Brandt
On Wed, 18 Aug 2004, Ruslan Ermilov wrote: RE>On Tue, Aug 17, 2004 at 11:49:47AM +0300, Ruslan Ermilov wrote: RE>> On Mon, Aug 16, 2004 at 07:13:27PM +, Bjoern A. Zeeb wrote: RE>> > On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: RE>> > RE>> > > On Mon, 16 Aug 2004, Ruslan Ermilov wrote: RE>> > >

Re: netgraph only on i386/ia64 - why ?

2004-08-17 Thread Harti Brandt
On Tue, 17 Aug 2004, John Polstra wrote: JP>On 17-Aug-2004 Harti Brandt wrote: JP>> On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: JP>> JP>> BAZ>Hi, JP>> BAZ> JP>> BAZ>It seems netgraph is only build on ia64 and i386. JP>> BAZ>Can someone please exp

Re: netgraph only on i386/ia64 - why ?

2004-08-17 Thread Harti Brandt
On Mon, 16 Aug 2004, Bjoern A. Zeeb wrote: BAZ>Hi, BAZ> BAZ>It seems netgraph is only build on ia64 and i386. BAZ>Can someone please explain why ? Until around april I used all the ATM related Ng stuff regularily (this include ng_socket, all the stuff under netgraph/atm). I think this should just

Re: Packing netgraph structs

2004-07-01 Thread Harti Brandt
On Thu, 1 Jul 2004, Anil Madhavapeddy wrote: AM>On 1 Jul 2004, at 13:48, Roman Kurakin wrote: AM>> AM>> If this is a problem why can't you make some wrapper that will pack/unpack AM>> written on C, AM>> which will be a lib for you? AM> AM>Because I want to minimise the size of the foreign binding

Re: 2 Harti

2004-07-01 Thread Harti Brandt
Hello, On Thu, 1 Jul 2004 [EMAIL PROTECTED] wrote: Your supplied exampel of connection between two bsd/hatm machines using NG nodes and Inet hooks works fine. But those 2 machines works as an IP Bridge. We need Ethernet bridge. So we've tried to connect hatm<->em adapters through netgraph and this

Re: problems in NATM0 and NG0 interfaces

2004-06-30 Thread Harti Brandt
On Wed, 30 Jun 2004 Donatas_G./[EMAIL PROTECTED] wrote: Hello, You CAN use hatm with harp. Just list your interfaces in the natm_interfaces variable in /etc/rc.conf. For example: natm_interfaces="hatm0 hatm1" hmmbut in NOTES file, there is a comment before describing hatm driver: "ATM realated

Re: problems in NATM0 and NG0 interfaces

2004-06-29 Thread Harti Brandt
On Tue, 29 Jun 2004 Donatas_G./[EMAIL PROTECTED] wrote: we have HE155 Series ForeRunner adapters used with intel rack systems. hatm0 driver is not supported by harp, so in order to use atm interfaces, we've decided to configure hetgraph interfaces (ng) on FreeBsd 5.2.1 You CAN use hatm with harp. J

Re: shutdown node VS disconnect all hooks

2004-05-28 Thread Harti Brandt
On Fri, 28 May 2004, Julian Elischer wrote: JE>> If you do that, I suppose you need to edit all the nodes, right?. In that JE>> case could you please convert the initialisation of the typestructs JE>> to use C99 sparse initialisation? In that case future changes will be a good JE>> deal easier. JE

Re: shutdown node VS disconnect all hooks

2004-05-28 Thread Harti Brandt
[Sorry, I just deleted the original mail, so I use Julian's to answer] On Thu, 27 May 2004, Julian Elischer wrote: JE>On Fri, 28 May 2004, Gleb Smirnoff wrote: JE> JE>> So, what about adding one more netgraph method into struct ng_type, say JE>> ng_preshutdown_t? This method is called first in

Re: How to reset admin's password on 3com superstack ?

2004-05-24 Thread Harti Brandt
On Mon, 24 May 2004, [iso-8859-1] Supote Leelasupphakorn wrote: SL>Hi...lists SL> SL> As the subject said, I have forgot admin's password SL>of my 3com switching it's model is "3300 SuperStack" SL>I'd like to know is there any way to reset admin's password ? SL> SL>CC to my email address is appr

  1   2   >