aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README24
1 files changed, 14 insertions, 10 deletions
diff --git a/README b/README
index cd58d79..c85782e 100644
--- a/README
+++ b/README
@@ -1,18 +1,22 @@
asn: map hosts to their corresponding ASN via HTTP/WHOIS
-usage: asn.py [-h] [--whois-host WHOIS_HOST] [--whois-port WHOIS_PORT] [--http-host HTTP_HOST]
- [--http-port HTTP_PORT] [--update] [--populate]
+usage: asn.py [-h] [--bind-whois-v4 WHOIS_V4] [--bind-whois-v6 WHOIS_V6] [--bind-whois-port WHOIS_PORT]
+ [--bind-http-v4 HTTP_V4] [--bind-http-v6 HTTP_V6] [--bind-http-port HTTP_PORT] [--update] [--populate]
options:
-h, --help show this help message and exit
- --whois-host WHOIS_HOST
- IP to listen on for WHOIS service (default: 127.0.0.1)
- --whois-port WHOIS_PORT
- Port to listen on for WHOIS service (default: 4343)
- --http-host HTTP_HOST
- IP to listen on for HTTP service (default: 127.0.0.1)
- --http-port HTTP_PORT
- Port to listen on for HTTP service (default: 8080)
+ --bind-whois-v4 WHOIS_V4
+ WHOIS IPv4 host (default: 127.0.0.1)
+ --bind-whois-v6 WHOIS_V6
+ WHOIS IPv6 host (default: ::1)
+ --bind-whois-port WHOIS_PORT
+ WHOIS port (default: 4343)
+ --bind-http-v4 HTTP_V4
+ HTTP IPv4 host (default: 127.0.0.1)
+ --bind-http-v6 HTTP_V6
+ HTTP IPv6 host (default: ::1)
+ --bind-http-port HTTP_PORT
+ HTTP port (default: 8080)
--update Update dataset submodule and create/populate cache (default: False)
--populate Create and populate cache from current dataset (default: False)