gardners
2a2e520ef5
Various fixes and additions to enable "dna node start" and "dna node stop"
...
command line options to work.
2012-03-15 10:57:37 +10:30
Andrew Bettison
738b70b513
Test and fix ACTION_CREATEHLR idempotency code:
...
- refactor hlrSid() to not return pointer to static buffer, take 3rd arg instead
- introduce SID_STRLEN macro constant, use it everywhere
- reformat some code for readability
2012-03-14 12:00:54 +10:30
Andrew Bettison
6d8089031b
ACTION_CREATEHLR does not create new SID if DID already created
2012-03-13 16:35:15 +10:30
Andrew Bettison
ceefd9b22b
Fix SEGV bug in new transaction cache code
2012-03-13 16:35:15 +10:30
Andrew Bettison
f04a995c5c
First cut at transaction caching to eliminate duplicate message deliveries
2012-03-13 16:35:14 +10:30
gardners
1eb4c34015
Renamed mphlr.h to serval.h
...
(also some temporary debugging has been added in some places)
2012-02-23 12:45:42 +10:30
gardners
2494788390
Mark sockets close on exec so that they don't get stuck/lost when
...
we restart ourselves due to an uncaught signal.
2012-02-23 11:59:06 +10:30
gardners
3fed04e6cd
Added some extra checks for memory corruption (of course now that I
...
am looking, the problem is not happening).
2012-02-15 23:51:12 +10:30
gardners
ce2afbe2ab
Various fixes and addition of memory corruption framework (not yet active).
...
Rhizome now advertises all manifests, instead of accidently skipping some.
2012-02-15 23:38:23 +10:30
gardners
9d3ab08f1e
added debug output to help track down the recvmsg() control message IDs
...
on linux (seem to be different than on BSD).
2012-02-05 17:53:51 +10:30
gardners
355237cc6a
removed IP_RECVDSTADDR which doesn't seem to exist on Linux
...
(or at least on the Android environment)
2012-02-05 16:21:55 +10:30
gardners
5cc6079c0f
Move from recvfrom() to recvmsg() so that we can get packet TTLs on
...
reception. Other changes associated with overlay mesh.
2012-02-05 16:15:19 +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
0868e30caa
Fixed issues with recognition of valid packet formats.
2012-01-09 04:30:23 +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
60e391ecd5
fixing an out-by-one error in ACTION_GET packet handling.
2011-10-06 09:27:04 +10:30
gardners
d5d2bd16b3
added further debug output to chase down corrupt packet errors.
2011-10-06 09:16:47 +10:30
gardners
cbb1939241
Fixed various compiler warnings.
...
Change overlay_frame payload to use an overlay_buffer structure for
consistency and ease of payload construction.
Added some sanity checking to peer score calculation.
Getting closer to being able to TX acks to selfannouncements.
Other little things to accomplish these.
2011-09-05 12:19:53 +09:30
gardners
54cea0b91b
Preliminary work for Rollie to add in Curve25519 crypto layer.
2011-09-01 17:04:25 +09:30
gardners
32a5f03073
Various single-instance variable processing fixes for DNA.
...
Further work on overlay mesh routing.
2011-08-29 16:20:27 +09:30
gardners
4396570745
Fixed DNA simple server and client modes to still work with overlay code in place.
2011-08-15 15:54:11 +02:00
gardners
cf778e1efd
Various further work on overlay mesh.
...
Now resolves some kinds of abbreviated address, and queues up
the need to remind peers of abbreviation schemes it does not support.
2011-08-15 12:51:00 +02:00
gardners
0cf6e545c4
Fixed select() problems with dummy interfaces and EOF reporting.
...
Dummy interfaces now work.
Supressed lots of debug messages.
2011-08-14 10:36:39 +02:00
gardners
c8229c8517
More work towards handling overlay or DNA packets.
...
handling of sender address and sockets to use is still a big fat mess
and likely to be broken.
2011-08-12 21:34:38 +02:00
gardners
7e30d62b79
Cleaned up various compiler warnings. Added packet parser framework for
...
handling overlay frames.
2011-08-12 21:05:11 +02:00
gardners
2f0307a08d
Added mesh potato build script.
...
Updated gateway operation to support mesh potato again.
2011-08-10 15:39:40 +02:00
gardners
5fb7b05265
Added HLR seeding code, so that HLR will always have at least one entry in it.
...
(although it may lack a location entry at present -- should fix that so that
the mobile phone software can just rely on DNA creating a suitable HLR for it).
2011-08-09 14:10:27 +08:00
gardners
92768cdcd0
core of overlay mode getting closer.
...
Compiles. With -N start to try to send regular packets.
2011-08-08 22:41:46 +08:00
Jeremy Lakeman
67eec6c3ff
Send broadcasts based on network addresses
2011-07-04 11:20:46 +09:30
Jeremy Lakeman
f532b32efa
Ensure received message buffer is terminated
2011-05-26 14:25:59 +09:30
Jeremy Lakeman
9b3c4f13bb
Reply with sid from hlr file
2011-05-25 10:09:11 +09:30
gardners
803def3633
Add find hlr check, fix compile errors
2011-05-24 10:10:58 +09:30
gardners
23b791bd0a
Minor fixes to get Thomas' DT reception and intent broadcasting working.
2011-05-23 21:12:31 +09:30
Jeremy Lakeman
83f88a6d08
Thomas' modifications to recieve DT SMS and escalate to Java via an intent.
2011-05-23 21:05:15 +09:30
gardners
d20da9616e
Initial work on proper gateway support with direct tie-in to Asterisk.
2011-05-16 16:58:25 +09:30
gardners
def9a60fe5
Added more from Raiders Of The Lost Source (gateway mode)
2011-05-06 12:46:04 +09:30
gardners
f024213414
Added instrumentation logging option.
2011-05-05 18:40:38 +09:30
gardners
9912678203
Merge branch 'master' of github.com:servalproject/serval-dna
2011-04-27 21:19:03 +09:30
gardners
5a7381bd2a
Fixes for OSX compilation, preparation for adding overlay mesh network.
2011-04-27 21:18:09 +09:30
Jeremy Lakeman
bfccb3816d
Allow clients to request variables for all records by passing empty did.
...
Always add DONE flag to the last packet sent.
2011-04-27 12:17:26 +09:30
Jeremy Lakeman
a2bcb56e1f
Minor bug fixes, mostly todo with uninitialised variables.
2011-03-31 00:09:42 +10:30
Jeremy Lakeman
59a0a4a2a0
Build a win32 console exe with VS2008 express
2011-03-30 22:17:11 +10:30
gardners
f537141b13
Preparatory work for Thomas to implement sending/receiving SMS over the mesh.
2011-03-22 17:03:14 +10:30
gardners
601ca12499
Added support for batmand.peers file for reliable peer querying.
...
Re-ported for asterisk module.
2011-03-21 13:08:35 +10:30
paul.gardner.stephen
f225465dfc
Initial check in
...
git-svn-id: http://serval-dna.googlecode.com/svn/trunk/trunk/dna@2 6d01b88e-114a-4e5d-930d-818638e25ad7
2010-07-13 12:15:46 +00:00