![]() ![]() # description: The sane server accepts requests If xinetd is installed on your system instead of inetd the following example for nf may be helpful: Permissions on the special device are set such that saned can access the scanner (the program generally needs read and write access to scanner devices). If you follow this example, please make sure that the access Note that both examples assume that there is a saned group and a saned user. Sane-port stream tcp nowait saned.saned /usr/sbin/tcpd /usr/sbin/saned nf and use a line of the following form in /etc/nf instead: However, if your system uses tcpd(8) for additional security screening, you may want to disable saned access control by putting ''+'' in Sane-port stream tcp nowait saned.saned /usr/sbin/saned saned The configuration line normally looks like this: Your inetd must support IPv6 if you want to connect to saned over IPv6 xinetd and openbsd-inetd are known to support IPv6, check the documentation for your The case of the host names does not matter, so AHost.COM is considered identical to .įor saned to work properly in its default mode of operation, it is also necessary to add a configuration line to /etc/nf. Scanner and may present a security risk, so this shouldn't be used unless you know what you're doing.Ī sample configuration file is shown below: This allows any remote machine to use your A line containing the single character ''+'' is interpreted to match any hostname. Connections from localhost are always permitted. IPv6 addresses must beĮnclosed in brackets, and should always be specified in their compressed form. The access list is a list of host names, IP addresses or IP subnets (CIDR notation) that are permitted to use local SANE devices. The Netfilter nf_conntrack_sane module instead. If that firewall is a Linux machine, we strongly recommend using Use this option if your saned server is sitting behind a firewall. Pick a port range between 105 don't pick a too large port range, as it may have The nf configuration file contains both options for the daemon and the access list.ĭata_portrange = min_port - max_port Specify the port range to use for the data connection. Don't run saned as root if it's not necessary. Don't depend only on saned's own authentication. If saned is run from inetd or xinetd, no option can be given.įirst and foremost: saned is not intended to be exposed to the internet or other non-trusted networks. If flag -d is used, the debug messages will be printed to stderr while -s requests using syslog. ![]() Debug level 0 means no debug output at all. E.g., -d128 will request printing of all debug info. ![]() When compiled with debugging enabled, these flags may be followed by a number to request debug info. The -d and -s flags request that saned run in debug mode (as opposed to inetd(8) mode). Is given after -a, saned will drop root privileges and run as this user (and group). In this mode, saned will detach from the console and run in theīackground, listening for incoming client connections inetd is not required for saned operations in this mode. The -a flag requests that saned run in standalone daemon mode. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |