socks services errors in web proxy server

Using SunOne web proxy server 3.6+sp1, the socks service frequently out of service. Sometime its process is still alive , but can't response the client request; sometime the process is gone! The following is the errors log:

--

[25/Oct/2002:11:18:06] 8269 debug: io_loop: killing tunnel after rollover, lastactivity == 1966619898,PR_IntervalNow says 2026622109

[25/Oct/2002:11:20:31] 8269 debug: io_loop: killing tunnel after rollover, lastactivity == 1981101717,PR_IntervalNow says 2041102282

[25/Oct/2002:11:20:48] 754 error: unknown request type 0x47 from 10.160.8.159:30 83

[25/Oct/2002:11:41:07] 14946 debug: ACCEPT RETURNED NULL! io_total = 63 dead =-1

--

Any infomation is welcome!

[744 byte] By [708708] at [2007-11-25 8:32:20]
# 1
the error related to bad network connections, youshould always see the listening :1080 in your netstat.we downloaded and use the publicly available socksserver - its diabolical to try and debug using a web interface.
markahayes123 at 2007-7-1 15:03:22 > top of Java-index,Web & Directory Servers,Web Servers...
# 2

what's the software name of socks? how i can download it?

you mean it's not good?

And the following is the issue in detail:

The socks service frequently out of service. Sometime its process is still alive , but

can't response the client request; sometime the process is gone.It occurs once a

day, and after restart, its go away. And the last issue about must reconnect the gameroom

is gone now, and was identified as the network's problem.

-

mangus.conf:

-

#ServerRoot /iPlanet/proxy/proxy-proxy-proxy

ServerName proxy

ServerID proxy-proxy

Address 10.160.1.14

Port 8080

User root

LoadObjects obj.conf

RootObject default

ErrorLog /iPlanet/proxy/proxy-proxy-proxy/logs/errors

LDAPConnPool 5

SearchDepth 30

Dyngroups ON

SearchTimeLimit 30

BindTimeLimit 15

LdapCheckUp 30

CertificateChecking OFF

PidLog /iPlanet/proxy/proxy-proxy-proxy/logs/pid

MaxProcs 1024

ProcessLife 128

DNS on

Security off

Ciphers +rc4,+rc4export,+rc2,+rc2export,+des,+desede3

SSL3Ciphers

+rsa_rc4_128_md5,+rsa_3des_sha,+rsa_des_sha,+rsa_rc4_40_md5,+rsa_rc2_40

_md5,-rsa_null_md5

ACLFile /iPlanet/proxy/httpacl/generated.proxy-proxy-proxy.acl

obj.conf

# Netscape Communications Corporation - obj.conf

# You can edit this file, but comments and formatting changes

# might be lost when the admin server makes changes.

Init funcs="icp-init,icp-route" shlib="/iPlanet/proxy/plugins/icp/icp.so" fn="load-

modules"

Init funcs="pa-init-proxy-array,pa-init-parent-array,pa-enforce-internal-routing,pa- set-

parent-route,pa-set-member-status"

shlib="/iPlanet/proxy/plugins/parray/parray.so" fn="load-modules"

Init fn="load-types" mime-types="mime.types"

Init access="/iPlanet/proxy/proxy-proxy-proxy/logs/access" format.access="%

Ses->client.ip% - %Req->vars.pauth-user% [%SYSDATE%] \"%Req->reqpb.proxy-

request%\" %Req->srvhdrs.clf-status% %Req->vars.p2c-cl%" fn="flex-init"

Init fn="init-proxy" timeout="300" timeout-2="15"

Init fn="init-dns-cache" status="on" dir="/tmp" semas="4" size="4096"

expire="28800"

Init fn="init-cache" status="on" ndirs="256" dir="/iPlanet/proxy/cache"

Init fn="init-partition" status="on" name="p1" dir="/iPlanet/proxy/cache/p1" max-

size="8000" min-avail="5"

Init status="on" dir="/iPlanet/proxy/cache/p2" name="p2" max-size="8000" min-

avail="5" fn="init-partition"

Init status="on" dir="/iPlanet/proxy/cache/p3" name="p3" max-size="8000" min-

avail="5" fn="init-partition"

Init status="on" dir="/iPlanet/proxy/cache/p4" name="p4" max-size="8000" min-

avail="5" fn="init-partition"

Init status="on" dir="/iPlanet/proxy/cache/p5" name="p5" max-size="8000" min-

avail="5" fn="init-partition"

