Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
builds now when placed in backfire/package
untested if used with feeds
|
|
* 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.
|