summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-21add key generatorJan Huwald
hbbp_keygen generates all four keys private, public for sender and receiver with the file names used in hbbp[cd] in the current working directory.
2012-05-21add optional assymetric payload encryptionJan Huwald
This patch uses the NaCL library to en-/decrypt and authenticate the payload suitable private and public keys are found. It - adds crypto.h, containing all crypto logic (including the detection if the packet is to be en-/decrypted) - adds nacl dependency to Makefile (including a switch between internal and external nacl) It also - changes Makefile to build with -Werror -Wextra - builds warning-free
2012-05-20Makefile: add locally built NaCL libraryJan Huwald
2012-05-16rename executables to hbbp[cd]Jan Huwald
referring to the implemented home brew broadcast protocol
2011-12-05remove OpenWRT-specific Makefile; move src/ to /miau
2011-12-02broadcaster: check payload size for stdin, fix off-by-onemiau
2011-12-02update max msg len to IPv6 UDP minimummiau
2011-12-02fix wait(), remove debug printfsmiau
2011-12-02fix two off-by-one errors during io redirectionmiau
2011-12-02add ERP error macro to catch all those errors that will never happenmiau
2011-12-02read/write payloads via stdiomiau
To allow binary save payload transmission: - broadcaster reads the payload from stdin if the 2nd param is "-" - listener passes the payload via stdin to all handlers
2011-12-01change to IPv6miau
2011-07-29add example handlermiau
2011-07-11corrected OpenWRT makefilemiau
builds now when placed in backfire/package untested if used with feeds
2011-06-20daemonize listenermiau
2011-06-20Merge branch 'master' of gitorious.org:freifunk-jena-batman-config/udp-broadcastmiau
2011-06-16 * made the package not seleced by defaultegon0
2011-06-16 * fixed some typosegon0
2011-06-13listener: close fd on exec; not on exitmiau
2011-06-13listener: adhere to no news is good news, imporve exitmiau
2011-06-05code beautymiau
2011-06-05add receiver loop, service multiplexing, common.hmiau
* Service multiplexing Broadcaster call signature is changed to broadcaster host service [message] to acommodate multiple sevices listening on the same port for broadcast information. * Receiver Loop Listener now loops infinitely instead of returning after the first packet. For each packet with the content service[,message] the programm service [message] will be executed. Upward directory traversal is prohibited (and detected). To prevent DoS only one service program runs concurrently. * Common.h Port numbers and maximum message sizes are now stored in common.h. Broascaster respects max. message size.
2011-06-04InitialMartin Michel
contact: Jan Huwald // Impressum