Find the answer to your Linux question:
Results 1 to 2 of 2
hi howto test a remote proxy from the command line ? proxy port should be open: Code: # telnet 192.168.0.2 3128 Trying 192.168.0.2... Connected to 192.168.0.2. Escape character is '^]'. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    cc
    cc is offline
    Linux Newbie
    Join Date
    Jun 2004
    Posts
    120

    test a remote proxy from the command line


    hi

    howto test a remote proxy from the command line ?
    proxy port should be open:
    Code:
    # telnet 192.168.0.2 3128
    Trying 192.168.0.2...
    Connected to 192.168.0.2.
    Escape character is '^]'.
    but what are next steps to test HTTP ?

    I have debian Etch stable on the local machine and on the proxy server.

  2. #2
    Just Joined!
    Join Date
    Feb 2008
    Location
    France - Paris
    Posts
    18
    For advanced work on shell, you can use browser client like lynx or links2 (great )

    To test HTTP with telnet you can insert this lines.

    telnet ip 3328(or 80, 443)
    Trying ip...
    Connected to ip.
    Escape character is '^]'.
    GET / HTTP/1.1

    And 2 presses on Enter key


    GET (or HEAD,POST,FILE ...) is action.
    / is path (like http://youip/ => / )
    HTTP/1.1 is protocol version

    Next you can if the is Vhost put Host: directive.

    Host: youdomain.com


    There are a lot of directives HTTP like useragent, charset ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •