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

[DeleGate-En] Re: Help with FTP src address with DGBIND PLEASE...
04 Nov 2008 22:54:57 GMT "Duke, Pat" <pnaiabdyi-vss2ysxgvj3r.ml@ml.delegate.org>


Hi Yutaka.. 

Thanks so much for responding.

We are using 5.9 solaris, it appears from your email that this could be the source of my frustration.

With debuggers I have found that dgbind is not providing the bind command with the correct effective userid of root to allow the bind to run (even tho the dgbind is executed with this euid) which is the reson it doesn't work. Appears this could be a solaris 9 issue with delegate..

Could you please confirm that it doesn't work with 5.9 

Thanks so much
Pat.

-----Original Message-----
From: Yutaka Sato [mailto:feedback@delegate.org] 
Sent: Tuesday, 4 November 2008 3:43 PM
To: feedback@delegate.org
Cc: Duke, Pat; feedback@delegate.org
Subject: Re: [DeleGate-En] Help with FTP src address with DGBIND PLEASE...

Hi,

In message <_A4201@delegate-en.ML_> on 11/03/08(13:23:12) I wrote:
 |In message <7A263823D8323E4E94C192308CBDE0DD11407C5C0A@WSMSG3153V.srv.dir..telstra.com> on 11/03/08(11:22:52)  |you "Duke, Pat" <Patrick.Duke@team.telstra.com> 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