• M
    rpc: dns rebind protection (#15962) · 589b603a
    Martin Holst Swende 提交于
    * cmd,node,rpc: add allowedHosts to prevent dns rebinding attacks
    
    * p2p,node: Fix bug with dumpconfig introduced in r54aeb8e4
    
    * rpc: add wildcard support for rpcallowedhosts + go fmt
    
    * cmd/geth, cmd/utils, node, rpc: ignore direct ip(v4/6) addresses in rpc virtual hostnames check
    
    * http, rpc, utils: make vhosts into map, address review concerns
    
    * node: change log messages to use geth standard (not sprintf)
    
    * rpc: fix spelling
    589b603a
config.go 14.6 KB