Article delegate-en/2288 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]

Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: trying to setup delegate as socksv5 proxy
12 Jun 2003 03:22:29 GMT "Mike Partridge" <p5ueabdyi-5vjbuj5zrptr.ml@ml.delegate.org>


Can I use port 8080 for SOCKS proxy? Port 1080 is not open in the
firewall I need to go through.

You are correct about the connection error. I had a friend outside my
internal network attempt to connect, and he recieved the error: "Error
while talking to firewall". In DeleGate log I see:

...
06/11 20:45:14.01 [11981] 0+0: --INITIALIZATION DONE--

06/11 22:03:08.61 [12264] 1+0: -- Fork(SequentialServer): 11981 -> 12264
06/11 22:03:08.89 [12264] 1+1: {R} *1 q=0,a=1, s=1,r=1 (0s)
06/11 22:03:09.09 [12264] 1+1: (0) accepted [36]
-@[65.27.82.34]CPE-65-27-82-34.mn.rr.com:16394 (0.485s)(1)
06/11 22:03:09.15 [12264] 1+1: PATH:
socks://-:1080!192.168.0.120:8080!CPE-65-27-82-34.mn.rr.com:16394!anonym
ous@CPE-65-27-82-34.mn.rr.com;1055386989
06/11 22:03:09.20 [12264] 1+1: default netmask 65.27.82.34/. = FFFFFF00
06/11 22:03:09.20 [12264] 1+1: ## hostIFto 65.27.82.34 < 192.168.0.120
(ffffff00)
06/11 22:03:09.21 [12264] 1+1: E-P: No permission:
"CPE-65-27-82-34.mn.rr.com" is not allowed
06/11 22:03:09.21 [12264] 1+1: disconnected [36]
-@[65.27.82.34]CPE-65-27-82-34.mn.rr.com:16394 (0.609s)(0)
06/11 22:03:39.24 [12264] 1+1: StickyServer done [acceptFailed] 1 req /
1 conn / 31 sec

I think there are several problems. Is DeleGate still watching port
1080? I think so because of this:

06/11 22:03:09.15 [12264] 1+1: PATH:
socks://-:1080!192.168.0.120:8080!CPE-65-27-82-34.mn.rr.com:16394!anonym
ous@CPE-65-27-82-34.mn.rr.com;1055386989

Is connecting ip causing connection failure? From here:

06/11 22:03:09.21 [12264] 1+1: E-P: No permission:
"CPE-65-27-82-34.mn.rr.com" is not allowed

If you want to see it, initialization output follows. Thanks for you
help!

Mike


heirax:/usr/src/delegate8.5.5/src# ./delegated -Fauth -a testing:carpet
-socks.vhost
-OK added the auth.
PATH:
/home/delegate/adm/authorizer/-socks.vhost/4deb22cf33ec7640c308f302a98e6
163
AUTH: ftp://testing@-socks..:21
PASS: 37c6ab2fd1e8347dcc69226b592f1a58
EXPIRE: never

