Commits


whoops, don't bypass client bufferevent setup


move tls callbacks to sockets where they belong. fix tls handshake.


remove things.c.orig


reenable client tls


reenable tls


fix thingsctl


whoops, overwrote orig things.c file accidentaly at some point


update example conf file


Complete refactor and majority rewrite for v4 upcoming release. Changelog: * Well, almost everything. I made a huge assumption error on the conversion to privsep proc model. This changes all things listening sockets to actually use that model. All things remain in privileged process. There are still some issues to address, but this is good enough for now. * moved "socket" code to sockets.c and out of client.c * keep things in priv process. this needs to remain, especially for ip_addr things * only allow one listening port per thing. sharing was a bad idea in the beginning * only allow a client to subscribe to one thing. this greatly improves things. * require udp binding interface * fix unnoticed problem about sockets not getting opened everywhere when requested * thingsctl hasn't been touched yet * i'm sure there's a ton i missed


fix for -fno-common


convert all the stupid things to memcpy


fix potential leak in thingsctl


clean up some dereference problems, free problems, and logic problems


fix inflight count


Fix bad multi-subscription design. Use correct event in accept_reserve and pause.


require root to kill clients and show packets


NULL client->sub_names after free


missed small parse.y removal


fix free on sub_names


remove remnants of recursive include support from parse.y, modeled after stsp got diff. thanks.


rm possible null pointer dereference


rename function


code clean-up and move to accept_reserve (florian reminder ... thanks)


clean up errant memset call and plug a couple of holes


remove unused event structs