Re: IPv4 -> IPv6 name based proxy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2009-05-29 at 14:46 -0500, Brian Kroth wrote:
> Hello all,
> 
> I'm working on a project to redesign our web hosting infrastructure.
> For various reasons our basic plan is to have a fleet of VMs that do
> virtual hosting from an IPv6 only VLAN.  Since most of the world is
> still IPv4 we'll need some service to allow IPv4 only clients to talk to
> our IPv6 only servers.  We'd like this service to be fairly stupid
> simple and require little to no configuration so our current thought is
> a little Perl daemon.  Basically, when a request comes in the service
> will look at the Host header, do a AAAA lookup and begin a proxy session
> between the client and the corresponding IPv6 vhost.  It will populate
> the X-Forwarded-* headers, but other than that just pass data back and
> forth.
> 
> Now, my question is is there a way to do something like this directly
> with Apache without specifying for each virtual host which IPv6 address
> to send the request to?
> 
> Thanks,
> Brian
> 

Interesting. Not directly, using the stock apache modules, what you want
isn't possible, but it would be reasonably simple to do with a custom
apache module or as a mod_perl module, but I don't know much about
mod_perl, I try to avoid perl as much as possible!

Cheers

Tom


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux