gardners
f3d288b10e
fixed accidental typo.
2012-05-03 11:36:44 +09:30
gardners
03bfa6e0c7
removed dna resolution poll failure error messages.
2012-05-03 11:25:27 +09:30
gardners
2e549a0f96
Switching to abstract name space for socket to get around
...
permission denied errors.
2012-05-03 11:10:23 +09:30
gardners
0c060ce782
found real cause and fixed for poll()/linux bug (forgot to listen)
2012-05-03 04:00:26 +09:30
gardners
a6faafa0bd
and add monitor interface to build for android.
2012-05-03 03:42:35 +09:30
gardners
eb8e34bcde
make sure monitor interface announces creation of new calls.
2012-05-03 03:41:26 +09:30
gardners
25f81aeaaf
fixed bug with cancelling calls due to lack of listeners.
...
worked around poll() with accept() unix domain socket linux bug.
generally hooked in the unix domain stream socket interface for
monitoring calls (and later rhizome).
2012-05-03 03:37:03 +09:30
gardners
eb8ffeb71f
progress towards monitor interface for following calls.
2012-05-03 03:00:34 +09:30
gardners
d637f31ab7
work towards stream unix domain socket to allow Android/Java
...
monitoring of call status and rhizome bundle arrivals.
2012-05-03 02:31:12 +09:30
Andrew Bettison
7ba15ccdd7
Add "rhizome extract file" command with tests
2012-05-02 17:57:35 +09:30
Andrew Bettison
6e959fd34c
More tests for "rhizome extract manifest"
...
Proper handling of unknown and invalid manifest IDs
2012-05-02 16:24:27 +09:30
Andrew Bettison
572f8a3a93
Improve test for "rhizome extract manifest"
2012-05-02 16:08:27 +09:30
Andrew Bettison
146eb7cdfd
Add "rhizome extract manifest" command
2012-05-02 16:03:09 +09:30
gardners
c9e429e36b
and another fd leak.
2012-05-02 02:33:38 +09:30
gardners
cf500085b4
fixed file descriptor leak when trying to bind to an interface.
2012-05-02 02:32:37 +09:30
gardners
b281edec05
filter out invalid SIDs when generating.
2012-05-02 02:32:21 +09:30
gardners
6464ae8100
"dna lookup" now displays name
2012-05-01 14:42:15 +09:30
gardners
14e4af6392
DNA replies now include name. "set did" now accepts name.
...
Keyring now stores name. "node info resolvedid" now returns name.
2012-05-01 14:38:09 +09:30
gardners
4234cb3ed5
changed bcmp to memcmp
2012-05-01 13:41:22 +09:30
gardners
92192654d0
cli_puts()ify "dna lookup". Add duplicate suppression to dna lookup
2012-05-01 13:39:43 +09:30
gardners
44d0feb575
improved "stop" functionality to better realise when a process
...
is no longer running.
2012-05-01 07:05:02 +09:30
gardners
3ca1c9c2b6
only close client socket if it has already been opened.
2012-05-01 06:58:07 +09:30
gardners
77f2220134
removed silly call to client_done when sending every MDP message.
2012-05-01 06:50:57 +09:30
gardners
b335424cd5
improved debug output for when sendto fails.
2012-05-01 06:43:22 +09:30
gardners
6e9d9783b8
various measures to prevent stale MDP bindings from hanging around
...
and causing pain.
2012-05-01 06:10:47 +09:30
gardners
da494c7124
removed debugging output
2012-05-01 05:26:28 +09:30
gardners
1b9f706209
fixed bug in dispatch of rhizome advertisements.
...
hopefully no more mal-formed packets.
2012-05-01 05:25:10 +09:30
gardners
3276b33c73
disabled some debugging output.
2012-05-01 05:16:16 +09:30
gardners
365802b5a1
added android logging library to build for libserval.
2012-04-30 21:28:00 +09:30
gardners
590b53975c
added some more debugging for finding out why numbers wont resolve
...
from servald in java interface.
2012-04-30 21:06:40 +09:30
gardners
e14793486d
added code to log all errors to logcat when on android.
2012-04-30 20:45:50 +09:30
gardners
70a0f9e4a1
changed client socket path to include both pid and 32-bit random
...
value. clutter should be constrained by the previous addition of
socket cleanup code.
2012-04-30 20:07:22 +09:30
gardners
cfe5f303e7
added cleaning up of client socket when ending command line
...
execution so that multiple calls from java can succeed.
2012-04-30 20:07:22 +09:30
Andrew Bettison
7e7ab30808
Refactor JNI command-line interface
...
Does not depend on ServalDResult class - appends output fields to a supplied
list instead, and returns the integer status
Does not depend on ServalDReentranceError class - uses
java.lang.IllegalStateException instead
2012-04-30 17:45:24 +09:30
gardners
ae9ecd74c4
by default replace old MDP bindings instead of returning with an
...
error.
2012-04-30 15:45:07 +09:30
gardners
900bfab1e9
changed client sockets to use PID instead of random 32bit number.
...
Means that bindings can be reused more easily, and directory doesn't
fill up with stale sockets so easily.
2012-04-30 15:34:54 +09:30
gardners
e38854d4c0
improved "stop" command to try several times.
2012-04-30 15:34:41 +09:30
gardners
808ef53d0f
"node info" command can now do DNA lookups to get phone #
2012-04-30 15:12:31 +09:30
gardners
fcb329f828
and a fix to that last fix.
2012-04-30 07:08:17 +09:30
gardners
f20d136c9f
fixed passing "broadcast" to mdp ping (will now be accepted in other
...
places that want a SID as well)
2012-04-30 07:07:12 +09:30
gardners
f174912124
fixed sense of validateSid() to work with cli infrastructure.
...
(mdp ping with a SID works again now)
2012-04-30 07:01:21 +09:30
gardners
8a7d3e44f3
fixed bug in getmyaddrs() introduced in making "id peers" work.
2012-04-30 06:53:10 +09:30
gardners
1ebe63a470
cleaned up some debug output introduced during previous bug fixes.
2012-04-30 06:25:54 +09:30
gardners
c3fe7ee8e3
"id peers" now returns something!
2012-04-30 06:16:03 +09:30
gardners
03aa6cbf49
debugging output tweaks.
2012-04-30 06:01:34 +09:30
gardners
cdb8c702bd
fix nasty overlay_abbreviation error when sending self-announcements.
2012-04-30 05:57:30 +09:30
gardners
08cf7f9639
fixed some bugs in overlay mesh routing score calculation and
...
selfannounce ack packet formats. more remains to be done.
2012-04-29 13:10:54 +09:30
gardners
d726183808
cleaned up debug output.
2012-04-29 12:01:56 +09:30
gardners
c9863fe11e
lots of fixes to get overlay mesh routing working on linux with
...
real network interfaces and no dummy interfaces. neighbour discovery
now seems to work.
2012-04-29 11:56:47 +09:30
gardners
97c74654c1
fixed build error on centos/ubuntu linux.
2012-04-28 20:44:20 +09:30