Jeremy Lakeman
b7d4fa478e
Attempt stun lookup when dialing vomp call
2012-12-10 14:05:57 +10:30
Jeremy Lakeman
78aa01ad30
Add stun lookup messages
2012-12-10 14:05:57 +10:30
Jeremy Lakeman
3a4f052470
Modify vomp call state to use subscriber structures
2012-12-10 14:05:56 +10:30
Jeremy Lakeman
25ed16178b
Probe unicast links created from incoming packets
2012-12-10 14:05:56 +10:30
Andrew Bettison
d65608720b
Fix new config bug - ARRAY default initialisation
...
New ARRAY VALUE_*_STRUCT elements were not being initialised to default before
calling the STRUCT's parse function.
2012-12-10 14:03:46 +10:30
Andrew Bettison
1e38ff717e
Fix link error in libmonitorclient.so
2012-12-10 09:39:15 +10:30
Andrew Bettison
c869e00421
Do not add directory service unless configured
2012-12-07 15:58:36 +10:30
Andrew Bettison
96e686c680
servald 'stop' command loads config permissively
2012-12-07 15:57:40 +10:30
Andrew Bettison
08fc41f893
Merge branch 'master'
2012-12-07 14:12:43 +10:30
Andrew Bettison
8425882ffc
Merge branch 'newconfig' into 'master'
...
Conflicts:
commandline.c
conf.h
dataformats.c
log.h
overlay_address.c
overlay_interface.c
packetformats.c
rhizome.c
serval.h
tests/directory_service
vomp_console.c
2012-12-07 14:09:55 +10:30
gardners
be9cefc5ba
fixed bug when reporting hash of files during rhizome extract file.
2012-12-07 13:57:26 +10:30
Andrew Bettison
ecdf32fbe2
Rename cf_opt_port() to cf_opt_uint16_nonzero()
...
Improves the usefulness of the 'config schema' output.
2012-12-07 11:14:05 +10:30
Andrew Bettison
b4f6aa5ea2
Improve 'config schema' output to include NODE parsing functions
2012-12-07 10:57:05 +10:30
Andrew Bettison
21509e0b67
Add 'config schema' command to dump schema
...
That was easy.
2012-12-06 17:54:30 +10:30
Jeremy Lakeman
4b73e42bed
Merge remote-tracking branch 'origin/master' into rhizomeovermdp
...
Conflicts:
rhizome_fetch.c
2012-12-06 13:27:04 +10:30
Jeremy Lakeman
7e59df86fe
Rewind announcements on sql failures
2012-12-06 12:33:44 +10:30
Andrew Bettison
fe042bfa64
Servald 'config [ set|del ... ] ... ' command
...
Update all test scripts to avoid repetitive executeOk_servald invocations.
2012-12-06 12:31:19 +10:30
Jeremy Lakeman
ce48ca97b0
Validate abbreviation length
2012-12-06 12:21:40 +10:30
Jeremy Lakeman
dfe14dc504
Merge remote-tracking branch 'origin/master' into packet_format
2012-12-06 11:56:47 +10:30
Jeremy Lakeman
4557c82b1f
Increase delay before failing tests
2012-12-06 11:54:09 +10:30
Jeremy Lakeman
e956998d94
Clamp maximum jitter delay
2012-12-06 11:53:38 +10:30
Jeremy Lakeman
587350e72e
Fix alignment issues in probe packets
2012-12-06 10:59:19 +10:30
Jeremy Lakeman
f28e95b078
Don't scan broadcast address, limit network size
2012-12-06 10:42:34 +10:30
Jeremy Lakeman
59babd75a2
Fix SEGV if connect fails immediately
2012-12-06 10:35:20 +10:30
gardners
e8cfac1462
don't try mdp fall back when performing an http rhizome direct transfer.
2012-12-06 09:42:27 +10:30
gardners
e2cf0ff506
fixed bug with rhizome direct sync manifest fetching.
2012-12-06 09:31:41 +10:30
Andrew Bettison
4985359158
Fix 'rhizomestress' test failures
2012-12-05 16:11:23 +10:30
Andrew Bettison
9e6059e473
Fix 'routing' test failures
2012-12-05 15:50:34 +10:30
Andrew Bettison
b497c88d9d
Fix 'directory_service' test failures
...
New configuration schema.
2012-12-05 15:47:14 +10:30
Jeremy Lakeman
f6f12f8de7
Add text codec to console operation
2012-12-05 15:38:05 +10:30
Jeremy Lakeman
a4eaf37bbd
Shrink vomp headers, reduce servald's knowledge of codec details
2012-12-05 15:38:04 +10:30
Jeremy Lakeman
383cc2371d
Record packet timing info
2012-12-05 15:36:46 +10:30
Andrew Bettison
250fad71e8
Fix 'dnaprotocol' test failures
...
Config option "mdp.TYPE.tick_ms" is now "mdp.iftype.TYPE.tick_ms"
2012-12-05 15:26:25 +10:30
Andrew Bettison
1a3f916cfb
Fix 'rhizomeprotocol' test failures
...
Config option rhizome.direct.peer.count is no longer required.
Bug in new URI parsing code.
2012-12-05 15:23:59 +10:30
Jeremy Lakeman
3dfd64f4da
Add manually triggered network scan command
2012-12-05 15:13:47 +10:30
Andrew Bettison
8384fed9c5
Fix failing 'dnahelper' test
2012-12-05 14:51:38 +10:30
Andrew Bettison
aa638a9bfd
Fix new 'interfaces' config option
...
Introduce CFINCOMPATIBLE config parse result flag.
Sort interface rules by unsigned integer key.
Legacy and modern 'interfaces' config styles are now incompatible.
Validate config_network_interface struct to enforce that only exactly one of
'match' and 'dummy' options are set.
Add test cases for 'interface' config option.
2012-12-05 12:58:07 +10:30
Jeremy Lakeman
0ca9612a96
Send redundant probe payloads
2012-12-05 10:20:09 +10:30
Andrew Bettison
c53789d764
Legacy 'interfaces' config option improvements
...
Legacy form is now incompatible with modern form.
Test case to check legacy parsing.
2012-12-04 18:22:26 +10:30
Andrew Bettison
93c38a764d
Improve servald 'config' 'set' and 'del' commands
...
Return exit status 2 if the new config is invalid in any way.
2012-12-04 18:20:53 +10:30
gardners
5416e4baca
fixed bugs that were preventing writing to database blob from
...
buffer. Increased maximum buffer size to useful size.
2012-12-04 17:26:47 +10:30
gardners
39f99da3f2
fixing various bugs with rhizome streaming to database.
2012-12-04 17:18:31 +10:30
Andrew Bettison
71ed78e058
Make all 'config' tests pass
...
Change a test case: configuration options are now case sensitive.
Fix config file load and parse logic in conf.c, always copy 'debug' flags
from config.debug.
The config schema 'interfaces' option is no longer MANDATORY.
Introduce new CLIFLAG_PERMISSIVE_CONFIG to supress bad-config ERROR messages
from the 'config set' and 'config get' commands.
Refactor cli_execute() into cli_parse() and cli_invoke(). Use *const* struct
command_line_option everywhere.
2012-12-04 16:52:49 +10:30
Jeremy Lakeman
6a5efcc445
Remove buggy debug code
2012-12-04 16:50:27 +10:30
gardners
f827c7c1c8
fixed various problems following split of files into fileblobs
2012-12-04 16:47:45 +10:30
Jeremy Lakeman
1dcbb28b61
Send rhizome mdp data unicast if required
2012-12-04 16:38:18 +10:30
Jeremy Lakeman
33e44ed6be
Don't unwatch if the file descriptor is already closed
2012-12-04 16:30:01 +10:30
Jeremy Lakeman
55cad42932
Make sure the buffer for cryptobox doesn't move
2012-12-04 16:19:50 +10:30
gardners
6dfe654ab0
adjusted tuning of Rhizome over MDP to use 32x1KB packets for
...
better throughput. Still sub-optimal for wired ethernet type
interfaces, but should be ok for WiFi where max broadcast throughput
is 100kb/sec.
2012-12-04 16:19:22 +10:30
gardners
3ace113be1
fixed error in orphan file cleanup sql statement.
2012-12-04 16:19:01 +10:30