go-ethereum/cmd/utils
zhen peng 75526bb8e0
p2p/nat: add stun protocol (#31064)
This implements a basic mechanism to query the node's external IP using
a STUN server. There is a built-in list of public STUN servers for convenience.
The new detection mechanism must be selected explicitly using `--nat=stun` 
and is not enabled by default in Geth.

Fixes #30881

---------

Co-authored-by: Felix Lange <fjl@twurst.com>
2025-01-24 16:16:02 +01:00
..
cmd.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
diskusage.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
diskusage_openbsd.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
diskusage_windows.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
export_test.go all: simplify tests using t.TempDir() (#30150) 2024-07-15 15:26:58 +02:00
flags.go p2p/nat: add stun protocol (#31064) 2025-01-24 16:16:02 +01:00
flags_legacy.go cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00
flags_test.go build: update to golangci-lint 1.61.0 (#30587) 2024-10-14 19:25:22 +02:00
history_test.go cmd, core, miner: rework genesis setup (#30907) 2025-01-14 11:49:30 +01:00
prompt.go cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00