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

[DeleGate-En] Re: syntax for listen in multiples ports to reach multiples servers
28 Jan 2003 07:44:51 GMT "GUILHEM Michel (34)" <pfqeabdyi-g7ilkrvm4hjr.ml@ml.delegate.org>


Le Mardi 28 Janvier 2003 07:00, vous avez écrit :

This syntax do not function , is a particular version of delegate necessary ?

The syntax unique 
delegated -P3023 SERVER=telnet://server1:23" is good
delegated -P3024 SERVER=telnet://server2:23" is also good

but the syntax
delegated -P3023,3024 SERVER="telnet://server1:23:-:-P3023" 
SERVER="telnet://server2:23:-:-P3024" do not function

With the first syntax i reach my two telnets servers
but with the second syntax i have this reply on delegate :
syntax used :

/usr/local/delegate8.0.1/src/delegated -v -P3023,3024 
SERVER=telnet://10.75.6.30:-:-P3023 SERVER=telnet://10.75.6.31:-:-P3024

replys obtained when i try : telnet server-delegate 3023
[root@cplinux34 delegate8.0.1]# /usr/local/delegate8.0.1/src/delegated -v 
-P3023,3024 SERVER=telnet://10.75.6.30:-:-P3023 
SERVER=telnet://10.75.6.31:-:-P3024

