Welcome! Log In Create A New Profile

Advanced

Re: Caching servers in Local ISPs !!

June 17, 2014 01:11PM
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.

---
nginx for Windows http://nginx-win.ecsds.eu/
Subject Author Posted

Caching servers in Local ISPs !!

shahzaib1232 May 09, 2014 11:00AM

Re: Caching servers in Local ISPs !!

Rainer Duffner May 09, 2014 01:20PM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 09, 2014 01:46PM

Re: Caching servers in Local ISPs !!

itpp2012 May 09, 2014 02:49PM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 09, 2014 03:24PM

Re: Caching servers in Local ISPs !!

itpp2012 May 09, 2014 04:01PM

Re: Caching servers in Local ISPs !!

GreenGecko May 10, 2014 12:26AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 10, 2014 05:20AM

Re: Caching servers in Local ISPs !!

itpp2012 May 10, 2014 06:39AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 27, 2014 06:14AM

Re: Caching servers in Local ISPs !!

itpp2012 May 27, 2014 06:55AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 27, 2014 08:18AM

Re: Caching servers in Local ISPs !!

itpp2012 May 27, 2014 09:00AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 27, 2014 09:28AM

Re: Caching servers in Local ISPs !!

itpp2012 May 27, 2014 09:41AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 28, 2014 04:48AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 28, 2014 05:18AM

Re: Caching servers in Local ISPs !!

itpp2012 May 28, 2014 05:50AM

Re: Caching servers in Local ISPs !!

shahzaib1232 May 28, 2014 07:20AM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 04, 2014 02:52PM

Re: Caching servers in Local ISPs !!

itpp2012 June 04, 2014 03:19PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 04, 2014 03:24PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 06, 2014 09:38AM

Re: Caching servers in Local ISPs !!

itpp2012 June 06, 2014 11:26AM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 06, 2014 11:58AM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 16, 2014 01:20PM

Re: Caching servers in Local ISPs !!

itpp2012 June 16, 2014 01:41PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 10:00AM

Re: Caching servers in Local ISPs !!

itpp2012 June 17, 2014 01:11PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 02:10PM

Re: Caching servers in Local ISPs !!

itpp2012 June 17, 2014 02:32PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 02:48PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 17, 2014 02:48PM

Re: Caching servers in Local ISPs !!

itpp2012 June 17, 2014 03:50PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 18, 2014 01:12PM

Re: Caching servers in Local ISPs !!

itpp2012 June 18, 2014 02:24PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 18, 2014 02:32PM

RE: Caching servers in Local ISPs !!

Lukas Tribus June 18, 2014 03:36PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 18, 2014 03:46PM

Re: Caching servers in Local ISPs !!

Jonathan Matthews June 18, 2014 04:06PM

Re: Caching servers in Local ISPs !!

shahzaib1232 June 19, 2014 01:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 158
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready