Commit Graph

2452 Commits

Author SHA1 Message Date
pbi 28c2dd6dc8 - added fallbacks if tcpdump can't be run and libpcap is not used 2005-12-07 17:02:26 +00:00
pbi 790bce2621 - fixed socket filter pushing for x86_64 arch. (W. Robinet) 2005-12-07 16:44:11 +00:00
pbi 5488aa34a3 - added conf.check_TCPerror_seqack (default 0) to relax ICMP error matching for TCP
packets (some broken PIX play with sequence numbers and forget to tidy them up)
2005-12-06 15:41:30 +00:00
pbi ca67f6d746 - added code to run interactive sessions automatically 2005-11-26 23:09:30 +00:00
pbi 135ab6514f - catch exceptions in ColorPrompt from bad color theme to avoid
program termination
2005-11-26 10:33:55 +00:00
pbi dcd7153b51 - added class HTMLTheme2 with trigram instead of '<' and '>' to easily convert others into &lt; and &gt; 2005-11-26 10:10:44 +00:00
pbi 63f3e4ea75 - improved a bit error handling of import dnet/pcap
- made INFO messages for missing files a bit more clear
2005-11-20 15:23:01 +00:00
pbi 0f2ec52e41 - handle API change between pylibpcap 0.4 and 0.5 2005-11-19 07:39:09 +00:00
pbi 1af8a22ffd - changed Packet.sprintf() format string specificator to accept only the
field name and take the currend layer
2005-11-17 10:05:56 +00:00
pbi 773c9295a3 - added onlyasc parameter to linehexdump()
- added onlyasc parameter to fragleak() and fragleak2()
2005-11-17 09:24:53 +00:00
pbi c5bb65b7de - added Packet.command() to go from a packet instance to the Scapy command to generate it 2005-11-15 03:55:11 +00:00
pbi bfba1da709 - write history in an atexit registered function 2005-11-15 02:04:51 +00:00
pbi d3817e086c - fixed Enum fields for them to work with lists of values 2005-11-15 01:58:44 +00:00
pbi cd3ed79d21 - added a ColorTheme.__repr__() to fix objects that used it, like conf object! 2005-11-09 18:56:42 +00:00
pbi 81f9dbb1f8 - fixed itom() to return positive values even for big endian platforms
- fixed RandIP default __init__ parameter to be 0.0.0.0/0 instead of 0/0
2005-11-09 17:26:57 +00:00
pbi f9f4bd607b release 1.0.2 2005-11-07 13:04:39 +00:00
pbi 37272b7249 - fixed Dot11Auth.seqnum to be little endian
- added Dot11Auth.answers()
2005-11-07 13:00:54 +00:00
pbi 4102ab85f1 - fixed some stuff in the LaTeX color theme 2005-11-07 12:39:31 +00:00
pbi 835178b633 - added timeout parameter to fragleak()
- created fragleak2()
2005-11-07 12:38:36 +00:00
pbi 40f812761e - fixed LLC/SNAP binding to overload LLC.ctrl with 3 2005-11-07 12:37:20 +00:00
pbi 4612d04661 - changed Dot11.summary() to show src > dst
- added Dot11.answers()
2005-11-07 12:35:12 +00:00
pbi 691b9ef1c9 - added DNS.answsers() 2005-11-07 12:33:43 +00:00
pbi d08e8a465b - added SignedIntField() and LESignedIntField
- converted PrismHeader's "signal" field to signed
2005-11-07 12:33:19 +00:00
pbi f3e900e0e1 - added hint_iface parameter to sendp()
- used hint_iface in arpcachepoison()
2005-11-01 11:22:02 +00:00
pbi 9721afc37c - added ConditionalField to wrap a field and apply a condition to its presense
- added NewDefaultValues metaclass to create new Packet classes from old ones
  with new default default values
