summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeonah Moon <seonah1.moon@samsung.com>2017-02-07 10:40:56 (GMT)
committerSeonah Moon <seonah1.moon@samsung.com>2017-02-07 10:44:27 (GMT)
commit28d90b0970f842bb934a6f37d8742c2dcb5e9628 (patch)
tree01d04e61f81bd79a36f595c56aadf04c17951da0
parent7671bf6b13869a11ced59f587460752fd4eabe6b (diff)
downloadconnman-28d90b0970f842bb934a6f37d8742c2dcb5e9628.zip
connman-28d90b0970f842bb934a6f37d8742c2dcb5e9628.tar.gz
connman-28d90b0970f842bb934a6f37d8742c2dcb5e9628.tar.bz2
Do not listen all of 53 ports for DNS proxyrefs/changes/13/113413/1
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 e27041f..8827498 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=@