diff options
| author | Gavin Andresen <[email protected]> | 2011-09-26 06:06:16 -0700 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-09-26 06:06:16 -0700 |
| commit | 17e2c24645a10354849dec917b31f364e9056d58 (patch) | |
| tree | 0fc4eda5307bbc9dc99eb3c8fec40b303644cd1c /src/init.cpp | |
| parent | Merge pull request #521 from laanwj/qt (diff) | |
| parent | More denial-of-service misbehavior detection: version/addr/inv/getdata messages (diff) | |
| download | discoin-17e2c24645a10354849dec917b31f364e9056d58.tar.xz discoin-17e2c24645a10354849dec917b31f364e9056d58.zip | |
Merge pull request #517 from gavinandresen/DoSprevention
Denial-of-service prevention
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index d2045fd84..a1835c903 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -179,6 +179,8 @@ bool AppInit2(int argc, char* argv[]) " -addnode=<ip> \t " + _("Add a node to connect to\n") + " -connect=<ip> \t\t " + _("Connect only to the specified node\n") + " -nolisten \t " + _("Don't accept connections from outside\n") + + " -banscore=<n> \t " + _("Threshold for disconnecting misbehaving peers (default: 100)\n") + + " -bantime=<n> \t " + _("Number of seconds to keep misbehaving peers from reconnecting (default: 86400)\n") + #ifdef USE_UPNP #if USE_UPNP " -noupnp \t " + _("Don't attempt to use UPnP to map the listening port\n") + |