heirax:/usr/src/delegate8.5.5/src# ./delegated -v -P8080 SERVER=socks
AUTHORIZER=-socks.vhost     
06/11 20:45:13.80 [11981] 0+0: PORT> -P8080
06/11 20:45:13.81 [11981] 0+0: configuring default RESOLV ...
06/11 20:45:13.81 [11981] 0+0: ... SYS: heirax -> 127.0.0.1
06/11 20:45:13.90 [11981] 0+0: ... DNS: 127.0.0.1 ->
localhost.uslink.net
06/11 20:45:13.90 [11981] 0+0: ... DNS available
06/11 20:45:13.90 [11981] 0+0: ... NIS not available (no default domain)
06/11 20:45:13.91 [11981] 0+0: ... export RES_ORDER=CFD
06/11 20:45:13.91 [11981] 0+0: export RESOLV=cache,file,dns (set by
default)
06/11 20:45:13.91 [11981] 0+0: --INITIALIZATION START: 8.5.5 on
Linux/2.2.20--
06/11 20:45:13.93 [11981] 0+0: server_open(delegate,:8080,listen=20)
06/11 20:45:13.93 [11981] 0+0: server_open(delegate,:8080) BOUND
06/11 20:45:13.93 [11981] 0+0: DGROOT=/home/delegate^M
06/11 20:45:13.93 [11981] 0+0: <DeleGate/8.5.5 by ysato AT delegate DOT
org> [11981] -P8080 READY^M
<DeleGate/8.5.5 by ysato AT delegate DOT org> [11981] -P8080 READY
DGROOT=/home/delegate
ADMIN=root@heirax
AIST Product ID: 2000-ETL-198715-01, H14PRO-049
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2003 National Institute of Advanced Industrial
Science and Technology (AIST)
06/11 20:45:13.94 [11981] 0+0: PORT= 8080/8 (31,144)
06/11 20:45:13.95 [11981] 0+0: OWNER=nobody =>
OWNER=nobody/nogroup(nobody/nogroup)
06/11 20:45:13.96 [11981] 0+0: default netmask 127.0.0.1/. = FFFFFF00
06/11 20:45:13.96 [11981] 0+0: REMITTABLE = socks,tcprelay
06/11 20:45:13.96 [11981] 0+0: PATH: gzip -> /bin/gzip
06/11 20:45:13.97 [11981] 0+0: #### gzip = [/bin/gzip]gzip
06/11 20:45:13.97 [11981] 0+0: #### gunzip = [/bin/gzip]gzip -d
06/11 20:45:13.97 [11981] 0+0: ADMIN=root@heirax
protocol=socks(specialist)
-delegated[11981]- WARNING! ADMIN="your_mail_address" should be
specified.
-delegated[11981]- INFO: using ADMIN=root@heirax given at compile time.
06/11 20:45:13.98 [11981] 0+0: #### CACHE DISABLED #### Cache directory
seems not exist: /home/delegate/cache
06/11 20:45:13.98 [11981] 0+0: MOUNT[0]X[2] /-/builtin/icons/* = default
06/11 20:45:13.99 [11981] 0+0: MOUNT[1]X[3] /-/* =
forbidden,from=!.RELIABLE,default
06/11 20:45:13.99 [11981] 0+0: MOUNT[2]X[0] /-* = default
06/11 20:45:13.99 [11981] 0+0: MOUNT[3]X[1] /=* = default
06/11 20:45:13.99 [11981] 0+0: Stay open PIDFILE for accept()
lock[fd=10]
06/11 20:45:14.00 [11981] 0+0: env[13]
LIBPATH=.;/usr/src/delegate8.5.5/src;/home/delegate/lib;.
06/11 20:45:14.00 [11981] 0+0: env[15] RESOLV=cache,file,dns
06/11 20:45:14.00 [11981] 0+0: arg[3] SERVER=socks
06/11 20:45:14.00 [11981] 0+0: arg[4] AUTHORIZER=-socks.vhost
06/11 20:45:14.01 [11981] 0+0: DELEGATE_Modified[1]: 3ee7db2a
06/11 20:45:14.01 [11981] 0+0: --INITIALIZATION DONE--





-----Original Message-----
From: Yutaka Sato [mailto:feedback@delegate.org] 
Sent: Wednesday, June 11, 2003 2:02 PM
To: feedback@delegate.org
Cc: p5ueabdyi-5vjbuj5zrptr.ml@ml.delegate.org
Subject: Re: [DeleGate-En] trying to setup delegate as socksv5 proxy


On 06/11/03(19:05) you "Mike Partridge" <p5ueabdyi-5vjbuj5zrptr.ml@ml.delegate.org> wrote in
<_A2285@delegate-en.ML_>
 |I want to use delegate as a socksv5 proxy with username/password
|authentication. I've used the following command: ...  |../delegated -v
-P8080 SERVER=socks AUTHORIZER=-localhost

Usually the port number 8080 is used for HTTP proxy, and the standard
port number of SOCKS protocol is 1080.

 |and try to connect using user/pass mtest/testpass, but I get the error
|"unable to connect to firewall". What am I doing wrong? Thanks in
|advance.

What the DeleGate put to the consolse when the error occurred? What
program say so, "unable to connect to firewall"?  The message seems not
to show the authentication error but connection level error.

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
( - ) National Institute of Advanced Industrial Science and Technology
(AIST)
_<   >_ 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