erigon-pulse/p2p
battlmonstr 25b14edbf6
p2p: STUN external IP detection (#4195)
--nat stun is an automatic external IP detection alternative to manual --nat extip option.
It can be used both at home or on production servers without any extra setup.
It is fast (up to 5 ms) and more reliable than alternatives (as the request goes to the public internet).

This auto-detection is useful to run multiple instances of a service in cloud environments
where the node IPs are not known in advance.
2022-05-18 16:50:50 +01:00
..
discover Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
dnsdisc Generic sort of slices (no allocs, inlinable) (#4161) 2022-05-16 08:24:12 +01:00
enode Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
enr Inner errors (#2774) 2021-10-04 22:16:52 +07:00
nat p2p: STUN external IP detection (#4195) 2022-05-18 16:50:50 +01:00
netutil Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
rlpx Refactor crypto.FromECDSAPub to MarshalPubkey/Std (#3797) 2022-03-31 11:06:20 +07:00
simulations p2p: refactor MaxPendingPeers handling (#3981) 2022-04-28 09:21:52 +07:00
dial_integration_test.go Use go:build lines and remove obsolete +build lines (#4175) 2022-05-17 14:46:53 +07:00
dial_test.go p2p (#4119): treat slow integration tests (#4136) 2022-05-13 10:18:55 +07:00
dial.go p2p: refactor MaxPendingPeers handling (#3981) 2022-04-28 09:21:52 +07:00
message_test.go p2p: move rlpx into separate package (#21464) 2020-10-06 14:12:09 +02:00
message.go Replace ioutil with io and os (#3946) 2022-04-23 15:43:00 +01:00
metrics.go MIT licensed metrics lib (#2462) 2021-07-29 17:27:46 +07:00
node_key_config.go Fix NodeKeyConfig.save() (#3720) 2022-03-16 16:58:56 +00:00
peer_error.go p2p: define DiscReason as uint8 (#4090) 2022-05-06 16:19:53 +01:00
peer_test.go Switch peerId from 256 to 512 bit (as in stable) (#3862) 2022-04-10 08:01:25 +01:00
peer.go p2p: define DiscReason as uint8 (#4090) 2022-05-06 16:19:53 +01:00
protocol.go Switch peerId from 256 to 512 bit (as in stable) (#3862) 2022-04-10 08:01:25 +01:00
server_test.go p2p: crawler-friendly handshake (#3982) 2022-04-28 23:21:22 +01:00
server.go p2p: crawler-friendly handshake (#3982) 2022-04-28 23:21:22 +01:00
transport_test.go Refactor crypto.FromECDSAPub to MarshalPubkey/Std (#3797) 2022-03-31 11:06:20 +07:00
transport.go remove metrics package, step 1 (#4094) 2022-05-07 14:52:04 +07:00
util_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
util.go rename (#1978) 2021-05-20 19:25:53 +01:00