Comments (13)
Hey, is it just a consequence of relocation to Google code or dpkt really has
no
docs? It's a pitty, I'm just looking for good packet creation/sniffing tool
that can
be extended easily. So there ar scapy and dpkt - one with docs, another without
them.
Yeah, I know, look into sources works great...
Original comment by [email protected]
on 13 Aug 2007 at 8:38
from dpkt.
I don't expect anything big. Just few words, its years already. Thanks.
Original comment by [email protected]
on 16 Aug 2008 at 10:53
from dpkt.
i have to apologize for this - most code i host at googlecode these days is just
stuff i've written for myself, and wanted to share - but not necessarily
support.
horrible, i know, but i figure it's best to set expectations correctly here -
i'm
much more slax0r than hax0r these days.
if you're looking for a good tool or framework to extend, scapy's the better
choice.
if you're looking for a more minimalist (ahem) approach to roll your own from a
set
of bare metal APIs, dpkt/dnet/pypcap might be useful.
maybe jono, yardley, or the other dpkt committers might have a better idea of
what
docs to write. i know i'm not typical, or even correct, to think that a handful
of
code examples should serve as enough to get by on, but it's how i rationalize my
total slacker behavior. years spent wandering in the Linux wilderness outside of
OpenBSD's carefully tended garden (that, and having a toddler :-) have left me
somewhat ragged, disheveled, and disinterested in the relative luxury of
concise,
correct documentation for my own projects.
anyhow, this is all to say, you're quite right about all of this, and i thank
you for
not totally kicking my ass about it. i humbly suggest you kick jono and
yardley's
asses instead - they can take it, and you'll probably get better results.
Original comment by dugsong
on 17 Aug 2008 at 5:05
from dpkt.
While scapy definitely has better documentation, the codebase makes me want to
gouge
my eyes out. :-)
I'd much prefer writing more example code than some sort of general
documentation of
dpkt. Once you understand the basis of dpkt from a few examples,
parsing/construction of any file/packet format is fairly uniform across the
various
modules.
Anywho, if anyone has questions on how to use dpkt or parse/construct specific
formats, feel free to post them in an issue and I'm more than happy to answer
your
questions and provide example code. I'll see if I can whip up some basic
tutorials
based on some various examples I've written over the years that may be useful
for
learning to use dpkt.
Original comment by [email protected]
on 17 Aug 2008 at 6:59
from dpkt.
Was dpkt made to compete with scapy?
If so, how would one match an HTTP Request to an HTTP Response using dpkt?
Also, TCP reconstruction?
Original comment by [email protected]
on 1 Sep 2009 at 7:49
from dpkt.
While this isn't quite documentation, there's a number of simple tutorials
using dpkt
that I've posted:
http://jon.oberheide.org/blog/2008/08/25/dpkt-tutorial-1-icmp-echo/
http://jon.oberheide.org/blog/2008/10/15/dpkt-tutorial-2-parsing-a-pcap-file/
http://jon.oberheide.org/blog/2008/12/20/dpkt-tutorial-3-dns-spoofing/
http://jon.oberheide.org/blog/2009/03/25/dpkt-tutorial-4-as-paths-from-mrt-bgp/
Regards,
Jon Oberheide
Original comment by [email protected]
on 26 Mar 2010 at 3:56
from dpkt.
[deleted comment]
from dpkt.
Jeff, your link appears to be down, can you please re-post?
Original comment by [email protected]
on 14 Mar 2011 at 9:04
from dpkt.
I'm trying to create radius access request with dpkt, but I'm failing. Can
somebody post any example?
Original comment by [email protected]
on 18 Mar 2011 at 9:24
from dpkt.
[deleted comment]
from dpkt.
At the risk of pissing off some very smart people who may be working on this
already, I am trying to write some documentation on dpkt by reverse engineering
the source code. As I embark on this voyage of discovery, I am putting my
comments in http://www.commercialventvac.com/dpkt.html. I am also working on
creating a library of packet captures to decode and sample software to decode
them.
Jeff Silverman
Original comment by [email protected]
on 6 Apr 2011 at 2:53
from dpkt.
Jeff, many thanks. You have saved my skull from several fractures resulting
from contact with the wall.
Original comment by [email protected]
on 12 Jul 2011 at 5:20
from dpkt.
what didn't i understand please explain for dpkt
Original comment by [email protected]
on 31 May 2012 at 9:05
from dpkt.
Related Issues (20)
- [patch] dns.unpack_name improvements
- Common DNS RR types missing (patch included)
- FCS field on dpkt.ethernet.Ethernet HOT 4
- ssl.py TLSMultiFactory recursion causes stack overflow HOT 2
- IEEE80211 - Management Frame Subtype Support HOT 11
- IEEE 802.11 Packets - Random Parsing Crashing HOT 2
- cannot install HOT 3
- Example Request - Control Type Packets - Destination/Source Addresses HOT 4
- Unsupported Control Packet Subtypes HOT 3
- Time stamp problem in dpkt HOT 3
- ip total length header field not stored correctly
- Patch for /trunk/dpkt/pcap.py
- IPv6 doesn't handle ESP packets sanely
- multiple IPv6 extension headers of the same type aren't handled
- time and size of packet HOT 3
- Contents of the pkt is cut
- Record Fragmentation not handled in TLSMultiFactory(buf)
- lldp parser should stop at end tlv HOT 1
- [patch] Made http.py return ordered headers
- Check if a given dpkt-layer is part of the packet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dpkt.