gardners
3caf82ad15
fixed bug in rhizome direct http response formation. #9
2012-09-21 14:27:02 +02:00
gardners
5d881226c1
fixed bug in comparison of IHAVE lists. Now can generate list of
...
BARs that rhizome direct sync requestor has not seen. #9
2012-09-21 14:10:11 +02:00
gardners
cae11bd444
fixed rhizome direct response generation to allow request and
...
responses to be of different sizes. #9
2012-09-21 14:04:53 +02:00
gardners
f6bab96846
fixed bug when extracting BID prefix. #9
2012-09-21 13:47:58 +02:00
gardners
f7e75d5347
debugging and abstraction improvements in rhizome direct
...
synchronisation code. #9
2012-09-21 13:41:27 +02:00
Jeremy Lakeman
222cb80ce7
Modify lookup uri format to distinguish between serval identities and gateway services
2012-09-21 15:17:56 +09:30
Jeremy Lakeman
2fa5fbfee7
Publish and retrieve multiple entries for the same phone number
2012-09-20 16:21:18 +09:30
Jeremy Lakeman
b7c088f2fd
Reduce latency of dummy interface, improve some debug messages
2012-09-20 10:28:02 +09:30
Jeremy Lakeman
ac00c06a18
Improve reliability of tests with dummy interface
2012-09-20 10:28:01 +09:30
Jeremy Lakeman
0538e95be8
Reduce the potential for packet storms
2012-09-20 10:28:01 +09:30
Jeremy Lakeman
dc8a453b7f
Add please explain message
...
- non-tick packets now include a poorly formed SELF_ANNOUNCE to correctly identify every packet sender
2012-09-20 10:28:01 +09:30
Jeremy Lakeman
481dc9218d
Return an error code if ping didn't hear any responses, always log statistics
2012-09-19 14:16:06 +09:30
Jeremy Lakeman
bae1ab310c
Add multi-hop, default route test
2012-09-19 09:54:41 +09:30
Jeremy Lakeman
ee4e05109f
Improvements to dummy interfaces
...
- separate folder configuration
- allow for tickless dummy interface
- allow for "unicast" peer discovery (though there's no packet filtering)
2012-09-19 09:52:14 +09:30
Jeremy Lakeman
5914bc92ce
Use a directory service as a default route
2012-09-19 09:50:29 +09:30
Jeremy Lakeman
23f1110120
Add optional ping counter
2012-09-19 09:48:12 +09:30
Jeremy Lakeman
6d31aa52e7
Use the correct public key when a new keyring is created
2012-09-18 13:43:00 +09:30
Jeremy Lakeman
7c73ca7a78
Finish test and implementation of directory service
2012-09-18 12:30:15 +09:30
Jeremy Lakeman
e854409e0b
Start dna helper immediately (it's convenient for starting another service)
2012-09-18 12:24:33 +09:30
Jeremy Lakeman
09dd9332f8
Implement simple tree structure for directory information
2012-09-17 15:42:30 +09:30
Jeremy Lakeman
ac4567d48a
Merge remote-tracking branch 'origin/master' into sid_handling
2012-09-17 15:38:05 +09:30
Andrew Bettison
9d8707a0ad
Fix broken 'dnaprotocol' tests
...
Explicitly create identities in 'dnaprotocol' fixtures because
start_servald_instances() no longer does it.
The create_single_identity() function was not setting NAMEA, NAMEB, etc. when
they contained a space, because of shell misquoting.
2012-09-17 15:30:05 +09:30
gardners
f0472abf43
added new rhizome direct sources to android build process.
2012-09-14 11:26:40 +02:00
Jeremy Lakeman
f845a18312
Send DNA lookup requests to configured directory service
2012-09-14 17:04:36 +09:30
Jeremy Lakeman
456bf3fdca
Tidy up source port checking
2012-09-14 17:04:35 +09:30
Andrew Bettison
7452c215e2
Fix bug in 'keyring list' command
...
Revealed by recent rhizomeprotocol test improvements. Was always printing
empty DID and name fields.
2012-09-14 16:23:32 +09:30
Andrew Bettison
87133cb2de
Improve testdefs: foreach_instance() function
...
The 'rhizomeprotocol' tests now use create_single_identity() in fixtures (which
tests the 'keyring list' command).
Use foreach_instance() function in various places, and replace functions that
used to loop over instances with functions that work on the current instance.
2012-09-14 16:09:28 +09:30
Andrew Bettison
e994626429
Refactor test definitions
...
Move create_rhizome_identities() from testdefs_rhizome.sh to
create_identities() in testdefs.sh
Rename create_identity() in testdefs.sh to create_single_identity(), uses
create_identities() to do its work.
2012-09-14 15:04:05 +09:30
Jeremy Lakeman
337d428f44
Reconstruct encryption / signature flags
2012-09-14 14:41:17 +09:30
gardners
692eb2cdc9
added BAR list comparison code for Rhizome direct.
...
Now returns series of "I have [newer]"'s and "Please send me"'s,
consisting of a 1 byte ID (0x01 or 0x02 respectively), followed
by the 64bit BID prefix from the BAR. As with all of Rhizome
Direct at present, the geo bounding box is ignored for now.
2012-09-14 12:10:14 +08:00
Jeremy Lakeman
8c49e0e486
Fix logic for periodically sending full SID's
2012-09-14 12:25:40 +09:30
Jeremy Lakeman
ac8d9b93e6
Add stub directory service
2012-09-14 11:50:45 +09:30
Jeremy Lakeman
7b8885fd96
Rework mdp port bindings to use subscriber struct
2012-09-14 11:49:01 +09:30
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