Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41702

Faking TCP Sessions with Scapy

Date 2013-03-22 15:11 -0700
Subject Faking TCP Sessions with Scapy
From Jim Mellander <jmellander@lbl.gov>
Newsgroups comp.lang.python
Message-ID <mailman.3616.1363990360.2939.python-list@python.org> (permalink)

Show all headers | View raw


Hi all:

For various reasons, I want to take apache logs, and create actual
pcap packets that could plausibly have created those logs.  Obviously,
a lot of the info would need to be faked, such as the actual page
contents that were served (we have a byte count), the ports, and a few
other details.  Is there a library built on top of scapy (or other
pcap library) that can generate both parts of this transaction, if I
feed in the text to encapsulate?  Or am I going to need to craft each
packet individually (which shouldn't be a big deal anyway, really)?

Thanks in advance

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Faking TCP Sessions with Scapy Jim Mellander <jmellander@lbl.gov> - 2013-03-22 15:11 -0700

csiph-web