- Aug 03, 2016
-
-
Pierre Lalet authored
Rewrite of some modbus tests in a more pythonish and robust way
-
Florian Maury authored
-
Pierre Lalet authored
Add .pyo to the ignored files
-
Florian Maury authored
-
- Aug 01, 2016
-
-
Pierre Lalet authored
Make scapy usable as a third party library
-
Robin Jarry authored
By default, only a NullHandler is added to the 'scapy' logger. This allows third party applications that use scapy as a library to control the logging of scapy messages. Signed-off-by:
Robin Jarry <robin.jarry@6wind.com>
-
Robin Jarry authored
Some symbols are "internal" to modules (__all__, __file__, __doc__, __package__, etc.) they should *not* be replaced by the one from other modules. The "from xxx import *" python syntax construct takes this into account and only imports the "public" symbols (i.e., those whose name does not start with an underscore). When a __all__ symbol is defined in a module (it should be a list of strings), the "from xxx import *" construct only imports the names listed in xxx.__all__. Avoid shadowing module specific symbols when dynamically loading layers and other modules by only importing "public" symbols. Fix importing the "tls" layer along the way (remove erroneous __all__ definition). Signed-off-by:
Robin Jarry <robin.jarry@6wind.com>
-
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
-
-
Robin Jarry authored
Signed-off-by:
Robin Jarry <robin.jarry@6wind.com>
-
Martijn Thé authored
-
- Jul 29, 2016
-
-
X_Cli authored
-
- Jul 27, 2016
-
-
plorinquer authored
* 'packages' list in setup.py has been updated. * Fix ecdsa ImportError.
-
- Jul 26, 2016
-
-
X_Cli authored
Fix `Raw` and `conf` undefined
-
- Jul 23, 2016
-
-
Pierre Lalet authored
EAPOL / EAP class tests updated
-
- 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 19, 2016
-
-
Guillaume Valadon authored
Fix support and add test for ASN.1 (unknown) high-tag-number
-
Guillaume Valadon authored
Fix scapy init when gtk is not available
-
- Jul 18, 2016
-
-
mtu authored
-
Gabriel Ganne authored
matplotlib.pyplot inits gtk, which may not be available. If so, handles this as if the import failed.
-
- Jul 11, 2016
-
-
Pierre Lalet authored
Use IPv6 source and destination addresses in hashret()
-
Pierre Lalet authored
IPv4 mDNS support
-
Pierre Lalet authored
Simple pipe example
-
- Jul 08, 2016
-
-
Sébastien Mainand authored
-
Guillaume Valadon authored
-
- Jul 07, 2016
-
-
Guillaume Valadon authored
-
- Jul 06, 2016
-
-
Guillaume Valadon authored
-
Guillaume Valadon authored
-
plorinquer authored
EAPOL / EAP updates and regression tests
-
Pierre Lalet authored
Missing import in packet.py
-
Guillaume Valadon authored
-
- Jul 03, 2016
-
-
Pierre Lalet authored
OS X installation methods updated
-
- Jul 02, 2016
-
-
Pierre Lalet authored
In show() and show2() add the "dump" argument to return the packet representation
-
- Jun 23, 2016
-
-
Guillaume Valadon authored
Add support for CoAP
-
Guillaume Valadon authored
layers/bluetooth.py Added New Packets and Bug Fix
-
- Jun 22, 2016
-
-
Anmol Sarma authored
-
- Jun 21, 2016
-
-
Guillaume Valadon authored
-
- Jun 17, 2016
-
-
Taylor Trabun authored
-
- Jun 16, 2016
-
-
rdubourguais authored
Adding TCP Fast Open support.
-