Commit Graph

22 Commits

Author SHA1 Message Date
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
f0d5cd172e Fixed responding to legacy requests from overlay mode. 2012-01-09 04:19:52 +10:30
gardners
ab3813f127 Added new -m command line option to show multiple responses. 2011-12-04 17:48:51 +10:30
gardners
0bae6992c0 Fixed bug with blank recvaddr fields when getting replies.
(there is still some ugly strangeness in the passing around of
recvaddr structures for no apparent reason.)
2011-12-02 09:59:47 +10:30
gardners
1c9f7dff12 Reinforced null termination of string when appending IP to @ in
resolution.
2011-12-02 05:45:07 +10:30
gardners
54cea0b91b Preliminary work for Rollie to add in Curve25519 crypto layer. 2011-09-01 17:04:25 +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
262346a182 Fixed one (of possibly many) bugs introduced into simple server mode by the new overlay mode code. 2011-08-15 13:54:05 +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
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
Jeremy Lakeman
67eec6c3ff Send broadcasts based on network addresses 2011-07-04 11:20:46 +09:30
gardners
09ca959fae Assorted unknown changes. Updated Makefile.in etc to properly build serval.c for building asterisk module. 2011-06-15 13:52:30 +09:30
gardners
5a7381bd2a Fixes for OSX compilation, preparation for adding overlay mesh network. 2011-04-27 21:18:09 +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
3168789261 DNA now appends IP to location records on receipt, instead of keeping
them in the HLR.  This allows IP address of phones to change without
invalidating HLR.  Does introduce issues for verification of records.
Will deal with that in due course.
2011-03-30 15:07:31 +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
af2ec8dc51 Added -A option to ask for the address of a peer.
Compiled in to use batmand.peers by default without needing -l.
Added peerAddress() function to get address of a peer programatically.
2011-03-22 16:31:02 +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