- Jan 13, 2017
-
-
gpotter2 authored
Fix IPv6 support on Windows
-
- Jan 11, 2017
-
-
Pierre LALET authored
- LLTDAttribute() produces a Raw instance (or crashes, when conf.debug_dissector is set). - str(LLTDAttribute(type=18)) crashes.
-
Pierre LALET authored
-
Pierre Lorinquer authored
-
Pierre LALET authored
-
- Jan 09, 2017
-
-
Pierre LALET authored
Thanks @gpotter2
-
Pierre LALET authored
-
- Jan 06, 2017
-
-
Pierre LALET authored
Pypy won't run crypto tests on Travis CI because the cryptography module cannot be installed with the Pypy version used.
-
Thomas Faivre authored
Change the cryptographic library used in the following layers: * IPSec * TLS * Dot11 Notes: * Fix the WEP key in regression.uts: Should be a 40 bits key (5 ASCII) and 24 bits nonce for 64 bits WEP. The key was 8 ASCII => 88 bits in total * AES-GCM and AES-CMAC algorithms are now native in cryptography: add tests in ipsec.uts * cryptography only supports Python 2.6+ * Fix the docstring for the pad method Removed: * MD2 and MD4 hash algorithms for RSA in tls/crypto/pkcs1.py * AES-XCBC-96 not supported by cryptography. Signed-off-by:
Thomas Faivre <thomas.faivre@6wind.com>
-
- Jan 04, 2017
-
-
Pierre LALET authored
-
- Dec 28, 2016
-
-
Pierre LALET authored
One can now use tcpdump or tshark to dissect packets from Scapy. This can help, for example, to check Scapy's dissectors
-
- Dec 23, 2016
-
-
Piotr Bartosiewicz authored
-
Pierre LALET authored
This fixes at least an issue fragmentation (for which a new test has been added)
-
- Dec 22, 2016
-
-
Pierre LALET authored
-
Pierre LALET authored
-
- Dec 21, 2016
-
-
Pierre LALET authored
-
Pierre LALET authored
-
Pierre LALET authored
-
- Dec 20, 2016
-
-
Pierre Lalet authored
* Add conf.checkIPinIP This setting, when set to False, will exclude IP layers which encapsulate another IP layer from the checks to tell if a packet is an answer to another one. Fixes #383 * conf.checkIPinIP affects both IP() and IPv6() Setting conf.checkIPinIP will handle IP()/IP(), IP()/IPv6(), IPv6()/IP(), IPv6()/IPv6(). Thanks @guedou! * Clean-up IP.hashret and .answers code * Add tests for .hashret() and .answers()
-
Pierre Lalet authored
* Support (BPF) filter in sniff() with offline parameter set Fixes #393 Also, fixes #355 * Add tests for wrpcap() and sniff(offline=) as suggested by Guillaume. Also, cleanup regression.uts since it was a pain to find a place to add those tests. * Fix PATH for tcpdump with non-root user * Do not run tcpdump tests when tcpdump is not available * Appveyor tests: install WinDump.exe Thanks @gpotter2
-
- Dec 15, 2016
-
-
Guillaume Valadon authored
-
- Dec 14, 2016
-
-
Florian Maury authored
-
- Dec 02, 2016
-
-
Guillaume Valadon authored
-
- Nov 03, 2016
-
-
Guillaume Valadon authored
- original patch from Yitai Schwartz, https://bitbucket.org/secdev/scapy/pull-requests/62/
-
- Oct 26, 2016
-
-
Florian Maury authored
-
- Aug 30, 2016
-
-
Allain Legacy authored
The "NextProtocol" field was added as an unconditional field which made the VXLAN packet header consume an additional 8-bts when used in a Legacy VXLAN deployments (flags=0x08) or in GPID deployments (flags=0x88). The resulting regression caused incorrect parsing of subsequent headers. For example, if an Ethernet header followed the VXLAN header then it would not be interpreted as an Ethernet header. The actually interpretation would depend on what value was stored in the Ether.dst field. This change updates the field layout specification such that the NextProtocol field is conditional on flags=0x04, and shortens the reserved field by 8-bits if that condition is true. fixes bug #281 Signed-off-by:
Allain Legacy <allain.legacy@windriver.com>
-
- Aug 26, 2016
-
-
Todd Freed authored
Testing: Updated dhcp6 regression tests
-
- Aug 22, 2016
-
-
Gabriel Ganne authored
Since part of the previously reserved Bytes are now used to annouce the next header, this also updates the vxlan unit tests. Original commit by: Christophe Fontaine <christophe.fontaine@qosmos.com> Signed-off-by:
Gabriel Ganne <gabriel.ganne@qosmos.com>
-
- Aug 12, 2016
-
-
Guillaume Valadon authored
When interface names are longer than 7 characters, netstat will truncate them to the first 7 chars which leads to looking up an invalid interface name. We attempt to guess the name of the interface based on the output of ifconfig -l. If there is only one candidate we consider it, otherwise we ignore it.
-
- Aug 05, 2016
-
-
plorinquer authored
* References to the 'Raw' class were replaced by conf.raw_layer. * Fix potential infinite loop in NTPExtPacketListField::getfield() + typo. * Added regression test (Extension dissection test).
-
- Aug 04, 2016
-
-
Robin Jarry authored
* layers/vxlan: add group policy extension support This is based on the following draft RFC: http://tools.ietf.org/html/draft-smith-vxlan-group-policy-00 Add more unit tests in regression.uts. Signed-off-by:
Robin Jarry <robin.jarry@6wind.com> * Move VXLAN to layers VXLAN has an official RFC: http://tools.ietf.org/html/rfc7348 It should be in automatically loaded layers. Move tests to regression.uts. Signed-off-by:
Robin Jarry <robin.jarry@6wind.com> * load_contrib: fallback to layers when contrib not found Useful when a scapy.contrib module has been moved to scapy.layers. Signed-off-by:
Robin Jarry <robin.jarry@6wind.com>
-
- 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
-