Article delegate-en/357 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A322@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: running delegate from inetd - help!
17 Mar 1999 13:17:10 GMT ysato@etl.go.jp (Yutaka Sato)


On 03/03/99(13:25) you Steve Mane <phiaqbdyi-dyd2yvfna6xr.ml@ml.delegate.org> wrote
in <_A322@delegate-en.ML_>
 |>dhttp  stream  tcp  nowait  nobody  /usr/local/sbin/delegated /usr/local/sbin/delegated SERVER=http RELIABLE="10.52.4.[2-9]"
 |
 |	That's part of what the problem was.  I also found a couple of bugs:
 |
 |1)  If I use RELIABLE="10.52.4.228" I always get an error from delegated
 |saying that the client has unknown and has no authorization.  If I use
 |RELIABLE=10.52.4.228 (without the quotes) it works fine.   And similarly, if
 |I use RELIABLE=10.52.4.227,209.90.15.22 I get an error, but if I put quotes
 |around the IP's it works.

In truth  I've never used quotation in the argument list in inetd.conf.
I wrote the above example just by copying from your message without
thinking about the quotation in it.

At last I noticed that inetd(s) do not interpret quotation in the argument
list, and now I'm curious how we can pass an argument includeing space
character like "a b"...

 |2)  The docs say that LOGFILE="" is the same as using -vs.  In fact, I've
 |found that delegate will create a log file named "" in the log dir.

Thus it should be LOGFILE= in inetd.conf.

Anyway, my recommendation is writing a (shell) script for start up as I
wrote in a message "http://wall.etl.go.jp/mail-lists/delegate-en/276"
entitled "Re: invoking DeleGate from inetd".

On 02/11/99(20:39) I wrote in <_A275@delegate-en.ML_>
 |In "/etc/inetd.conf" add a line like this:
 |<protocol-name> stream tcp wait nobody /path/of/delegate.rc delegate.rc

Cheers,
Yutaka
--
Yutaka Sato <ysato@etl.go.jp> http://www.etl.go.jp/~ysato/   @ @ 
Computer Science Division, Electrotechnical Laboratory      ( - )
1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan            _<   >_

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V