01/28 08:41:52.38 [31644] 0+0: PORT> -P3023,3024
01/28 08:41:52.39 [31644] 0+0: configuring default RESOLV ...
01/28 08:41:52.39 [31644] 0+0: ... SYS: cplinux34.bercy.cp -> 10.34.248.134
01/28 08:41:52.53 [31644] 0+0: ... DNS: 10.34.248.134 -> cplinux34.d034.cp
01/28 08:41:52.53 [31644] 0+0: ... DNS available
01/28 08:41:52.53 [31644] 0+0: ... NIS not available (no default domain)
01/28 08:41:52.53 [31644] 0+0: ... export RES_ORDER=CFD
01/28 08:41:52.53 [31644] 0+0: export RESOLV=cache,file,dns (set by default)
01/28 08:41:52.53 [31644] 0+0: --INITIALIZATION START: 8.0.1 on 
Linux/2.4.18-3--
01/28 08:41:52.53 [31644] 0+0: server_open(delegate,:3023,listen=20)
01/28 08:41:52.53 [31644] 0+0: server_open(delegate,:3023) BOUND
01/28 08:41:52.53 [31644] 0+0: server_open(delegate,:3024,listen=20)
01/28 08:41:52.53 [31644] 0+0: server_open(delegate,:3024) BOUND
01/28 08:41:52.53 [31644] 0+0: DGROOT=/var/spool/delegate-nobody^M
01/28 08:41:52.53 [31644] 0+0: <DeleGate/8.0.1 by ysato@delegate.org> [31644] 
-P3023 READY^M
<DeleGate/8.0.1 by ysato@delegate.org> [31644] -P3023 READY
DGROOT=/var/spool/delegate-nobody
ADMIN=michel.guilhem@finances..fr
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science and 
Technology (AIST)
01/28 08:41:52.53 [31644] 0+0: PORT= 3023/8,3024/9 (11,207)
01/28 08:41:52.53 [31644] 0+0: OWNER=nobody => 
OWNER=nobody/nobody(nobody/nobody)
01/28 08:41:52.53 [31644] 0+0: HOSTLIST resized [0 -> 16]
01/28 08:41:52.53 [31644] 0+0: REMITTABLE = 
ftp-data,ftp,ftps,telnet,telnets,smtp,smtp-data,whois,domain,dns,gopher,finger,http,https,pop,pop3s,imap,imaps,ident,nntp,nntps,news,nbt,prospero,archie,wais,ldap,ldaps,lpr,X,syslog,talk,socks,cuseeme,icp,http-proxy,delegate,tcprelay,udprelay,udprelay1,teleport,coupler,vsap,thruway
01/28 08:41:52.53 [31644] 0+0: ADMIN=michel.guilhem@cp.finances.gouv.fr 
protocol=delegate
-delegated[31644]- WARNING! ADMIN="your_mail_address" should be specified.
-delegated[31644]- INFO: using ADMIN=michel.guilhem@cp.finances.gouv.fr given 
at compile time.
01/28 08:41:52.53 [31644] 0+0: #### CACHE DISABLED #### Cache directory seems 
not exist: /var/spool/delegate-nobody/cache
01/28 08:41:52.53 [31644] 0+0: MOUNT[0]X[2] /-/builtin/icons/* = default
01/28 08:41:52.53 [31644] 0+0: MOUNT[1]X[3] /-/* = 
forbidden,from=!.RELIABLE,default
01/28 08:41:52.53 [31644] 0+0: MOUNT[2]X[0] /-* = default
01/28 08:41:52.53 [31644] 0+0: MOUNT[3]X[1] /=* = default
01/28 08:41:52.53 [31644] 0+0: Stay open PIDFILE for accept() lock[fd=11]
01/28 08:41:52.53 [31644] 0+0: env[32] 
LIBPATH=.:/usr/local/delegate8.0.1:/var/spool/delegate-nobody/lib:/usr/local/delegate8.0.1/src
01/28 08:41:52.53 [31644] 0+0: env[34] RESOLV=cache,file,dns
01/28 08:41:52.53 [31644] 0+0: arg[3] SERVER=telnet://10.75.6.30:-:-P3023
01/28 08:41:52.53 [31644] 0+0: arg[4] SERVER=telnet://10.75.6.31:-:-P3024
01/28 08:41:52.53 [31644] 0+0: DELEGATE_Modified[1]: 3e364250
01/28 08:41:52.53 [31644] 0+0: --INITIALIZATION DONE--
01/28 08:41:56.08 [31646] 1+0: -- Fork(SequentialServer): 31644 -> 31646
01/28 08:41:56.08 [31646] 1+1: bind_insock(12,10.34.248.134,0) = 0, errno=0
01/28 08:41:56.08 [31646] 1+1: ## connect[12] TIMEOUT(1000)
01/28 08:41:56.08 [31646] 1+1: ### IDENT CONNECT(cplinux34.bercy.cp:113) 
TIMEOUT(1000ms) (110)
01/28 08:41:58.26 [31646] 1+1: {R} *1 q=1,a=0, s=1,r=0 (2s)
01/28 08:41:59.95 [31646] 1+1: gethostbyname(P3023) unknown[3.87s] 
recv[10.75.1.30](98) Q[P3023] ID=2/2 AA=0 RD=1 RA=1 RCODE=3 ans,ns,add=0,1,0
01/28 08:41:59.95 [31646] 1+1: Virtual Host Name: 'P3023'
01/28 08:41:59.95 [31646] 1+1: Virtual Host Name: 'P3023'
01/28 08:41:59.97 [31646] 1+1: {R} *1 q=1,a=0, s=1,r=0 (0s)
01/28 08:42:00.06 [31646] 1+1: {R} *1 q=1,a=0, s=1,r=0 (0s)
01/28 08:42:00.33 [31646] 1+1: gethostbyname(P3024) unknown[0.38s] 
recv[10.75.1.30](98) Q[P3024] ID=4/4 AA=0 RD=1 RA=1 RCODE=3 ans,ns,add=0,1,0
01/28 08:42:00.33 [31646] 1+1: Virtual Host Name: 'P3024'
01/28 08:42:00.33 [31646] 1+1: Virtual Host Name: 'P3024'
01/28 08:42:00.34 [31646] 1+1: (0) accepted [30] 
-@[10.34.248.134]cplinux34.bercy.cp:48502 (4.261s)(2)


[root@cplinux34 root]# telnet 10.34.248.134 3023
Trying 10.34.248.134...
Connected to 10.34.248.134.
Escape character is '^]'.

I cannot have the hand .

Thanks for any clue , i try this with another version of delegate ( more 
recent and more older ) .





> In message <_A2092@delegate-en.ML_>
> on 01/28/03(16:36:22)
>
> you "GUILHEM Michel (34)" <pfqeabdyi-g7ilkrvm4hjr.ml@ml.delegate.org> wrote:
>  |I'm trying to discover a syntax for clients trying to do a telnet
>  | connexion between a delegate but with doing this on a different port
>  |the syntax is the following
>  |delegated -P3023 SERVER="telnet://server1:23" and for a second port
>  |delegated -P3024 SERVER="telnet://server2:23" ans so one
>  |
>  |To have this on an unique line of delegate what is the syntax ?
>  |
>  |delegated -P3023,3024 SERVER="telnet://server1:23"
>  |SERVER="telnet://server2:23" ?
>
> delegated -P3023,3024 SERVER=telnet://server1:-:-P3023 \
>                       SERVER=telent://server2:-:-P3024
>
> will do.
>
> Cheers,
> Yutaka

-- 
Guilhem michel Administrateur proxy

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