IPv6 tunnel with PPPoE

2002-10-11 Thread drogoh
Hello, I am wondering if anyone has used an IPv6 tunnel with something like freenet6 using PPPoE with userland PPP. I've tried to use one myself, but my problem APPEARS to be with PPP, because in the ppp.log I see lines like this: IPV6CP: deflink: State change Closed --> Req-Sent and Phase: de

Re: Tigon 3 bad checksums on TCP packets

2002-10-11 Thread Hyong-Youb Kim
BTW, setting BGE_PCI_WRITE_BNDRY_16BYTES limits receive throughput to 540Mb/s. So it is not a solution. I really like to find out what this config does. John On Fri, 11 Oct 2002, Hyong-Youb Kim wrote: > > Thanks. I resolved the issue by forcing BGE_PCI_WRITE_BNDRY_16BYTES > in BGE_PCI_DMA_RW_CT

Re: kqueue + Netgraph?

2002-10-11 Thread Archie Cobbs
Craig Rodrigues writes: > (1) Is it possible to combine user-space netgraph notifications with > kqueue()? Sure. kqueue() works with any file descriptors, including netgraph sockets. > (2) Would it be useful to have some function in libnetgraph > for hooking two nodes together? It s

kqueue + Netgraph?

2002-10-11 Thread Craig Rodrigues
Hi, I am playing with Harti Brandt's Netgraph ATM driver for my Fore PCA-200E card, and wrote my first netgraph program with libnetgraph. Using NgRecvMsg(), I can detect when the ATM card loses carrier. So when I pull out the cable from my card, my little program gets notified. I thought this

Re: Tigon 3 bad checksums on TCP packets

2002-10-11 Thread Andrew Gallatin
Hyong-Youb Kim writes: > > I have been recently testing 3C996B-T board in an Athlon system. > The system has TigerMP board and a single Athlon 2000+ and runs FreeBSD > 4.7-RC. With bge driver, every thing works fine except that the NIC piles > up bad checksums on TCP receive packets. For ins

Re: Netgraph and fxp0 interface?

2002-10-11 Thread Julian Elischer
yes that artlcleis a bit out of date.. I'd like to get it updated. On Fri, 11 Oct 2002, Archie Cobbs wrote: > Craig Rodrigues writes: > > On Thu, Oct 10, 2002 at 12:08:01PM -0700, Archie Cobbs wrote: > > > When that tutorial was written, ng_ether.ko did not exist, > > > so you got it with option

[PATCH: if_ti] Re: High interrupt load on firewalls

2002-10-11 Thread Terry Lambert
Mike Silbersack wrote: > On Wed, 9 Oct 2002, Christopher Smith wrote: > > The rule processing can't be done on the other CPU, can it ? Am I right in > > saying that at this point in time, buying a dual CPU (vs single CPU) machine > > for firewalling with FreeBSD is just a waste of money ? > > Eve

Re: Netgraph and fxp0 interface?

2002-10-11 Thread Archie Cobbs
Craig Rodrigues writes: > On Thu, Oct 10, 2002 at 12:08:01PM -0700, Archie Cobbs wrote: > > When that tutorial was written, ng_ether.ko did not exist, > > so you got it with options NETGRAPH. Since then it's been > > split into a separate options NETGRAPH_ETHER and KLD. > > Do you have that tutori

Re: Tigon 3 bad checksums on TCP packets

2002-10-11 Thread Hyong-Youb Kim
Thanks. I resolved the issue by forcing BGE_PCI_WRITE_BNDRY_16BYTES in BGE_PCI_DMA_RW_CTL register. The linux driver apparently has a DMA test code and sets this value depending on the test results. I have no clue as to why this configuration messes up TCP receive packets and not UDP packets. Jo

Re: Netgraph and fxp0 interface?

2002-10-11 Thread Craig Rodrigues
On Thu, Oct 10, 2002 at 12:08:01PM -0700, Archie Cobbs wrote: > When that tutorial was written, ng_ether.ko did not exist, > so you got it with options NETGRAPH. Since then it's been > split into a separate options NETGRAPH_ETHER and KLD. Do you have that tutorial in a form where it can be updated

Re: CFR: m_tag patch

2002-10-11 Thread Sam Leffler
> > On Mon, 7 Oct 2002 17:06:25 -0700, > > "Sam Leffler" <[EMAIL PROTECTED]> said: > > >> > If you allocate tag id's using your 32-bit time scheme then the fixed > > values > >> > above would never be hit since they are all for impossible times and so > >> > there'd be no conflict. > >> >

Re: DHCP and media selection on bootup

2002-10-11 Thread Alex Rousskov
On Thu, 10 Oct 2002, Damian Gerow wrote: > I've tried setting to ifconfig_fxp0 lines in /etc/rc.conf, the first > for the media selection and the second for the DHCP instruction, but > that didn't work -- the card stayed in autoselect. > > Is there any way to manually set the NIC media, while ret

Re: IP bad cksum (0!)

2002-10-11 Thread Nicolas Christin
On Fri, 11 Oct 2002, soheil hassas yeganeh wrote: > ip->ip_sum = in_cksum(m,hlen); > > When i make a dump it says that it has bad cksum 0! > > 12:25:11.858759 62.217.112.165 > 66.201.71.98: icmp: echo reply (ttl 42, id > 17879, len 84, bad cksum 0!) I'm not that familiar with the

Re: IP bad cksum (0!)

2002-10-11 Thread Vyacheslav V. Burdjanadze
12:25:11.858759 62.217.112.165 > 66.201.71.98: icmp: echo reply (ttl 42, id 17879, len 84, bad cksum 0!) I don't know why this doesn't work ?? Not sure if this is an IP sum error. Seems to be bad ICMP checksum. -- - " Why do you call this software 'beta' ? " - " Cuz it beta than nothin' !

IP bad cksum (0!)

2002-10-11 Thread soheil hassas yeganeh
Hi list to recompute the checksum of the ip packets i wrote this lines in the ip_input.c files : ip->ip_sum =0 ; if(hlen == sizeof(struct ip)) ip->ip_sum = in_cksum_hdr(ip); else ip->ip_sum = in_cksum(m,hlen); When i make a dump it says that i