DEVICE_POLLING and kern.polling.{suspect,lost_polls}

2002-03-11 Thread Alain Thivillon
Hello, This morning i turned on polling (as in -STABLE of yesterday) on a firewall box running ipfilter. From now everything looks good (but most of users are coming only after 10 AM UTC ...), but i already have: kern.polling.lost_polls: 557 kern.polling.suspect: 468 (with ~ 200 000 routed data

bootp tags used in FreeBSD ?

2002-03-11 Thread Luigi Rizzo
Hi, does anyone have up-to-date information on which bootp/dhcp tags are used by FreeBSD ? I am asking because of two reasons: + I would like to pass some info from the bootp/dhcp server to userland, so they can be used at runtime to customize system's behaviour (specific example: I have ~

Re: help with tcp checksum

2002-03-11 Thread Crist J. Clark
On Mon, Mar 11, 2002 at 04:10:02PM +0200, alpha wrote: > hi, > > nobody wants to help me with checksum. so i decided to ask very simply. > here's my generated all packet from david c. witt site's example code: > > 00 50 04 35 44 49 00 80 48 AF D8 3E 08 00 45 00 .P.5DI..H..>..E. > 00

Re: pptp problem?

2002-03-11 Thread Archie Cobbs
Vincent Chen writes: > I am trying to establish PPTP link between a windows > 2000 pro and freebsd 4.5 running mpd 3.6. I must > disable encryption or link will failed. Please help! > > here is the log: > > [pptp] up: 1 link, total bandwidth 64000 bps > [pptp] IPCP: Up event > [pptp] IPCP: state

Re: help with tcp checksum

2002-03-11 Thread alpha
hi, it the first place thanx for answering. i'm affraid i can't show my work becouse it's confidential. I'm working on one comercial project. > Well, honestly, I haven't had my coffee yet, so I'd probably screw it > up anyway. I haven't hand-calculated one of these this century, but > perhaps y

Re: help with tcp checksum

2002-03-11 Thread Ryan Thompson
alpha wrote to FreeBSD: > TCP header begins at 0022h. as you can see checksum generated is > CACFh. and simple question: how to get this checksum? i know all > algorithms, but they show me CAE3h, but not CACFh. if you > don't be lazy and try to calculate it, ^ :-) Well, honestly,

help with tcp checksum

2002-03-11 Thread alpha
hi, nobody wants to help me with checksum. so i decided to ask very simply. here's my generated all packet from david c. witt site's example code: 00 50 04 35 44 49 00 80 48 AF D8 3E 08 00 45 00 .P.5DI..H..>..E. 0010 00 BC 49 00 00 00 FF 06 F0 E4 C0 A8 00 05 C0 A8 ..I...

FW: policy routing to tunnels..

2002-03-11 Thread Matt Impett
> Hello.. I am working on a mobileIP implementation on freeBSD, and I have a > question about how to do something with the freeBSD IP networking stack. > This is the jist: > > Basically, what I want to be able to do is to add a policy route to a > freebsd router so that it will take packets with

pptp problem?

2002-03-11 Thread Vincent Chen
Dear all, I am trying to establish PPTP link between a windows 2000 pro and freebsd 4.5 running mpd 3.6. I must disable encryption or link will failed. Please help! here is the log: [pptp] up: 1 link, total bandwidth 64000 bps [pptp] IPCP: Up event [pptp] IPCP: state change Starting --> Req-Se

Re: can we set options for nfsroot mount from bootp ?

2002-03-11 Thread Luigi Rizzo
UTSL... from sys/nfs/bootp_subr.c /* Site specific tags: */ #define TAG_SWAP128 #define TAG_SWAPSIZE129 #define TAG_ROOTOPTS130 #define TAG_SWAPOPTS131 so something like T130="tcp" does the job... cheers luigi On Mon, Mar 11, 2002 at 01:19:13AM -080

can we set options for nfsroot mount from bootp ?

2002-03-11 Thread Luigi Rizzo
Hi, is there a way to pass nfs mount options to the kernel via bootp ? I notice that the system defaults to very large blocksizes, which causes a lot of IP fragmentation and lots of trouble when going through a bottleneck. You can set the mount options through fstab, but before getting there you