diff --git a/README.MD b/README.MD index eb30dd4..3a9bd1f 100644 --- a/README.MD +++ b/README.MD @@ -5,13 +5,13 @@ ### What is a DNS Firewall DNS Firewall is a solution that prevents users and systems from connecting -to mailicious services by filtering DNS queries - and not returning the IP +to malicious services by filtering DNS queries - and not returning the IP addresses of known mailicious services to user. ### The problem Filtering DNS queries is easy - DNS runs on port 53, it's unencrypted, the traffic to outside (unfiltered) resolvers can easily be blocked. The same -works with DNS over TLS - it's using a well-known port 953, which can easily +works with DNS over TLS - it's using a well-known port 853, which can easily be firewalled. The problem arises with DNS over HTTPS - from a regular firewall standpoint diff --git a/cmdd.c b/cmdd.c index 3826b80..e1e8e62 100644 --- a/cmdd.c +++ b/cmdd.c @@ -109,7 +109,7 @@ main(int argc, char **argv) { - while ((c = getopt(argc, argv, "4:5:6:7:b:p:e:c:h:")) != -1) { + while ((c = getopt(argc, argv, "4:5:6:7:k:b:p:e:c:h:")) != -1) { switch (c) { case '4': add4 = strdup(optarg); diff --git a/ipsetd.c b/ipsetd.c index cf07627..e702409 100644 --- a/ipsetd.c +++ b/ipsetd.c @@ -90,7 +90,7 @@ main(int argc, char **argv) { - while ((c = getopt(argc, argv, "4:6:b:p:k:e:c:h:")) != -1) { + while ((c = getopt(argc, argv, "4:6:k:b:p:e:c:h:")) != -1) { switch (c) { case '4': table4 = strdup(optarg);