Commit Graph

43 Commits

Author SHA1 Message Date
gardners
5ac83f9ca1 Replaced use of HLR with keyring for phone number lookups and
other functions.  Not yet tested.
2012-04-13 09:25:03 +09:30
Andrew Bettison
74986a0c30 Implement "rhizome add file" and "rhizome list" 2012-04-02 17:42:40 +09:30
Andrew Bettison
e87e80aee7 Create instance directory in "set" and "node start" 2012-03-29 15:03:17 +10:30
Andrew Bettison
a338c2f0f9 Refactor instance path handling
- handle buffer limits when forming path names within instance dir
 - uniform use of serval_instancepath()
2012-03-29 14:07:07 +10:30
gardners
6e3fe903d9 Improved shutdown behaviour to properly handle client mode (don't
delete server socket if you are a client).  Also added main MDP
ping loop of sending packets.  Reading returned packets not yet
implemented.  Server handling of MDP_TX packets also not yet
implemented.
2012-03-21 03:27:47 +10:30
gardners
f43143bd0f Added code to remove stale unix domain socket files on startup and
shutdown.
2012-03-19 09:43:11 +10:30
gardners
b8d66bf19b Improved instance path handling so that there is a simple function
to get the current instance path, regardless of how it was determined.
2012-03-17 09:28:49 +10:30
gardners
5b7c3c5bb8 Improved signal handling so that pressing ^C results in a clean
shutdown.
2012-03-15 10:57:38 +10:30
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
Jeremy Lakeman
172bdb61ed Add DNA name variable 2012-03-06 11:21:10 +10:30
Jeremy Lakeman
6d3e720784 Fix compile error with ndk-build 2012-02-27 12:15:52 +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
4f056c4088 Modified to call new command-line structure if first arg doesn't
start with a dash, and also warns when using the old structure.
2012-02-23 12:38:57 +10:30
gardners
18385fff82 added missing break statements to signal handler to show why serval
process is restarting itself.
2012-02-23 11:56:46 +10:30
gardners
979575f477 Added explanation when DNA restarts after receipt of a signal.
Also made sure we close interface file descriptors for overlay mesh
when we exec() to restart.
2012-02-17 12:16:43 +10:30
gardners
80a5507bd6 added call to memabuseInit(). 2012-02-17 00:39:09 +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
957262ed47 Added DEBUG_RHIZOMESYNC debug tag. 2012-01-27 16:21:22 +10:30
gardners
4d56809b63 Added debug selector for broadcasts. 2012-01-11 07:17:00 +10:30
gardners
44c0765981 Various debugging code cleanups.
Fixed some address resolution bugs (for when sender address is not
fully known).
There is still a bug in dequeuing packets though it seems.
2012-01-10 17:21:26 +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
f56ffedfa2 Made -r also set hlr.dat location. 2012-01-09 09:06:35 +10:30
gardners
4e6ef2e69e Various fixes to Rhizome web server and BAR generation.
Can now present a set of BARs via HTTP.
2012-01-03 16:35:02 +10:30
gardners
000dd2db55 Moved rhizome prototypes into separate header file.
(needed for android building where undefined functions are
an error, not a warning).
2011-12-19 08:04:31 +10:30
gardners
1628d5cbfb Added command line options to DNA to import a rhizome bundle. 2011-12-19 05:46:34 +10:30
gardners
6ec1d6032f Further work towards sqlite3 backend for rhizome.
Wrote function to store file to db iff it is not stored already,
and update the priority flag on the stored file.
Uses blobio to progressively load large blobs to make it friendly
on small memory systems.
2011-12-17 12:11:32 +10:30
gardners
ab3813f127 Added new -m command line option to show multiple responses. 2011-12-04 17:48:51 +10:30
gardners
5778e9d016 further checks against corrupt hlr 2011-10-02 21:18:16 +10:30
gardners
d90b921188 Added signal catcher to restart after crash 2011-10-02 20:28:08 +10:30
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
9108fd5c59 Broadcast on each interface now works, at least for OSX. 2011-08-12 09:58:25 +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
8c2a97a609 Updated usage message to include -E and explain -I and -E. 2011-08-09 14:23:42 +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
gardners
6e172c76c9 Fixed broadcast address discovery to work on Mac.
Fixed Linux assumptions.
Added parsing of overlay mesh interface specification from command line.
Separated overlay mesh code out into several files.
Overlay mesh is still far from working, but the infrastructure is coming together.
2011-08-08 16:11:05 +09:30
Jeremy Lakeman
8910febc18 Default asterisk module to use routing table 2011-06-08 12:14:16 +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
bba5ec6bd8 Reimported features from Raiders Of The Lost Source (gateway, hlr import/export) 2011-05-06 11:57:33 +09:30
gardners
f024213414 Added instrumentation logging option. 2011-05-05 18:40:38 +09:30
Jeremy Lakeman
59a0a4a2a0 Build a win32 console exe with VS2008 express 2011-03-30 22:17:11 +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