Skip to content
Snippets Groups Projects
  1. Jan 21, 2017
  2. Jan 20, 2017
  3. Jan 19, 2017
  4. Jan 18, 2017
  5. Jan 17, 2017
  6. Jan 16, 2017
  7. Jan 13, 2017
  8. Jan 11, 2017
  9. Jan 09, 2017
  10. Jan 06, 2017
    • Pierre LALET's avatar
      Tests: introduce "crypto" keyword · b1b741c5
      Pierre LALET authored
      Pypy won't run crypto tests on Travis CI because the cryptography
      module cannot be installed with the Pypy version used.
      b1b741c5
    • Thomas Faivre's avatar
      switch from PyCrypto to cryptography lib · c24298b9
      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: default avatarThomas Faivre <thomas.faivre@6wind.com>
      c24298b9
  11. Jan 04, 2017
  12. Dec 28, 2016
    • Pierre LALET's avatar
      Introduce tcpdump() function · 598bdae8
      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
      598bdae8
  13. Dec 23, 2016
  14. Dec 22, 2016
  15. Dec 21, 2016
  16. Dec 20, 2016
    • Pierre Lalet's avatar
      Add conf.checkIPinIP (#387) · db7c72f0
      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()
      db7c72f0
    • Pierre Lalet's avatar
      Support (BPF) filter in sniff() with offline parameter set (#394) · 7ec0af2c
      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
      7ec0af2c
  17. Dec 15, 2016
  18. Dec 14, 2016
  19. Dec 02, 2016
  20. Nov 03, 2016
  21. Oct 26, 2016
  22. Aug 30, 2016
    • Allain Legacy's avatar
      vxlan: fixed incorrect field layout specification · 9e276ec9
      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: default avatarAllain Legacy <allain.legacy@windriver.com>
      9e276ec9
  23. Aug 26, 2016
  24. Aug 22, 2016
Loading