test716 840 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. SOCKS5
  6. all_proxy
  7. </keywords>
  8. </info>
  9. #
  10. # Server-side
  11. <reply>
  12. # method 2 is SOCKS5 asking for user+password
  13. <servercmd>
  14. method 2
  15. </servercmd>
  16. </reply>
  17. #
  18. # Client-side
  19. <client>
  20. <server>
  21. socks5
  22. </server>
  23. <features>
  24. http
  25. proxy
  26. </features>
  27. <name>
  28. SOCKS5 proxy with too long user name
  29. </name>
  30. # it should never connect to the target server
  31. <command>
  32. http://hohoho.example.com:99/%TESTNUMBER -x socks5://AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA:b@%HOSTIP:%SOCKSPORT
  33. </command>
  34. </client>
  35. #
  36. # Verify data after the test has been "shot"
  37. <verify>
  38. <errorcode>
  39. 97
  40. </errorcode>
  41. </verify>
  42. </testcase>