Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




31 posts

Geek


Topic # 49808 20-Nov-2009 15:30
Send private message

i have squid proxy server setup on a ubuntu machine - i am just learning at the moment so trying out things..

i have configured my firefox to run thru the proxy. its all working well

i went to www.whatismyip.com - came up with proxy server ip - so far so good

then i go to www.speedtest.net - they display my original IP address.? how is that possible? thru the ping test they do right at the start? and they get information off that some how?

i can see that proxy server is working, because when i test my speed thru firefox configured with my proxy the pings are much higher and speed is much lower.

when i run a speed test thru IE which is not proxy configured i am getting far better speeds. so proxy is working fine.

no proxy:
no proxy

proxy:
proxy

Create new topic
2331 posts

Uber Geek
+1 received by user: 367

Trusted

  Reply # 274765 20-Nov-2009 15:55
Send private message

Proxies forword the ip address its coming from via the X-FORWARDED-FOR in the HTTP request.. If you don't want to leak your real ip address then set up your proxy not to forward it

header_access X-Forwarded-For deny all is your firiend



31 posts

Geek


  Reply # 274842 20-Nov-2009 21:44
Send private message

thanks for the quick reply.

one more question that i have around the same context.

situation : using the proxy server to get over traffic shaping my ISP is imposing on couple of sites

is there a way for the ISP to find out which IP am i sending off the requests to. ie the real destination or they can only see the proxy's ip?

 
 
 
 


Infrastructure Geek
4043 posts

Uber Geek
+1 received by user: 193

Trusted
Microsoft NZ
Subscriber

  Reply # 274844 20-Nov-2009 21:53
Send private message

is your squid proxy server on a different ISP? if not, i fail to see why it would make any difference




Technical Evangelist
Microsoft NZ
about.me/nzregs
Twitter: @nzregs


Go Hawks!
771 posts

Ultimate Geek
+1 received by user: 26

Trusted
Subscriber

  Reply # 275039 21-Nov-2009 21:37
Send private message

quadiator: thanks for the quick reply.

one more question that i have around the same context.

situation : using the proxy server to get over traffic shaping my ISP is imposing on couple of sites

is there a way for the ISP to find out which IP am i sending off the requests to. ie the real destination or they can only see the proxy's ip?



I bypass my office ISP's transparent proy by VPN'ing over to our cohosted machines and pushing the traffic through the VPN, rather than letting it go through the naked interwebs.

Having said that - the only way is going to be be to encapsulate the traffic through to something beyond control of your ISP.  (Ie. talking to another proxy server out there on the internet.



31 posts

Geek


  Reply # 278239 1-Dec-2009 12:54
Send private message

ok.. thanks everyone.. maybe i need to explain my situation with more details..

i am a home brodband user, my isp clearly shapes downloads from www.megaupload.com . any other website i download from except from megaupload i am getting 1000kb/s. if i download from the megaupload website i get no more than 150kb/s.

to overcome this problem i thought a proxy server will help.

so i went off and subscribed for a linux based vps with 100gb bandwidth, i am sharing a 100mbps line with other users.

i have a squid proxy setup there. address: tempvps.thruhere.net port: 3128 (you can try it out. no username/pass required at this stage)

my proxy can download from the website at 6mb/s, and upload at about the same rate.

**so this is the setup

***now when i download from any website except megaupload.com via proxy i am getting 800kb/s

****my downloads from megaupload.com via proxy server still gives me no more than 150kb/s

so clearly my ISP is able to findout that i am downloading from meagupload.com even though i am using a proxy.

--how can they findout ?

---how do i overcome that?

Go Hawks!
771 posts

Ultimate Geek
+1 received by user: 26

Trusted
Subscriber

  Reply # 278244 1-Dec-2009 13:02
Send private message

Can you install a webserver onto your vps and test the throughput from there - it could be the transit that your traffic takes from your local machine through to your VPS.

Have you configured squid to NOT forward through the IP address of your local machine? (I.e. thinking here that the throttling could be coming from the web server, rather than the transit provider(s)

Failing all that, can you setup an SSH tunnel through to your proxy server (i.e encrypted traffic from your machine to the proxy server), that may provide an insight into where the slow down is occuring.



31 posts

Geek


  Reply # 278251 1-Dec-2009 13:16
Send private message

Can you install a webserver onto your vps and test the throughput from there - it could be the transit that your traffic takes from your local machine through to your VPS.

--have apache installed on vps. can download files from VPS at 1000kb/s

Have you configured squid to NOT forward through the IP address of your local machine? (I.e. thinking here that the throttling could be coming from the web server, rather than the transit provider(s)

--no i havent done that. i dont entirely understand whats said here.

my understanding of a proxy: packet sent from MY ip to VPS ip - VPS ip to Megaupload.com ip - megaupload.com ip to VPS ip - VPS ip to my IP

so you are saying squid is going to send the packets: MY ip to VPS ip - (at vps) MY ip to megaupload.com ip - megaupload.com ip to VPS ip - VPS ip to MY ip

you asking if megaupload is implement shaping on my ip? - in other words my isp advised megaupload on what ips to shape traffic on? (some kind of agreement?)


Failing all that, can you setup an SSH tunnel through to your proxy server (i.e encrypted traffic from your machine to the proxy server), that may provide an insight into where the slow down is occuring.

- have tried this. i am not sure if i have done it right.

i have opened a tunnel on putty D8081 and then redirected all traffic from my download manager to localhost 8081.

used wireshark to monitor - all packets are destined for vps and receiving packets from vps ip too. - speeds are still at 150kb/s

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Vodafone TV — television in the cloud
Posted 17-Oct-2017 19:29


Nokia 8 review: Classy midrange pure Android phone
Posted 16-Oct-2017 07:27


Why carriers might want to embrace Commerce Commission study, MVNOs
Posted 13-Oct-2017 09:42


Fitbit launches Ionic, its health and fitness smartwatch
Posted 12-Oct-2017 15:52


Xero launches machine learning automation to improve coding accuracy for small businesses
Posted 12-Oct-2017 15:45


Bank of New Zealand uses Intel AI to detect financial crime
Posted 12-Oct-2017 15:39


Sony launches Xperia XZ1, a smartphone with real-time 3D capture
Posted 11-Oct-2017 10:26


Notes on Nokia’s phone comeback
Posted 10-Oct-2017 10:06


Air New Zealand begins Inflight Wi-Fi rollout
Posted 9-Oct-2017 20:16


The latest mobile phones in perspective
Posted 9-Oct-2017 18:34


Review: Acronis True Image 2018 — serious backup
Posted 8-Oct-2017 11:22


Lenovo launches ThinkPad Anniversary Edition 25
Posted 7-Oct-2017 23:16


Less fone, more tech as Vodafone gets brand make-over
Posted 6-Oct-2017 08:16


API Talent Achieves AWS MSP Partner Status
Posted 5-Oct-2017 21:20


Stellar Consulting Group now a Domo Partner
Posted 5-Oct-2017 21:03



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.