summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-02-07 19:40:56 +0900
committerSeonah Moon <seonah1.moon@samsung.com>2017-02-07 19:44:27 +0900
commit28d90b0970f842bb934a6f37d8742c2dcb5e9628 (patch)
tree01d04e61f81bd79a36f595c56aadf04c17951da0
parent7671bf6b13869a11ced59f587460752fd4eabe6b (diff)
downloadconnman-28d90b0970f842bb934a6f37d8742c2dcb5e9628.tar.gz
connman-28d90b0970f842bb934a6f37d8742c2dcb5e9628.tar.bz2
connman-28d90b0970f842bb934a6f37d8742c2dcb5e9628.zip
Do not listen all of 53 ports for DNS proxy
0:0:0:0 means all of IPv6 addresses. It should be replaced with localhost. Change-Id: I21ace9e0eb5c50903f7b03ec270cbef0c8776aa3 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
-rw-r--r--src/connman.socket4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/connman.socket b/src/connman.socket
index e27041f2..88274984 100644
--- a/src/connman.socket
+++ b/src/connman.socket
@@ -3,8 +3,8 @@ Description=DNS Proxy Socket
Before=connman.service
[Socket]
-ListenStream=0.0.0.0:53
-ListenDatagram=0.0.0.0:53
+ListenStream=127.0.0.1:53
+ListenDatagram=127.0.0.1:53
FreeBind=true
SmackLabelIPIn=*
SmackLabelIPOut=@