test702 595 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. #based off 19
  3. <info>
  4. <keywords>
  5. HTTP
  6. SOCKS4
  7. connect to non-listen
  8. FAILURE
  9. </keywords>
  10. </info>
  11. # Server-side
  12. <reply>
  13. <data>
  14. </data>
  15. # 91 is socks4 failure
  16. <servercmd>
  17. response 91
  18. </servercmd>
  19. </reply>
  20. # Client-side
  21. <client>
  22. <features>
  23. proxy
  24. </features>
  25. <server>
  26. socks4
  27. </server>
  28. <features>
  29. http
  30. proxy
  31. </features>
  32. <name>
  33. Attempt connect to non-listening HTTP server via SOCKS4 proxy
  34. </name>
  35. <command>
  36. --socks4 %HOSTIP:%SOCKSPORT http://%HOSTIP:%NOLISTENPORT
  37. </command>
  38. </client>
  39. # Verify data after the test has been "shot"
  40. <verify>
  41. <errorcode>
  42. 97
  43. </errorcode>
  44. </verify>
  45. </testcase>