good morning!!!!

Skip to content
Snippets Groups Projects
  1. May 20, 2017
  2. Apr 12, 2017
    • Felix Lange's avatar
      cmd/geth: add --config file flag (#13875) · 30d706c3
      Felix Lange authored
      * p2p/discover, p2p/discv5: add marshaling methods to Node
      
      * p2p/netutil: make Netlist decodable from TOML
      
      * common/math: encode nil HexOrDecimal256 as 0x0
      
      * cmd/geth: add --config file flag
      
      * cmd/geth: add missing license header
      
      * eth: prettify Config again, fix tests
      
      * eth: use gasprice.Config instead of duplicating its fields
      
      * eth/gasprice: hide nil default from dumpconfig output
      
      * cmd/geth: hide genesis block in dumpconfig output
      
      * node: make tests compile
      
      * console: fix tests
      
      * cmd/geth: make TOML keys look exactly like Go struct fields
      
      * p2p: use discovery by default
      
      This makes the zero Config slightly more useful. It also fixes package
      node tests because Node detects reuse of the datadir through the
      NodeDatabase.
      
      * cmd/geth: make ethstats URL settable through config file
      
      * cmd/faucet: fix configuration
      
      * cmd/geth: dedup attach tests
      
      * eth: add comment for DefaultConfig
      
      * eth: pass downloader.SyncMode in Config
      
      This removes the FastSync, LightSync flags in favour of a more
      general SyncMode flag.
      
      * cmd/utils: remove jitvm flags
      
      * cmd/utils: make mutually exclusive flag error prettier
      
      It now reads:
      
         Fatal: flags --dev, --testnet can't be used at the same time
      
      * p2p: fix typo
      
      * node: add DefaultConfig, use it for geth
      
      * mobile: add missing NoDiscovery option
      
      * cmd/utils: drop MakeNode
      
      This exposed a couple of places that needed to be updated to use
      node.DefaultConfig.
      
      * node: fix typo
      
      * eth: make fast sync the default mode
      
      * cmd/utils: remove IPCApiFlag (unused)
      
      * node: remove default IPC path
      
      Set it in the frontends instead.
      
      * cmd/geth: add --syncmode
      
      * cmd/utils: make --ipcdisable and --ipcpath mutually exclusive
      
      * cmd/utils: don't enable WS, HTTP when setting addr
      
      * cmd/utils: fix --identity
      30d706c3
  3. Apr 10, 2017
  4. Feb 28, 2017
  5. Feb 27, 2017
  6. Feb 23, 2017
  7. Feb 18, 2017
  8. Jan 09, 2017
  9. Jan 06, 2017
  10. Dec 15, 2016
  11. Dec 14, 2016
  12. Dec 08, 2016
  13. Nov 22, 2016
    • Felix Lange's avatar
      p2p, p2p/discover, p2p/discv5: add IP network restriction feature · a47341cf
      Felix Lange authored
      The p2p packages can now be configured to restrict all communication to
      a certain subset of IP networks. This feature is meant to be used for
      private networks.
      a47341cf
    • Felix Lange's avatar
      p2p/discover, p2p/discv5: prevent relay of invalid IPs and low ports · a98d1d67
      Felix Lange authored
      The discovery DHT contains a number of hosts with LAN and loopback IPs.
      These get relayed because some implementations do not perform any checks
      on the IP.
      
      go-ethereum already prevented relay in most cases because it verifies
      that the host actually exists before adding it to the local table. But
      this verification causes other issues. We have received several reports
      where people's VPSs got shut down by hosting providers because sending
      packets to random LAN hosts is indistinguishable from a slow port scan.
      
      The new check prevents sending random packets to LAN by discarding LAN
      IPs sent by Internet hosts (and loopback IPs from LAN and Internet
      hosts). The new check also blacklists almost all currently registered
      special-purpose networks assigned by IANA to avoid inciting random
      responses from services in the LAN.
      
      As another precaution against abuse of the DHT, ports below 1024 are now
      considered invalid.
      a98d1d67
    • Felix Lange's avatar
      ba2884f3
    • Felix Lange's avatar
      p2p/netutil: new package for network utilities · 1d80155d
      Felix Lange authored
      The new package contains three things for now:
      
      - IP network list parsing and matching
      - The WSAEMSGSIZE workaround, which is duplicated in p2p/discover and
        p2p/discv5.
      1d80155d
  14. Nov 14, 2016
  15. Nov 11, 2016
  16. Nov 09, 2016
  17. Sep 28, 2016
  18. Sep 16, 2016
    • Felix Lange's avatar
      p2p/nat: delay auto discovery until first use · f5c432bc
      Felix Lange authored
      Port mapper auto discovery used to run immediately after parsing the
      --nat flag, giving it a slight performance boost. But this is becoming
      inconvenient because we create node.Node for all geth operations
      including account management and bare chain interaction. Delay
      autodiscovery until the first use instead, which avoids any network
      interaction until the node is actually started.
      f5c432bc
  19. Jul 14, 2016
  20. Jul 12, 2016
  21. May 18, 2016
  22. May 02, 2016
  23. Apr 15, 2016
  24. Apr 03, 2016
  25. Mar 14, 2016
  26. Feb 24, 2016
Loading