Sign In
New User? Register
linux_chandigarh · Linux_Chandigarh_Chapter
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
You can search the group for older messages.

Messages

  Messages Help
Advanced
server request Ports to another server!!!(read it must)   Message List  
Reply | Forward Message #493 of 927 |
Re: [linux_chandigarh] server request Ports to another server!!!(read it must)

Hi Pardeep,
 
Well you look quiet confused in here. Like you said, Squid first checks its cache and automatically fetches the content if it can't find that in its cache. So no need to do anything special on client's proxy settings. It remains port 3128.
 
Off the topic; r u signed up with all these groups whom you have posted your query. :)
 
Regards
 
Arminder S Girgla
Moderator
  
----- Original Message -----
Sent: Saturday, September 16, 2006 12:24 AM
Subject: [linux_chandigarh] server request Ports to another server!!!(read it must)

Hi Friends How r u
Can anybody tell me about my one more problem about SQUID
As we know that Squid(proxy) server listen on Port# 3128. So let us suppose it accept a request from a client on port 3128 for any URL.But Firstly it will check own Cache if that URL related link does not exist in cache then it will forward the request to web server over internet
Now my problem is that when Proxy further forward the request of client then proxy from which port using for request to webserver port 80 over internet.
For Example:-
# iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128
How web server send back response on Port 80.(-dport 80)
Or if server request further to another server for any purpose then do it use same port as listening port for client
But in case of client it first open unpriviliged port greater than 1024 then request from that port to server.
So in case of server what would happen,Actually i m confusing over it
Please reply me as soon as possible
Regards:
Pardeep


Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW


Sat Sep 16, 2006 10:51 am

armindersingh
Offline Offline
Send Email Send Email

Forward
Message #493 of 927 |
Expand Messages Author Sort by Date

Hi Friends How r u Can anybody tell me about my one more problem about SQUID As we know that Squid(proxy) server listen on Port# 3128. So let us suppose it...
Pardeep Sharma
itspardeep.s...
Offline Send Email
Sep 16, 2006
2:49 am

Hi Pardeep, Well you look quiet confused in here. Like you said, Squid first checks its cache and automatically fetches the content if it can't find that in...
Arminder Singh Girgla
armindersingh
Offline Send Email
Sep 16, 2006
11:11 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help