Init status="on" dir="/iPlanet/proxy/cache/p6" name="p6" max-size="8000" min-

avail="5" fn="init-partition"

Init status="on" dir="/iPlanet/proxy/cache/p7" name="p7" max-size="8000" min-

avail="5" fn="init-partition"

Init status="on" dir="/iPlanet/proxy/cache/p8" name="p8" max-size="8000" min-

avail="5" fn="init-partition"

Init fn="init-urldb" status="on" dir="/iPlanet/proxy/cache/urldb"

Init fn="init-batch-update" status="off" dir="/tmp" conf-file="bu.conf"

Init status="on" dir="/tmp" hash-size="17191" table-size="85955" expire="3600"

fn="init-pauth-cache"

Init config_file="icp.conf" status="off" fn="icp-init"

Init set-status-fn="pa-set-member-status" file="/iPlanet/proxy/proxy-proxy-

proxy/config/parray.pat" status="off" fn="pa-init-proxy-array"

Init set-status-fn="pa-set-member-status" file="/iPlanet/proxy/proxy-proxy-

proxy/config/parent.pat" status="off" fn="pa-init-parent-array"

<Object name="default">

NameTrans fn="map" from="file:" to="ftp:" cont="yes"

NameTrans fn="pfx2dir" from="/ns-icons" dir="/iPlanet/proxy/ns-icons" name="file"

NameTrans fn="pac-map" from="/" to="/iPlanet/proxy/proxy-proxy-

proxy/pac/proxy.pac" name="file"

PathCheck fn="url-check"

PathCheck fn="check-acl" acl="proxy-proxy-proxy_formgen-READ-ACL_deny-

5619"

PathCheck fn="check-acl" acl="proxy-proxy-proxy_formgen-WRITE-ACL_deny-

5619"

Service fn="deny-service"

AddLog fn="flex-log" name="access" iponly="1"

AddLog fn="urldb-record"

</Object>

<Object name="file">

PathCheck fn="unix-uri-clean"

PathCheck fn="find-index" index-names="index.html"

ObjectType fn="type-by-extension"

ObjectType fn="force-type" type="text/plain"

Service fn="send-file"

</Object>

<Object ppath="ftp://.*">

ObjectType fn="cache-enable"

ObjectType fn="cache-setting" max-uncheck="21600"

Service fn="proxy-retrieve"

</Object>

<Object ppath="http://.*">

ObjectType fn="cache-enable"

ObjectType fn="cache-setting" max-uncheck="7200" lm-factor="0.100"

Service fn="proxy-retrieve"

</Object>

<Object ppath="https://.*">

Service fn="proxy-retrieve"

</Object>

<Object ppath="gopher://.*">

ObjectType fn="cache-enable"

ObjectType fn="cache-setting" max-uncheck="14400"

Service fn="proxy-retrieve"

</Object>

<Object ppath="connect://.*:443">

Service fn="connect" method="CONNECT"

</Object>

<Object ppath="connect://.*:563">

Service fn="connect" method="CONNECT"

</Object>

-

socks5.conf

-

# Netscape Communications Corporation - socks5.conf

# You can edit this file, but comments and formatting changes

# might be lost when the admin server makes changes.

auth 10.160.0.0/255.255.224.0 - -

auth - - u

permit u,- - - - - - -

set SOCKS5_BINDPORT 1080

set SOCKS5_LOGFILE /iPlanet/proxy/proxy-proxy-proxy/logs/socks5.log

set SOCKS5_DEBUG 1

set SOCKS5_WORKERS 100

set SOCKS5_ACCEPTS 5

set SOCKS5_NOIDENT

set SOCKS5_NOREVERSEMAP

socks5.log

[19/Nov/2002:11:31:14] 830 debug: request from 10.162.169.176:2305

[19/Nov/2002:11:31:15] 830 debug: auth: userpass

[19/Nov/2002:11:31:15] 830 debug: authentication type 2 successful for hs

[19/Nov/2002:11:31:15] 830 debug: request 1 to jason314.3322.org:21

[19/Nov/2002:11:31:15] 830 request: hs 5 connect: ok 10.162.169.176:2305 ->

jason314.3322.org:21

[19/Nov/2002:11:31:15] 831 debug: request from 10.162.169.176:2306

[19/Nov/2002:11:31:15] 831 debug: auth: userpass

[19/Nov/2002:11:31:15] 831 debug: authentication type 2 successful for hs

