- 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 30, 2016
-
-
Martijn Thé authored
-
- Jul 22, 2016
-
-
Pierre Lorinquer authored
-
- Jul 20, 2016
-
-
mtury authored
cert.py improvements * Improve cert.py : independence from openssl, ECDSA support, sign/verify capabilities * Make travis install python-ecdsa * Clarify ECDSA support * Cleaning up for cert.py
-
- Jul 18, 2016
-
-
mtu authored
-
- Jul 06, 2016
-
-
plorinquer authored
EAPOL / EAP updates and regression tests
-
- Jun 11, 2016
-
-
Victor Engmark authored
* Flip conditional for simplicity * Indent lines * Include Travis CI build status image & link
-
- May 20, 2016
-
-
Joseph Frazier authored
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-
- May 06, 2016
-
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-
- May 05, 2016
-
-
Pierre LALET authored
-
Pierre LALET authored
-
- Apr 27, 2016
-
-
Pierre LALET authored
-
- Apr 25, 2016
-
-
Martijn Thé authored
-
Martijn Thé authored
-
- Apr 13, 2016
-
-
Guillaume Valadon authored
-
Martijn Thé authored
-
- Apr 05, 2016
-
-
Guillaume Valadon authored
-
- Mar 30, 2016
-
-
Guillaume Valadon authored
-
- Mar 28, 2016
-
-
Pierre LALET authored
-
- Mar 26, 2016
-
-
Pierre LALET authored
-
- Mar 15, 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
- 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
-
Pierre LALET authored
-