Re: mpd netgraph bridge

2001-06-07 Thread Archie Cobbs
Peter Blok writes: > I have a PPTP connection to my ADSL provider, using mpd-netgraph. It is > available on ng0. I'd like to bridge this with netgraph to a separate > ethernet interface sf3. Is this possible? I have looked at examples, but > they don't work because ng0 is not of type ether. I don

I need help!

2001-06-07 Thread Roman Y. Bogdanov
... np: Anabolic Frolic - Hubbalo 96 live [40:37] Please sorry me for poor English! I have network: Today: 1. Router with 3 logical interface and no default gateway. 192.168.2/24 - User workstation ( DNS & routing at 192.168.2.1 ) 192.168.3/24 - Dedicated admin workstation

Re: How to count frames transmitted through the ethernet card.

2001-06-07 Thread Luigi Rizzo
> That is my problem, If sendto() *not* always returns ENOBUFS, I > need to know the packets what are actually transmited... you don't have a way to know. The transmission can fail in the device driver (e.g. because of excessive collisions) and you only know it at a later time. cheers

Re: How to count frames transmitted through the ethernet card.

2001-06-07 Thread Juan Fco Rodriguez Hervella
That is my problem, If sendto() *not* always returns ENOBUFS, I need to know the packets what are actually transmited... >> Hello: >> >> I am doing a program that sends udp packets. I have a counter >> and each time I send a packet with "sendto()", I increment the value >> of this variable. >>

Re: How to count frames transmitted through the ethernet card.

2001-06-07 Thread Luigi Rizzo
> Hello: > > I am doing a program that sends udp packets. I have a counter > and each time I send a packet with "sendto()", I increment the value > of this variable. > > But I would like to count the frames that are being actually > transmitted, through the ethernet card, some like the ifconfig/

How to count frames transmitted through the ethernet card.

2001-06-07 Thread Juan Fco Rodriguez Hervella
Hello: I am doing a program that sends udp packets. I have a counter and each time I send a packet with "sendto()", I increment the value of this variable. But I would like to count the frames that are being actually transmitted, through the ethernet card, some like the ifconfig/netstat. I woul

Re: using ipfw's ``pipe'' to limit icmp traffic

2001-06-07 Thread Luigi Rizzo
> > if it ever needs more than 64Kbit/s, it is an attack... > > > > This seems to work, but when I try to ping something outised the > > network, the ping time is around 10 msec. Without the above piping, it > > is around 0.5 msec. It is the bandwidth, that I'm trying to limit, not >