Caching servers in Local ISPs !!

shahzaib shahzaib shahzaib.cb at gmail.com
Tue Jun 17 18:08:40 UTC 2014


i don't think the solution rdns will be suitable for us. I have checked the
zebra software to make linux a BGP router
http://www.techrepublic.com/article/use-zebra-to-set-up-a-linux-bgp-ospf-router/

Could you tell me if BGP is capable of doing what we want? Because our
local ISP supports this method and i have no idea how to implement it.

Functionality we need, is to auto detect the new ip prefixes from local ISP
so they'll not have to provide us thousands of prefixes on daily basis.


On Tue, Jun 17, 2014 at 10:11 PM, itpp2012 <nginx-forum at nginx.us> wrote:

> shahzaib1232 Wrote:
> -------------------------------------------------------
> > Thanks itpp but the issue is still same and still the ip is from the
> > main
> > server in inspect element as well as in local-caching nginx access
> > logs, i
> > am getting the client ip as main-server's ip instead of original
> > client ip
>
> It could be the case the traffic you are getting is from the ISP proxy
> which
> could mean that any traffic is from that ISP only, which makes it easier to
> determine which to serve from local. Ask the ISP from where the traffic is
> coming from, if it is a proxy then proxy=local.
>
> > So, the specific subnet coming from our ISP to the main server will be
> > routed to the local caching server and our ISP will have to tell us
> > each
> > time to add specific ip prefix in the nginx config to route them
> > towards
> > their caching server. So the problem is, whenever few hundreds ip
> > prefixes
> > are added to their network, they'll have to provide us those prefixes
> > in
> > order to enable caching for newly added ips.
>
> See above, if this is not the case look into
> https://github.com/flant/nginx-http-rdns if a client has something like
> 'p1234.adsl-pool2-auckland.au' you can redirect based on a part of the
> client dns name, your ISP can tell you which DHCP named pools there are.
>
> If you can't get the client IP of hostname you gonna need to do some
> wiresharking to see where the info is, if it is anywhere.
> If the ISP is using a proxy to pass clients to your server ask them to add
> a
> header with the client ip/hostname.
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,249997,250950#msg-250950
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140617/800113b6/attachment.html>


More information about the nginx mailing list