1. 21 2月, 2018 5 次提交
  2. 20 2月, 2018 1 次提交
  3. 19 2月, 2018 4 次提交
  4. 18 2月, 2018 1 次提交
  5. 17 2月, 2018 2 次提交
  6. 16 2月, 2018 1 次提交
  7. 15 2月, 2018 9 次提交
  8. 14 2月, 2018 8 次提交
  9. 13 2月, 2018 3 次提交
  10. 12 2月, 2018 6 次提交
    • P
      cmd/puppeth: unify discv4 and discv5 ports · 12dab534
      Péter Szilágyi 提交于
      12dab534
    • P
      Merge pull request #16071 from holiman/lintfix · 70fbc873
      Péter Szilágyi 提交于
      node, rpc: fix linter issues
      70fbc873
    • M
      node, rpc: fix linter issues · 6c6247a6
      Martin Holst Swende 提交于
      6c6247a6
    • 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
    • F
      p2p, p2p/discover: misc connectivity improvements (#16069) · 9123eceb
      Felix Lange 提交于
      * p2p: add DialRatio for configuration of inbound vs. dialed connections
      
      * p2p: add connection flags to PeerInfo
      
      * p2p/netutil: add SameNet, DistinctNetSet
      
      * p2p/discover: improve revalidation and seeding
      
      This changes node revalidation to be periodic instead of on-demand. This
      should prevent issues where dead nodes get stuck in closer buckets
      because no other node will ever come along to replace them.
      
      Every 5 seconds (on average), the last node in a random bucket is
      checked and moved to the front of the bucket if it is still responding.
      If revalidation fails, the last node is replaced by an entry of the
      'replacement list' containing recently-seen nodes.
      
      Most close buckets are removed because it's very unlikely we'll ever
      encounter a node that would fall into any of those buckets.
      
      Table seeding is also improved: we now require a few minutes of table
      membership before considering a node as a potential seed node. This
      should make it less likely to store short-lived nodes as potential
      seeds.
      
      * p2p/discover: fix nits in UDP transport
      
      We would skip sending neighbors replies if there were fewer than
      maxNeighbors results and CheckRelayIP returned an error for the last
      one. While here, also resolve a TODO about pong reply tokens.
      9123eceb
    • P
      Merge pull request #16068 from karalabe/import-known-rolledback-blocks · 1d39912a
      Péter Szilágyi 提交于
      core: force import known but rolled back blocks
      1d39912a