From d0fb85e8cfba13047787c724f323cc9b8d745fd3 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Sat, 31 May 2014 21:20:04 +0200 Subject: [PATCH] Do not use 53 as source port for DNS/raw traffic. For some reason this makes raw traffic get dropped. --- src/iodine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iodine.c b/src/iodine.c index e53ae37..2884da8 100644 --- a/src/iodine.c +++ b/src/iodine.c @@ -345,7 +345,7 @@ main(int argc, char **argv) retval = 1; goto cleanup1; } - if ((dns_fd = open_dns_from_host(NULL, 53, nameservaddr.ss_family, AI_PASSIVE)) < 0) { + if ((dns_fd = open_dns_from_host(NULL, 0, nameservaddr.ss_family, AI_PASSIVE)) < 0) { retval = 1; goto cleanup2; }