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

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


Hi,

In message <_A4204@delegate-en.ML_> on 11/05/08(07:54:49)
you "Duke, Pat" <pnaiabdyi-bfkmicbeir3r.ml@ml.delegate.org> wrote:
 |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..


Can I see the result of the following on your machine, maybe including
the error message from the dgbind?

On 11/03/08(13:23) I wrote in <_A4201@delegate-en.ML_>
 |[with subin/dgbind]
 |Solaris10% ls -l $DGROOT/subin/dgbind
 |-rwsr-s---   1 root       298812 Dec 25  2006 $DGROOT/subin/dgbind
 |Solaris10% delegated -vv -P99
 |...
 |11/03 13:23:58.33 [22153] 0+0: --SU NONE /export/home/yutaka/delegate/sudo/port/P
 |11/03 13:23:58.34 [22153] 0+0: ### [0] dgbind 0
 |11/03 13:23:58.34 [22153] 0+0: ### [1] /export/home/yutaka/delegate/subin/dgbind 83ddce0
 |11/03 13:23:58.34 [22153] 0+0: ## dgbind = /export/home/yutaka/delegate/subin/dgbind
 |11/03 13:23:58.51 [22153] 0+0: listen(9,20) OK.
 |11/03 13:23:58.51 [22153] 0+0: server_open(delegate,:99) BOUND


And isn't this useful to escape your problem ?
Why you must set the source port number of the data-connection to #20 ?

On 11/04/08(13:42) I wrote in <_A4202@delegate-en.ML_>
 |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.


You "Duke, Pat" <pnaiabdyi-bfkmicbeir3r.ml@ml.delegate.org> wrote:
 |Could you please confirm that it doesn't work with 5.9 

I had ancient SunOS5.5 on Sparc CPU but the machine became broken.  Also
I have SunOS5.10 (Solaris10/x86) on VMWare but there is no problem as the
results shown in the previous mail.
Also Sun is encouraging you to upgrade to Solaris 10 :p
<URL:http://www.sun.com/software/solaris/9/index.xml>

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