Re: net/scapy opening many bpf(4)

2010-10-05 Thread Jonathan Armani
New diff Index: Makefile === RCS file: /cvs/openbsd/ports/net/scapy/Makefile,v retrieving revision 1.12 diff -u -p -r1.12 Makefile --- Makefile30 Aug 2010 21:21:54 - 1.12 +++ Makefile5 Oct 2010 08:20:42 - @@

Re: net/scapy opening many bpf(4)

2010-10-04 Thread Jonathan Armani
Hi thanks, Based on your work : - Update my email address - Update scapy to the last version (2.1.0) - Integrate the 2 diffs you sent and remove the comment about the need to increase the number bpf in the Makefile Regress tests : PASSED=753 FAILED=3 Full

Re: net/scapy opening many bpf(4)

2010-10-01 Thread Laurent Ghigonis
Thanks all for your quick replies On Thu, Sep 30, 2010 at 08:23:37PM +0200, Claudio Jeker wrote: On Thu, Sep 30, 2010 at 08:25:39PM +0200, Jonathan Armani wrote: Yes you need to create a lot of bpf to get a fully functionnal scapy. Attached is a diff that make bpf device clonable if you want

net/scapy opening many bpf(4)

2010-09-30 Thread Laurent Ghigonis
Hello :) When I send packets with scapy from packages or lastest mercurial, on OpenBSD -current, I quickly end up with all my /dev/bpf devices used. I tried to find the problem in the scapy source without success. Also searched for the problem in scapy ml, but it seems that scapy v2 works for

Re: net/scapy opening many bpf(4)

2010-09-30 Thread Jonathan Armani
On Thu, 30 Sep 2010 16:42:39 +0200 Laurent Ghigonis laur...@gouloum.fr wrote: Hello :) Hi, Yes you need to create a lot of bpf to get a fully functionnal scapy. Attached is a diff that make bpf device clonable if you want to give it a try (Apply it on a -current src). N'hesite pas à repondre

Re: net/scapy opening many bpf(4)

2010-09-30 Thread Stuart Henderson
On 2010/09/30 20:25, Jonathan Armani wrote: On Thu, 30 Sep 2010 16:42:39 +0200 Laurent Ghigonis laur...@gouloum.fr wrote: Hello :) Hi, Yes you need to create a lot of bpf to get a fully functionnal scapy. Attached is a diff that make bpf device clonable if you want to give it a try

Re: net/scapy opening many bpf(4)

2010-09-30 Thread Claudio Jeker
On Thu, Sep 30, 2010 at 08:25:39PM +0200, Jonathan Armani wrote: On Thu, 30 Sep 2010 16:42:39 +0200 Laurent Ghigonis laur...@gouloum.fr wrote: Hello :) Hi, Yes you need to create a lot of bpf to get a fully functionnal scapy. Attached is a diff that make bpf device clonable if you