Cleaned up SOCKS tests. Use a magic port number instead of killserver
to do nonlistening server tests, like other tests.
This commit is contained in:
parent
f0ffb35d55
commit
345ffd1163
@ -34,7 +34,7 @@ http
|
|||||||
socks4
|
socks4
|
||||||
</server>
|
</server>
|
||||||
<name>
|
<name>
|
||||||
HTTP GET via SOCK4 proxy
|
HTTP GET via SOCKS4 proxy
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
--socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/700
|
--socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/700
|
||||||
|
@ -34,7 +34,7 @@ http
|
|||||||
socks5
|
socks5
|
||||||
</server>
|
</server>
|
||||||
<name>
|
<name>
|
||||||
HTTP GET via SOCK5 proxy
|
HTTP GET via SOCKS5 proxy
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
--socks5 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/701
|
--socks5 %HOSTIP:%SOCKSPORT http://%HOSTIP:%HTTPPORT/701
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#based off 19
|
|
||||||
<testcase>
|
<testcase>
|
||||||
|
#based off 19
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
@ -23,10 +23,10 @@ socks4
|
|||||||
http
|
http
|
||||||
</features>
|
</features>
|
||||||
<name>
|
<name>
|
||||||
attempt connect to non-listening socket via sock4 proxy
|
Attempt connect to non-listening HTTP server via SOCKS4 proxy
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
--socks4 %HOSTIP:%SOCKSPORT %HOSTIP:60000
|
--socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:60000
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#based off 19
|
|
||||||
<testcase>
|
<testcase>
|
||||||
|
#based off 19
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
SOCKS4
|
SOCKS5
|
||||||
connect to non-listen
|
connect to non-listen
|
||||||
FAILURE
|
FAILURE
|
||||||
</keywords>
|
</keywords>
|
||||||
@ -17,16 +17,16 @@ FAILURE
|
|||||||
# Client-side
|
# Client-side
|
||||||
<client>
|
<client>
|
||||||
<server>
|
<server>
|
||||||
socks4
|
socks5
|
||||||
</server>
|
</server>
|
||||||
<features>
|
<features>
|
||||||
http
|
http
|
||||||
</features>
|
</features>
|
||||||
<name>
|
<name>
|
||||||
attempt connect to non-listening socket via sock5 proxy
|
Attempt connect to non-listening HTTP server via SOCKS5 proxy
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
--socks5 %HOSTIP:%SOCKSPORT %HOSTIP:60000
|
--socks5 %HOSTIP:%SOCKSPORT http://%HOSTIP:60000
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#based off 19
|
|
||||||
<testcase>
|
<testcase>
|
||||||
|
#based off 19
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
SOCKS4 fail
|
SOCKS4
|
||||||
connect to non-listen
|
connect to non-listen
|
||||||
FAILURE
|
FAILURE
|
||||||
</keywords>
|
</keywords>
|
||||||
@ -19,17 +19,11 @@ FAILURE
|
|||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
<killserver>
|
|
||||||
socks4
|
|
||||||
</killserver>
|
|
||||||
<features>
|
|
||||||
http
|
|
||||||
</features>
|
|
||||||
<name>
|
<name>
|
||||||
attempt connect to non-listening sock4 proxy
|
Attempt connect to non-listening SOCKS4 proxy
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
--socks4 %HOSTIP:%SOCKSPORT %HOSTIP:60000
|
--socks4 %HOSTIP:60000 http://%HOSTIP:%HTTPPORT/704
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
#based off 19
|
|
||||||
<testcase>
|
<testcase>
|
||||||
|
#based off 19
|
||||||
<info>
|
<info>
|
||||||
<keywords>
|
<keywords>
|
||||||
HTTP
|
HTTP
|
||||||
SOCKS5 fail
|
SOCKS5
|
||||||
connect to non-listen
|
connect to non-listen
|
||||||
FAILURE
|
FAILURE
|
||||||
</keywords>
|
</keywords>
|
||||||
@ -19,21 +19,14 @@ FAILURE
|
|||||||
<server>
|
<server>
|
||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
<features>
|
|
||||||
http
|
|
||||||
</features>
|
|
||||||
<name>
|
<name>
|
||||||
attempt connect to non-listening sock5 proxy
|
Attempt connect to non-listening SOCKS5 proxy
|
||||||
</name>
|
</name>
|
||||||
<command>
|
<command>
|
||||||
--socks5 %HOSTIP:%SOCKSPORT %HOSTIP:60000
|
--socks5 %HOSTIP:60000 http://%HOSTIP:%HTTPPORT/705
|
||||||
</command>
|
</command>
|
||||||
</client>
|
</client>
|
||||||
|
|
||||||
<killserver>
|
|
||||||
sock5
|
|
||||||
</killserver>
|
|
||||||
|
|
||||||
# Verify data after the test has been "shot"
|
# Verify data after the test has been "shot"
|
||||||
<verify>
|
<verify>
|
||||||
<errorcode>
|
<errorcode>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user