Andrew Bettison
684735b11c
Fix config file timestamp bug
...
Ensure that timestamp always advances by at least one second every time
the config file is modified, add test case
Refactor test defs: detecting started HTTPD is not specific to Rhizome
Refactor struct file_meta and associated functions into "io.h" and io.c
Add various strbuf helper functions for formatting struct timespec
and struct file_meta to assist debug logging
2014-04-29 15:04:20 +09:30
Jeremy Lakeman
b56f4c27d3
Replace internal usage of overlay_mdp_dispatch
2014-02-19 16:39:42 +10:30
Jeremy Lakeman
5f2c6e364a
Refactor interface addresses to use new socket_address struct
2014-01-09 15:01:38 +10:30
Jeremy Lakeman
db7f68afd7
Initial msp library implementation with connection state tracking
2014-01-09 15:01:37 +10:30
Jeremy Lakeman
cc51edd39d
Fix compiler warnings
2014-01-06 12:36:00 +10:30
Andrew Bettison
9b64bb87e0
Uniform copyright notices
...
Added some missing copyright/license block comments
2013-12-04 17:15:36 +10:30
Andrew Bettison
7564d529a1
Add missing copyright/license comment blocks
...
Update a few existing copyright notices to reflect recent work
2013-11-21 16:05:18 +10:30
Andrew Bettison
291a631095
New header file "fdqueue.h"
...
So that "http_server.h" does not have to include "serval.h" which
creates a circular dependency.
Remove the __SERVALDNA__HTTP_SERVER_IMPLEMENTATION hack from
"http_server.h"
2013-10-25 00:20:53 +10:30
Andrew Bettison
a95ef79139
Use sid_t everywhere
...
Remove stowSid() at last
Change API of tohex() and strbuf_tohex(), to pass string length instead of
binary byte count. This allows odd numbers of hex digits to be produced.
Remove alloca_tohex_sid(); replace with alloca_tohex_sid_t()
New alloca_tohex_sid_t_trunc() macro
2013-10-09 18:54:21 +10:30
Romain Vimont (®om)
954a8a01a4
Use one MDP socket per binding instead of a single global socket.
2013-09-24 16:09:44 +09:30
Andrew Bettison
c176d23726
Add 'sid:' field to output of "reverse lookup"
...
Use sid_t in more places
2013-02-15 19:34:24 +10:30
Jeremy Lakeman
1df18ae43d
Better tree walking for duplicate results
2012-11-16 15:39:33 +10:30
Jeremy Lakeman
3c69a45d42
Only respond with multiple matches if the key is the same
2012-11-12 11:12:21 +10:30
Jeremy Lakeman
9669cda2b2
Update expiry time on each add
2012-11-12 11:08:08 +10:30
Jeremy Lakeman
1a29082fea
Fix warning
2012-11-12 10:41:16 +10:30
Jeremy Lakeman
f6ed8f1562
Fix segfaults
2012-11-12 10:38:24 +10:30
Jeremy Lakeman
9a7c18c9f6
Only parse incoming packets with port numbers matching our expected responses
2012-10-02 16:15:30 +09:30
Jeremy Lakeman
fa7719fbe8
Write simple vomp console client
2012-09-28 15:23:50 +09:30
Jeremy Lakeman
222cb80ce7
Modify lookup uri format to distinguish between serval identities and gateway services
2012-09-21 15:17:56 +09:30
Jeremy Lakeman
2fa5fbfee7
Publish and retrieve multiple entries for the same phone number
2012-09-20 16:21:18 +09:30
Jeremy Lakeman
7c73ca7a78
Finish test and implementation of directory service
2012-09-18 12:30:15 +09:30
Jeremy Lakeman
09dd9332f8
Implement simple tree structure for directory information
2012-09-17 15:42:30 +09:30
Jeremy Lakeman
f845a18312
Send DNA lookup requests to configured directory service
2012-09-14 17:04:36 +09:30
Jeremy Lakeman
ac8d9b93e6
Add stub directory service
2012-09-14 11:50:45 +09:30