Commit Graph

2436 Commits

Author SHA1 Message Date
Jeremy Lakeman
0c681b879d Send full manifest with bundle announcement 2013-07-02 12:07:04 +09:30
Jeremy Lakeman
ef583bdfaa Fix meaning of rhizome crypto debug message 2013-06-27 16:50:58 +09:30
Jeremy Lakeman
e4efbf3c8a Define byte values for new codec support 2013-06-25 10:34:36 +09:30
Jeremy Lakeman
944f718ff7 Convert baud rates into appropriate constant values, report any failures 2013-06-24 16:15:44 +09:30
Jeremy Lakeman
9550dbce9d Improve debugging of received stream bytes 2013-06-24 16:10:24 +09:30
Jeremy Lakeman
96f6453a43 Don't attempt to read unless the descriptor is ready 2013-06-20 11:18:20 +09:30
Jeremy Lakeman
ceb3c17b70 Perform cheap in-memory tests first, before starting fetch 2013-06-20 11:10:02 +09:30
Jeremy Lakeman
6254e0d81a Reduce IO strain from stress test while increasing bundle count 2013-06-20 11:10:02 +09:30
Jeremy Lakeman
0736e6b9e8 Reduce the delay for reading from dummy interfaces during rhizome transfers 2013-06-20 11:10:02 +09:30
Jeremy Lakeman
e72597243f Log an error if an alarm deadline is set in the recent past 2013-06-19 16:02:34 +09:30
Jeremy Lakeman
61a958fd34 Avoid setting alarms with deadlines that have already elapsed 2013-06-19 15:36:18 +09:30
Jeremy Lakeman
297a30e3c9 Don't keep trying to send link states if the packet transmit queue is full 2013-06-19 14:19:27 +09:30
Jeremy Lakeman
d95b728752 Throttle BAR sync requests 2013-06-19 13:11:00 +09:30
Jeremy Lakeman
adbbed5275 Add new rhizome sync protocol 2013-06-19 12:05:57 +09:30
Jeremy Lakeman
3e57add9ca Fix, initialise read / write handles so we don't close fd=0 2013-06-19 12:05:56 +09:30
Jeremy Lakeman
40364be92f Fix and improve rhizome stress test
- reduce dependance on routing
- fail immediately if a servald instance crashes
2013-06-18 16:33:41 +09:30
Jeremy Lakeman
0b750856c1 Reduce priority of writing to stream handles 2013-06-14 15:09:18 +09:30
Jeremy Lakeman
a18230f591 Reduce latency impact of BAR lookups based on aggregate time 2013-06-14 14:09:58 +09:30
Jeremy Lakeman
b67516558e Add clean command to verify all bundles 2013-06-14 11:58:19 +09:30
Jeremy Lakeman
1178ce44ac Ensure variable count is reset 2013-06-14 11:57:08 +09:30
Jeremy Lakeman
ba91996696 Don't log my own rejected packets 2013-06-14 10:42:43 +09:30
Andrew Bettison
cebcbf50d2 Merge pull request #64 from rom1v/mergefail
Fix merge fail, the faulty merge was produced with `git merge -Xtheirs` which did not give the intended effect.
2013-06-10 22:35:42 -07:00
Jeremy Lakeman
c6241c6634 Ensure routing table is updated when indirect nodes go offline 2013-06-11 10:18:28 +09:30
Romain Vimont (®om)
cdee6aa737 Fix merge fail
Merge 4e3c93e failed: it should contain log.c from a1a296f, not a mix
between both varargs fix implementations (the other is f88dff0).

The resulting merge fails tests (on 64 bits architecture), while both
parents pass.
2013-06-07 13:51:24 +02:00
Andrew Bettison
4e3c93e00a Fix #62, merge branch 'fix-log-stdarg' into development
Replaces ®om's 64-bit fix with a simpler one (using the C99 va_copy()
primitive) that does not remove the vlogMessage() function
2013-06-06 16:59:03 +09:30
Andrew Bettison
e5bcc07193 Change comment to reduce confusion 2013-06-06 16:03:35 +09:30
Andrew Bettison
a1a296f5eb Issue #62, use va_copy() in loops 2013-06-06 14:36:13 +09:30
Jeremy Lakeman
d3a13f8d2c Fix stupid bug, test was backwards 2013-06-03 16:04:08 +09:30
Jeremy Lakeman
b1f384cd63 Swap between broadcast & unicast links as they become available 2013-05-31 11:32:31 +09:30
Andrew Bettison
d15c336c10 Minimal doc/OpenBTS.md points to app_servaldna repo 2013-05-30 15:52:37 +09:30
Andrew Bettison
cbcb4d1ab4 Rename OpenBts-setup.md to OpenBTS.md 2013-05-30 15:52:37 +09:30
Jeremy Lakeman
96daa47b95 Dump mdp header if we fail to parse length field 2013-05-30 13:24:37 +09:30
Romain Vimont (®om)
f88dff08a6 Fix varargs use
"man stdarg" says:
  If ap is passed to a function that uses va_arg(ap,type) then the value
  of ap is undefined after the return of that function.

va_start(…) and va_end(…) must be called at each iteration.

By chance, it worked in 32 bits, but it segfaulted in 64 bits.

See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31484
2013-05-30 00:24:00 +02:00
Andrew Bettison
43af757262 Incorporate material from serval-dna/doc/OpenBts-setup.md 2013-05-29 15:28:05 +09:30
Andrew Bettison
cc40cf3447 Clean up a few details in INSTALL and README 2013-05-29 14:15:40 +09:30
Andrew Bettison
07d6a12343 Improve README and INSTALL files 2013-05-29 13:22:12 +09:30
Jeremy Lakeman
bc50d3e184 Establish a unicast link to nodes who are filtering broadcasts 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
50bcd3883b Don't forward broadcasts unless we are vital to their delivery 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
c22f24fb19 Remove unused constant (never actually used) 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
d6d3c1f413 Add ping backward compatibility test 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
37ef97268b Disable rhizome when testing dnahelper to reduce IO load 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
c005172096 Fix, send unicast frames when there are no broadcast peers 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
f1391355e4 Reduce log noise with debug.overlayframes 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
c569503383 Ensure dna helper alarms have names & stats 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
aa75e519f3 Rename 2-hop test 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
8f575262ff Reduce packet storm to reduce I/O required for running tests 2013-05-29 11:58:06 +09:30
Jeremy Lakeman
27b1974c00 Allow small packets to be delayed to increase the chance of aggregation 2013-05-29 11:58:05 +09:30
Jeremy Lakeman
b9410705e6 Squelch warning when we have no peers 2013-05-29 11:58:05 +09:30
Jeremy Lakeman
8ab5073869 Adjust packet format for better duplicate detection 2013-05-29 11:58:05 +09:30
Jeremy Lakeman
0966840f4e Log decision when duplicates are processed 2013-05-29 11:58:05 +09:30