Re: Packet Construction and Protocol Testing...

2006-07-21 Thread George V. Neville-Neil
At Fri, 21 Jul 2006 14:12:51 -0400, Charles Swiger wrote: > > On Jul 21, 2006, at 1:43 PM, Clément Lecigne wrote: > >> 44-pi# grep -l pcap_inject /usr/lib/libpcap* > >> 45-pi# nm -g /usr/local/lib/python2.4/site-packages/pcap.so | grep > >> pcap_inject > >> U pcap_inject > > > > Have y

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread gnn
At Fri, 21 Jul 2006 21:17:39 +0200, troglocan wrote: > > Hi, > > Sorry for the late reply, I just read the thread. Did you take a look > at Scapy (http://www.secdev.org/scapy). It does exactly (and more) > what you are trying to do ... > > a+ > > ps : also, Scapy6 (http://namabiiru.hongo.wide.a

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread troglocan
Hi, Sorry for the late reply, I just read the thread. Did you take a look at Scapy (http://www.secdev.org/scapy). It does exactly (and more) what you are trying to do ... a+ ps : also, Scapy6 (http://namabiiru.hongo.wide.ad.jp/scapy6/) provides extension of Scapy for IPv6 (some parts of what is

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread Charles Swiger
On Jul 21, 2006, at 1:43 PM, Clément Lecigne wrote: 44-pi# grep -l pcap_inject /usr/lib/libpcap* 45-pi# nm -g /usr/local/lib/python2.4/site-packages/pcap.so | grep pcap_inject U pcap_inject Have you disable bpf support ? Which version of libpcap do you use ? No, bpf is compiled in

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread Clément Lecigne
Hey, Charles Swiger wrote: On Jul 20, 2006, at 10:10 PM, [EMAIL PROTECTED] wrote: [1]: If I could only get net/py-pcap to build, I might be able to do a little more... :-) You only need net/py-pypcap, but if that's what you meant please let me know what the build problem is. (...) 44-pi#

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread Charles Swiger
On Jul 20, 2006, at 10:10 PM, [EMAIL PROTECTED] wrote: [1]: If I could only get net/py-pcap to build, I might be able to do a little more... :-) You only need net/py-pypcap, but if that's what you meant please let me know what the build problem is. Interesting-- basicly, your tests commonl

Re: Packet Construction and Protocol Testing...

2006-07-21 Thread Nash Nipples
Okay, why not make it in C on the day 2 if not on the day 1 because u will still want to do that on day x.? plus the core point about constructing dirty packets is to gain understanding of the process. i mean its very important to understand how do u form a binary stream with a set of conseq

Re: Packet Construction and Protocol Testing...

2006-07-20 Thread gnn
At Thu, 20 Jul 2006 10:48:14 -0400 (EDT), Andrew R. Reiter wrote: > > > Aren't there already tools for doing this -- libnet / libdnet that both > have py wrappers? I looked at all those, and more, but they miss an important point. That is, in PCS you define a packet like this (from pcs/packets/

Re: Packet Construction and Protocol Testing...

2006-07-20 Thread gnn
At Thu, 20 Jul 2006 10:40:41 -0400, Chuck Swiger wrote: > This strikes me as a pretty cool thing, thank you for putting the source out > there...given a bit of free time, I'd like to at least test this, if not > contribute. [1] :-) Thanks :-) > The port is missing a dependency on net/py-pcap, B

Re: Packet Construction and Protocol Testing...

2006-07-20 Thread Andrew R. Reiter
Aren't there already tools for doing this -- libnet / libdnet that both have py wrappers? On Thu, 20 Jul 2006, [EMAIL PROTECTED] wrote: :Hi, : :Sorry for the length of this email but I figured I'd get this out :early in case there was anyone else who wanted to play with this. : :I have now gott

Re: Packet Construction and Protocol Testing...

2006-07-20 Thread Chuck Swiger
Hi-- [EMAIL PROTECTED] wrote: [ ... ] The Source Forge page is here: http://sourceforge.net/projects/pcs and the shar files submitted to get the ports created are now on: http://www.freebsd.org/~gnn/pcs.port.shar http://www.freebsd.org/~gnn/py-pypcap.shar This strikes me as a pretty cool th

Packet Construction and Protocol Testing...

2006-07-20 Thread gnn
Hi, Sorry for the length of this email but I figured I'd get this out early in case there was anyone else who wanted to play with this. I have now gotten out version 0.1 of the Packet Construction Set. This is a set of Python libraries which make writing protocol testing software much easier. Of