Article delegate-en/1740 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:<_A1739@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: Problem for FTP proxy and data connection
05 Jul 2002 10:45:11 GMT feedback@delegate.org (Yutaka Sato)


In message <_A1739@delegate-en.ML_> on 07/05/02(18:21:06)
you pzmdabdyi-hugik5uqw5xr.ml@ml.delegate.org wrote:
 |I'm having trouble making it work with data connection, because I've to
 |connect to my corporate firewall without adding any new rule.
 |
 |I've tried the following configuration:
 |
 |delegated -P21 SERVER=ftp +=/etc/delegate/ftp.config
 |
 |where
 |----- ftp.config -----
 |ADMIN='anonymous@mydomain'
 |OWNER='daemon'
 |DGROOT='/var/spool/delegate-root'
...
 |--------------------
 |and where ftppermit contains a list of clients IP allowed to use this proxy.
...
 |07/05 11:02:25.21 [7054] 1+0/3: SRCIF=*:20 [ftp-data-src://x.y.z.w:1389]
 |07/05 11:02:25.21 [7054] 1+0/3: bind_inet(17,a.b.c.d:20) failed: ERRNO=13
 |(you are not permitted user)
...
 |Does it has something to do with the three lines at the bottom of the log
 |?
 |I've also tried many combination for owner (dameon, root, delegate, nobody
 |and so on)

The error shows that your DeleGate is running with non-privileged user.
OWNER=root is necessary to be privileged.
What error has been logged with the OWNER=root ?

And to be effective without problem, OWNER (and DGROOT) must be
out of configuration file, included with "+=".
See <URL:http://www.delegate.org/delegate/Manual.htm#PARAMETERS>
> Parameters marked with "+" can NOT be given in "+=parameters" scripts. 
>     + OWNER user[/group] with who's access right this DeleGate runs 
>     + DGROOT dirPath root directory of all of DeleGate files 

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

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