Ian Gulliver
|
bff0e1f22f
|
Start of afl-fuzz test cases.
|
2016-03-09 13:29:28 -08:00 |
|
Ian Gulliver
|
9c1fad10a9
|
Mention hop limits.
|
2016-03-03 22:03:31 -08:00 |
|
Ian Gulliver
|
94562acd07
|
Need to regenerate test cases. Rename files, add new proto and json.
|
2016-03-03 22:02:16 -08:00 |
|
Ian Gulliver
|
45abe06467
|
Add hop limit to json and proto formats.
|
2016-03-03 22:00:02 -08:00 |
|
Ian Gulliver
|
455bee2676
|
Use some magic devices to prevent users hurting themselves with --file-read=/dev/stdin as we re-use fd 0
|
2016-03-03 21:27:16 -08:00 |
|
Ian Gulliver
|
c101642f89
|
Style
|
2016-03-03 21:13:50 -08:00 |
|
Ian Gulliver
|
e8a4c55111
|
Add send+receive and character devices
|
2016-03-03 21:13:17 -08:00 |
|
Ian Gulliver
|
939b3b1851
|
Add send-receive channels
|
2016-03-03 18:28:34 -08:00 |
|
Ian Gulliver
|
77b9decbcd
|
Make send_get_hello public, so we can use it in send_receive
|
2016-03-02 22:30:45 -08:00 |
|
Ian Gulliver
|
2f6db632b2
|
Get everyone out of flow's business.
|
2016-03-02 22:25:56 -08:00 |
|
Ian Gulliver
|
e62b84e4e8
|
Add a peer_count_out_in
|
2016-03-02 22:10:55 -08:00 |
|
Ian Gulliver
|
eaf213f3c0
|
Set TCP_USERTIMEOUT even on send sockets, to detect stuck processes on the other end.
|
2016-03-02 22:07:48 -08:00 |
|
Ian Gulliver
|
10ba451458
|
Move more socket options into the flow framework.
|
2016-03-02 21:51:30 -08:00 |
|
Ian Gulliver
|
91775999d8
|
Rename socket_connected to socket_ready, since we use it before accept()
|
2016-03-02 19:28:02 -08:00 |
|
Ian Gulliver
|
14be11de79
|
Utility functions for reference counting.
|
2016-03-02 19:20:25 -08:00 |
|
Ian Gulliver
|
20bc50795d
|
Move fd flow code into flow.c
|
2016-03-02 19:16:23 -08:00 |
|
Ian Gulliver
|
896874e9d7
|
Switch wakeup to standard list.
|
2016-03-02 19:10:31 -08:00 |
|
Ian Gulliver
|
7aa29f1364
|
Apparently I missed receive when I switched to the new list impl.
|
2016-03-02 18:54:41 -08:00 |
|
Ian Gulliver
|
e2fd6be394
|
List cleanup.
|
2016-03-02 18:52:02 -08:00 |
|
Ian Gulliver
|
e124977713
|
File open retries.
|
2016-03-02 18:49:25 -08:00 |
|
Ian Gulliver
|
58177c93a6
|
More file scaffolding.
|
2016-03-02 14:23:58 -08:00 |
|
Ian Gulliver
|
3e5ca27fdf
|
Initial file cleanup.
|
2016-03-02 13:16:18 -08:00 |
|
Ian Gulliver
|
b5799e5489
|
Change target name to think about multiple fuzzers.
|
2016-03-02 12:48:29 -08:00 |
|
Ian Gulliver
|
eae1924c5c
|
Fix corruption when we parse multiple packets form a single buffer.
|
2016-03-02 12:45:37 -08:00 |
|
Ian Gulliver
|
630d16451a
|
Rename files to sensible names
|
2016-03-02 11:26:06 -08:00 |
|
Ian Gulliver
|
627a98c3b4
|
Merge branch 'master' of github.com:flamingcowtv/adsb-tools
|
2016-03-02 11:22:09 -08:00 |
|
Ian Gulliver
|
d17bfaef6a
|
AFL-discovered testcase files.
|
2016-03-02 11:21:52 -08:00 |
|
Ian Gulliver
|
761460886a
|
Sync with upstream
|
2016-03-01 20:17:58 -08:00 |
|
Ian Gulliver
|
adfc23cba7
|
Split out generic resolver functions.
|
2016-03-01 19:43:11 -08:00 |
|
Ian Gulliver
|
1a45e4361a
|
Finally find a clean ownership solution for resolve().
|
2016-02-29 22:37:41 -08:00 |
|
Ian Gulliver
|
b6a582e95a
|
Do flow-specific setsockopt() before accept()
|
2016-02-29 22:17:37 -08:00 |
|
Ian Gulliver
|
a093b8a1b6
|
Switch from dup() + fcntl(F_SETFL, FD_CLOEXEC) to fcntl(F_DUPFD_CLOEXEC) to save a second syscall.
|
2016-02-29 22:03:04 -08:00 |
|
Ian Gulliver
|
b106887617
|
Clean up file and hello messes.
|
2016-02-29 20:49:36 -08:00 |
|
Ian Gulliver
|
90de5b80bc
|
Hide more interfaces behind the flow code.
|
2016-02-29 20:16:57 -08:00 |
|
Ian Gulliver
|
3fb3c02cf5
|
Encapsulate flow descriptions inside a struct.
|
2016-02-29 17:12:06 -08:00 |
|
Ian Gulliver
|
3539f9d640
|
Call less syscalls after each accept()
|
2016-02-29 15:22:10 -08:00 |
|
Ian Gulliver
|
e44edeba53
|
A word
|
2016-02-28 23:07:02 -08:00 |
|
Ian Gulliver
|
2e9582d822
|
New feature addition.
|
2016-02-28 23:04:12 -08:00 |
|
Ian Gulliver
|
d842ad65bb
|
More limits to damage done by write <-> write and disconnected hsots.
|
2016-02-28 23:03:18 -08:00 |
|
Ian Gulliver
|
5c7bf0b395
|
If we get a write <-> write connection, don't waste space buffering data we won't use.
|
2016-02-28 22:50:26 -08:00 |
|
Ian Gulliver
|
49b6b0083b
|
Fix misunderstanding of sendto(MSG_FASTOPEN)
|
2016-02-28 22:34:53 -08:00 |
|
Ian Gulliver
|
aa11eea121
|
Move more socket code into socket.c
|
2016-02-28 22:21:07 -08:00 |
|
Ian Gulliver
|
669b289e84
|
Data flow hype
|
2016-02-28 21:49:29 -08:00 |
|
Ian Gulliver
|
31aa3fa9a3
|
Minor fixes
|
2016-02-28 21:44:21 -08:00 |
|
Ian Gulliver
|
8285011efd
|
PR
|
2016-02-28 21:41:35 -08:00 |
|
Ian Gulliver
|
a3d6adb73b
|
Fix null node name for incoming socket.
|
2016-02-28 21:23:43 -08:00 |
|
Ian Gulliver
|
0b2a8469ce
|
Formatting
|
2016-02-28 20:05:40 -08:00 |
|
Ian Gulliver
|
35d5a1f883
|
More formatting.
|
2016-02-28 20:05:02 -08:00 |
|
Ian Gulliver
|
31dd90fea2
|
Layout cleanup.
|
2016-02-28 20:03:25 -08:00 |
|
Ian Gulliver
|
68fbe187b1
|
More protocol docs.
|
2016-02-28 19:59:04 -08:00 |
|