summaryrefslogtreecommitdiff
path: root/net-proxy/dante/files/sockd.conf-with-libwrap.patch
blob: 97d2a33f71bbfd9d8ee0bd8b0098ba3a4cf41a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- sockd.conf.orig	2005-06-04 13:57:39.770322448 +0300
+++ sockd.conf	2005-06-04 13:47:47.000000000 +0300
@@ -18,12 +18,14 @@
 #  Rules:
 #	client block/pass
 #		from to
+#		libwrap
 #		log
 #
 #     block/pass
 #		from to
 #		method
 #		command
+#		libwrap
 #		log
 #		protocol
 #		proxyprotocol
@@ -73,6 +75,10 @@
 # it will use the unprivileged userid of "sockd".
 user.notprivileged: sockd
 
+# when running libwrap commands, 
+# it will use the userid "sockd".
+user.libwrap: sockd
+
 #
 # some options to help clients with compatibility:
 #
@@ -179,9 +185,11 @@
 #}
 
 # the people at the 172.16.0.0/12 are bad, no one should talk to them.
-# log the connect request.
+# log the connect request and also provide an example on how to
+# interact with libwrap.
 #block {
 #	from: 0.0.0.0/0 to: 172.16.0.0/12
+#	libwrap: spawn finger @%a
 #	log: connect error
 #}