Jeremy Lakeman
10234018b0
Add interface name to route print output
2013-02-20 16:18:58 +10:30
gardners
5a3dec28d9
make rhizome over mdp idle timeout configurable at runtime.
2013-02-20 16:18:57 +10:30
gardners
065a1c6f09
add periodic rhizome transfer statistics
2013-02-20 16:18:57 +10:30
gardners
a23612428b
make rhizome over mdp block size configurable.
...
1K seems too big to be reliable on our prototype UHF radio links,
as CRCs fail almost all the time. #48
2013-02-20 16:18:57 +10:30
gardners
57013c3a03
removed temporary verbose output from test.
2013-02-20 16:18:57 +10:30
gardners
f52214e229
make return codes of "servald stop" discriminate between different
...
failure modes (makes it easier to debug some test failures)
2013-02-20 16:18:57 +10:30
gardners
3301a51883
fix behaviour when rhizome http service is disabled so that
...
rhizomeprotocol test 3 can detect when rhizome http is disabled,
even though the http server itself runs for providing informational
services.
2013-02-20 16:18:56 +10:30
gardners
2252fdcaa7
created tool for automatically finding IN()s without matching
...
OUT()s or where return() is used instead of RETURN().
Added OUT() to end of all functions using IN() that lacked it to
make it easier to statically analyse this invariant.
Fixed several return instead of RETURNs detected through use of
this tool. #49
2013-02-20 16:18:56 +10:30
gardners
2bbdd523f0
increase size for unix domain socket pathname from arbitrary 100
...
to PATH_MAX to solve tests erroring out on OSX with long temporary
file names.
2013-02-20 15:36:32 +10:30
gardners
641d749ab4
Create files for large rhizome bundles
...
- configurable size threashold
2013-02-20 15:36:32 +10:30
gardners
0ac403717d
improve rhizome mdp re-request timeout handling so that it doesn't
...
do amazingly bad things on low-bandwidth packet radio links.
2013-02-20 15:36:31 +10:30
gardners
c6354a5288
always show sign when displaying link budget.
2013-02-20 15:36:31 +10:30
gardners
34bf9127a1
make rhizome transfer timeouts consistent.
2013-02-20 15:36:31 +10:30
gardners
f681356f52
reformat /rssi web page to better fit on phone screens.
2013-02-20 15:36:31 +10:30
gardners
41dedb5e24
fixed two actual bugs in upper7_decode()
2013-02-20 15:36:31 +10:30
gardners
71ac161dd3
fix segfault bug in slip decoding.
2013-02-20 15:36:31 +10:30
gardners
7cc4324ac6
added facility to log a clue for crash handler to hint where things
...
got stuck/caused a crash.
2013-02-20 15:36:31 +10:30
gardners
d593b569c1
improve reporting of broken manifests, and make conditional on
...
debug.rejecteddata
2013-02-20 15:36:30 +10:30
gardners
f465f3a9ee
Add lots of profiling to assist in debugging
...
- made some debug output conditional.
- make it possible to debug slip decoding without getting swamped by other output.
- Improve reporting of unnamed schedule() calls.
- always collect performance statistics, and report on any excess
use (>1sec in every 3), even if debug.timing is not enabled.
- include file size information in Rhizome transfer messages.
- reduce output when debug.rhizome_rx is set.
2013-02-20 15:36:30 +10:30
gardners
80168e3530
Improve debug logging
...
- add debug.trace to help track down segfaults
- warn about alarms without names (which are then hard to track down).
2013-02-20 15:36:30 +10:30
gardners
1e76772c3a
print a back trace whenever any signal is received.
2013-02-20 15:36:30 +10:30
gardners
e551017896
push profiling down deeper into rhizome_fetch_poll()'s children.
2013-02-20 15:36:29 +10:30
gardners
60015a1aee
keep HTTP server running when rhizome over http is disabled, but
...
don't serve and rhizome requests.
2013-02-20 15:36:29 +10:30
gardners
506ceea309
log when BAR lookups are slow.
2013-02-20 15:36:29 +10:30
gardners
83625198cb
tweak BAR lookup filter in light of packets arriving with 20 BARs
...
at a time, which can take 4seconds(!) to process on a WR703N.
2013-02-20 15:36:29 +10:30
gardners
8befcf7c11
create indexes for ID and VERSION on MANIFESTS table to reduce the
...
time it takes to lookup whether BARs are interesting.
2013-02-20 15:36:29 +10:30
gardners
17ea1b69b3
don't look at all BARs if we are too slow.
2013-02-20 15:36:29 +10:30
Jeremy Lakeman
d80b5a0c8d
Prevent sending probe packets to invalid addresses
2013-02-20 15:36:28 +10:30
Jeremy Lakeman
eeb7fb7f9b
Reinitialise an interface when it comes back up
2013-02-20 15:36:28 +10:30
Jeremy Lakeman
748a2d8957
Squelch log messages
2013-02-20 15:36:28 +10:30
gardners
f114e6d19e
add progress data for each rhizome transfer.
2013-02-20 15:36:28 +10:30
gardners
d49649ed96
add stored bundle count to /rssi web page display.
2013-02-20 15:36:28 +10:30
gardners
3bd4c49af5
add more info to /rssi http page.
2013-02-20 15:36:27 +10:30
gardners
d251f46638
add SID to rssi display
2013-02-20 15:36:27 +10:30
gardners
b9c924c5fe
make rssi web page text really big for small phone screens.
2013-02-20 15:36:27 +10:30
gardners
66956d84ce
add /rssi page to rhizome web server to allow easy querying of
...
radio link budget.
2013-02-20 15:36:27 +10:30
gardners
610f7acdf8
fixed test for malformed packets.
2013-02-20 15:36:27 +10:30
Jeremy Lakeman
ca5eb7d8bb
Reinstate simple slip code, improve debug messages
2013-02-20 15:36:27 +10:30
Jeremy Lakeman
2d566dbd5b
Fix fake radio
2013-02-20 15:36:26 +10:30
gardners
80a5feb76a
show rejected packets iff debug.rejecteddata set
2013-02-20 15:36:26 +10:30
gardners
042cfc3fa1
add debug.rejecteddata option for reporting bad packets/manifests
...
etc.
2013-02-20 15:36:26 +10:30
gardners
6a620fe221
added command line test for serial encapsulation.
...
renamed "crypt test" to "test crypt" for consistency.
2013-02-20 15:36:26 +10:30
Jeremy Lakeman
ed7912295a
Use correct variable size for crc's
2013-02-20 15:36:26 +10:30
Jeremy Lakeman
e4d6520c46
Don't request manifests that are already in the fetch queue
2013-02-20 15:36:25 +10:30
Jeremy Lakeman
2193d8fb74
Process incoming stream packets
2013-02-20 15:36:25 +10:30
gardners
4d674d06b9
improved debugging arrangements for packetradio.
2013-02-20 15:36:25 +10:30
gardners
b79e8261d5
added missing crc32.c and fixed indenting in slip.c
2013-02-20 15:36:25 +10:30
gardners
5b26cabee3
fixed bugs in UPPER7 SLIP encapsulation.
...
Improved debugging of the same.
2013-02-20 15:36:25 +10:30
gardners
b5939f8967
display packet radio link budget periodically, even when debugging
...
disabled.
2013-02-20 15:36:24 +10:30
gardners
fea06932e5
added new slip.c with 7-bit-high packet encapsulation, packet length
...
and CRC32.
Also added in-line RSSI report reception for RFD900 radios.
2013-02-20 15:36:24 +10:30