ng_pptpgre + netmask_change results to lock

2007-05-22 Thread Nikos Vassiliadis
Hello everybody, I just managed to lock my box and I want to report it in case it's known(or it helps in some way). It is a 6.2-STABLE from March 13. The procedure that triggers the lock is simple: 1) Create a pptp tunnel. 2) Set is as your default gateway. 3) Play a bit with the netmask of the

Re: Is em endian-clean?

2007-05-22 Thread Jack Vogel
Yes, Linux is tested on big endian, however FreeBSD testing is limited. I would expect the shared code to be ok but the core code is tested on little endian only. Do you have some notion of where the problem is? I'm pretty busy with another issue right at the moment. Jack On 5/21/07, Kip Macy <

RE: Detecting LINK_UP / LINK_DOWN events

2007-05-22 Thread Sastry Tumuluri
> -Original Message- > From: Tom Judge [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 22, 2007 12:01 AM > To: Sastry Tumuluri > Cc: freebsd-net@freebsd.org > Subject: Re: Detecting LINK_UP / LINK_DOWN events > > Sastry Tumuluri wrote: > > Friends, > > > > I am trying to catch and do so

Re: Detecting LINK_UP / LINK_DOWN events

2007-05-22 Thread Nikos Vassiliadis
On Tuesday 22 May 2007 12:19, Sastry Tumuluri wrote: > > -Original Message- > > From: Tom Judge [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, May 22, 2007 12:01 AM > > To: Sastry Tumuluri > > Cc: freebsd-net@freebsd.org > > Subject: Re: Detecting LINK_UP / LINK_DOWN events > > > > Sastry Tum

RE: Detecting LINK_UP / LINK_DOWN events

2007-05-22 Thread Sastry Tumuluri
> -Original Message- > From: Nikos Vassiliadis [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 22, 2007 2:58 PM > On Tuesday 22 May 2007 12:19, Sastry Tumuluri wrote: > > > -Original Message- > > > From: Tom Judge [mailto:[EMAIL PROTECTED] > > > Sent: Tuesday, May 22, 2007 12:01 A

walking (and cleaning) the routing table on mask change?

2007-05-22 Thread Gleb Smirnoff
Hello, colleagues, what do you think about cleaning the routing table on mask change? I think it should be done. Currently we are cleaning the routing table only on SIOCDIFADDR operation, because it removes prefix from an interface. However, SIOCAIFADDR also may delete (actually replace) a pre

Re: Is em endian-clean?

2007-05-22 Thread Jack Vogel
On 5/22/07, Jack Vogel <[EMAIL PROTECTED]> wrote: Yes, Linux is tested on big endian, however FreeBSD testing is limited. I would expect the shared code to be ok but the core code is tested on little endian only. Do you have some notion of where the problem is? I'm pretty busy with another issue

Re: walking (and cleaning) the routing table on mask change?

2007-05-22 Thread Bakul Shah
> what do you think about cleaning the routing table on mask change? I think it would be far easier and more correct to not allow just the mask change (which is never really needed). $ ifconfig tap0 10.1.1.0/24 $ netstat -nr | grep tap0 10.1.1.0/24link#6 UC 0

Re: Is em endian-clean?

2007-05-22 Thread Kip Macy
On 5/22/07, Jack Vogel <[EMAIL PROTECTED]> wrote: On 5/22/07, Jack Vogel <[EMAIL PROTECTED]> wrote: > Yes, Linux is tested on big endian, however FreeBSD testing > is limited. I would expect the shared code to be ok but the > core code is tested on little endian only. Do you have some > notion of

Re: kern/112654: [pcn] Kernel panic upon if_pcn module load on a Netfinity 5000

2007-05-22 Thread Nagy Keve
The following reply was made to PR kern/112654; it has been noted by GNATS. From: Nagy Keve <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], Marius Strobl <[EMAIL PROTECTED]> Cc: Subject: Re: kern/112654: [pcn] Kernel panic upon if_pcn module load on a Netfinity 5000 Date: Tue, 22 May 2007 19:39:03

IP Checksum code from DragonFly BSD

2007-05-22 Thread pfgshield-freebsd
Hello; Almost a year ago a port of DragonFly's BSD IP checksum code was made: http://lists.freebsd.org/pipermail/freebsd-current/2006-May/063286.html As part of the thread, Alexander Leidinger's experience while building the kernel with Intel's C was interesting: http://lists.freebsd.org/piperm

Re: Is em endian-clean?

2007-05-22 Thread Jack Vogel
On 5/22/07, Kip Macy <[EMAIL PROTECTED]> wrote: On 5/22/07, Jack Vogel <[EMAIL PROTECTED]> wrote: > On 5/22/07, Jack Vogel <[EMAIL PROTECTED]> wrote: > > Yes, Linux is tested on big endian, however FreeBSD testing > > is limited. I would expect the shared code to be ok but the > > core code is te

Re: Is em endian-clean?

2007-05-22 Thread Jack Vogel
Turns out they gave me a T2000 to use, just what everyone needs in their cubicle :) Now I just have to get it installed. Jack Sigh, this just isnt my day, trying to boot the sparc64 april snapshot and the thing fails during boot, I wouldnt mind checking this endian issue if I could just get h

Re: Is em endian-clean?

2007-05-22 Thread Kip Macy
Sun4v runs a hypervisor as part of its firmware. On freebsd it requires a different kernel from sparc64. Getting the same kernel to work on both would require more re-work of sparc64 than I felt like doing given that USIII isn't supported. There isn't currently an ISO image being produced. Cross-

RE: Detecting LINK_UP / LINK_DOWN events

2007-05-22 Thread Sastry Tumuluri
Finally got ifstated working the way I wanted. Thanks to Tom & Nikos. The port included a man page for ifstated(8) - but was not sufficient to get a newbie like me going. I found a good addition on openbsd man pages ifstated.conf(5). br, ==Sas3== > -Original Message- > > -Origin

A question about IPSec implementation..

2007-05-22 Thread blue
Hi, all: Recently I found a paragraph of codes about IPSec replay prevention that confused me a lot. Could you shed some light on me? line 2370 to line 2407 in ipsec.c deal with the replay window update. /if (seq > replay->lastseq) { /* seq is larger than lastseq. */ diff =