Will Scott
10fc365206
Run Autonat Service while in unknown connectivity mode
...
This supports local LAN connectivity / discovery
2020-04-07 10:55:15 -07:00
Will
0d304cb769
factor out dial policy ( #62 )
...
factor out dial policy
2020-03-25 11:11:55 -07:00
Will
09d3ae4450
skip dial attempts to non-public peers ( #59 )
...
skip dial attempts to non-public peers
fix https://github.com/libp2p/go-libp2p-autonat-svc/issues/33
fix #59
2020-03-23 16:49:48 -07:00
Will Scott
42a3e6f451
switch enablement to not happen in svc constructor
2020-03-19 10:56:55 -07:00
Will Scott
5c496af242
Add option to force nat into a specified reachability state
2020-03-18 13:38:47 -07:00
Will Scott
e1841d877e
Integrate service into autonat
2020-03-17 17:07:37 -07:00
Will Scott
58172272ae
bump to new go-multiaddr-net
2020-03-10 11:47:56 -07:00
Will Scott
43e6a96bdc
additional tests
2020-03-09 16:25:55 -07:00
Will Scott
41ac79c835
mitigate race in test
2020-03-06 11:27:34 -08:00
Will Scott
4ef5784541
Merge branch 'feat/ratelimit' into feat/delaystart
2020-03-02 12:58:15 -08:00
Will Scott
370d2efb54
Add option for forcing service startup
2020-02-26 17:04:27 -08:00
Will Scott
44e9abed05
address review comments
...
use ip.Equal for comparison
add test on jitter
simplify addrToIP
2020-02-26 12:27:44 -08:00
Will Scott
9dcbc44a26
limit autonat-svc to LocalRoutabilityPublic nodes
...
per #43
2020-02-25 12:24:33 -08:00
Will Scott
426d729c51
cleanup addrToIP logic
2020-02-25 10:24:47 -08:00
Will Scott
b952c16927
rate limiting and selectivity of autonat svc
...
* limits addresses for a peer (at most 4 chosen) - fix #39
* clears addresses before dialing back - fix #38
* global rate limit of 30 responses per (1 - 1.25 min) - fix #36
* only dial back on the source IP - fix #32
2020-02-12 17:07:42 -08:00
Raúl Kripalani
9ad01ee912
migrate to consolidated types. ( #21 )
2019-05-26 23:40:01 +01:00
vyzo
c98eb14a90
update test for AutoNATClient constructor change
2018-10-25 11:56:27 +03:00
vyzo
605e4e6ebe
IsPublicAddr lives in multiaddr-net
2018-10-16 16:48:46 +03:00
vyzo
33423558c5
service implementation
2018-10-16 15:14:34 +03:00