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

[DeleGate-En] Re: PERMIT Permission bug?
15 Oct 2009 22:50:11 GMT NoSFeRaTU <peihqbdyi-aoufp53do4dr.ml@ml.delegate.org>


On Thu, 15 Oct 2009 06:50:04 +0900 (JST)
feedback@delegate.org (Yutaka Sato) wrote:

 YS> Hi,
 YS> 
 YS> In message <_A4611@delegate-en.ML_> on 10/12/09(00:35:44)
 YS> you NoSFeRaTU <peihqbdyi-aoufp53do4dr.ml@ml.delegate.org> wrote:
 YS>  |But with SAC="nosferatu.gnet" don't work:
 YS>  |
 YS>  |delegated SERVER=http HOSTS="xyz/{169.254.0.2,10.1.1.1}"
 SAC="nosferatu.gnet" YS>  |-dh PERMIT="*:*:10.1.1.0/24"
 YS> ...
 YS>  |10/11 19:19:15.75 [10366] 0+0: -- SAC=nosferatu.gnet
 YS>  |10/11 19:19:15.75 [10366] 0+0: ## 127.0.0.2 => nosferatu.gnet =>
 127.0.0.2 YS>  |[ 4]+    0:00    4 {nosferatu.gnet,nosferatu}/127.0.0.2
 YS> 
 YS> It must not work becase the hostname is resolved to 127.0.0.2 which
 YS> does not match with 10.1.1.0/24.
 YS> Defining HOSTS that includes real name or address will suppress the
 YS> real resolution and can cause inconsistent forward/inverse resolusion.
After some investigation I found in /etc/hosts that string:
127.0.0.2       nosferatu.gnet nosferatu
which seems come with OS installation. I have changed it to:
127.0.0.2       nosferatu
and now all works in any cases (with/without patch and/or /a) ^_^

 YS> 
 YS>  |Not works on real mode with:
 YS>  |delegated -P5555 SERVER=http PERMIT="*:*:10.1.1.0/24,/a"
 YS> 
 YS> I'm interested in the log output of this case.
10/16 02:16:18.75 [19593] 0+0: arg[2] SERVER=http
10/16 02:16:18.75 [19593] 0+0: arg[3] PERMIT=*:*:10.1.1.0/24,/a
10/16 02:16:18.75 [19593] 0+0: DELEGATE_Modified[0]: 4ad79f2e 1255644974
10/16 02:16:18.75 [19593] 0+0: --INITIALIZATION DONE-09101602+0300: 9.9.5 on
 Linux/2.6.27.29-0.1-default-- 10/16 02:16:18.75 [19593] 0+0: logMMap:
 18B12000 2712 10/16 02:16:18.75 [19593] 0+0: LOG-Socketpair[18,19]
10/16 01:16:25.60 [19595] 1+0: -- Fork(SequentialServer): 19593 -> 19595
10/16 02:16:25.66 [19595] 1+1: (0) accepted [44]
 -@[10.1.1.1]nosferatu.gnet:50516 (0.060s)(1) 10/16 02:16:25.71 [19595] 1+1:
 Proxy: host=nosferatu.gnet; User-Agent: Mozilla/5.0 (X11; U; Linux x86_64;
 en-US; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-1.1 Firefox; DIRECT 10/16
 02:16:25.71 [19595] 1+1: HCKA:[0] close,close; host=nosferatu.gnet;
 (User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.2)
 Gecko/20090730 SUSE/3.5.2-1.1 Firefox) 10/16 02:16:25.71 [19595] 1+1: REQUEST
 - GET http://noc.masterhost.ru/ HTTP/1.1^M 10/16 02:16:25.79 [19595] 1+1:
 PATH>
 http://noc.masterhost.ru:80!nosferatu.gnet:5555!nosferatu.gnet:50516!anonymous@nosferatu.gnet;1255644985
 10/16 02:16:25.79 [19595] 1+1: REQUEST = [http://noc.masterhost.ru:80/] GET /
 HTTP/1.1^M 10/16 02:16:25.80 [19595] 1+1: E-P: No permission:
 nosferatu.gnet:50516 => http://noc.masterhost.ru (unmatch PERMIT) 10/16
 02:16:25.80 [19595] 1+1: bind_insock(12,10.1.1.1,0) = 0, errno=0 10/16

--
 WBR, NoSFeRaTU

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V