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

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


In message <_A4200@delegate-en.ML_> on 11/03/08(11:22:52)
you "Duke, Pat" <pnaiabdyi-bkxgh26pi6nr.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")


[without subin/dgbind, with "-Fimp -m"]
Solaris10% su
Solaris10# delegated -Fimp -m
...
---- NEW IMPLANTED CONFIGURATION ----
SUDOAUTH=:root,.owner:-_settimeofday
...
Solaris10% delegated -vv -P99
...
11/03 13:32:54.69 [22157] 0+0: --SU started
11/03 13:32:54.72 [22157] 0+0: server_open(delegate,:99,listen=20)
11/03 13:32:54.72 [22157] 0+0: gethostbyNameAddr(empty)
11/03 13:32:54.72 [22157] 0+0: listen(10,20) OK.
11/03 13:32:54.72 [22157] 0+0: server_open(delegate,:99) BOUND
...


[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

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