[19/Nov/2002:11:31:15] 831 debug: request 1 to jason314.3322.org:21

[19/Nov/2002:11:31:15] 831 request: hs 5 connect: ok 10.162.169.176:2306 ->

jason314.3322.org:21

-

access

-

10.160.115.222 - scy-tl [19/Nov/2002:11:32:33 +0800] "GET

http://www.eefoo.com/c

ommunity/images/bbs0gg.gif HTTP/1.0" 200 146

10.160.115.79 - whh-tl [19/Nov/2002:11:32:33 +0800] "GET

http://fayhoo.com/image

/blank HTTP/1.0" 404 276

10.160.19.151 - lhb [19/Nov/2002:11:32:33 +0800] "POST HTTP://rich-bj.stockstar.

com:8892/1 HTTP/1.0" 200 81

10.160.160.130 - gsp-ld [19/Nov/2002:11:32:33 +0800] "GET

http://images.sohu.com

/cs/button/sony/12060.swf?clickthru=http://goto.sohu.com/goto.php3?code=sony-

sh2

40-fr12050 HTTP/1.0" 200 8302

10.160.23.141 - wyn [19/Nov/2002:11:32:33 +0800] "POST HTTP://rich-

bj.stockstar.

com:8891/1 HTTP/1.0" 200 81

10.161.159.40 - - [19/Nov/2002:11:32:33 +0800] "PUT http://204.177.92.204/w/getc

lientid?srv=china_sex&ver=0,0,0,62 HTTP/1.0" 407 271

10.160.17.108 - weizc [19/Nov/2002:11:32:33 +0800] "GET

http://www.guosen.com/cg

i-bin/RHStockGraphics.dll?GetTLine?code=10000001&cx=150&cy=70&am=0

HTTP/1.0" 200

1004

10.161.130.3 - czy-ykj [19/Nov/2002:11:32:34 +0800] "GET http://ad4.sina.com.cn/

btn/dbtel-tlhp.swf HTTP/1.0" 304 -

10.161.159.40 - - [19/Nov/2002:11:32:34 +0800] "PUT http://204.177.92.204/w/getc

lientid?srv=china_sex&ver=0,0,0,62 HTTP/1.0" 407 271

-

errors

-

[19/Nov/2002:11:33:13] failure: for host 10.160.80.148 trying to GET http://myjh

xp.com/bbs/forums.cgi?forum=4, retrieve-exit-routine reports: proxy retrieve fai

led: Proxy server's network connection was refused by the server: myjhxp.com.

The server may not be accepting connections or may be busy. Try connecting

agai

n later.

[19/Nov/2002:11:33:13] warning: last-modified in future (not caching): Tue Nov 1

9 03:51:01 2002

[19/Nov/2002:11:33:13] failure: for host 10.160.80.148 trying to GET http://myjh

xp.com/bbs/forums.cgi?forum=4, retrieve-exit-routine reports: proxy retrieve fai

led: Proxy server's network connection was refused by the server: myjhxp.com.

The server may not be accepting connections or may be busy. Try connecting

agai

n later.

[19/Nov/2002:11:33:13] failure: for host 10.162.101.73 trying to GET ftp://202.1

15.144.37/software/special/WinPE-9down.rar, retrieve-exit-routine reports: proxy

retrieve failed: Proxy server's network connection was refused by the server:

202.115.144.37. The server may not be accepting connections or may be busy. Tr

y connecting again later.

[19/Nov/2002:11:33:13] warning: last-modified in future (not caching): Tue Nov 1

9 18:21:00 2002

[19/Nov/2002:11:33:13] warning: last-modified in future (not caching): Tue Nov 1

9 03:51:01 2002

-

The logs is so large, i only can give you some of them typically.

and the types of log's record when problem occurs i have supplied to you, also i

pasted here

-

[25/Oct/2002:11:18:06] 8269 debug: io_loop: killing tunnel after rollover, lastactivity

== 1966619898,PR_IntervalNow says 2026622109

[25/Oct/2002:11:20:31] 8269 debug: io_loop: killing tunnel after rollover, lastactivity

== 1981101717,PR_IntervalNow says 2041102282

[25/Oct/2002:11:20:48] 754 error: unknown request type 0x47 from

10.160.8.159:30 83

[25/Oct/2002:11:41:07] 14946 debug: ACCEPT RETURNED NULL! io_total = 63

dead =-1

708708 at 2007-7-1 15:03:22 > top of Java-index,Web & Directory Servers,Web Servers...