Skip to content

Commit

Permalink
Typos in README; missing arg in getopt
Browse files Browse the repository at this point in the history
  • Loading branch information
wupeka committed Apr 15, 2019
1 parent d56372e commit 6db7b66
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.MD
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cmdd.c
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ipsetd.c
Expand Up @@ -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);
Expand Down

0 comments on commit 6db7b66

Please sign in to comment.