![]() Caveat: this file imposes serious security risks and its use is not etc/hosts.equiv The hosts listed in this file are permitted to access all local SANE devices. Sure that all ports > 1024 are open on the server for connections from the client. This may be a problem if the connection must go through a firewall (packet filter). The port of this socket is selected by the operating system and can'tīe specified by the user currently. In addition to the control connection (port 6566) saned also uses a data connection. Sane 6566/tcp # SANE network scanner daemon # for network access to a local scanner via theįinally, it is also necessary to add a line of the following form to /etc/services: # 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 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 stream tcp nowait saned.saned /usr/sbin/saned saned The configuration line normally looks like this: Want to connect to saned over IPv6 xinetd and openbsd-inetd are known to support IPv6, check the documentation for your inetd daemon. Note that your inetd must support IPv6 if you The case of the host names does not matter, so AHost.COM is considered identical to .įor saned to work properly, it is also necessary to add a configuration line to /etc/nf. Remote machine to use your scanner and may present a security risk, so this shouldn't be used unless you know what you're doing. A line containing the single character ''+'' is interpreted to match any hostname. Lines and lines starting with a hash mark (#) are ignored. Connections from localhost are always permitted. IPv6 addresses must be enclosed in brackets, and should always be specified in their compressed form. The contents of the nf file is a list of host names, IP addresses or IP subnets (CIDR notation) that are permitted to use local SANE devices. Don't run saned as root if it's not necessary. Don't depend only on saned's own authentification. 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). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |