- Aug 01, 2016
-
-
Robin Jarry authored
When using scapy as a third party library, we do not "benefit" from the loading routine that puts all symbols in the __builtin__ namespace. This implies that all modules must be "importable" without any errors for undefined symbols. This patch fixes importing every scapy module individually. Some circular imports were fixed (between inet6 and dhcp6). Most errors were detected by using pylint with the right configuration (scapy produces a *lot* of errors). Other errors were detected with the following shell script: export PYTHONPATH=".:$PYTHONPATH" for f in $(find scapy/ -name '*.py'); do f=${f%/__init__.py} module=$(echo ${f%.py} | sed 's,/,.,g') python -c "import $module; print $module" done Also, replace all implicit relative imports by absolute imports to avoid surprises with some python versions. Signed-off-by:
Robin Jarry <robin.jarry@6wind.com>
-
plorinquer authored
-
- Jul 22, 2016
-
-
Pierre Lorinquer authored
-
- Jul 06, 2016
-
-
plorinquer authored
EAPOL / EAP updates and regression tests
-
- May 20, 2016
-
-
Joseph Frazier authored
-
Guillaume Valadon authored
-
- May 06, 2016
-
-
Guillaume Valadon authored
-
- May 05, 2016
-
-
Pierre LALET authored
-
Pierre LALET authored
-
- Apr 27, 2016
-
-
Pierre LALET authored
-
- Apr 13, 2016
-
-
Guillaume Valadon authored
-
- Apr 05, 2016
-
-
Guillaume Valadon authored
-
- Mar 28, 2016
-
-
Pierre LALET authored
-
- Mar 13, 2016
-
-
Jeffrey Bencteux authored
Allow one to send the TCP User Timeout Option described in RFC 5482 in a crafted TCP segment. Also added unit tests in new "TCP options" section of test/regression.uts
-
- Feb 26, 2016
-
-
Pierre LALET authored
-
- Feb 24, 2016
-
-
mtu authored
Insert DER test data inside x509.uts and move it from scapy/layers/ to test/ (also, remove obsolete X.509 tests from test/regression.uts
-
- Feb 10, 2016
-
-
Pierre LALET authored
-
- Feb 09, 2016
-
-
Pierre LALET authored
As suggested by @guedou, this adds tests for fragment() and defragment() functions.
-
- Feb 06, 2016
-
-
Pierre LALET authored
-
Pierre LALET authored
-
Pierre LALET authored
-
- Jan 30, 2016
-
-
Pierre LALET authored
-
Pierre LALET authored
-
- Jan 23, 2016
-
-
Pierre LALET authored
-
- Jan 17, 2016
-
-
Pierre LALET authored
-
- Jan 15, 2016
-
-
Pierre LALET authored
-
- Nov 30, 2015
-
-
Guillaume Valadon authored
--HG-- branch : ICMPv6NDOptDNSSL fixes
-
- Nov 29, 2015
-
-
Guillaume Valadon authored
--HG-- branch : Support for DNS Search List Option in RA
-
- Oct 06, 2015
-
-
Guillaume Valadon authored
--HG-- branch : Patch for PR#115
-
Guillaume Valadon authored
--HG-- branch : Patch for PR#82
-
- Jan 06, 2015
-
-
Pierre LALET authored
--HG-- branch : issue-5105
-
Pierre LALET authored
--HG-- branch : issue-5105
-
- Dec 22, 2014
-
-
Guillaume Valadon authored
--HG-- branch : UTS fixes
-
- Aug 01, 2013
-
-
Guillaume Valadon authored
Issues #884 & #915: IPv6 NA is not a NS & Error in class ICMPv6ND_NS(_ICMPv6NDGuessPayload, _ICMPv6, Packet):
-
- Dec 15, 2010
- Dec 14, 2010
-
-
Phil authored
-
- Apr 21, 2010
-
-
Phil authored
Packet.build() is called only on the first layer. It will call Packet.do_build() which will recurse through all layers. For each layer, it will call Packet.self_build() which will do the job for each layer. Packet.do_build() will call Packet.post_build() and transform on them, and concatenate them. Then Packet.build() will call Packet.build_padding() and Packet.build_done(). Note that this undetermined case will have a different behavior: Raw("ABC")/Padding("abc")/Raw("DEF")/Padding("def") It was "ABCabcDEFdef" Now it is "ABCDEFabcdef"
-
- May 04, 2009
-
-
Phil authored
-
- Apr 30, 2009
-
-
Phil authored
-