Re: [tcpdump-workers] linux pcap blocking and cpu utilization

2004-06-28 Thread Guy Harris
On Jun 28, 2004, at 12:10 PM, four wrote: Here is the situation: I am trying to build a simple bridging program. If I use pcap_set_nonblock() the function call returns fine, but the program ends up using 100% cpu utilization, presumably because it is simply looping and returning with no packets c

[tcpdump-workers] 3-clause vs. 4-clause BSD license for {libp,WinP}cap and {tcpd,WinD}ump

2004-06-28 Thread Guy Harris
On Jun 28, 2004, at 1:21 PM, [EMAIL PROTECTED] wrote: We would like to include WinPcap and WinDump on the Windows Toolbox compilation of software but your licencing restrictions present a problem. The clause we have difficulty with in particular is this: "all advertising materials mentioning fea

[tcpdump-workers] anoncvs

2004-06-28 Thread Michael Richardson
-BEGIN PGP SIGNED MESSAGE- Over the weekend cvs.tcpdump.org accumulated 15 pserver processes, in 'R' state. I don't quite know why. The network connections had long since gone away. I killed them. I have disabled anon-cvs for the moment. - -- ] "Elmo went to the wrong fundraiser" -

[tcpdump-workers] linux pcap blocking and cpu utilization

2004-06-28 Thread four
Hello All, It seems the issue of linux timeouts and blocking has been discussed on this list before. The issue is that the pcap calls won't return after a timeout period on linux and some other operating systems. Here is the situation: I am trying to build a simple bridging program. If I use pc