Commit Graph

208 Commits

Author SHA1 Message Date
Ian Gulliver
1dd924c679 Link to parent doc. 2016-03-11 15:28:25 -08:00
Ian Gulliver
4a5b6f3b30 More use cases 2016-03-11 15:26:22 -08:00
Ian Gulliver
aa87e0b602 Test 2016-03-11 15:14:57 -08:00
Ian Gulliver
436e9c4518 Test 2016-03-11 15:14:07 -08:00
Ian Gulliver
f579a69f77 Test 2016-03-11 15:12:40 -08:00
Ian Gulliver
c733fc99c2 More use examples 2016-03-11 15:12:08 -08:00
Ian Gulliver
90950c6320 Test 2016-03-11 15:09:07 -08:00
Ian Gulliver
dd9c77cbb6 Test 2016-03-11 15:06:22 -08:00
Ian Gulliver
b40d079847 Start of use section 2016-03-11 15:05:41 -08:00
Ian Gulliver
eadc74d195 Security documentation 2016-03-11 15:00:45 -08:00
Ian Gulliver
521cc806fb Apparently programs expect their stdin to be blocking 2016-03-10 21:42:58 -08:00
Ian Gulliver
c5f117dce5 Make exec sockets nonblocking. Fix FD leakage when more than one exec is running. 2016-03-10 21:36:40 -08:00
Ian Gulliver
62fce4fa70 Fix port 2016-03-10 11:38:01 -08:00
Ian Gulliver
89bbc645af Remove AI_ADDRCONFIG, since the netlink socket is missing CLOEXEC and gets inherited by children. 2016-03-10 11:09:58 -08:00
Ian Gulliver
acd5ca6b31 Add script for running stutterfuzz 2016-03-09 21:48:54 -08:00
Ian Gulliver
af024f5115 Bring back the format lists in --help 2016-03-09 21:16:59 -08:00
Ian Gulliver
88c40641bd Use SIGCHLD, setpgid(), etc. for normal child handling, instead of being fancy. 2016-03-09 20:20:12 -08:00
Ian Gulliver
5056380bd4 Get the exec children back in our progress group/session, and unblock signals to them. 2016-03-09 18:40:29 -08:00
Ian Gulliver
94744ef96f Account for the possibility of stderr not being open when we start. 2016-03-09 18:28:46 -08:00
Ian Gulliver
689bfc7939 Open stdin and stdout to something if they don't arrive open, or bad things happen. 2016-03-09 18:28:00 -08:00
Ian Gulliver
8316739941 Move stdin/out handling entirely into stdinout.c 2016-03-09 18:07:09 -08:00
Ian Gulliver
8898142c97 Show capabilities on startup. 2016-03-09 18:00:22 -08:00
Ian Gulliver
374ff1208b Remaining afl-fuzz output. 2016-03-09 14:38:20 -08:00
Ian Gulliver
318667060a Plaintext additional afl-fuzz inputs. 2016-03-09 14:07:49 -08:00
Ian Gulliver
29fbf5e39e Merge branch 'master' of github.com:flamingcowtv/adsb-tools 2016-03-09 13:29:41 -08:00
Ian Gulliver
bff0e1f22f Start of afl-fuzz test cases. 2016-03-09 13:29:28 -08:00
Ian Gulliver
e03abd4f74 Add --pid-file 2016-03-09 13:15:15 -08:00
Ian Gulliver
cf923fe3fb Add --quiet 2016-03-09 13:10:07 -08:00
Ian Gulliver
87f82b0327 Keep fd 2 open as our log fd, so other things that write there (e.g. assert()) work sanely. 2016-03-09 13:06:26 -08:00
Ian Gulliver
fc14de31ff Only grab SIGHUP if we can do something with it. 2016-03-09 12:55:21 -08:00
Ian Gulliver
7167c080a2 Log pre-fork process ID. 2016-03-08 23:19:21 -08:00
Ian Gulliver
62ee0a690c More startup debug info. 2016-03-08 23:17:26 -08:00
Ian Gulliver
b455826db2 Switch to signalfd for SIGHUP 2016-03-08 23:04:20 -08:00
Ian Gulliver
c0c25bd36a Clean up wakeup teardown. 2016-03-08 22:42:15 -08:00
Ian Gulliver
9f5a6223bf Fix shutdown for lack of input/output. 2016-03-08 22:30:55 -08:00
Ian Gulliver
e885723c59 Use signalfd to handle SIGINT and SIGTERM shutdown. 2016-03-08 22:26:04 -08:00
Ian Gulliver
ba13ebbe5c deheader 2016-03-08 22:00:08 -08:00
Ian Gulliver
b915f38dca Switch out custom wakeup system for timerfd. 2016-03-08 21:53:57 -08:00
Ian Gulliver
3985182304 Stop relying on struct ordering and packing for peer. 2016-03-08 20:47:22 -08:00
Ian Gulliver
d39cd62991 Cleanup how we cast and close peers. 2016-03-08 20:41:00 -08:00
Ian Gulliver
cd302a1746 Move FORMAT parsing into send code. 2016-03-08 12:22:46 -08:00
Ian Gulliver
d5eb4a919e Initialize server before resolve, since server forks and resolve starts a thread. 2016-03-08 11:28:21 -08:00
Ian Gulliver
e5af92c331 Add --detach. Add multi-pass flag parsing that lets us get things in the right order. 2016-03-08 11:26:39 -08:00
Ian Gulliver
70ac401a23 Add missing help 2016-03-07 21:42:51 -08:00
Ian Gulliver
eb89dafd0d Add --log-timestamps 2016-03-07 20:12:35 -08:00
Ian Gulliver
3bcc2b43ba Log more debug data. 2016-03-07 17:38:18 -08:00
Ian Gulliver
31bb8f2a95 Remove version.h on make clean 2016-03-07 17:18:51 -08:00
Ian Gulliver
b7de1adca2 Start to generate version.h 2016-03-07 17:18:23 -08:00
Ian Gulliver
3ef52b16b5 Log file and line number. 2016-03-07 17:08:36 -08:00
Ian Gulliver
b434b67dd8 Switch to LOG macro 2016-03-07 17:02:24 -08:00