Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/nplab/packetdrill. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
Last successful update .
  1. Nov 03, 2018
  2. Oct 23, 2018
  3. Oct 13, 2018
  4. Aug 18, 2018
  5. Jun 09, 2018
  6. Jun 03, 2018
  7. Jul 28, 2017
    • Michael Tüxen's avatar
      Add an option to keep the tun interface up on *BSD. · 967a63f5
      Michael Tüxen authored
      On *BSD platforms the original version always used the tun0 device
      in local mode and never deleted it, except on NetBSD. This was
      handy when using for example Wireshark for capturing trafic.
      The last commit removed this possibility, since it removes the
      interface. Add the --persistent_tun_dev command line option
      to bring it back.
      
      To get the behaviour of the original version, use on *BSD
      platforms --tun-dev=tun0 --persistent_tun_dev.
      967a63f5
    • Michael Tüxen's avatar
      Allow automatic tun device selection on *BSD. · 428a2187
      Michael Tüxen authored
      When using local mode on *BSD, using the tun0 device was hard
      coded in contrast to Linux, where the next unused tun device
      was used.
      This patch changes the behaviour on *BSD to use the next unused
      tun device. This also requires that the device is removed when
      packetdrill terminates. This was the case on Linux, but not on
      *BSD.
      On *BSD there is also a new command line option (--tun-dev) to
      set the device name and not select an ephemerial one.
      428a2187
  8. May 23, 2017
  9. Mar 01, 2017
  10. Feb 28, 2017
  11. Jun 20, 2016
  12. Jul 14, 2015
  13. Jun 06, 2015
  14. Dec 23, 2013
  15. Nov 30, 2013
    • Barath Raghavan's avatar
      net-test: Adds the --dry_run flag to packetdrill to verify but not start a run. · bf3e19af
      Barath Raghavan authored
      The --dry_run command line flag causes packetdrill to verify command
      line args, load and parse the given script, but not execute it. If any
      errors are found during these steps, packetdrill will print an error
      as before.  Otherwise, it will exit(0) and produce no output.
      
      Change-Id: Ibf4502c6ea326539346a58b58d7feb29d4b3da69
      bf3e19af
    • Neal Cardwell's avatar
      net-test: packetdrill: support remote prefixes of arbitrary length · 8c2959a0
      Neal Cardwell authored
      Allow the --remote_ip config parameter to be a prefix, not just a
      single address. The entire remote prefix is routed to the tun device
      or remote packetdrill machine.
      
      The goal here is to all tests to use more than one remote IP. The
      immediate motivation is testing GRE, where there is a remote IP for
      the TCP endpoint and a separate remote IP for the GRE decapsulator.
      But eventually we'll also want to allow testing multiple concurrent
      TCP connections from multiple remote IPs addresses as well.
      
      Here are examples of the remote prefix you get for various values of
      the --remote_ip field. These are chosen for convenience and backwards
      compatibility with existing tests that are already using the
      --remote_ip parameter.
      
      o Default:
      
      configuration                      remote prefix
      ------------------------------     -----------------
      IPv4, no --remote_ip            -> 192.0.2.0/24   (default)
      v4/6, no --remote_ip            -> 192.0.2.0/24   (default)
      IPv6, no --remote_ip            -> 2001:DB8::0/32 (default)
      
      o Explicit IP without prefix length (prefix includes all bits):
      
      configuration                      remote prefix
      ------------------------------     -----------------
      IPv4 --remote_ip=10.248.0.3     -> 10.248.0.3/32
      v4/6 --remote_ip=10.248.0.3     -> 10.248.0.3/32
      IPv6 --remote_ip=2001:db8::3    -> 2001:db8::3/128
      
      o Explicit with prefix length:
      
      configuration                      remote prefix
      ------------------------------     -----------------
      IPv4 --remote_ip=10.248.0.3/16  -> 10.248.0.0/16
      v4/6 --remote_ip=10.248.0.3/16  -> 10.248.0.0/16
      IPv6 --remote_ip=2001:db8::3/16 -> 2001::0/16
      
      Change-Id: Ibc95c3419d66bcf1bbfd8a1fc7650d0003345ef2
      8c2959a0
  16. Jun 26, 2013
Loading