| /netbsd-src/external/bsd/unbound/dist/testdata/ratelimit.tdir/ |
| H A D | ratelimit.dsc | 1 BaseName: ratelimit 3 Description: Test ratelimit. 11 Pre: ratelimit.pre 12 Post: ratelimit.post 13 Test: ratelimit.test
|
| H A D | ratelimit.test | 1 # #-- ratelimit.test --# 54 echo "> Activating ratelimit-factor" 55 echo "$PRE/unbound-control -c ub.conf set_option ratelimit-factor: 3" 56 $PRE/unbound-control -c ub.conf set_option ratelimit-factor: 3 63 echo "> Three parallel queries with ratelimit-factor" 65 # them to be allowed through at a given second; one from the ratelimit itself 66 # and one from the ratelimit-factor. 85 echo "ratelimit-factor did not work" 89 echo "ratelimit-factor did not work" 92 echo "ratelimit-factor OK" [all …]
|
| H A D | ratelimit.pre | 1 # #-- ratelimit.pre--# 19 $LDNS_TESTNS -v -p $STUB_PORT ratelimit.testns >stub.log 2>&1 & 24 …' -e 's/@TOPORT\@/'$STUB_PORT'/' -e 's/@CONTROL_PORT\@/'$CONTROL_PORT'/' < ratelimit.conf > ub.conf
|
| H A D | ratelimit.conf | 13 ratelimit: 1 14 ratelimit-factor: 0
|
| H A D | ratelimit.post | 1 # #-- ratelimit.post --#
|
| /netbsd-src/external/bsd/unbound/dist/testdata/ip_ratelimit.tdir/ |
| H A D | ip_ratelimit.conf | 13 ip-ratelimit: 1 14 ip-ratelimit-cookie: 0 15 ip-ratelimit-factor: 0 16 ip-ratelimit-backoff: yes
|
| H A D | ip_ratelimit.test | 46 # For this test we send three parallel queries. The ratelimit should be reached 103 echo "> Activating ip-ratelimit-cookie" 104 echo "$PRE/unbound-control -c ub.conf set_option ip-ratelimit-cookie: 1" 105 $PRE/unbound-control -c ub.conf set_option ip-ratelimit-cookie: 1 112 echo "> Three parallel queries with backoff and cookie with ip-ratelimit-cookie" 114 # an answer on the last query because ip-ratelimit-cookie is now enabled. 141 # Expect no answer because of ip-ratelimit-cookie 155 echo "Three parallel queries with backoff and cookie with ip-ratelimit-cookie OK" 157 echo "Three parallel queries with backoff and cookie with ip-ratelimit-cookie NOT OK" 161 echo "Three parallel queries with backoff and cookie with ip-ratelimit-cookie NOT OK"
|
| H A D | ip_ratelimit.dsc | 3 Description: Test IP source ratelimit.
|
| /netbsd-src/external/bsd/unbound/dist/util/ |
| H A D | configlexer.lex | 510 ip-ratelimit{COLON} { YDVAR(1, VAR_IP_RATELIMIT) } 511 ip-ratelimit-cookie{COLON} { YDVAR(1, VAR_IP_RATELIMIT_COOKIE) } 512 ratelimit{COLON} { YDVAR(1, VAR_RATELIMIT) } 513 ip-ratelimit-slabs{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SLABS) } 514 ratelimit-slabs{COLON} { YDVAR(1, VAR_RATELIMIT_SLABS) } 515 ip-ratelimit-size{COLON} { YDVAR(1, VAR_IP_RATELIMIT_SIZE) } 516 ratelimit-size{COLON} { YDVAR(1, VAR_RATELIMIT_SIZE) } 517 ratelimit-for-domain{COLON} { YDVAR(2, VAR_RATELIMIT_FOR_DOMAIN) } 518 ratelimit-below-domain{COLON} { YDVAR(2, VAR_RATELIMIT_BELOW_DOMAIN) } 519 ip-ratelimit-factor{COLON} { YDVAR(1, VAR_IP_RATELIMIT_FACTOR) } [all …]
|
| H A D | config_file.h | 610 int ratelimit; member
|
| H A D | config_file.c | 336 cfg->ratelimit = 0; in config_create() 796 IS_NUMBER_OR_ZERO; cfg->ratelimit = atoi(val); in config_set_option() 797 infra_dp_ratelimit=cfg->ratelimit; in config_set_option() 1266 else O_DEC(opt, "ratelimit", ratelimit) in config_get_option()
|
| /netbsd-src/usr.sbin/inetd/ |
| H A D | Makefile | 9 SRCS= inetd.c parse.c parse_v2.c ratelimit.c
|
| /netbsd-src/external/bsd/unbound/dist/doc/ |
| H A D | example.conf.in | 957 # ratelimit for uncached, new queries, this limits recursion effort. 960 # ratelimit: 0 963 # ratelimit-size: 4m 964 # ratelimit cache slabs, reduces lock contention if equal to cpucount. 965 # ratelimit-slabs: 4 968 # ratelimit-factor: 10 972 # ratelimit-backoff: no 974 # override the ratelimit for a specific domain name. 976 # ratelimit-for-domain: example.com 1000 979 # ratelimit-below-domain: com 1000 [all …]
|
| H A D | Changelog | 185 `queries_cookie_invalid` information. The `ip\-ratelimit\-cookie:` 657 - Fix ratelimit inconsistency, for ip-ratelimits the value is the 922 - Merge PR #616: Update ratelimit logic. It also introduces 923 ratelimit-backoff and ip-ratelimit-backoff configuration options. 932 since it changes the aggressive-nsec default and the ratelimit change. 3225 - ip-ratelimit-factor of 1 allows all traffic through, instead of the 3440 - More explicitly mention the type of ratelimit when applying 3441 ip-ratelimit. 3612 - Fix that ratelimit and ip-ratelimit are applied after reload of 3614 - Resize ratelimit and ip-ratelimit caches if changed on reload. [all …]
|
| /netbsd-src/external/bsd/nsd/dist/ |
| H A D | configure.ac | 978 AC_ARG_ENABLE(ratelimit, AS_HELP_STRING([--enable-ratelimit],[Enable rate limiting])) optenable 983 ratelimit="xx" 986 ratelimit="" 989 AC_SUBST(ratelimit) subst 991 …ratelimit-default-is-off, AS_HELP_STRING([--enable-ratelimit-default-is-off],[Enable this to set d… 994 AC_DEFINE_UNQUOTED([RATELIMIT_DEFAULT_OFF], [], [Define this to set ratelimit to off by default.])
|
| H A D | nsd.conf.sample.in | 225 # rrl-whitelist-ratelimit to 0 to disable ratelimit processing. 227 # rrl-ratelimit: 200 234 # SLIP response. When the ratelimit is hit the traffic is 248 # rrl-whitelist-ratelimit: 2000
|
| H A D | configlexer.lex | 264 rrl-ratelimit{COLON} { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_RATELIMIT;} 268 rrl-whitelist-ratelimit{COLON} { LEXOUT(("v(%s) ", yytext)); return VAR_RRL_WHITELIST_RATELIMIT;}
|
| H A D | configure | 1417 --enable-ratelimit Enable rate limiting 1418 --enable-ratelimit-default-is-off 1419 Enable this to set default of ratelimit to off 1420 (enable in nsd.conf), otherwise ratelimit is enabled 1421 by default if --enable-ratelimit is enabled 8993 ratelimit="xx" 8996 ratelimit=""
|
| /netbsd-src/sys/arch/alpha/alpha/ |
| H A D | interrupt.c | 318 static struct timeval ratelimit[1]; in machine_check() local 353 rlprintf(ratelimit, "Stray machine check\n"); in machine_check()
|
| /netbsd-src/external/bsd/unbound/dist/testdata/pylib.tdir/ |
| H A D | pylib.test | 41 echo "Not OK (ratelimit-bg-on)"
|
| /netbsd-src/external/bsd/nsd/dist/contrib/ |
| H A D | nsd.spec | 27 %configure --enable-pie --enable-relro-now --enable-ratelimit \
|
| /netbsd-src/external/bsd/unbound/dist/services/cache/ |
| H A D | infra.c | 256 infra_dp_ratelimit = cfg->ratelimit; in infra_create() 310 infra_dp_ratelimit = cfg->ratelimit; in infra_adjust()
|
| /netbsd-src/external/bsd/unbound/dist/daemon/ |
| H A D | unbound.c | 203 + (cfg->ratelimit?cfg->ratelimit_size:0) in checkrlimits()
|
| /netbsd-src/external/bsd/nsd/dist/doc/ |
| H A D | RELNOTES | 927 - configure --enable-ratelimit-default-is-off with --enable-ratelimit 928 to set the default ratelimit to disabled but available in nsd.conf. 945 - Document that ratelimit qps and slip are updated in reconfig. 1228 - nsd-control status prints out ratelimit if ratelimit is enabled. 1381 - RRL, --enable-ratelimit at configure time and config options.
|
| /netbsd-src/external/bsd/unbound/dist/contrib/ |
| H A D | aaaa-filter-iterator.patch | 297 /** lock on ratelimit counter */
|