gardners
957262ed47
Added DEBUG_RHIZOMESYNC debug tag.
2012-01-27 16:21:22 +10:30
gardners
41daec5c96
Fixed all zeroes manifestid problem.
...
Removed incorrectly pasted piece of code.
Various debug cleanups along the way.
2012-01-27 15:38:06 +10:30
gardners
cdf1c45da4
Rhizome fetching over http now receives files and imports them.
...
Still some wrinkles to work out.
2012-01-13 21:13:17 +10:30
gardners
f862ba0af6
Rhizome file transfer via http getting close
...
(send side needs to send file body)
2012-01-13 17:21:06 +10:30
gardners
7bcc852279
Fixed bug with non-blocking call to connect() for integrated http client.
...
Cleaned up some debugging stuff.
2012-01-12 17:02:22 +10:30
gardners
90729e20b6
fixed operation of rhizome web server in overlay server mode.
2012-01-12 16:50:25 +10:30
gardners
92968394e5
oops, missed a file on last commit.
2012-01-12 16:48:19 +10:30
gardners
bf9f8559f1
Various debug fiddles and conversion from select() to poll()
...
(although poll() still doesn't let us monitor ordinary files
which is silly.)
2012-01-12 16:47:24 +10:30
gardners
aeff9a4682
added file I forgot to add previously.
2012-01-12 14:08:54 +10:30
gardners
abb3021986
Added refactored rhizome code in separate files.
2012-01-12 14:08:24 +10:30
gardners
42b5c08321
Refactored rhizome.c into several smaller files.
...
Manifests are now gleaned from advertisements, and the ones that
are interesting are scheduled for importing into database.
(actual importing is not yet done -- requires fetching of file).
2012-01-12 14:05:05 +10:30
gardners
670f7c51c7
Reworked Rhizome advertisement frames to include whole manifests
...
inline where possible.
2012-01-11 14:27:40 +10:30
gardners
4d56809b63
Added debug selector for broadcasts.
2012-01-11 07:17:00 +10:30
gardners
0b73df19c8
Fixed bug with handling of OA_CODE_SELF intepretation.
2012-01-11 07:16:22 +10:30
gardners
f8eea651b5
Changed broadcast address to include a 64bit BPI to allow filtering
...
of duplicate broadcast announcements.
2012-01-10 21:56:07 +10:30
gardners
2a3721506b
More debugging output fixes and bug fixes for overlay operation.
...
Added proper check to suppress frames claiming to come from
ourselves ( necessary for squelching multi-hop broadcasts, although
we need an extra step there of having transaction ids on broadcast
frames so that we can flood smartly).
2012-01-10 20:27:36 +10:30
gardners
cb174a71f6
fixed queue management bugs.
2012-01-10 18:31:14 +10:30
gardners
44c0765981
Various debugging code cleanups.
...
Fixed some address resolution bugs (for when sender address is not
fully known).
There is still a bug in dequeuing packets though it seems.
2012-01-10 17:21:26 +10:30
gardners
891e3f2740
Added another debug/verbosity flag.
2012-01-10 16:29:50 +10:30
gardners
eb122f8692
Updated makefile for serval_packetvisualise.c
2012-01-10 16:29:04 +10:30
gardners
800f8d41eb
Revamped debug/verbosity control to use flags for functions of interest
...
instead of general verbosity ramp.
2012-01-10 15:56:40 +10:30
gardners
26a2c62555
Fixed handling of self-announcements for ourself to not create
...
node or neighbour structures for ourself.
2012-01-10 14:57:32 +10:30
gardners
3b6ce80f7e
Fixed cpu eating bug due to time calculation based on wrong epoch.
2012-01-10 14:11:54 +10:30
gardners
9156a68c7f
Added 2nd implementation of serval packet decoder for aiding debugging
...
of packet formation and decoding.
Fixed time calculation bug (duplicate time functions based off different
epochs).
Various debugging fiddles and tweaks.
2012-01-10 14:05:26 +10:30
gardners
23ee957169
Various minor tweaks to debugging and related things.
...
Fixed major memory handling error in neighbour structure allocation.
2012-01-09 16:28:44 +10:30
gardners
52b80069da
Fixed local address setting bug.
2012-01-09 10:07:57 +10:30
gardners
95cca9895c
Now we drop frames that claim to be from ourselves.
2012-01-09 09:57:57 +10:30
gardners
7e0ad31ef3
Improved handling of local addresses in overlay mesh.
...
Added check to stop us sending reachability acknowledgements to ourselves.
2012-01-09 09:55:21 +10:30
gardners
696850dcbf
added missing break after rhizome packet process call.
2012-01-09 09:21:23 +10:30
gardners
1240c49a92
Added more debugging to no open path messages.
...
Added hook for reading rhizome advertisements.
2012-01-09 09:17:54 +10:30
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