Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Command to check if open proxy works


    Hello,

    please what is the least server resources intensive linux command to veriffy an open proxy works.

    I mean one should probably send and receive any data via this proxy? and if data found it returns true

    Assuming proxy is 1.2.3.4:1080

    I used this: curl -x $proxy $url --connect-timeout 8 --max-time 20

    but it appears my proxy timeout, but still connect, not sure if after timeout no proxy is used, so i want to load via proxy or return false
    Last edited by postcd; 03-19-2014 at 11:30 AM.
    https://zeronet.io - Open, free and uncensorable websites, using Bitcoin cryptography and BitTorrent network

  2. #2
    Just Joined!
    Join Date
    Apr 2014
    Location
    Dublin
    Posts
    9
    hi,

    in order to check if a specified service (proxy, ssh, apache etc. = deamons) work, you should type:

    #service service_name status

    service_name=openproxy or whatever its name is (I dont use proxy, sorry, so I dont know).

    if the status is 'running' or 'OK' then the cause is obviously elsewhere.
    if this service doesnt work replace 'status' with 'restart' to get 'OK' confirmaiton that it's running.

    that's really all I could suggest.
    take care

Posting Permissions

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