Skip to content
Snippets Groups Projects
  1. Mar 20, 2022
    • Petr Špaček's avatar
      split-clients: new tool to split large PCAP into multiple smaller ones · 482e79c5
      Petr Špaček authored
      This is essentially the opposite of limit-clients.lua.
      This new script assigns one client IP address to a single output and
      copies all packets for single client into the same output file.
      
      Client assignment is pseudorandom and does not guarantee uniform
      assignment. Clients typically do not generate equal load in any metric
      (be it QPS or overall resources required to process client's query),
      so there would be little point in complicating code for theoretical
      uniformity.
      
      Stats generated at the end provide some insight into uniformity of the
      split on per-client and per-packet basis.
      482e79c5
  2. Feb 25, 2022
    • Tomas Krizek's avatar
      Merge branch 'filter-apnic' into 'master' · ae34b848
      Tomas Krizek authored
      filter-dnsq: skip 'special' queries for *.dotnxdomain.net
      
      Closes #25
      
      See merge request !58
      ae34b848
    • Petr Špaček's avatar
      filter-dnsq: skip 'special' queries for *.dotnxdomain.net · 9d6eb786
      Petr Špaček authored and Tomas Krizek's avatar Tomas Krizek committed
      By default, filter out queries for subdomains of dotnxdomain.net.
      This is a 'special' measurement domain. Queries directed to it have
      timestamps encoded in qname and replaying old queries results in
      timeouts, not in a realistic traffic replay.
      
      A new option -s can be used to keep the queries in the output if
      desired.
      
      The other domain - dashnxdomain.net - did not appear in any of my PCAPs
      so for simplicity I omitted it from the filtering code.
      
      Fixes: #25
      9d6eb786
  3. Feb 24, 2022
    • Petr Špaček's avatar
      filter-dnsq: always parse packets · d980c5db
      Petr Špaček authored
      Formerly, if malformed packets were requested in the output,
      the script skipped DNS parsing because there was no point in doing so:
      The malformed packets would have been included in the output anyway.
      
      As preparation for a new feature which requires access to qname,
      the script now tries to parse the packet even if user requested
      inclusion of malformed packets in the output.
      
      Even for tens of GBs of data overhead of doing this was negligible
      compared to other processing, so I did not go to the trouble of
      optimizing this further.
      d980c5db
  4. Feb 22, 2022
  5. Feb 18, 2022
  6. Feb 16, 2022
  7. Feb 15, 2022
  8. Sep 09, 2021
  9. Jul 22, 2021
  10. Jul 21, 2021
  11. Jul 14, 2021
  12. Jul 13, 2021
  13. Jul 08, 2021
  14. Jun 25, 2021
Loading