Article delegate-en/276 of [1-5098] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
Newsgroups: mail-lists.delegate-en

Re: invoking DeleGate from inetd
11 Feb 1999 11:39:45 GMT (Yutaka Sato)

On 02/10/99(01:42) you "Erekose Ermizhad"  wrote
 |I am running delegate 5.8.8 On Linux 2.0.36 (i586) with 16 MB RAM.
 |lAstly,  I woukd like to know how to define delegate in inetd ???

In "/etc/inetd.conf" add a line like this:
<protocol-name> stream tcp wait nobody /path/of/delegate.rc delegate.rc

Several ways to invoke DeleGate is described in
"" (in Japanese ;-)

You can select "wait" or "nowait" mode in inetd.conf file. DeleGate
can be invoked in either mode and automatically detects in which mode
it is invoked. When DeleGate is invoked in "wait" mode, it acts in
the same way when invoked manually or from some "rc" scripts, except
that the "-Pxxxx" option will be ignored even if it specified, since
the port number and a socket bound to the port is given by the inetd.
Also in "nowait" mode, the -P will be ignored since a connected socket
is given by the inetd.  Moreover in this case, a DeleGate process can
relay only single connection since the given socket cannot be used
to accept multiple connections, since the socket is already connected.

The "wait" mode is light weight because the initialization of DeleGate
is achived only once at the first invokation of DeleGate, thus it is
recommendable for protocols which expend many connections like the
HTTP protocol. It requiers a resident DeleGate process, but you can
limit the maximum regident period by the TIMEOUT parameter, for example
TIMEOUT=daemon:30 to let a regident DeleGate process exit in 30 seconds.

Yutaka Sato   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_
  search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]