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 29, 2016
  4. Jul 27, 2016
  5. Jul 26, 2016
  6. Jul 23, 2016
  7. Jul 22, 2016
  8. 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
  9. Jul 19, 2016
  10. Jul 18, 2016
  11. Jul 11, 2016
  12. Jul 08, 2016
  13. Jul 07, 2016
  14. Jul 06, 2016
  15. Jul 03, 2016
  16. Jul 02, 2016
  17. Jun 23, 2016
  18. Jun 22, 2016
  19. Jun 21, 2016
  20. Jun 17, 2016
  21. Jun 16, 2016
  22. Jun 11, 2016
  23. Jun 10, 2016
  24. Jun 09, 2016
  25. Jun 08, 2016
  26. Jun 06, 2016
  27. Jun 02, 2016
Loading