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. May 01, 2015
    • Michael Tüxen's avatar
      Add initial support for SCTP tests. · 1672402c
      Michael Tüxen authored
      Current limitations:
      * Chunk parameters are not yet supported.
      * Error causes are not yet supported.
      * Chunks can't be bundled with COOKIE-ECHO chunks.
      * Chunk flags are not supported.
      * Chunk lengths are not supported.
      * Gap reports and duplicate TSNs are not supported for SACK chunks.
      * SCTP related ICMP messages are not supported.
      This version is only tested in a limited way, only on FreeBSD and
      only in local mode.
      1672402c
    • Michael Tüxen's avatar
      Improve UDPLite tests. · b36d4f8f
      Michael Tüxen authored
      b36d4f8f
  2. Feb 02, 2015
  3. Feb 01, 2015
  4. Jan 07, 2015
  5. Dec 28, 2014
  6. May 09, 2014
    • Neal Cardwell's avatar
      net-test: packetdrill: read outbound packets from tun device · d799c219
      Neal Cardwell authored
      In local mode, read the outbound packets from the tun device.
      
      A recent Linux patch "tcp: avoid retransmits of TCP packets hanging in
      host queues" means that TCP behavior now depends on whether and when
      the network device (tun device here) consumes the packets. We now read
      all these packets so that the kernel can exercise its normal code
      paths for packet transmit completion.
      
      An alternative approach would be to set the tun txqueuelen to 0, but
      this would impact qdisc behavior. It is more realistic, and has fewer
      side-effects, to make sure the network device has a non-zero queue
      length, but packets are still consumed.
      
      Change-Id: Ia922994d4eeea12e61d7876b4c4ef34bc9cef34e
      d799c219
  7. Jan 24, 2014
    • Neal Cardwell's avatar
      net-test: packetdrill: fix packet_append_header() calculations for remote mode · 03bfca42
      Neal Cardwell authored
      Fix the packet header location calculations in packet_append_header()
      forgot to account for the fact that there might be layer 2 headers.
      
      Remote mode has been broken since the addition of encapsulation
      support, partly due to this issue.
      
      Change-Id: Idfb0670da8799e11fe1b72771ed13d52d8e991fe
      03bfca42
    • Neal Cardwell's avatar
      net-test: packetdrill: fix packet_buffer_to_string() length calculation · 79b87276
      Neal Cardwell authored
      packet_buffer_to_string() needs to accont for the fact that
      packet->ip_bytes does not capture the full length of the packet (in
      remote mode there will be layer 2 ethernet headers as well).
      
      Change-Id: If2c95e68071545a27078141b6ba5f98cd2c46fb9
      79b87276
    • Neal Cardwell's avatar
      net-test: packetdrill: fix bug in remote mode packet sniffing direction · 05737427
      Neal Cardwell authored
      Fix wire_server_netdev_receive() to reflect the fact that in remote
      mode the server is sniffing packets that are inbound (whereas in local
      mode we are sniffing *outbound* packets).
      
      This was a bug introduced in "net-test: packetdrill encap
      support: refactor packet receive loops into one loop".
      
      Remote mode has been broken since the addition of encapsulation
      support, partly due to this issue.
      
      Change-Id: Ia92f70f48ae90cb2e089ee51d728473a12c63595
      05737427
  8. Jan 11, 2014
  9. Dec 28, 2013
  10. Dec 23, 2013
  11. Nov 30, 2013
Loading