Skip to content
Snippets Groups Projects
  1. Aug 01, 2016
    • Robin Jarry's avatar
      Fix individual modules import · 60579063
      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: default avatarRobin Jarry <robin.jarry@6wind.com>
      60579063
    • plorinquer's avatar
      NTP module update · 1e48e13f
      plorinquer authored
      1e48e13f
  2. Jul 30, 2016
  3. Jul 22, 2016
  4. Jul 20, 2016
    • mtury's avatar
      cert.py improvements (#175) · 4faaaac0
      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
      4faaaac0
  5. Jul 18, 2016
  6. Jul 06, 2016
  7. Jun 11, 2016
  8. May 20, 2016
  9. May 06, 2016
  10. May 05, 2016
  11. Apr 27, 2016
  12. Apr 25, 2016
  13. Apr 13, 2016
  14. Apr 05, 2016
  15. Mar 30, 2016
  16. Mar 28, 2016
  17. Mar 26, 2016
  18. Mar 15, 2016
  19. Mar 13, 2016
  20. Feb 26, 2016
  21. Feb 24, 2016
  22. Feb 10, 2016
  23. Feb 09, 2016
  24. Feb 06, 2016
  25. Jan 30, 2016
  26. Jan 23, 2016
  27. Jan 17, 2016
  28. Jan 15, 2016
Loading