Ian Gulliver
|
4f0b2c82e9
|
Write header to stdout target.
|
2016-02-27 21:56:37 -08:00 |
|
Ian Gulliver
|
92334724f0
|
Add mode AC handling, and clean up the parsers and serializers to avoid duplication.
|
2016-02-27 21:50:15 -08:00 |
|
Ian Gulliver
|
b7e32d1b48
|
Change proto protocol so the whole stream is also decodable as a proto.
|
2016-02-27 19:14:04 -08:00 |
|
Ian Gulliver
|
071613d061
|
Use static greeting buffers.
|
2016-02-27 16:23:26 -08:00 |
|
Ian Gulliver
|
8d9b40e954
|
Minor hello cleanups.
|
2016-02-27 12:48:01 -08:00 |
|
Ian Gulliver
|
2c5b6419d6
|
Working TCP fastopen for connect-send.
|
2016-02-27 12:41:56 -08:00 |
|
Ian Gulliver
|
79fc645fa0
|
Start of fastopen support.
|
2016-02-27 10:12:48 -08:00 |
|
Ian Gulliver
|
675fb51282
|
More afl fixes.
|
2016-02-26 23:36:05 -08:00 |
|
Ian Gulliver
|
c315de6354
|
JSON: check the source id, not the server id.
|
2016-02-26 21:14:28 -08:00 |
|
Ian Gulliver
|
7d83d122df
|
Fix server_id overflow due to utf8 blowup in json.
|
2016-02-26 20:58:23 -08:00 |
|
Ian Gulliver
|
d6cb3afd9d
|
Centralize packet sanity checks, and bound one value that was overflowing.
|
2016-02-26 14:55:43 -08:00 |
|
Ian Gulliver
|
207cd1e3a1
|
Add fuzzing script.
|
2016-02-26 14:34:53 -08:00 |
|
Ian Gulliver
|
a9cfb590e1
|
Fix some messy shutdown.
|
2016-02-26 14:31:35 -08:00 |
|
Ian Gulliver
|
8ed1f152a6
|
Support both types of line endings in airspy_adsb. Fix a bug in raw line ending handling that could delay packets.
|
2016-02-26 14:18:28 -08:00 |
|
Ian Gulliver
|
e3a372e1ea
|
Hex parsing hardening.
|
2016-02-26 14:09:37 -08:00 |
|
Ian Gulliver
|
e89d30af24
|
Two more AFL source files.
|
2016-02-26 13:57:12 -08:00 |
|
Ian Gulliver
|
9f5ad1518a
|
Fixes from american fuzzy lop testing.
|
2016-02-26 13:56:52 -08:00 |
|
Ian Gulliver
|
8d9a11076b
|
Add an always trigger list, so we can handle non-socket IO properly.
|
2016-02-26 11:12:45 -08:00 |
|
Ian Gulliver
|
680cce544f
|
Centralized list implementation.
|
2016-02-26 10:30:18 -08:00 |
|
Ian Gulliver
|
7e91e3e21d
|
Add some test cases for the plain-text formats.
|
2016-02-25 23:55:53 -08:00 |
|
Ian Gulliver
|
d985503e8b
|
Avoid default behavior of make.
|
2016-02-25 23:47:33 -08:00 |
|
Ian Gulliver
|
19a9d498bd
|
Enable -Weverything, fix a ton of bugs.
|
2016-02-25 23:37:37 -08:00 |
|
Ian Gulliver
|
fe2486c398
|
Enable shadow warnings, fix one case.
|
2016-02-25 21:24:10 -08:00 |
|
Ian Gulliver
|
092764bf7e
|
Fix send behavior, again, to not use read as a proxy for write.
|
2016-02-25 21:22:59 -08:00 |
|
Ian Gulliver
|
2ff838a0f1
|
Expect sockets always.
|
2016-02-25 17:33:14 -08:00 |
|
Ian Gulliver
|
99882bc5c7
|
Enable socket keepalives.
|
2016-02-25 17:27:07 -08:00 |
|
Ian Gulliver
|
3235211bc2
|
More sensible cleanup ordering.
|
2016-02-25 16:48:51 -08:00 |
|
Ian Gulliver
|
3155381678
|
Shut down if we run out of inputs or outputs.
|
2016-02-25 16:33:58 -08:00 |
|
Ian Gulliver
|
a9dc7c25db
|
Switch back to write(), since we have non-sockets.
|
2016-02-25 16:33:47 -08:00 |
|
Ian Gulliver
|
5e604f0596
|
In/out reference counting.
|
2016-02-25 16:17:25 -08:00 |
|
Ian Gulliver
|
aa940137c1
|
Move proto into its own dir.
|
2016-02-25 15:22:57 -08:00 |
|
Ian Gulliver
|
3816be8b3d
|
Fix leak of second+ receive/send object.
|
2016-02-25 15:17:45 -08:00 |
|
Ian Gulliver
|
4f14845c75
|
Rename --dump to --stdout. Add --stdin.
|
2016-02-25 15:12:16 -08:00 |
|
Ian Gulliver
|
46fd0c3c8b
|
Tear down resolver before others.
|
2016-02-25 11:57:23 -08:00 |
|
Ian Gulliver
|
6f082ecf32
|
Use send(MSG_NOSIGNAL) instead of write() in one other place.
|
2016-02-25 11:56:51 -08:00 |
|
Ian Gulliver
|
b4171c971a
|
Avoid double call of send_del() on write failure and from epoll loop.
|
2016-02-24 21:30:39 -08:00 |
|
Ian Gulliver
|
a408ddba2d
|
Switch from shutdown(SHUT_RD) to EPOLLIN to detect send <-> send misconfigurations.
|
2016-02-24 21:21:14 -08:00 |
|
Ian Gulliver
|
4a83b453bb
|
Ask for SIGPIPE not to be sent, instead of ignoring it.
|
2016-02-24 20:28:48 -08:00 |
|
Ian Gulliver
|
3e2c426e95
|
Fix --connect-send. Half-close connections so we can detect two read sockets talking to each other.
|
2016-02-24 20:25:31 -08:00 |
|
Ian Gulliver
|
1635534243
|
Switch from sketchy dup() juggling to callbacks to retry outgoing connection.
|
2016-02-24 20:15:09 -08:00 |
|
Ian Gulliver
|
63f5313b96
|
Set EPOLL_CLOEXEC
|
2016-02-23 22:24:03 -08:00 |
|
Ian Gulliver
|
025d14c6a6
|
Add framing to proto, since it isn't built in to protobuf.
|
2016-02-23 21:30:29 -08:00 |
|
Ian Gulliver
|
c70886e55c
|
Proto parsing working.
|
2016-02-23 19:46:42 -08:00 |
|
Ian Gulliver
|
4f48153d4f
|
More proto parsing.
|
2016-02-23 16:43:36 -08:00 |
|
Ian Gulliver
|
a33808cb33
|
Fix stats counting overflow.
|
2016-02-23 16:30:30 -08:00 |
|
Ian Gulliver
|
819518e402
|
Proto serialization support.
|
2016-02-23 16:13:11 -08:00 |
|
Ian Gulliver
|
a98eeec91e
|
Proto protocol structure.
|
2016-02-23 15:19:56 -08:00 |
|
Ian Gulliver
|
606a2029ee
|
Clean up json parsing more, add a magic value just in case.
|
2016-02-23 14:27:54 -08:00 |
|
Ian Gulliver
|
6d7c236cb9
|
Clean up json parsing.
|
2016-02-23 13:56:54 -08:00 |
|
Ian Gulliver
|
d2e521e90c
|
json input support, some shutdown fixes. json needs cleanup.
|
2016-02-23 13:49:23 -08:00 |
|