kopia lustrzana https://gitlab.com/sane-project/backends
Add standalone daemon mode, building upon the AF-indep/IPv6 debug mode.
Reorganize code by splitting the main() function into a series of functions. Factorize common code between the old network code and the AF-indep code. There's now only one version of main().merge-requests/1/head
rodzic
ef2838234e
commit
9c6fea1943
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
||||||
|
2008-04-06 Julien Blache <jb@jblache.org>
|
||||||
|
* frontend/saned.c: add standalone daemon mode, building upon the
|
||||||
|
AF-indep/IPv6 debug mode. Reorganize code by splitting the main()
|
||||||
|
function into a series of functions. Factorize common code between
|
||||||
|
the old network code and the AF-indep code. There's now only one
|
||||||
|
version of main().
|
||||||
|
* doc/saned.man: document new -a flag, reorganize manpage
|
||||||
|
sections (separate inetd configuration under the INETD
|
||||||
|
CONFIGURATION section).
|
||||||
|
|
||||||
2008-04-05 Stéphane Voltz <stef.dev@free.fr>
|
2008-04-05 Stéphane Voltz <stef.dev@free.fr>
|
||||||
* backend/genesys.c backend/genesys.h backend/genesys_devices.c
|
* backend/genesys.c backend/genesys.h backend/genesys_devices.c
|
||||||
backend/genesys_gl646.c backend/genesys_low.h:
|
backend/genesys_gl646.c backend/genesys_low.h:
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
.TH saned 8 "30 May 2004" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
.TH saned 8 "6 April 2008" "@PACKAGEVERSION@" "SANE Scanner Access Now Easy"
|
||||||
.IX saned
|
.IX saned
|
||||||
.SH NAME
|
.SH NAME
|
||||||
saned \- SANE network daemon
|
saned \- SANE network daemon
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B saned
|
.B saned
|
||||||
.RB [ -d | -s
|
.B [ -a | -d
|
||||||
.RI [ n ]]
|
.I [ n ]
|
||||||
|
.B | -s
|
||||||
|
.I [ n ]
|
||||||
|
.B ]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B saned
|
.B saned
|
||||||
is the SANE (Scanner Access Now Easy) daemon that allows remote clients
|
is the SANE (Scanner Access Now Easy) daemon that allows remote clients
|
||||||
|
@ -13,6 +16,19 @@ to access image acquisition devices available on the local host.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
|
.B -a
|
||||||
|
flag requests that
|
||||||
|
.B saned
|
||||||
|
run in standalone daemon mode. In this mode,
|
||||||
|
.B saned
|
||||||
|
will detach from the console and run in the background, listening for incoming
|
||||||
|
client connections;
|
||||||
|
.B inetd
|
||||||
|
is not required for
|
||||||
|
.B saned
|
||||||
|
operations in this mode.
|
||||||
|
.PP
|
||||||
|
The
|
||||||
.B -d
|
.B -d
|
||||||
and
|
and
|
||||||
.B -s
|
.B -s
|
||||||
|
@ -80,10 +96,11 @@ scan-client.somedomain.firm
|
||||||
.PP
|
.PP
|
||||||
The case of the host names does not matter, so AHost.COM is considered
|
The case of the host names does not matter, so AHost.COM is considered
|
||||||
identical to ahost.com.
|
identical to ahost.com.
|
||||||
|
.SH INETD CONFIGURATION
|
||||||
For
|
For
|
||||||
.B saned
|
.B saned
|
||||||
to work properly, it is also necessary to add a configuration line to
|
to work properly in its default mode of operation, it is also necessary to add
|
||||||
|
a configuration line to
|
||||||
.IR /etc/inetd.conf .
|
.IR /etc/inetd.conf .
|
||||||
Note that your inetd must support IPv6 if you
|
Note that your inetd must support IPv6 if you
|
||||||
want to connect to saned over IPv6 ; xinetd and openbsd-inetd are known to
|
want to connect to saned over IPv6 ; xinetd and openbsd-inetd are known to
|
||||||
|
@ -152,7 +169,11 @@ The official IANA short name for port 6566 is "sane-port". The older name "sane"
|
||||||
is now deprecated.
|
is now deprecated.
|
||||||
|
|
||||||
.SH "RESTRICTIONS"
|
.SH "RESTRICTIONS"
|
||||||
In addition to the control connection (port 6566) saned also uses a data
|
In addition to the control connection (port
|
||||||
|
.B 6566
|
||||||
|
)
|
||||||
|
.B saned
|
||||||
|
also uses a data
|
||||||
connection. The port of this socket is selected by the operating system and
|
connection. The port of this socket is selected by the operating system and
|
||||||
can't be specified by the user currently. This may be a problem if the
|
can't be specified by the user currently. This may be a problem if the
|
||||||
connection must go through a firewall (packet filter). If you must use a packet
|
connection must go through a firewall (packet filter). If you must use a packet
|
||||||
|
|
905
frontend/saned.c
905
frontend/saned.c
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue