From 538a10560010f93f22b0a8912dbd221d077deaa4 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Sat, 17 Nov 2018 15:42:37 -0800 Subject: executor: OpenBSD network package injection Squash of: * Doc typo * Ported some tun related functions. * Copy vnet.txt from linux to openbsd. * Simplified syz_emit_ethernet and stubbed out vnet.txt. * Undo clang-format header sorting: headers are order sensitive. * Uniquify tap devices by pid. * clang-format off for includes * Happier clang-format. * Partially revert "Uniquify tap devices by pid." Just rely on procid magic instead of getting it from a flag. --- docs/linux/external_fuzzing_network.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/linux') diff --git a/docs/linux/external_fuzzing_network.md b/docs/linux/external_fuzzing_network.md index f080692b1..03463f876 100644 --- a/docs/linux/external_fuzzing_network.md +++ b/docs/linux/external_fuzzing_network.md @@ -23,7 +23,7 @@ Since many network protocols require checksum fields to be embedded into packets There's a `csum` type, which right now supports two different kinds of checksumming: [the Internet checksum](https://tools.ietf.org/html/rfc1071): `csum[parent, inet, int16be]`, and TCP-like pseudo header checksum: `csum[tcp_packet, pseudo, IPPROTO_TCP, int16be]`. -The checksums are computed and embedded right before emitting a packet though the virtual interface. +The checksums are computed and embedded right before emitting a packet through the virtual interface. There's also a nice feature: when syzkaller generates a C reproducer, it generates code to compute checksums in runtime as well. By using `syz_emit_ethernet` and `syz_extract_tcp_res` the following syzkaller program is able to establish a TCP connection over IPv4: -- cgit mrf-deployment