Commit Graph

22 Commits

Author SHA1 Message Date
Ian Gulliver
b434b67dd8 Switch to LOG macro 2016-03-07 17:02:24 -08:00
Ian Gulliver
ff4f4da608 deheader cleanup 2016-03-07 15:19:00 -08:00
Ian Gulliver
6480a960fa Switch to standard logging framework 2016-03-05 22:54:26 -08:00
Ian Gulliver
45abe06467 Add hop limit to json and proto formats. 2016-03-03 22:00:02 -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
071613d061 Use static greeting buffers. 2016-02-27 16:23:26 -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
e3a372e1ea Hex parsing hardening. 2016-02-26 14:09:37 -08:00
Ian Gulliver
19a9d498bd Enable -Weverything, fix a ton of bugs. 2016-02-25 23:37:37 -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
Ian Gulliver
ebdb3f9dc0 Pass source ID through to JSON output. 2016-02-22 22:00:49 -08:00
Ian Gulliver
bccdc212f2 More info in JSON header. 2016-02-22 21:55:45 -08:00
Ian Gulliver
2ce2ed5bf5 Split out packet. Delete common. 2016-02-22 16:58:13 -08:00
Ian Gulliver
b5219d9c1a Split out buf 2016-02-22 16:41:34 -08:00
Ian Gulliver
f36642b823 Split out hex 2016-02-22 16:36:27 -08:00
Ian Gulliver
d6a629fa7e Switch to an internal implementation of uuid generation, so we can use the randomness pool. 2016-02-22 16:27:44 -08:00
Ian Gulliver
cf6eef6118 Move adsbus into its own dir. 2016-02-18 09:36:53 -08:00