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

[DeleGate-En] Re: Help with FTP src address with DGBIND PLEASE...
04 Nov 2008 04:42:33 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


Hi,

In message <_A4201@delegate-en.ML_> on 11/03/08(13:23:12)
I wrote:
 |In message <_A4200@delegate-en.ML_> on 11/03/08(11:22:52)
 |you "Duke, Pat" <pnaiabdyi-6rjyzckkuz3r.ml@ml.delegate.org> wrote:
 | |Have spent days trying to get this to work. Cannot find what the bind command is having issues with getting permmission to.
 | |Bind error =-1 means it didn't work and error 13 is not enough permission, yet bind appears to be a kernal command and everything is setup correctly to get dgbind to start.
 | |
 | | (UNIX) 11:04:05.355 [13074] {s}    bind(23,192.148.135.170:20)=-1 0.0.0.0:0
 | |Nov  3 12:04:05 dkin-lab-sparc03 delegate: [ID 702911 user.notice] -- ERROR [13804] bind(192.148.135.170:20) = -1, errno=13
 | |Nov  3 12:04:05 dkin-lab-sparc03 delegate: [ID 702911 user.notice] -- ERROR [13804] sock=23/IPv4 192.148.135.170 af=2 leng=16
 |
 |Which version of DeleGate are you using on which OS?
 |I remember that dgbind does not work on an ancient SunOS (Solaris5).
 |On such OS, you need to do
 |  # delegated -Fimp -m
 |once as a super-user to implant the privilege into the executable of DeleGate.
 |(or run DeleGate by a super user, as the last solution, with OWNER="root")

I should have said that in case of the bind for FTP data-connection
(by the PORT command), you can escape the problem of privileged port by
using a non-privileged port as follows:

   SRCIF="*:2020:ftp-data-port"

This means using 2020 (instead of 20, the standard ftp-data port) for the
source port of data-connections.

Cheers,
Yutaka
--
  9 9   Yutaka Sato <y.sato@delegate.org> http://delegate.org/y.sato/
 ( ~ )  National Institute of Advanced Industrial Science and Technology
_<   >_ 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