gotosocial/internal/api/security
nya1 bee8458a2d
[feature] add rate limit middleware (#741)
* feat: add rate limit middleware

* chore: update vendor dir

* chore: update readme with new dependency

* chore: add rate limit infos to swagger.md file

* refactor: add ipv6 mask limiter option

Add IPv6 CIDR /64 mask

* refactor: increase rate limit to 1000

Address https://github.com/superseriousbusiness/gotosocial/pull/741#discussion_r945584800

Co-authored-by: tobi <31960611+tsmethurst@users.noreply.github.com>
2022-08-31 12:06:14 +02:00
..
extraheaders.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00
flocblock.go Extend license notices to 2022 (#354) 2021-12-20 18:42:19 +01:00
ratelimit.go [feature] add rate limit middleware (#741) 2022-08-31 12:06:14 +02:00
robots.go Timeline manager (#40) 2021-06-13 18:42:28 +02:00
security.go [feature] add rate limit middleware (#741) 2022-08-31 12:06:14 +02:00
signaturecheck.go [chore] use our own logging implementation (#716) 2022-07-19 10:47:55 +02:00
tokencheck.go [chore] Update bun / sqlite versions; update gtsmodels (#754) 2022-08-15 11:35:05 +01:00
useragentblock.go [feature] More consistent API error handling (#637) 2022-06-08 20:38:03 +02:00