Re: file descriptor flags and socket flags out of sync ?

2002-11-20 Thread Bruce Evans
On Wed, 20 Nov 2002, jayanth wrote: > Some developers here have encountered a scenario where the file > descriptor flags and the socket flags seem to be out of sync. > > if an application does: > > listen(listenfd) > while (!done) { > select() > < new connection arrives

Re: panic: kmem_map too small

2002-11-20 Thread Petri Helenius
> > With about 150M in use and KVA_PAGES undefined in config (default), > > both 4.7-STABLE and 5.0-CURRENT panic (1G installed memory). > > Yes, the default is 256, IIRC. That corresponds to 1 GB of KVA, > and you have only 1 GB of physical memory to back it. I take it > this is a very busy mach

Pcap

2002-11-20 Thread soheil soheil
Hi can i use pcap to access all of the packets travel through my gateway THANX _ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail To Unsubscribe: send mail to [EMAIL PROTECTED] w

Re: Slow network response with FreeBSD 4.6.2 and ipfilter

2002-11-20 Thread .
other questions was: - what is "Slow network response"? - does ifconfig down/up helps? tcpdump buffers output so usful bits are some time after trouble. In my case slowdown triggered by arp scans > My network is composed with Windows 2000 servers and pro. > 192.168.20.2 <- w2k srv > 192.168.20.

Re: panic: kmem_map too small

2002-11-20 Thread David Schultz
Thus spake Petri Helenius <[EMAIL PROTECTED]>: > > Read LINT (or NOTES) carefully. You can't set KVA_PAGES to 1024, > > because then your kernel would take up the entire 4 GB virtual > > address space. Since the kernel must fit into 4 GB alongside > > every user process, that leaves you no room f

Re: mpd pptp freebsd <-> linux setup

2002-11-20 Thread Archie Cobbs
Vladimir B. Grebenschikov wrote: > can anyone help me setup mpd pptp link (as client) > to Linux pptp server ? The mpd log shows that you are requiring the peer to authenticate but the peer doesn't want to. That's why LCP is failing to converge. Try adding "set link disable chap" to mpd.conf. -

Re: panic: kmem_map too small

2002-11-20 Thread Petri Helenius
> > Read LINT (or NOTES) carefully. You can't set KVA_PAGES to 1024, > because then your kernel would take up the entire 4 GB virtual > address space. Since the kernel must fit into 4 GB alongside > every user process, that leaves you no room for programs. Try a > more reasonable value like 512

network slowdown measured with netstat

2002-11-20 Thread Vincent Goupil
I currently experience network problem. I run FreeBSD 4.6.2 with ipfilter 3.4.27 with 5 ethernet interfaces (all 3C905). I think we have a problem with a card xl0. It have 43698 inputs packets with 2424 input errors packets. I think this is problem with ethernet packets (probably checksum e

Re: panic: kmem_map too small

2002-11-20 Thread David Schultz
Thus spake Petri Helenius <[EMAIL PROTECTED]>: > >>I seem to get kmem_map too small panics when using large buffers with > >>bpf. Is there a tunable I should be increasing? > >> > >> > > > >Yes, increase KVA_PAGES in your kernel config. > > > > > I put in KVA_PAGES=1024 > with following results

Re: panic: kmem_map too small

2002-11-20 Thread Robert Watson
On Wed, 20 Nov 2002, Petri Helenius wrote: > David Schultz wrote: > > >Thus spake Petri Helenius <[EMAIL PROTECTED]>: > > > > > >>I seem to get kmem_map too small panics when using large buffers with > >>bpf. Is there a tunable I should be increasing? > >> > >> > > > >Yes, increase KVA_PAG

Re: Q. about sockets

2002-11-20 Thread Robert Watson
On Wed, 20 Nov 2002, soheil soheil wrote: > Can i use raw socket for get all of the TCP/IP packet travels through my > PC like this ? > > in >MyGW MyGW--> out > | | > -> MySocket - Generally, no -- there are a

Re: panic: kmem_map too small

2002-11-20 Thread Petri Helenius
David Schultz wrote: Thus spake Petri Helenius <[EMAIL PROTECTED]>: I seem to get kmem_map too small panics when using large buffers with bpf. Is there a tunable I should be increasing? Yes, increase KVA_PAGES in your kernel config. I put in KVA_PAGES=1024 with following results on ne

file descriptor flags and socket flags out of sync ?

2002-11-20 Thread jayanth
Some developers here have encountered a scenario where the file descriptor flags and the socket flags seem to be out of sync. if an application does: listen(listenfd) while (!done) { select() < new connection arrives before fcntl() fcntl(listenfd,O_NONBLOCK) new

Network performance

2002-11-20 Thread Vincent Goupil
I currently running FreeBSD 4.6.2 with ipfilter 3.4.27. I have network slowdown but I can't find where it came from. When I reboot it, all came back to normal. When I experiencing slowdown, more packets tend to be denied. I suspect that something slowdown the ipfilter process or ip forwardi

mpd pptp freebsd <-> linux setup

2002-11-20 Thread Vladimir B.
hi ppl can anyone help me setup mpd pptp link (as client) to Linux pptp server ? mpd build from fresh ports on 5.0-CURRENT Server works, I can connect to it from M$Win (I guess poptop package) it configured to allow mpe 40 and mpe 128, MSChapV2 Transcript of mpd session in attach mpd config f

Re: Slow network response with FreeBSD 4.6.2 and ipfilter

2002-11-20 Thread Vincent Goupil
My network is composed with Windows 2000 servers and pro. 192.168.20.2 <- w2k srv 192.168.20.3 <- w2k srv 192.168.20.7 <- w2k srv 192.168.20.8 <- w2k srv 192.168.20.9 <- w2k srv 192.168.20.10 <- another freebsd box 192.168.20.210 <- the firewall 23:58:43.356569 arp who-has 192.168.20.99 tell

RE: duplicate packets in ping?

2002-11-20 Thread Sten Daniel Sørsdal
I've had similar issue with Intel Ethernet controllers (i82562ET and i82801BA/BAM). It was practically no load, and on the wire there was no duplicates but ping got duplicates anyway. - It only happens sporadically and it happens to about 10 boxes with the same FreeBSD version (exact same). Haven

Re: duplicate packets in ping?

2002-11-20 Thread Randall Stewart
shubha mr wrote: Ping on my device driver (for my NIC )gives duplicate packets.does anyone know why they occur and how to eliminate them? thanks shubha __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Mu

duplicate packets in ping?

2002-11-20 Thread shubha mr
Ping on my device driver (for my NIC )gives duplicate packets.does anyone know why they occur and how to eliminate them? thanks shubha __ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http:/

Q. about sockets

2002-11-20 Thread soheil soheil
Dear all Can i use raw socket for get all of the TCP/IP packet travels through my PC like this ? in >MyGW MyGW--> out | | -> MySocket - _ Add photos t