Commit Graph

2264 Commits

Author SHA1 Message Date
gardners
74245f6f57 fix building on android. 2013-05-07 15:09:22 +09:30
gardners
d44e678a4e use generate_nonce() to generate a nonce, instead of reading from
/dev/urandom every time.
2013-05-07 14:43:35 +09:30
gardners
dc49671583 take sleep() out of urandomdev(), since it just causes problems, and
read() should block if there aren't bytes available yet.
2013-05-07 14:42:47 +09:30
gardners
3f77702ee6 add nonce generation function to remove strain on /dev/urandom on
slow embedded devices. Wrote test to make sure that nonces are
indeed unique.
2013-05-07 14:41:59 +09:30
gardners
243a26707e reset urandomfd if it delivers an EBADF (seeing this on Mesh Extenders) 2013-05-07 13:52:19 +09:30
gardners
0898981807 add time stamp to rssi.csv 2013-05-07 13:40:38 +09:30
gardners
3692a959d5 add rssi.csv http request 2013-05-07 13:40:07 +09:30
Jeremy Lakeman
af14aaa740 Fix network scanning 2013-05-03 17:00:39 +09:30
gardners
7cbd0a98ed added missing copyright message. 2013-05-03 16:29:51 +09:30
gardners
db4ad96298 fixed message length field handling. 2013-05-03 16:27:19 +09:30
Jeremy Lakeman
f405ba5337 Send sequence number on all broadcast frames 2013-05-03 16:23:23 +09:30
Jeremy Lakeman
b316de041e Extra tests for failures 2013-05-03 16:21:30 +09:30
Jeremy Lakeman
b8a2026618 Use appropriate cli interface functions for console output 2013-05-03 16:21:29 +09:30
gardners
c9995dbf52 clean up more compiler warnings etc. 2013-05-03 16:11:26 +09:30
gardners
c3a7bfdb89 various cleanups. 2013-05-03 15:52:20 +09:30
Jeremy Lakeman
79f4a78278 Add link state monitor commands 2013-05-02 16:19:59 +09:30
Jeremy Lakeman
a29c1d3468 Don't override subscriber interface due to unicast probe packets 2013-05-02 14:29:31 +09:30
Jeremy Lakeman
dd03014b44 Choose the best link from a neighbour 2013-05-02 14:29:31 +09:30
Jeremy Lakeman
9ee09e36a0 Replace old routing engine with new link state engine 2013-05-02 14:29:28 +09:30
Jeremy Lakeman
c6a9564dc3 Track incoming neighbour links w. multiple common interfaces 2013-05-02 14:28:32 +09:30
alexandrasclapari
b8bc580af0 Two command lines working : read message log and add message but need to fix the length (calculated by the system and not provided 2013-04-30 20:49:53 -07:00
Andrew Bettison
4e48725c93 Merge branch 'new-keyring' into 'development' 2013-04-30 17:57:59 +09:30
Andrew Bettison
cf26a77019 Use "keyring dump" command in back-compatible keyring test 2013-04-30 17:56:10 +09:30
Andrew Bettison
1f10f05302 Add "keyring dump" command 2013-04-30 17:29:06 +09:30
Andrew Bettison
74c82648f2 Fix rotbuf_advance(), add rotbuf_remain() 2013-04-30 17:28:32 +09:30
Andrew Bettison
ba57855160 Add alloca_str_toprint_quoted() macro to str.h 2013-04-30 17:27:10 +09:30
Andrew Bettison
94c6562ee1 Add erealloc() function to mem.h, mem.c 2013-04-30 17:26:27 +09:30
Andrew Bettison
deed4665fe Fix keyring test copyright and header comments 2013-04-29 17:38:01 +09:30
Jeremy Lakeman
559b270966 Only compare routes that have all links via the same neighbour 2013-04-29 17:07:36 +09:30
Andrew Bettison
e6438d74d3 Improve keyring pack code 2013-04-29 16:00:58 +09:30
Andrew Bettison
78b3a3a8c4 Add keyring test case (combined PINs) 2013-04-29 16:00:17 +09:30
Andrew Bettison
ae69da284f Add keyring back-compatibility test case 2013-04-29 15:11:04 +09:30
Andrew Bettison
80280de998 Improve test framework: set TFWSOURCE env var 2013-04-29 15:10:16 +09:30
Andrew Bettison
6fd49099cb Rewrite keyring pack/unpack for extensibility
Use new rotbuf primitives to handle rotated buffers
2013-04-29 14:31:50 +09:30
Andrew Bettison
06cb5de304 Add new rotbuf primitives 2013-04-29 14:30:44 +09:30
Jeremy Lakeman
d7caaf4973 Add length of link record for forward compatibility 2013-04-29 10:06:22 +09:30
Jeremy Lakeman
85b885dde2 Add basic link state routing 2013-04-26 16:54:01 +09:30
gardners
bca0145b13 detect when USB serial adapters have been pulled on OSX
(was spinning in poll())
2013-04-26 16:51:31 +09:30
gardners
05d4c14188 added missing symbols for parsing rs232baudrate 2013-04-26 15:33:09 +09:30
gardners
8045e57b81 fixed version_string.sh to work (or at least not fail) with git
1.7.3.
2013-04-26 15:27:53 +09:30
gardners
3e7de24bdf added uartpbs and ctsrts config options to packet radio serial
interface configuration options.
2013-04-26 15:16:51 +09:30
Andrew Bettison
91a0b2520f Forward-compatible keyring format 2013-04-23 18:13:01 +09:30
Andrew Bettison
8771a50b14 Fix TTL out-of-range bug
Was causing two routing tests to fail since the TTL decrement
logic was fixed in a8b88a46

The default TTL of 64 overflowed the 5-bit unsigned int in the MDP
packet header
2013-04-23 16:02:39 +09:30
Andrew Bettison
121ae2d609 Improve timeout control in routing tests 2013-04-22 16:01:38 +09:30
Andrew Bettison
e66c39a213 Improve config documentation 2013-04-16 12:44:47 +09:30
Andrew Bettison
f72e64fead Minor improvements to config doco 2013-04-15 19:20:35 +09:30
Andrew Bettison
534bf7a1a2 Improve network interface configuration doco 2013-04-15 18:59:49 +09:30
Andrew Bettison
64699101b0 Update Servald network interfaces documentation 2013-04-15 16:30:45 +09:30
Andrew Bettison
ddfcc60331 Log WARNing not ERROR for missing dummy interface file 2013-04-15 16:30:07 +09:30
Andrew Bettison
521e04a1c6 Update configuration and logging instructions 2013-04-12 17:18:53 +09:30