Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 03-19-2014, 06:00 AM   #1
Registered: Oct 2013
Posts: 314

Rep: Reputation: Disabled
Command to check if open proxy works


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

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 06:38 AM.
Old 03-20-2014, 02:54 PM   #2
Senior Member
Registered: Apr 2009
Posts: 1,213

Rep: Reputation: 114Reputation: 114
You can use telnet to check proxy connection, like following.
telnet: > telnet 8080
telnet: Trying
telnet: Connected to
telnet: Escape character is '^]'.
client: CONNECT HTTP/1.0

server: HTTP/1.0 200 Connection established

server: 220 ESMTP server ready Thu, 5 Feb 2004 00:38:22 +0200



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I enable proxy NDP (proxy ARP works) Skaperen Linux - Networking 5 11-05-2012 01:18 AM
How to check connection through proxy kkpal Programming 2 07-27-2008 10:55 PM
How to check connection through proxy kkpal Linux - Newbie 2 07-24-2008 10:54 AM
How I can check my proxy server shahg_shahg Linux - Networking 0 01-17-2005 01:41 AM
how to check if ntpd works jetfreggel Linux - Networking 6 11-30-2002 02:30 PM

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration