Go to the source code of this file.
Classes | |
| struct | anonymous_namespace{bastionguard-firewall.cpp}::SecureInput |
Namespaces | |
| namespace | anonymous_namespace{bastionguard-firewall.cpp} |
Variables | |
| constexpr std::string_view | anonymous_namespace{bastionguard-firewall.cpp}::kInputPrefix = "/tmp/bastionguard-firewall-ips-" |
| constexpr off_t | anonymous_namespace{bastionguard-firewall.cpp}::kMaxInputBytes = 16 * 1024 * 1024 |
| constexpr std::size_t | anonymous_namespace{bastionguard-firewall.cpp}::kMaxEntries = 250000 |
| constexpr std::size_t | anonymous_namespace{bastionguard-firewall.cpp}::kMaxLineLength = 128 |
| int main | ( | int | argc, |
| char * | argv[] ) |
Definition at line 335 of file bastionguard-firewall.cpp.
References _, anonymous_namespace{bastionguard-firewall.cpp}::apply_firewalld(), anonymous_namespace{bastionguard-firewall.cpp}::apply_ufw(), anonymous_namespace{bastionguard-firewall.cpp}::clear_firewall(), anonymous_namespace{bastionguard-firewall.cpp}::load_and_validate_ips(), main(), anonymous_namespace{bastionguard-firewall.cpp}::open_input_securely(), and anonymous_namespace{bastionguard-firewall.cpp}::original_caller_uid().