1. 24 Feb, 2017 3 commits
    • Petr Špaček's avatar
      Deckard: PEP8 reindent · ed51c163
      Petr Špaček authored
      Cheap re-indentation using reindent.py from python-2.7.13.
      This costs nothing and will avoid PEP8 complaints about tabs in CI.
      ed51c163
    • Petr Špaček's avatar
      Deckard: Use default Python version from system · 215ce4fb
      Petr Špaček authored
      Linux distributions are moving towards Python 3. As a consequence,
      staying on Python 2 is causing problems. E.g. Deckard errored out
      on missing 'dns' package but 'pip install' claimed that 'dns' is already
      installed...
      
      From now the Deckard is using default Python version so it should be
      less surprising. If necessary, the default version can be overriden
      using PYTHON variable in Makefile.
      
      An important side-effect is that Deckard running under Python 3 is
      easier to debug because Python 3 is able to report whole chains
      of exceptions properly.
      215ce4fb
    • Ivana Krumlova's avatar
      Deckard: Python 3 support · 0ee41b14
      Ivana Krumlova authored
      The main problem was that socket.type from Python standard library is
      not an integer anymore. It is EnumInt object which is used instead of
      bit field. To make the code compatible with both versions of Python we
      had to replace all exact value comparisons with bitwise masking.
      0ee41b14
  2. 23 Feb, 2017 1 commit
    • Petr Špaček's avatar
      Deckard: use SOCKET_WRAPPER_PCAP_FILE facilities · 5d06b04d
      Petr Špaček authored
      Custom implementation of packet logging was replaced by
      SOCKET_WRAPPER_PCAP_FILE facilities. The main advantage is that it logs
      all the traffic including malformed packets, ICMP messages and so on.
      
      As side-effect, this commit removes depedency on Python package dpkt.
      5d06b04d
  3. 16 Feb, 2017 1 commit
  4. 13 Feb, 2017 1 commit
  5. 09 Feb, 2017 1 commit
  6. 08 Feb, 2017 1 commit
    • Petr Špaček's avatar
      Fail on non-zero exit code from tested subprocess · 73c47678
      Petr Špaček authored
      Normally the server process should exit with code 0. Non-zero might
      indicate crash during shutdown or so.
      
      This can be used for automated Valgrind testing:
      $ make DAEMON=valgrind ADDITIONAL="--error-exitcode=1 kresd"
      73c47678
  7. 23 Jan, 2017 1 commit
  8. 20 Dec, 2016 1 commit
  9. 02 May, 2016 1 commit
  10. 11 Jan, 2016 2 commits
    • Marek Vavrusa's avatar
      pydnstest: simplified test language · 8184ff2c
      Marek Vavrusa authored
      STEP <id> is optional (incremented if ommited)
      e.g.:
      STEP 1 REPLY # Id=1
      STEP REPLY   # Id=2
      
      CONFIG_END isn't needed
      ENTRY_END isn't needed
      8184ff2c
    • Marek Vavrusa's avatar
      pydnstest: useable with no socketwrapper, cleanup · b8e60548
      Marek Vavrusa authored
      the pydnstest is a generic library
      scenario is not responsible for any socket binding
      testserver provides mock servers
      deckard picks eligible addresses from scenario,
      and tells testserver to listen there
      
      this makes the library standalone useable even
      without prebinding
      b8e60548
  11. 31 Dec, 2015 1 commit
  12. 23 Dec, 2015 1 commit
  13. 16 Dec, 2015 2 commits
  14. 08 Dec, 2015 1 commit
  15. 02 Dec, 2015 1 commit
  16. 27 Nov, 2015 1 commit
  17. 25 Nov, 2015 1 commit
  18. 24 Nov, 2015 2 commits
  19. 06 Nov, 2015 1 commit
  20. 21 Oct, 2015 1 commit
  21. 20 Oct, 2015 1 commit
  22. 15 Oct, 2015 1 commit
  23. 13 Oct, 2015 2 commits
  24. 25 Sep, 2015 2 commits
  25. 17 Sep, 2015 1 commit