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


Groups > comp.lang.python > #41702 > unrolled thread

Faking TCP Sessions with Scapy

Started byJim Mellander <jmellander@lbl.gov>
First post2013-03-22 15:11 -0700
Last post2013-03-22 15:11 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

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

#41702 — Faking TCP Sessions with Scapy

FromJim Mellander <jmellander@lbl.gov>
Date2013-03-22 15:11 -0700
SubjectFaking TCP Sessions with Scapy
Message-ID<mailman.3616.1363990360.2939.python-list@python.org>
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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web