Commit Graph

380 Commits

Author SHA1 Message Date
gardners
d29efac21f More work on getting Rhizome web server working.
Can now produce parsable http responses as well as parse requests.
Now to actually implement some of the requests ...
2011-12-29 10:11:03 +10:30
gardners
ccf26e1fe0 Rhizome web server can now serve a 400 error message, which means
that lots of the underlying stuff is now in place.
2011-12-23 04:25:18 +10:30
gardners
ad88045ca6 Rhizome web server progress. Still not working, but poll() now is
doing what it should, and we are detecting closed sockets.
Now to add some parsing etc.
2011-12-22 21:58:18 +10:30
gardners
16fb3a3f61 Added missing GPL license statements. 2011-12-21 20:25:05 +10:30
gardners
cbd0cf6117 Began work on rhizome integrated web server. 2011-12-21 16:28:08 +10:30
gardners
ae22480c23 signature reading and logging of signature verification errors now
in place.
2011-12-21 07:53:45 +10:30
gardners
b7b795d4fc manifest reading now reads and can verify signatures.
Still incomplete. Doesn't yet count verify errors etc.
2011-12-21 07:46:12 +10:30
gardners
a159edf152 updating manifests now correctly removes old files and old
versions of the manifest.
group subscriptions not yet implemented, and reading of signatures
not yet implemented.  Controls on group membership and pushing files
to groups not yet implemented.  Group ciphers not yet implemented.
2011-12-20 22:09:49 +10:30
gardners
745cade469 Further work on getting signatures and signed manifests working.
Some work on updating existing manifests, although some cascading
consequences need addressing (in particular checking if the file
associated with the old version of the manifest still needs to hang
about, and if so, whether its highest priority has changed).
2011-12-20 17:27:24 +10:30
gardners
4719281f03 Added keypair storage and retrieval (still pending encryption of
stored secrets, but the framework is there).
2011-12-20 15:57:25 +10:30
gardners
cc09a0f994 Some database schema tweaks and additional checks on manifests when
importing (we now need to have either the key for the manifest, or to
be creating the manifest).
2011-12-20 15:48:26 +10:30
gardners
8fca64d630 Importing bundles into the rhizome database now works.
Signing and groups are still missing for the moment.
2011-12-20 14:16:17 +10:30
gardners
a50c56ac92 Importing of a bundle into the database now seems to work.
(group membership not currently handled, signing not currently
handled).
2011-12-20 13:24:09 +10:30
gardners
312eaa397b Significant progress on Rhizome.
Manifest reading and writing to disk (not database) seems okay now.
Working on database side of things next.
2011-12-20 11:25:52 +10:30
gardners
01278a5773 Only fetch libsqlite.so when missing. 2011-12-19 09:09:03 +10:30
gardners
9c3cc04b3a Improved BYTE_ORDER detection for Android cross-compilation. 2011-12-19 09:06:34 +10:30
gardners
34075ce84d Fixed an NaCl macro name issue for Android NDK cross-compile 2011-12-19 09:03:30 +10:30
gardners
17f0b5da10 Moved BYTE_ORDER definition to Android.mk 2011-12-19 09:01:03 +10:30
gardners
d5004e15d2 Fix various Android NDK build issues
(specify endianness, copy libsqlite.so from an Android phone
for link templating)
2011-12-19 08:56:25 +10:30
gardners
b775e48042 further NaCl macro name fix for Android cross-compilation. 2011-12-19 08:28:39 +10:30
gardners
16d22d41a3 Fixed crypto structure size specifications to specify the exact
crypto implementation (wise anyway, but required for our Android
cross-compile of NaCl).
2011-12-19 08:22:34 +10:30
gardners
c110e46a08 fixes to previous commit. 2011-12-19 08:10:02 +10:30
gardners
000dd2db55 Moved rhizome prototypes into separate header file.
(needed for android building where undefined functions are
an error, not a warning).
2011-12-19 08:04:31 +10:30
gardners
328c24b770 Should now use built-in sqlite3 library on Android. 2011-12-19 05:55:10 +10:30
gardners
c0a6b1ff12 Added rhizome and sqlite3 to Android build process.
(sqlite3 can be removed once we work out how to link to the
existing sqlite implementation on Android).
2011-12-19 05:47:52 +10:30
gardners
1628d5cbfb Added command line options to DNA to import a rhizome bundle. 2011-12-19 05:46:34 +10:30
gardners
6ec1d6032f Further work towards sqlite3 backend for rhizome.
Wrote function to store file to db iff it is not stored already,
and update the priority flag on the stored file.
Uses blobio to progressively load large blobs to make it friendly
on small memory systems.
2011-12-17 12:11:32 +10:30
gardners
6a433857e4 Substantial preparatory work towards Rhizome/MeshMS store-and-forward
services in Serval DNA.
2011-12-13 19:34:12 +10:30
gardners
ab3813f127 Added new -m command line option to show multiple responses. 2011-12-04 17:48:51 +10:30
gardners
3939001501 Supressed some spurious output. 2011-12-04 17:48:34 +10:30
gardners
6548a63b8e And fixed the bug introduced in that fix. 2011-12-04 17:03:27 +10:30
gardners
6e12f6d514 Fixed ARP table parser bug that meant only first entry got picked up. 2011-12-04 17:02:09 +10:30
gardners
3f2abe76c3 Improved debug output for reading arp table. 2011-12-04 15:54:56 +10:30
gardners
158a0fa698 Added debug output for showing peers found via various means. 2011-12-04 09:22:40 +10:30
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