mod_s2s_whitelist/README.markdown
author Kim Alvefur <zash@zash.se>
Tue, 18 Jan 2022 18:55:20 +0100
changeset 4881 adc6241e5d16
parent 3159 6e5bde0879ad
child 5188 313937349fbc
permissions -rw-r--r--
mod_measure_process: Report the enforced limit The soft limit is what the kernel actually enforces, while the hard limit is is how far you can change the soft limit without privileges. Unless the process dynamically adjusts the soft limit, knowing the hard limit is not as useful as knowing the soft limit. Reporting the soft limit and the number of in-use FDs allows placing alerts on expressions like 'process_open_fds / process_max_fds >= 0.95'
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3159
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     1
This module lets you block connections to any remote servers not on a
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     2
whitelist.
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     3
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     4
``` {.lua}
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     5
s2s_whitelist = {
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     6
    "example.org",
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     7
}
6e5bde0879ad mod_s2s_whitelist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
     8
```