[sane-devel] Listen =?
Olaf Meeuwissen
olaf.meeuwissen at avasys.jp
Fri Oct 12 04:11:45 UTC 2012
merc1984 at f-m.fm writes:
> On Thu, Oct 11, 2012, at 16:33, Olaf Meeuwissen wrote:
>
>> Just make localhost the only entry in your /etc/sane.d/saned.conf.
>>
>> BTW, a Listen directive is normally used to restrict the *ports* on
>> which a daemon listens, not the hosts that are allowed to connect. To
>> restrict the ports, use the data_portrange option. For details on the
>> configuration see the saned manual page.
> Everyone misunderstands my question. I am not wanting to limit
> -access- to only localhost.
Sorry for misreading your question.
> I want the daemon (in network mode) to only -bind- to 127.0.0.1 .
> Not any other IP.
> And listen or bind are variously the correct directives, depending
> on the daemon.
There's no documented way of doing this. You could check the code but I
don't think this is supported. Feel free to contribute a patch ;-)
Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962 Help support software freedom
http://www.fsf.org/jf?referrer=1962
More information about the sane-devel
mailing list