Dan Robertson
|
7a2271dfd6
Tests: Add basic interface tests
|
7 年之前 |
Dan Robertson
|
fea462837d
Implement set_ttl for Tcp and Udp sockets
|
7 年之前 |
Egor Karavaev
|
fbfe9859db
Implement wire::{IpCidr/Ipv4Cidr}.
|
7 年之前 |
whitequark
|
bd52f9b83c
Only verify checksum in pretty printers, do not bail out if invalid.
|
7 年之前 |
whitequark
|
c8ae7bdc21
Fix insufficient length validation in IPv4 packets.
|
7 年之前 |
whitequark
|
70248c5109
Formatting. NFC.
|
7 年之前 |
Steffen Butzer
|
d5147efb82
support hardware based checksum settings in during packet send/recv
|
7 年之前 |
whitequark
|
2d31ef9665
Add some docs.
|
7 年之前 |
Egor Karavaev
|
0454c3f8f6
Uncomment associated constants.
|
7 年之前 |
whitequark
|
6ebcddd077
According to RFC 1122, unsupported IP options MUST be ignored.
|
7 年之前 |
whitequark
|
280ddde479
Fix Ipv4Packet::payload{,_mut}() returning overly long buffers.
|
7 年之前 |
whitequark
|
5bf64586cd
Get rid of Result<_, ()>.
|
7 年之前 |
whitequark
|
534842b929
Make sure representation emission covers every octet of the buffer.
|
7 年之前 |
whitequark
|
1c1489e5fb
try! → ?
|
7 年之前 |
whitequark
|
7bf087b8ca
Disable checksum validation on wire level when fuzzing.
|
7 年之前 |
whitequark
|
b33d867385
Fix a crash parsing a malformed IPv4 packet.
|
7 年之前 |
whitequark
|
735def7e1b
Do not attempt to validate length of packets being emitted.
|
7 年之前 |
whitequark
|
d7e05d1654
Don't display IP packet error twice when pretty-printing.
|
8 年之前 |
whitequark
|
41f9426380
Calculate IP payload length from the total length field.
|
8 年之前 |
whitequark
|
ea02b58178
Pretty-print TCP and UDP representations, and verify checksums.
|
8 年之前 |
whitequark
|
7f460aea27
Examples for the wire layer!
|
8 年之前 |
whitequark
|
9535809201
#[inline(always)] → #[inline]
|
8 年之前 |
whitequark
|
03212f2843
Get rid of the #![feature(associated_consts)].
|
8 年之前 |
whitequark
|
efc7bfbc38
Reply with ICMP dest. unreachable or TCP RST from unused ports.
|
8 年之前 |
whitequark
|
00c311a5b8
Add some sanity into enumeration names (avoid "*Type").
|
8 年之前 |
whitequark
|
20348a6cb8
Implement TCP representation printing.
|
8 年之前 |
whitequark
|
5a85a5c4f9
Implement TCP representation parsing and emission.
|
8 年之前 |
whitequark
|
b2878337e9
In Repr::emit, do not assume that the packet is pre-zeroed.
|
8 年之前 |
whitequark
|
85ae54a488
Sort out buffer lengths.
|
8 年之前 |
whitequark
|
659f6ed6f6
Implement UDP sockets.
|
8 年之前 |