Jeremy Lakeman
6483d9e0ae
Split client mdp functions so they can be built separately
2012-09-14 11:47:48 +09:30
Jeremy Lakeman
a73b9ee7f7
Update unicast addresses if they change
2012-09-14 11:42:58 +09:30
Andrew Bettison
45e3d1d078
Add more debug to Rhizome fetch code
...
To help investigate issue #16 , 'rhizomeprotocol' test case 1 failing on
Solaris.
2012-09-13 14:43:47 +09:30
Andrew Bettison
1f4688db99
#16 Fix 'rhizomeops' tests that fail on Solaris
2012-09-13 14:08:52 +09:30
Andrew Bettison
3f4ee701ec
Artefacts created by libtoolize -c -i
...
Replaces symbolic links created from previous libtoolize -i (without -c) which
of course do not work across all platforms.
2012-09-12 15:21:50 +09:30
Jeremy Lakeman
9f35395b2c
Prevent segfault if address lookup fails
2012-09-11 15:41:15 +09:30
Jeremy Lakeman
58fae14ef2
Bind to interface address so unicast packets can be received & always bind to INADDR_ANY
2012-09-11 15:20:44 +09:30
gardners
6553050566
rhizome direct enquiry request now gets back enquiry response,
...
and realises that it needs to process it. It does not yet
process it. #9
2012-09-11 14:34:58 +09:30
gardners
9a5dbbd14f
rhizome direct http transport now asks for response to enquiry when
...
enquiry received by server. Generating responses to enquiries not
yet implemented. #9
2012-09-11 13:09:40 +09:30
gardners
bb0be86db3
fixed content-disposition problems. Request now gets accepted.
...
Need to write code to handle it now, and send cursor fill back
the otherway. #9
2012-09-11 09:34:41 +09:30
gardners
0e04dde28c
changed rhizome direct POST URI paths to /rhizome/import and
...
/rhizome/enquiry. Also fixed bug with content-length header
line when forming /rhizome/enquiry request. post multipart
data is still malformed in some way. #9
2012-09-11 09:28:11 +09:30
gardners
e8009ac94a
rhizome direct http transport sends request, and receives http
...
reply (including if error). Doesn't capture the reply body yet. #9
2012-09-11 09:04:38 +09:30
gardners
e4896cd028
now tries to open connection to rhizome direct server using
...
http transport. #9
2012-09-11 06:56:04 +09:30
gardners
4f5f2c2444
work towards http transport working for rhizome direct. #9
2012-09-10 20:22:14 +09:30
Jeremy Lakeman
fbe9980199
Add explicit flag for unicast peers
2012-09-10 10:55:12 +09:30
Jeremy Lakeman
f2bae4361e
Improve logging and failure handling
2012-09-10 10:31:01 +09:30
gardners
872b88f744
fixed hanging bug. still gets bundles showing up in query
...
results even though size bin is wrong. That bug doesn't stop
us for now, but should be sorted out.
rhizome_direct_http_dispatch() can now be implemented
(synchronously for now will be fine).
2012-09-10 09:22:44 +09:30
gardners
dd01f7939d
further work on rhizome direct dispatching etc.
...
For some reason finds the same manifest several times (size bin
filtering seems to not be working right).
Also sync doesn't realise it has finished, and so doesn't return
when done.
2012-09-10 09:16:27 +09:30
gardners
d796a482b7
refactored rhizome direct code to separate http transport specific
...
code from general rhizome direct BAR buffer gathering and processing.
2012-09-09 13:50:09 +09:30
gardners
1d4c865a35
fixed bugs in cursor range pickling. #9
2012-09-09 09:15:52 +09:30
gardners
f0c4bfd7bf
fixed cursor range reporting bugs. #9
2012-09-09 09:06:38 +09:30
gardners
27fc7a44d0
rhizome direct cursor operations now include pickled cursor range
...
in output buffer (but doesn't yet report the range correctly). #9
2012-09-09 08:58:47 +09:30
gardners
0207d8e541
added cursor limit pickling, restoration functions. cursor
...
functions now try to honour these. Not yet tested. #9
2012-09-09 08:30:38 +09:30
gardners
53228f078e
rhizome direct now has a cursor function to iterate through all
...
bundles in the rhizome database in an appropriate priority order
(currently small before big). #9
2012-09-08 20:26:18 +09:30
gardners
3e4b20f5df
rhizome_direct_get_bars() now allows selections to be based on
...
size of associated data in a bundle, so that we can synchronise
small things first. Also preliminary work on making a general
cursor-type wrapper function for get_bars() so that it is easy
for any rhizome direct transport driver to iterate over the
known bundles in a rhizome datastore. #9
2012-09-08 20:00:14 +09:30
gardners
b13c23de6a
rhizome_direct_get_bars() now sets bid_high correctly. #9
2012-09-08 09:35:58 +09:30
gardners
89b09563a3
Wrote function to get a range of BARs from the Rhizome database
...
for use in Rhizome Direct synchronisation requests. #9
2012-09-08 07:55:57 +09:30
gardners
446adaa868
Added note regarding new architecture to existing comment. #1
2012-09-08 07:55:32 +09:30
gardners
6d725535f9
starting work on the actual synchronisation code for rhizome direct.
2012-09-07 22:53:16 +09:30
Daniel O'Connor
f8d5b066c0
Create #! line correctly (no need to escape !).
...
Many more tests pass now.
2012-09-07 15:42:20 +09:30
Jeremy Lakeman
3cfcfb3728
Parse mdp payloads from the middle of a frame
2012-09-07 13:45:57 +09:30
Jeremy Lakeman
3dba4633b7
Fix port endian order
2012-09-07 13:38:06 +09:30
Jeremy Lakeman
cd67868d2a
Reduce spam from lookups
2012-09-07 13:07:59 +09:30
Jeremy Lakeman
2b530bb02a
Trying to send unicast sas request
2012-09-07 13:04:40 +09:30
Jeremy Lakeman
6b64f0cded
Fix segfault with debug.tx
2012-09-07 12:10:48 +09:30
Jeremy Lakeman
7861658683
Dump incoming and outgoing olsr frame
2012-09-07 11:50:40 +09:30
Jeremy Lakeman
fba6c16eee
Zero out frame buffer
2012-09-07 11:37:33 +09:30
Jeremy Lakeman
dc686ad10b
Set incoming packet length
2012-09-07 11:34:00 +09:30
Jeremy Lakeman
3b55643b08
Send my full sid periodically for any outgoing payload header
2012-09-07 10:01:34 +09:30
Daniel O'Connor
741ffd0d2d
Nuke debug message
2012-09-06 17:28:40 +09:30
Daniel O'Connor
7a06f55078
SHELL is not set by the shell, use BASH which is set by bash.
2012-09-06 17:19:51 +09:30
Jeremy Lakeman
9e86bb476e
Allow for parsing an expected broadcast address
2012-09-06 16:44:05 +09:30
Daniel O'Connor
9f22073ab6
Detect Solaris and use GNU versions of awk, sed and grep.
...
Don't use %N as a date format unless we're on Linux.
Avoid using GNUisms with cmp & sort.
2012-09-06 16:41:24 +09:30
Jeremy Lakeman
472a7cea20
Always send a full sid when we hear an unknown / new sid
2012-09-06 16:38:11 +09:30
Daniel O'Connor
bc6681f4d7
Use $SHELL instead of hardcoding /bin/bash in the dnahelper.
2012-09-06 16:37:41 +09:30
gardners
5aa4c8bb82
added rhizome import via http post test. #9
2012-09-06 16:29:39 +09:30
Daniel O'Connor
d9cfc3ed48
Check we could actually build something.
2012-09-06 15:27:26 +09:30
Daniel O'Connor
03275f410f
Include stdint.h for intmax_t.
2012-09-06 15:26:40 +09:30
Jeremy Lakeman
f9287149dd
Setup unicast return address when receiving unicast packet
2012-09-06 15:21:31 +09:30
Daniel O'Connor
3067d74569
Use AC_CHECK_FUNCS so we automatically get HAVE_GETPEEREID.
2012-09-06 14:34:01 +09:30