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

[DeleGate-En] Re: Unknown UDP ports
23 Apr 2007 13:19:36 GMT feedback@delegate.org (Yutaka Sato)
The DeleGate Project


In message <_A3721@delegate-en.ML_> on 04/23/07(18:39:20)
you Peter Rabbitson <prehabdyi-fjxi26ffzhtr.ml@ml.delegate.org> wrote:
 |I am successfully running delegate, no problems no issues (I am also
 |aware that there is a new version, have not upgraded yet). However
 |besides binding on the 8080 pot as requested, delegate binds on two more
 |unprivileged udp ports. Can someone explain what is delegate doing? Here
 |is my config:
...
 |Arx:/usr/local/delegate# netstat -an46p | grep delegate
 |tcp        0   0 0.0.0.0:8080  0.0.0.0:* LISTEN   11280/delegated -{0
 |udp        0   0 0.0.0.0:4588  0.0.0.0:*          11280/delegated -{0
 |udp      324   0 0.0.0.0:4589  0.0.0.0:*          11280/delegated -{0

The UDP ports are for the DNS resolver of DeleGate.
You can see where it is created in the LOGFILE with the following option:

  RES_DEBUG=-1

For examplle as this:

  04/23 21:56:11.92 [8802] 0+0: {R} RES_order(D,CFNDS)
  04/23 21:56:11.92 [8802] 0+0: {R} RES_init()
  04/23 21:56:11.92 [8802] 0+0: {R}         RES_ORDER=D
  04/23 21:56:11.92 [8802] 0+0: {R} load_rslvconf(/etc/resolv.conf)
  ...
  04/23 21:56:11.93 [8802] 0+0: {R} initDNSconn(): pid=8802
  04/23 21:56:11.93 [8802] 0+0: {R} DNS port = 36447/udp [5]
  04/23 21:56:11.93 [8802] 0+0: {R} DNS port = 36448/udp [6]


You can suppress the ports if you rely on the default resolvers of the
host machine, with the parameter as this:

  RESOLV=sys

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