Commit Graph

2291 Commits

Author SHA1 Message Date
gardners
25458d0e2b Fixed packet length fields for Rhizome advertisements. 2012-01-09 09:07:00 +10:30
gardners
f56ffedfa2 Made -r also set hlr.dat location. 2012-01-09 09:06:35 +10:30
gardners
e069984c71 Found and fixed evil memory corruption error. 2012-01-09 05:10:58 +10:30
gardners
ba645687f6 Progress towards overlay mode advertising rhizome bundles.
(but some evil memory corruption error if overlay mode and
rhizome are both enabled.)
2012-01-09 04:57:13 +10:30
gardners
0868e30caa Fixed issues with recognition of valid packet formats. 2012-01-09 04:30:23 +10:30
gardners
f0d5cd172e Fixed responding to legacy requests from overlay mode. 2012-01-09 04:19:52 +10:30
gardners
4e6ef2e69e Various fixes to Rhizome web server and BAR generation.
Can now present a set of BARs via HTTP.
2012-01-03 16:35:02 +10:30
gardners
6231e8784c Added ability to de-hex result rows when streaming results of sql
query.
2012-01-03 14:54:32 +10:30
gardners
45835344fa Fixed some compiler warnings. 2012-01-03 14:46:22 +10:30
gardners
c380ab0450 More work on rhizome web server.
Can now serve lists of manifest/file IDs.
2012-01-03 14:45:50 +10:30
gardners
9c8ea5908c Various fixes towards working internal web server. 2012-01-03 08:57:52 +10:30
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