diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-12-31 14:45:02 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-12-31 14:45:02 -0200 |
commit | 301667e66aa403e4699fa9c895b994e6213e55f6 (patch) | |
tree | 8afcf2bd00515e1068b23da04be1f0a9f27cba08 /files | |
parent | 51dad1ad46f7415a180390afe624946c37ee86ac (diff) | |
download | puppet-nodo-301667e66aa403e4699fa9c895b994e6213e55f6.tar.gz puppet-nodo-301667e66aa403e4699fa9c895b994e6213e55f6.tar.bz2 |
Scanning over network support
Diffstat (limited to 'files')
-rw-r--r-- | files/etc/default/saned | 7 | ||||
-rw-r--r-- | files/etc/sane.d/saned.conf | 33 |
2 files changed, 40 insertions, 0 deletions
diff --git a/files/etc/default/saned b/files/etc/default/saned new file mode 100644 index 0000000..444096e --- /dev/null +++ b/files/etc/default/saned @@ -0,0 +1,7 @@ +# Defaults for the saned initscript, from sane-utils + +# Set to yes to start saned +RUN=yes + +# Set to the user saned should run as +RUN_AS_USER=saned diff --git a/files/etc/sane.d/saned.conf b/files/etc/sane.d/saned.conf new file mode 100644 index 0000000..f61de7a --- /dev/null +++ b/files/etc/sane.d/saned.conf @@ -0,0 +1,33 @@ +# saned.conf +# Configuration for the saned daemon + +## Daemon options +# Port range for the data connection. Choose a range inside [1024 - 65535]. +# Avoid specifying too large a range, for performance reasons. +# +# ONLY use this if your saned server is sitting behind a firewall. If your +# firewall is a Linux machine, we strongly recommend using the +# Netfilter nf_conntrack_sane connection tracking module instead. +# +# data_portrange = 10000 - 10100 +data_portrange = 10000 - 10100 + + +## Access list +# A list of host names, IP addresses or IP subnets (CIDR notation) that +# are permitted to use local SANE devices. IPv6 addresses must be enclosed +# in brackets, and should always be specified in their compressed form. +# +# The hostname matching is not case-sensitive. + +#scan-client.somedomain.firm +#192.168.0.1 +#192.168.0.1/29 +#[2001:7a8:185e::42:12] +#[2001:7a8:185e::42:12]/64 +192.168.1.0/24 + +# NOTE: /etc/inetd.conf (or /etc/xinetd.conf) and +# /etc/services must also be properly configured to start +# the saned daemon as documented in saned(8), services(4) +# and inetd.conf(4) (or xinetd.conf(5)). |