natd, 2 NIC's, 2 Hubs, Something I'm missing?

2001-05-26 Thread Brandt
;t ping the dc0, 192.168.1.1 interface even though they are still connected to the same hub. At the same time, the dc0 interface can still ping the other LAN boxen on the 192.168 network. Any ideas as to what is going on? - Brandt ## My Kernel ## options IPDIVERT optionsIPFI

Re: natd, 2 NIC's, 2 Hubs, Something I'm missing?

2001-05-26 Thread Brandt
using NAT, but you've not included anything > about the NAT config. Also, the 'ifconfig' output for dc0 doesn't > jibe with the rest of your message. > > Regards, > > Justin > > On Saturday, May 26, 2001, at 07:32 PM, Brandt wrote: > > > Hello a

Re: natd, 2 NIC's, 2 Hubs, Something I'm missing?

2001-05-27 Thread Brandt
d it, that all was good. You would think that after working with computers for 6 years, that I would know better than to assume. Card was a Linksys NC100, 10/100 Thanks for all the input. -Brandt On Sat, 26 May 2001, Justin C.Walker wrote: > > On Saturday, May 26, 2001, at 07:59 PM, B

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

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[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

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: 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: 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: 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>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

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

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

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

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-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 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 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-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.

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: 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

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-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: 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: 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: 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

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: 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

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-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: 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: 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, 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: 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: 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-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: 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
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: 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: 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: 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: 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: 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: 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: 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
> 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: 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

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 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

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: 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

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: 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

Re: protecting netgraph calls from outside of the network context

2004-05-24 Thread Harti Brandt
On Thu, 20 May 2004, Dmitri Denissov wrote: DD>Currently netgraph code uses splnet/splx to protect timeout calls. DD>This doesn't work with 5.2 SMP kernel. What is the proper method DD>here for a custom netgraph node? Is the Giant lock only the way? Have a lock at the ng_timeout/ng_untimeout fun

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

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: 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: 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: 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: 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: 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: 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: 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-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-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 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: [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: [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: 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: 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: 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: 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: Problems with VLAN and natd.

2001-01-02 Thread Harti Brandt
th the removal of old-style PCI in -current the hfa and hea drivers don't compile anymore. Anyway they are just a nightmare and I'm rather going to have a fresh fore driver in two or three weeks (if I ever figure out how to correctly use the bus_dma... functions :-) harti -- har

Re: raw ethernetpackets..how?

2001-01-05 Thread Harti Brandt
On Fri, 5 Jan 2001, Guido van Rooij wrote: > I wonder if it is possible to send raw ethernet packets somehow in FreeBSD. > E.g. using a AF_LINK, SOCK_RAW socket or something. man 4 bpf -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/p

Re: raw ethernetpackets..how?

2001-01-05 Thread Harti Brandt
On Fri, 5 Jan 2001, Guido van Rooij wrote: > On Fri, Jan 05, 2001 at 10:57:57AM +0100, Harti Brandt wrote: > > On Fri, 5 Jan 2001, Guido van Rooij wrote: > > > > > I wonder if it is possible to send raw ethernet packets somehow in FreeBSD. > > > E.g. us

Re: Pseudo ethernet interface

2001-01-25 Thread Harti Brandt
es it work? > Pointers to any documentation in this regard will be appreciated. > > This mail has also been posted to freebsd-hackers. > > Thanks, Satya man 4 tap harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL

netgraph: problem in ng_base

2001-01-29 Thread Harti Brandt
problem? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: netgraph: problem in ng_base

2001-01-30 Thread Harti Brandt
send me a copy of your ng_sccop node so I can try simulate this? JE>in the meanwhile I'll try using the 'hole' node to simulate it. I have attached the sscop node and the test program for it. You may need to adjust include paths. harti -- harti brandt, http://www.fokus.gmd.de/res

Re: netgraph: problem in ng_base

2001-01-30 Thread Harti Brandt
0: lower' instead of the fatm0 it's also ok. Perhaps it is rather a problem in ng_sscop ??? Can't really understand what happens. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED],

Re: netgraph: problem in ng_base

2001-01-30 Thread Harti Brandt
Hi, Just a bit more information: I just tried to run my PDP-11 simulator while having loaded ng_ether from the previous tests. The simulator uses the if_tap interface to emulate an ethernet interface to the PDP. Suddenly the system crashed while doing an ifconfig. The crash occured in ng_ether_o

Re: netgraph: problem in ng_base

2001-01-30 Thread Harti Brandt
utdown: 0xc2c4ad00 refs=3 flags=9 So the problem is with the queuing. But, as far as I understand, running that hook in queue mode is the correct thing to do, because it is called from a interface input routine (it is called from atm_input). I'm right? harti -- harti brandt, http://www.f

Re: netgraph: problem in ng_base

2001-01-30 Thread Harti Brandt
On Tue, 30 Jan 2001, Julian Elischer wrote: JE>Do you use NG_SEND_DATA_ONLY() in the atm node?? Yes. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: s

Re: CFR: Sequential mbuf read/write extensions

2001-02-07 Thread Harti Brandt
). harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: CFR: Sequential mbuf read/write extensions

2001-02-07 Thread Harti Brandt
rter than int's. This is, he said, because of their braindamage with DWORD in -zillions of header files... If I look how they continue to cripple C, this may also slip through :-( harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [E

Re: How to implement a transport protocol with netgraph? (2)

2001-03-01 Thread Harti Brandt
the ng_socket code. There should be a lot of similarities. - How to do flow control is not very clear up to now. There are a number of messages defined in netgraph.h for this and I have used them, but had no time to do a thourough test. harti -- harti brandt, http://www.fokus.gmd.de/re

Re: How to implement a transport protocol with netgraph? (2)

2001-03-01 Thread Harti Brandt
On Thu, 1 Mar 2001, Julian Elischer wrote: JE>Harti Brandt wrote: JE>> JE>> I have implemented SSCOP for ATM signalling in netgraph lately. If it JE>> helps you, I can send you the current code. There are however still a JE>> number of issues: JE>> JE>> -

Re: How to implement a transport protocol with netgraph? (2)

2001-03-02 Thread Harti Brandt
the entire netgraph runs at splnet. So I thought I just do a splnet in the timer function and that's it. No problems on my UP machine so far :-) I'm wrong? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECT

Netgraph is leaking node references

2001-03-09 Thread Harti Brandt
f hooks it previously had. So what is the problem? harti PS: FreeBSD beagle.fokus.gmd.de 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Thu Mar 8 11:42:04 CET 2001 [EMAIL PROTECTED]:/opt/obj/usr/src/sys/BEAGLE i386 -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.bran

Re: arp: is using my IP address 0.0.0.0! ??!?!?

2001-10-19 Thread Harti Brandt
0:00:00:00:00 I think it is definitly wrong to assume that an interface with no IP address has IP address 0.0.0.0 harti TL>Ghah. I hate special cases... everything is a special case... harti TL> TL>-- Terry TL> TL>To Unsubscribe: send mail to [EMAIL PROTECTED] TL>with &q

interface creation notification

2002-01-17 Thread Harti Brandt
it be simple to just create an RTM_IFINFO message? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: interface creation notification

2002-01-18 Thread Harti Brandt
On Fri, 18 Jan 2002, Ruslan Ermilov wrote: RE>On Thu, Jan 17, 2002 at 06:58:26PM +0100, Harti Brandt wrote: RE>> RE>> Hi, RE>> RE>> how is a daemon supposed to get informed that a network interface has been RE>> created? I had hoped, that an RTM_IFINFO m

Re: interface creation notification

2002-01-18 Thread Harti Brandt
On Fri, 18 Jan 2002, Ruslan Ermilov wrote: RE>On Fri, Jan 18, 2002 at 10:41:58AM +0100, Harti Brandt wrote: RE>> On Fri, 18 Jan 2002, Ruslan Ermilov wrote: RE>> RE>> RE>On Thu, Jan 17, 2002 at 06:58:26PM +0100, Harti Brandt wrote: RE>> RE>> RE>> RE

Re: interface creation notification

2002-01-18 Thread Harti Brandt
On Fri, 18 Jan 2002, Ruslan Ermilov wrote: RE>On Fri, Jan 18, 2002 at 03:23:09PM +0100, Harti Brandt wrote: RE>> On Fri, 18 Jan 2002, Ruslan Ermilov wrote: ... RE>> RE>I've just committed this feature. RE> RE>> Just one question: RE>> is there any locking

Re: interface multicast address list

2002-01-24 Thread Harti Brandt
; I'm affraid not. TL> TL>Actually, the easiest way is to remember the things when you TL>set them in the first place. That's not an option for a daemon needing this information. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private

Re: interface multicast address list

2002-01-24 Thread Harti Brandt
On Thu, 24 Jan 2002, Terry Lambert wrote: TL>Harti Brandt wrote: TL>> TL>> > is there any way to get at the if_multiaddrs list from user space (except TL>> TL>> > for digging through the kernel with kvm). TL>> TL>> TL>> TL>> I'm

Re: Netgraph and fxp0 interface?

2002-10-07 Thread Harti Brandt
TM system which I am trying out. CR>( http://www.fokus.fhg.de/research/cc/cats/employees/hartmut.brandt/ngatm/ ) CR> CR>Can someone tell me why doing an nghook on fxp0: is not working? You must kldload ng_ether. harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/emp

Re: CFR: m_tag patch

2002-10-08 Thread Harti Brandt
he same moment of UTC is rather improbable. The only option that would make sense would be a assigned numbers authority, but again, given the dimensions of the netgraph-hype - is it worth the effort? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-net" in the body of the message

Re: Comments Please

2002-10-13 Thread Harti Brandt
se the LR>relevant piece of code is: LR> LR> net/if_atmsubr.c: if (bcmp(alc, ATMLLC_HDR, 6)) { LR> LR>I have no idea if it has any relation with ethernet header sizes. No, this is the length of an LLC/SNAP header minus the type field. harti -- harti b

  1   2   >