Matthias Radestock
0159e26631
store connections as a set instead of map-of-remote-addresses
...
...since it is theoretically possible that the lifecycle events from
two consecutive inbound connections from the same remote address
overlap.
2015-09-30 17:29:13 +01:00
Matthias Radestock
e68ca761a9
we no longer need to Refresh() in CM status
...
since CM now gets an event - ConnectionCreated - for new connections.
2015-09-30 14:00:32 +01:00
Matthias Radestock
fc6f3993bd
refactor(ish): obtain local connection status from CM alone
2015-09-30 14:00:32 +01:00
David Wragg
20b35f3139
Add NewPeerFromSummary
...
To reduce the number of places that are explicit about which values
go into a new Peer.
2015-09-08 10:46:02 +01:00
David Wragg
57e78e2bec
Introduce Bridge
2015-09-08 10:44:37 +01:00
Matthias Radestock
d8e8cd6e51
don't reconnect to ourself
...
When we discover that a connection target address leads to ourself we
set the retry time to the zero time.Time value - the only special
time.Time value. We use that marker to a) suppress subsequent
connection attempts, and b) display the next retry as 'never' in
`weave status|report`.
Closes #1305 .
2015-08-18 00:51:33 +01:00
Matthias Radestock
c1d799a06c
add pcap stats to weave report
...
Closes #1185 .
2015-08-11 12:57:52 +01:00
Adam Harrison
fc9a1c8664
new weave status, weave status ..., and weave report
2015-08-11 12:15:13 +01:00