disabled TCP localhost by default.
This commit is contained in:
@@ -12,7 +12,7 @@ index 7ca0e6e..98af596 100644
|
||||
|
||||
##
|
||||
diff --git a/etc/clamd.conf.sample b/etc/clamd.conf.sample
|
||||
index 2f18866..2c63980 100644
|
||||
index 2f18866..8a2580b 100644
|
||||
--- a/etc/clamd.conf.sample
|
||||
+++ b/etc/clamd.conf.sample
|
||||
@@ -5,13 +5,13 @@
|
||||
@@ -58,6 +58,15 @@ index 2f18866..2c63980 100644
|
||||
|
||||
# Only load the official signatures published by the ClamAV project.
|
||||
# Default: no
|
||||
@@ -93,7 +93,7 @@ Example
|
||||
|
||||
# Path to a local socket file the daemon will listen on.
|
||||
# Default: disabled (must be specified by a user)
|
||||
-#LocalSocket /tmp/clamd.socket
|
||||
+#LocalSocket /run/clamd.socket
|
||||
|
||||
# Sets the group ownership on the unix socket.
|
||||
# Default: disabled (the primary group of the user running clamd)
|
||||
@@ -109,7 +109,7 @@ Example
|
||||
|
||||
# TCP port address.
|
||||
@@ -67,15 +76,6 @@ index 2f18866..2c63980 100644
|
||||
|
||||
# TCP address.
|
||||
# By default we bind to INADDR_ANY, probably not wise.
|
||||
@@ -117,7 +117,7 @@ Example
|
||||
# from the outside world. This option can be specified multiple
|
||||
# times if you want to listen on multiple IPs. IPv6 is now supported.
|
||||
# Default: no
|
||||
-#TCPAddr localhost
|
||||
+TCPAddr localhost
|
||||
|
||||
# Maximum length the queue of pending connections may grow to.
|
||||
# Default: 200
|
||||
diff --git a/etc/freshclam.conf.sample b/etc/freshclam.conf.sample
|
||||
index 26c4e7a..5f791e8 100644
|
||||
--- a/etc/freshclam.conf.sample
|
||||
|
||||
Reference in New Issue
Block a user