gardners
db68286426
Various VoMP state machinery fixes. Call can now progress to
...
ringing at each end.
2012-04-21 20:36:26 +09:30
gardners
6713ff67cb
progress towards VoMP. State control stuff is still up the creek.
2012-04-21 09:07:36 +09:30
gardners
c8968bacef
disabled paranoid malloc debugging
2012-04-20 19:26:08 +09:30
gardners
d843e59bd5
vomp status and vomp dial command line apps added.
...
now debugging dial operation.
2012-04-20 17:12:44 +09:30
gardners
c52e91ef46
added code to send VoMP notifications to local listeners and to the
...
far end. Ready to start making command line tools to enquire and
manipulate call state.
2012-04-20 08:02:03 +09:30
gardners
ddeb316421
Added VOMPEVENT_CALLINFO MDP message flag to get info on
...
specified call (if present), and summary of all valid calls
(session token + state)
2012-04-20 05:44:51 +09:30
gardners
cbb4df7c11
Added call info enquiry MDP message.
2012-04-20 05:38:45 +09:30
gardners
ea372aece2
Added VoMP call-pickup message handling.
2012-04-20 05:25:48 +09:30
gardners
57be9bef32
Further work on VoMP. MDP message to create a call should now
...
do something.
2012-04-20 05:19:42 +09:30
gardners
b1a7ccd32f
Further work on getting VoMP together. Added MDP messages to add
...
and remove a client from being interested in the phone-call state.
2012-04-19 21:54:37 +09:30
gardners
a29a1283f7
More work towards integrating VoMP (creating unix domain socket
...
interface for call control/audio handling).
2012-04-19 21:54:36 +09:30
Andrew Bettison
2bfa0ee7d2
Tighten up command line parsing
...
- add optional offset and limit args to rhizome list
- validate argument values
2012-04-19 18:03:04 +09:30
gardners
e74e8056e0
Work towards VoMP audio handling (very preliminary)
2012-04-19 08:34:57 +09:30
gardners
729ede461d
Added hardwired MDP listener port for VoMP.
...
Moved VoMP header material into serval.h for use.
2012-04-19 07:34:12 +09:30
gardners
e7e8b2d630
fixed bug in RFS size patching.
...
A lot of debug output tweaks to track the problem down.
2012-04-16 06:06:43 +09:30
gardners
caab3078e5
substantial work towards public key signing of MDP frames and
...
the associated SID:SAS mapping cache and request packets.
2012-04-15 03:17:36 +09:30
gardners
2581e9fe4c
Revamped dequeuing of TXd frames.
...
Now almost works (queues don't stay full of junk), although
mdp ping still gets a duplicate reply for 2-hop pings.
2012-04-14 23:12:45 +09:30
gardners
c37d83bddd
forwarding of overlay frames substantially in place, but requires
...
testing.
2012-04-14 10:56:03 +09:30
gardners
5f0fa352e3
Updated function prototype following fix for MDP echo port.
2012-04-14 09:38:55 +09:30
gardners
283b29af6b
Improved packet tx and rx debugging and made it more logical.
2012-04-14 06:38:11 +09:30
gardners
167c59d50d
Added debug option to suppress rhizome traffic to make it easier
...
to see what is going on.
Similarly there is now a debug option to show outgoing packets.
2012-04-14 06:26:20 +09:30
gardners
f972c988b9
Adding support for marking payloads as broadcast so that they can
...
be directed to all interfaces if they are broadcast (previously
overlay mesh would "broadcast" to one semi-random interface only).
2012-04-14 04:06:08 +09:30
gardners
ca24513599
Work towards actually authcrypting MDP payloads.
...
Not complete.
2012-04-14 02:14:41 +09:30
gardners
099e7ab118
Fixed searching for DIDs with wildcard with keyring.
...
General improvements to handling identities from keyrings.
Fixed placing of DONE flag for each identity that a query
produces results as.
Various other fixes.
2012-04-13 10:23:59 +09:30
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
gardners
7b8d78533d
Added commandline interface to set a did.
...
Re-enabled payload rotation in keyring PKRs.
Getting and setting dids now works.
keyring list displays SID:DID pairs.
2012-04-12 23:16:25 +09:30
gardners
e0a385f200
Added functions for setting/changing DIDs and also for finding
...
identities that have a given DID (no wildcard matching just yet).
2012-04-12 17:18:28 +09:30
gardners
4ceefb26de
Added new keytypes for keyring for Rhizome Secret and for storing
...
DIDs (which are probably not normally secret, but keeping with
with an identity is a good thing, anyway).
2012-04-12 17:01:25 +09:30
gardners
e89673ee89
Added command line access for simple keyring functions for testing.
...
Creating keyring files works.
Writing PKR blocks seems more or less working, but we can't (yet)
read them back.
2012-04-12 14:00:51 +09:30
gardners
f24d06517a
Writing of identities and keys now much closer to happening.
2012-04-12 12:32:01 +09:30
gardners
8efb6fd497
Work towards being able to create a new identity.
...
Still need to pack, crypt and store the resulting identity.
2012-04-12 07:52:50 +09:30
gardners
9b51192144
More work on keyring management. Decrypting (but not verification)
...
of PKRs is now more or less there.
2012-04-12 07:52:50 +09:30
gardners
2b260402b5
Added keyring.c and begun work on routines to manipulate keyrings.
2012-04-10 12:56:32 +09:30
gardners
6127b25602
Added overlay frame type for identity enquiry (proving ownership
...
of a signing key).
2012-04-03 09:22:58 +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
8fbbdc5087
More work on MDP.
...
Swapped functions of overlay_mdp_send() and overlay_mdp_dispatch()
to match normal socket operations and thus avoid programmer confusion.
2012-03-28 11:28:04 +10:30
gardners
aa543e1766
Various fixes and work towards MDP ping working.
...
MDP clients can now request the set of local addresses.
Framework is improved to avoid info leaks by sending more bytes
in an MDP frame than are necessary, but without having to bzero
almost 2KB each time.
2012-03-27 19:25:38 +10:30
gardners
3e0e1bf7e3
Disabled extra verbose malloc debug stuff.
2012-03-22 17:15:51 +10:30
gardners
2b42f77ccf
Fixed some bounds checking, and added some fairly rigorous memory
...
handling debug aids. No known memory corruption bugs remain, I
think.
2012-03-22 17:10:27 +10:30
gardners
13d1d3084e
Various fixes to track down memory handling bugs.
...
Fixed one free-before-time bug with queuing MDP frames.
Some heap corruption bug seems to remain.
2012-03-22 16:33:25 +10:30
gardners
30e2540470
Various fixes and work towards sending MDP frames.
...
Broadcast and unicast addresses are accepted. Some frame headers
are set. Payload is yet to be set, and ciphered &/or signed as required,
and queueing is not yet verified.
2012-03-21 12:57:24 +10:30
gardners
c71ddbbd18
MDP ping getting closer: ping loop showing server-returned error
...
messages now works. Server currently reports error when trying to
send MDP_TX frames (since it is not yet implemented), which the
client successfully displays. Onto making the server handle the
MDP_TX frames.
2012-03-21 03:55:13 +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
7ee72b3cba
Further work on MDP. Client now receives server replies. So we
...
can actually bind an MDP port. Next step is to make use of it to
send a packet.
2012-03-21 03:00:39 +10:30
gardners
8e6f6ee925
Work towards getting MDP working. Still some fun and games with
...
getting unix domain sockets to play nicely. Some superfluous debug
code is present while working this through.
2012-03-20 17:11:58 +10:30
gardners
70497df7b5
More work on MDP. Removed some debug fluff.
...
Added framework for MDP ping, and some work towards MDP port binding
and sending packets with option to wait for reply. MDP server
doesn't yet support port binding, and client doesn't yet support
reading replies.
2012-03-19 16:06:34 +10:30
gardners
f384e6ea79
Further preparatory work for MDP. Next stop is actually checking
...
for inbound MDP connection requests on the unix domain sockets.
2012-03-17 13:02:09 +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
9fb94fc877
More work on dna identity cache.
2012-03-15 10:57:38 +10:30
gardners
ec8a81c206
Rhizome now uses serval.conf to get rhizome database size limit.
2012-03-15 10:57:37 +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
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
f04a995c5c
First cut at transaction caching to eliminate duplicate message deliveries
2012-03-13 16:35:14 +10:30
Jeremy Lakeman
172bdb61ed
Add DNA name variable
2012-03-06 11:21:10 +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