1. 16 Jul, 2017 2 commits
  2. 20 Jun, 2017 4 commits
  3. 04 May, 2017 5 commits
  4. 21 Apr, 2017 1 commit
  5. 24 Mar, 2017 2 commits
  6. 23 Mar, 2017 10 commits
  7. 24 Feb, 2017 6 commits
    • Petr Špaček's avatar
      Deckard: simplify Scenario.force_ipv6 implementation · bf4206a9
      Petr Špaček authored
      Socket family selectino logic was unnecessarily duplicated several times.
      bf4206a9
    • Petr Špaček's avatar
      Deckard: PEP8 boolean expression fixes · 4ac8790e
      Petr Špaček authored
      Trivial changes to pythonify boolean expressions and avoid pep8 error E712
      "comparison to True should ..."
      4ac8790e
    • Petr Špaček's avatar
      Deckard: PEP8 whitespace fixes · 808d0f3d
      Petr Špaček authored
      Cheap re-indentation using python-autopep8-1.2.1-3.fc25 with few manual
      tweaks for very long lines.
      
      This costs nothing and will avoid PEP8 complaints about whitespace in CI.
      808d0f3d
    • 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
  8. 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
  9. 16 Feb, 2017 1 commit
  10. 13 Feb, 2017 1 commit
  11. 09 Feb, 2017 1 commit
  12. 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
  13. 23 Jan, 2017 1 commit
  14. 20 Dec, 2016 1 commit
  15. 02 May, 2016 1 commit
  16. 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