Andrew Bettison
c35af0617a
Fix header files for Xcode iOS build
...
- make "debug.h" a private header so that the DEBUG() macro does not
interfere with Xcode Debug builds, which set DEBUG=1
- move all #include "debug.h" from headers into .c files
- move 'struct idebug' into a new public header "idebug.h" so that
"log.h" can be public
- move HTTPD port number defs from "httpd.h" to "constants.h", so that
"httpd.h" can be private and "conf.h" can be public
- add missing nested includes so each header compiles stand-alone
without error
- #include "sodium.h" instead of <sodium.h>
- #include "sqlite3.h" instead of <sqlite3.h>
- add header guard to "fifo.h"
- fix header guard in "sync_keys.h"
2018-03-06 15:29:29 +10:30
Jeremy Lakeman
ce2c276570
Detect Wifi and cabled ethernet on linux systems, allow matching by type in config
2017-11-07 16:53:19 +10:30
Jeremy Lakeman
0382e7990e
Enable a more graceful shutdown of the server in most cases
2017-09-12 15:37:52 +09:30
Jeremy Lakeman
884a6211eb
Remove overlay_interface_find_name
2016-04-27 13:10:31 +09:30
Jeremy Lakeman
cf8932d5ba
Use trigger for interface up/down
2016-03-08 10:16:20 +10:30
Jeremy Lakeman
3049252c8a
Poll netlink socket for interface changes on linux systems
2015-10-12 18:11:44 +10:30
Jeremy Lakeman
f7dbe06836
Rearrange interface config to support unicast settings
2015-03-23 13:35:22 +10:30
Jeremy Lakeman
a9b9f51a9f
Add support for mdp clients to provide a link layer packet transport
2015-03-02 15:44:34 +10:30
gardners
6dca9fe6bf
ensure netmask is set when initialising an interface.
2014-10-31 15:01:22 +10:30
Jeremy Lakeman
f4e6841ed7
Ensure directory service tests aren't creating a global routing table
2014-06-16 17:22:46 +09:30
Jeremy Lakeman
628a52ca87
Add monitor message for interface up/down events
2014-06-13 13:34:10 +09:30
Jeremy Lakeman
b6de3fcd34
Only send rhizome sync packets when we have neighbours
2014-05-30 15:03:22 +09:30
Jeremy Lakeman
9ed507f740
Move rate limit code to separate file
2014-05-12 13:44:50 +09:30
Jeremy Lakeman
55db779f8c
Remember specified rate limit
2014-05-12 13:44:50 +09:30
Jeremy Lakeman
8ae76f7157
Track most recent ack from neighbours, prevent duplicate broadcast packets
2014-05-05 11:53:57 +09:30
Andrew Bettison
1f49ee47ae
Add missing copyright messages
2014-04-07 14:39:21 +09:30
Andrew Bettison
97850835da
Clean up "serval.h" a bit
...
Move some defs to more appropriate header file
Remove unused function prototypes
Remove unused SLIP and CRC32 code
2014-04-07 14:27:32 +09:30
Jeremy Lakeman
04955f1ddd
Fix interface name comparison for detecting real interfaces
2014-01-20 16:01:29 +10:30
Jeremy Lakeman
4bb3336b33
Generalise method for defining multiple interfaces
2014-01-09 15:01:38 +10:30
Jeremy Lakeman
506518ad06
Allow interfaces to use local unix addresses
...
- broadcast packets are sent to all sockets in the same folder
- switched most tests to use local sockets
2014-01-09 15:01:38 +10:30
Jeremy Lakeman
5f2c6e364a
Refactor interface addresses to use new socket_address struct
2014-01-09 15:01:38 +10:30