44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
# ZBlacklist Copyright 2014 Regents of the University of Michigan
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
# use this file except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
# zblocklist option description to be processed by gengetopt
|
|
|
|
package "zblocklist"
|
|
version "@ZMAP_VERSION@"
|
|
purpose "A tool for limiting and deduplicating a list of IP addresses"
|
|
|
|
section "Basic arguments"
|
|
|
|
option "blocklist-file" b "File of subnets to exclude, in CIDR notation, one-per line."
|
|
optional string
|
|
option "allowlist-file" w "File of subnets to include, in CIDR notation, one-per line."
|
|
optional string
|
|
option "log-file" l "File to log to"
|
|
optional string
|
|
option "verbosity" v "Set log level verbosity (0-5, default 3)"
|
|
default="3"
|
|
optional int
|
|
option "no-duplicate-checking" - "Don't deduplicate IP addresses (default false)"
|
|
optional
|
|
option "ignore-blocklist-errors" - "Ignore invalid entries in the blocklist/allowlist (default false)"
|
|
optional
|
|
option "ignore-input-errors" - "Don't print invalid entries in the input (default false)"
|
|
optional
|
|
option "disable-syslog" - "Disables logging messages to syslog"
|
|
optional
|
|
|
|
section "Additional options"
|
|
|
|
option "help" h "Print help and exit"
|
|
optional
|
|
option "version" V "Print version and exit"
|
|
optional
|
|
|
|
section "Notes"
|
|
|
|
text
|
|
"At least one of --allowlist-file or --blocklist-file must be specified. Blacklist files take precedence over allowlist files when both are specified. This results in an output of {allowlist - blocklist}."
|