aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/01-pacredir-MulticastDNS-yes.conf10
-rw-r--r--etc/pacredir.conf30
-rw-r--r--etc/pacserve.conf4
3 files changed, 44 insertions, 0 deletions
diff --git a/etc/01-pacredir-MulticastDNS-yes.conf b/etc/01-pacredir-MulticastDNS-yes.conf
new file mode 100644
index 0000000..49ab0a7
--- /dev/null
+++ b/etc/01-pacredir-MulticastDNS-yes.conf
@@ -0,0 +1,10 @@
+# This file is shipped by pacredir to enable multicast DNS in
+# systemd-resolved globally. That functionality is required, though
+# you may want to enable it on specific interfaces only.
+# See systemd-resolved(8) and resolved.conf(5) for details.
+#
+# If you need avahi-daemon running on your system install
+# optional package 'pacredir-avahi' for compatibility.
+
+[Resolve]
+MulticastDNS=yes
diff --git a/etc/pacredir.conf b/etc/pacredir.conf
new file mode 100644
index 0000000..ab144f0
--- /dev/null
+++ b/etc/pacredir.conf
@@ -0,0 +1,30 @@
+# pacredir configuration file
+
+# We need a default section and call it 'general', so do not change this line.
+[general]
+
+# By default pacredir sends requests to all peers it knows about
+# simultaneously. Use this to limit the number of threads, the special value
+# 0 means unlimited.
+# Be aware that pacredir will not find files on peers it does not check!
+max threads = 0
+#max threads = 32
+
+# Some people like to run mDNS on network interfaces with low bandwidth or
+# high cost, for example to use 'Bonjour' (Link-Local Messaging) on it.
+# Add these interfaces here to ignore them by pacredir. Just give multiple
+# interface if desired, separated by space, comma or semicolon.
+#ignore interfaces = tap0
+#ignore interfaces = tun0
+#ignore interfaces = openvpn
+#ignore interfaces = tap0 tun0 openvpn
+
+# You may want to add hosts that do not announce their services via mDNS or
+# are connected to a different network segment. Add them here. IPv6 addresses
+# have to be enclosed in square brackets.
+# Please note that pacserve hosts depend on the peers' architecture!
+#pacserve hosts = test1.domain
+#pacserve hosts = test1.domain test2.domain
+
+# Give extra verbosity for more output.
+verbose = 0
diff --git a/etc/pacserve.conf b/etc/pacserve.conf
new file mode 100644
index 0000000..6a0a279
--- /dev/null
+++ b/etc/pacserve.conf
@@ -0,0 +1,4 @@
+# pacserve configuration file
+
+# Port to listen on
+PORT=7078