readme
This commit is contained in:
parent
b8f51c9497
commit
25270d552a
2 changed files with 17 additions and 8 deletions
12
Cargo.lock
generated
12
Cargo.lock
generated
|
|
@ -17,7 +17,7 @@ dependencies = [
|
|||
"horrorhttp",
|
||||
"microlock",
|
||||
"nanoserde",
|
||||
"readformat 1.0.1",
|
||||
"readformat",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -66,7 +66,7 @@ version = "0.2.1"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9940b42c31d4b7bc31b55b7aaa8c3bfb08ab9ffc5142aa7f882ff7a59719fd1a"
|
||||
dependencies = [
|
||||
"readformat 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"readformat",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
|
|
@ -100,13 +100,9 @@ source = "git+https://github.com/tudbut/nanoserde#fc010f51957432aec80dba0a70af0d
|
|||
|
||||
[[package]]
|
||||
name = "readformat"
|
||||
version = "1.0.1"
|
||||
|
||||
[[package]]
|
||||
name = "readformat"
|
||||
version = "1.0.1"
|
||||
version = "1.0.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5e1fd097dab477324dfeb476d75627e38fd1a7437bc0e94751084be499d7e6b1"
|
||||
checksum = "d8744712afe8037b6884a4960f4c781251624a6ac0017ae99aa6d513f67cb6e5"
|
||||
|
||||
[[package]]
|
||||
name = "simd-adler32"
|
||||
|
|
|
|||
13
README.md
13
README.md
|
|
@ -2,10 +2,23 @@
|
|||
|
||||
instead of letting the ai boom bomb our websites, lets bomb the ai in return.
|
||||
|
||||
# features
|
||||
|
||||
- **not dependent on user agents**
|
||||
- metric is *only* what is requested
|
||||
- configurable, allowing e.g. setting lower limits for rarely visited pages
|
||||
- specifically designed to guard forgejo (and similar) things
|
||||
- zip bombs
|
||||
- traps (like iocaine but muuuch simpler)
|
||||
- redirecting to iocaine :)
|
||||
- infinitely loading pages (that send infinite data)
|
||||
|
||||
# config
|
||||
|
||||
defalt config is automatically dropped to disk and can also be found at src/bombai.toml
|
||||
|
||||
it contains a lot of documentation
|
||||
|
||||
# how to
|
||||
|
||||
add to caddyfile as per the caddyfile in this repo. the iocaine part is not required.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue