gardners
cd346861d1
added parsing of arp table to find peers in the face of transient loss
...
of broadcast reception by peers.
2011-12-02 17:16:26 +10:30
gardners
45dcebc048
Fixed broadcast calculation bug.
2011-12-02 15:19:27 +10:30
gardners
70b287a1c9
Adding more robust broadcast address detection.
2011-12-02 14:39:14 +10:30
gardners
3e58d867b7
Found and fixed string termination issue in Asterisk module.
2011-12-02 11:37:41 +10:30
gardners
0bae6992c0
Fixed bug with blank recvaddr fields when getting replies.
...
(there is still some ugly strangeness in the passing around of
recvaddr structures for no apparent reason.)
2011-12-02 09:59:47 +10:30
gardners
1c9f7dff12
Reinforced null termination of string when appending IP to @ in
...
resolution.
2011-12-02 05:45:07 +10:30
gardners
e1b34d40d7
Fixed some build issues for Asterisk application.
2011-12-02 05:44:32 +10:30
gardners
2aab552ef7
Simplified shell command for removing try.c and measure.c files
...
to work with sh as well as bash.
2011-11-22 11:49:37 +10:30
gardners
5ca2880bea
Merge branch 'master' of github.com:servalproject/serval-dna
2011-11-22 09:20:37 +10:30
gardners
551b454acd
Added extra check for extraneous measure.c files.
2011-11-22 09:19:50 +10:30
Jeremy Lakeman
ccb86b45e9
Tidy up build process
2011-11-03 11:23:19 +10:30
gardners
5837499f0d
Fixed bug in jni.c for CryptoBoxOpen.
2011-10-27 12:32:58 +10:30
gardners
6e5ef709e3
Added missing file.
2011-10-25 14:15:19 +10:30
gardners
ba6354e758
Fixed a bug where the build process would be skipped due to
...
incorrectly thinking that libnacl.a already exists, when it doesnt.
2011-10-25 13:39:56 +10:30
gardners
933d2c8aff
Added test code for NaCl.
2011-10-25 13:39:14 +10:30
gardners
b2070da074
Added my own version of randombytes() that works properly and eventually
...
times out if it can't succeed for wrapping into java. Timeouts vital as
it lives in a critical section.
2011-10-23 19:49:17 +10:30
gardners
4636cd6577
Added wrapper for safe supply of random bytes for use in Java side.
2011-10-23 18:54:10 +10:30
gardners
77757f550d
renamed methods for having all native methods in once class (required
...
by Java that one library loads into one class only).
Also added what I believe to be sane and efficient array access for
CryptoBox (use same approach for other calls as we write the JNI
interfaces).
2011-10-23 15:53:44 +10:30
gardners
62e3931498
Fixed jni.c to actually be right (the _00024 was a bit hard to guess).
2011-10-21 20:48:47 +10:30
gardners
58446ba5e5
Added initial JNI wrapper.
2011-10-21 10:56:49 +10:30
gardners
1fb83dbf0d
Android linker is really dumb, so made simple dlopen() based wrapper
...
to pull in the DNA/NaCl library and run the DNA main function from
there. So now dna binary still works, but uses libdnalib, so that we don't
need to duplicate NaCl library for dna binary versus access from in Java
(once we make the JNI wrappers for the functions we care about).
2011-10-18 23:45:46 +10:30
gardners
cc500aeea2
Modified to build libdnalib and dna binary that uses that shared lib.
...
This sets the scene for making libdnalib also a JNI-compliant library
that we can use from Java to get access to the NaCl primitives, and
possibly even run DNA operations directly.
2011-10-18 22:37:08 +10:30
gardners
952bb219b7
Fixed nacl-prepare-sources so that it lets us actually build a real
...
libdna with NaCl crypto lib built in (yay)
2011-10-18 22:23:45 +10:30
gardners
89e72e35e9
Progress towards building NaCl in with DNA as a total shared library.
...
Fixed big problem with building of NaCl include files.
Some issues remain, working on those now.
2011-10-18 19:39:01 +10:30
gardners
f55a6525a2
Added hooks and code to build and link to NaCl static library
...
(static is always the safer option for crypto libraries to avoid
nasty run-time suprises)
2011-10-17 08:11:05 +10:30
gardners
6ad98c6128
added nacl public domain source tar to avoid need to download
...
during compilation (in case someone wants to build off line, or
in a cross-compiler without internet access)
2011-10-16 22:34:25 +10:30
gardners
fff5c5ddae
Added code to build NaCl in with Serval DNA when doing a JNI build.
2011-10-16 22:11:43 +10:30
gardners
60e391ecd5
fixing an out-by-one error in ACTION_GET packet handling.
2011-10-06 09:27:04 +10:30
gardners
d5d2bd16b3
added further debug output to chase down corrupt packet errors.
2011-10-06 09:16:47 +10:30
gardners
5566dddad1
Added some extra debugging for stray HLR record creation.
2011-10-06 09:06:20 +10:30
gardners
51f181b16f
Added missing @ to end of SIP address when seeding HLR
2011-10-06 03:51:29 +10:30
gardners
28c8fcfbc9
Fixed nasty bug in createHlr() that was corrupting HLR file.
2011-10-03 13:28:07 +10:30
gardners
613d542061
you guessed it, more catching corrupt hlr dramas
2011-10-02 21:54:59 +10:30
gardners
d9163053d3
more corrupt hlr catches
2011-10-02 21:41:13 +10:30
gardners
80f5f5f834
another hlr.dat corruption catch
2011-10-02 21:32:01 +10:30
gardners
5778e9d016
further checks against corrupt hlr
2011-10-02 21:18:16 +10:30
gardners
d90b921188
Added signal catcher to restart after crash
2011-10-02 20:28:08 +10:30
gardners
95c5124f86
Improved tolerance to corrupt HLR files.
2011-10-01 21:00:05 +09:30
gardners
571f042734
Added overlay_advertise.c to Android.mk
2011-09-20 21:16:10 +09:30
gardners
abf626a5c5
Fixed return code of packetOkOverlay().
2011-09-13 05:52:53 +09:30
gardners
d19e0b7e39
Added missing call to *_recalc_node() to *_record_link().
2011-09-13 05:42:32 +09:30
gardners
87610c18f5
fixed compiler warning and removed WHOOP debug message.
2011-09-13 05:40:23 +09:30
gardners
2a2f8d752f
reception and processing of advertised routes now works :)
...
Indeed the core of the overlay mesh is now in place and nodes
on simple meshes discover each other. Plenty of bugs are sure
to remain.
2011-09-13 05:37:24 +09:30
gardners
8aa57edee3
Added code to add node advertisements to interface tick packets.
...
Looks like it works. No code to decode it yet.
2011-09-13 04:52:52 +09:30
gardners
552d0095f0
Moved route advertisment to separate file.
2011-09-13 03:35:26 +09:30
gardners
26f0b36fa1
Added framework for advertising node reachability.
2011-09-13 03:33:45 +09:30
gardners
f301929026
Rejigged node structure to include score and advertisment history
...
information that can be used to help us prioritise which nodes
get advertised when.
2011-09-13 03:19:54 +09:30
gardners
0cb65c4a87
Cleaned up other references to interface in overlay_node_observation.
...
Tidied up output format when reporting observed links.
2011-09-13 02:59:48 +09:30
gardners
0087d338f2
Got rid of duplicated and now redundant function for recording
...
reachability announcements.
2011-09-13 02:56:21 +09:30
gardners
dc99dd27fb
Removed unneeded interface field from node_observation structure.
2011-09-13 02:54:03 +09:30