Commit History

Author SHA1 Message Date
  Dario Nieuwenhuis 1e40b934bf Update to Rust 2018. Fixes #271 4 years ago
  Alex Crawford ac830e8bb1 Dereference match expressions to clean up patterns 4 years ago
  whitequark 83dba8ea31 Bump Rust version requirement to 1.27. 5 years ago
  whitequark 4a253fecdf Rename `new` method on Packet types to `new_checked`. 6 years ago
  Andrew Cann fb96b3cdc1 impl `AsRef<[u8]>` for packet types 7 years ago
  Andrew Cann 302affca91 Add Clone impl to Packet types 7 years ago
  Dan Robertson bec2435e80 Fix ICMPv4 check_len to not panic on truncated packets. 7 years ago
  whitequark b0995c13e2 Fix some overly long comments. NFC. 7 years ago
  Dan Robertson 3ff7e07941 Increase required size for ICMPv4 packets 7 years ago
  Dan Robertson deccd469fe Use hop limit instead of ttl 7 years ago
  whitequark b1680368fe Rework the pretty printer to avoid superfluous trailing newlines. 7 years ago
  Dan Robertson 7a2271dfd6 Tests: Add basic interface tests 7 years ago
  Dan Robertson fea462837d Implement set_ttl for Tcp and Udp sockets 7 years ago
  whitequark 70248c5109 Formatting. NFC. 7 years ago
  Steffen Butzer d5147efb82 support hardware based checksum settings in during packet send/recv 7 years ago
  whitequark 16e6e70d2f Fix many warnings. 7 years ago
  whitequark 5bf64586cd Get rid of Result<_, ()>. 7 years ago
  whitequark 534842b929 Make sure representation emission covers every octet of the buffer. 7 years ago
  whitequark 1c1489e5fb try! → ? 7 years ago
  whitequark 7bf087b8ca Disable checksum validation on wire level when fuzzing. 7 years ago
  whitequark 735def7e1b Do not attempt to validate length of packets being emitted. 7 years ago
  whitequark 818fa7dda4 Unbreak parsing of ICMP unreachable messages. 8 years ago
  whitequark 41f9426380 Calculate IP payload length from the total length field. 8 years ago
  whitequark 9535809201 #[inline(always)] → #[inline] 8 years ago
  whitequark efc7bfbc38 Reply with ICMP dest. unreachable or TCP RST from unused ports. 8 years ago
  whitequark 00c311a5b8 Add some sanity into enumeration names (avoid "*Type"). 8 years ago
  whitequark 5a85a5c4f9 Implement TCP representation parsing and emission. 8 years ago
  whitequark 85ae54a488 Sort out buffer lengths. 8 years ago
  whitequark f6f7dc8cb6 Implement UDP representation parsing and emission. 8 years ago
  whitequark f23e3c4bff Implement UDP packet support. 8 years ago