- added GRE protocol from rfc2784. (need more work for rfc1701)
2005-10-31 11:29:09 +00:00
pbi 02dae4a6c7 - created VolatileValue class to handle volatile values like RandomField
- redesigned inheritence of random fields arround VolatileValue
- added DelayedEval() volatile value
2005-10-27 13:12:32 +00:00
pbi b6b8858972 - Changed color themes handling. Now LatexTheme and HTMLTheme are not ugly hacks anymore. 2005-10-27 12:59:11 +00:00
pbi 9b54048e0a - added CharEnumField()
- declared s2i and i2s in EnumField before calling superclass' contructor
2005-10-26 14:15:06 +00:00
pbi c4e6a48cd7 Release 1.0.1 2005-10-25 05:49:35 +00:00
pbi e0c920d453 - added rebuild option to Packet.p{s|df}dump() to dump a packet as-is 2005-10-25 05:48:48 +00:00
pbi 5e84ae0e33 - PacketList.sr() return ( (matched couples), (unmatched packets) ) from the packet list 2005-10-23 16:20:30 +00:00
pbi ed905f7776 - added layer_shift option to every p{s|df}dump() method to explode hexa dump by layers 2005-10-23 15:15:34 +00:00
pbi 6c56e6a254 - return a loopback route when no default route is present. XXX: linux specific! 2005-10-23 15:09:29 +00:00
pbi 468dea2ea1 - split bind_layers() into bind_top_down() and bind_bottom_up() 2005-10-23 15:07:59 +00:00
pbi 292efebc23 - fixed dissection errors exception management when conf.debug_dissector is true 2005-10-23 14:57:26 +00:00
pbi 8dbfd1c424 - made MACField's default value to be "00:00:00:00:00:00"
- fixed DestMACField's default value to be "ff:ff:ff:ff:ff:ff"
2005-10-23 14:56:00 +00:00
pbi bd45c674d3 - fixed Field.randval() to work with string formats and modifiers
- fixed fuzz() not to overload default value if field's proposed randval is None
2005-10-23 14:54:00 +00:00
pbi e28a256bc7 - uniformized to "lfilter" the paramter name for lambda expressions used as filters
- removed a superfluous line in crc32()
2005-10-17 14:03:36 +00:00
pbi 71455c3f00 - AutoTime() and IntAutoTime() classes that give a field a time dependant value
- PacketList.timeskew_graph() should work on SndRcvList()
2005-10-15 11:17:18 +00:00
pbi 991fcfc824 - added StreamSocket supersocket to emulate a datagram socket on a stream
socket that supports MSG_PEEK and whose base layer class knows its own size
  and put the remaining in Padding()
2005-10-08 18:52:45 +00:00
pbi 73d17635a8 - remove useless routes in netstat -rn output (P. Lalet) 2005-10-08 10:46:56 +00:00
pbi 412231c4e4 - fixed netmask calculations (P. Lalet) 2005-10-08 10:41:23 +00:00
pbi 6ad1a979d1 - use color for packet numbering in nsummary() et al. 2005-10-08 09:21:28 +00:00
pbi 7e23d14437 - fixed MAC addresses calculation when IP is a Gen() instance (G. Valadon) 2005-10-06 10:57:25 +00:00
pbi 6b881fe067 - added route.get_if_bcast() to get interface's broadcast address (F. Raynal)
- added a check in getmacbyip() to give a broadcast MAC for a broadcast IP
- added sndrcv() (thus sr*() family)  "multi" parameter to accept many answers
  from one stimulus. (If stimulus uses a broadcast dst address, you'll need
  to set conf.checkIPaddr=0)
2005-10-06 10:44:51 +00:00
pbi 37bfe1b4f7 - changed sys.exit() into os._exit() in sndrcv() to prevent children to flush files buffers
that would be written a second time by the parent (SJ Murdoch)
2005-10-06 10:03:46 +00:00
pbi 20aaf5cdfc - worked arround (I hope) all FreeBSD/MacOS/pcap issues (look at pcap_get_selectable_fd() note of pcap8 manpage).
Thus no more active waits or unseen packets. Still problems to interrupt a capture with ^C on some FreeBSD kernels :(
2005-10-06 09:44:48 +00:00
pbi 356e164725 - added nofilter option to supersockets to handle ethertype filtering for non-linux stuff
and for ARP resolution to bypass conf.except_filter
2005-10-05 09:51:33 +00:00
pbi 633103d9bc - added RandMAC()
- added early support for fuzzing
- added fuzz()
2005-10-05 09:28:14 +00:00
pbi 2b82eb48f9 - modified Packet.__iter__ to also evaluate random defaults fields 2005-10-05 09:14:57 +00:00