[srvx-commits] CVS: services sockcheck.db.example,1.3.4.3,1.3.4.4
Brought to you by:
entrope
From: Miles P. <pet...@us...> - 2001-08-11 03:26:29
|
Update of /cvsroot/srvx/services In directory usw-pr-cvs1:/tmp/cvs-serv13530 Modified Files: Tag: rel-1_0 sockcheck.db.example Log Message: improved http checking by telling it to connect back to itself, only socks4 is broken right now Index: sockcheck.db.example =================================================================== RCS file: /cvsroot/srvx/services/sockcheck.db.example,v retrieving revision 1.3.4.3 retrieving revision 1.3.4.4 diff -C2 -r1.3.4.3 -r1.3.4.4 *** sockcheck.db.example 2001/08/11 02:12:43 1.3.4.3 --- sockcheck.db.example 2001/08/11 03:26:25 1.3.4.4 *************** *** 1,6 **** ! /* Connect (twice) on port 1080, sending "\5\1\0" as challenge. * If we get "\5\0" as a response, it's an unsecured socks5. * We connect twice because some proxies refuse the first. */ ! "1080*2:050100" { "0500" "reject:Unsecured socks5"; }; --- 1,6 ---- ! /* Connect on port 1080, sending "\5\1\0" as challenge. * If we get "\5\0" as a response, it's an unsecured socks5. * We connect twice because some proxies refuse the first. */ ! "1080:050100" { "0500" "reject:Unsecured socks5"; }; *************** *** 24,28 **** * proxy. If we get a 200 response, it worked and should be * booted. */ ! "3128:=C=O=N=N=E=C=T= $u=:=7=7=1=1= =H=T=T=P=/=1=.=00d0a0d0a" { "=H=T=T=P=/=1=.=0= =2=0=0" "reject:Unsecured proxy"; }; --- 24,28 ---- * proxy. If we get a 200 response, it worked and should be * booted. */ ! "3128:=C=O=N=N=E=C=T= $c=:=3=1=2=8= =H=T=T=P=/=1=.=00d0a0d0a" { "=H=T=T=P=/=1=.=0= =2=0=0" "reject:Unsecured proxy"; }; |