Date: Fri, 22 Oct 1999 02:28:04 +0100 From: Tony Finch <dot@dotat.at> To: hackers@freebsd.org Cc: mreimer@vpop.net Subject: Re: Class C hack instead of ifconfig aliases Message-ID: <E11eTUy-0009Mv-00@fanf.eng.demon.net> In-Reply-To: <380DF3F3.E22CFAF8@vpop.net> References: <lists.freebsd.hackers.199910201002.LAA12741@beckett.earlsfort.iol.ie> <lists.freebsd.hackers.19991020161308.A75038@chuggalug.clues.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Reimer <mreimer@vpop.net> wrote: >Here's a way to do it without patches: > >1. in your webserver: > a. ipfw add fwd localhost from any to 1.2.3/24 http > b. add <VirtualHost...> sections, like this: If you're using enough IP addresses to make this trick worthwhile then you're probably interested in mod_vhost_alias which is new in Apache 1.3.9. >Pros: > >- no need to 'ifconfig xyz alias...'. Big deal -- you still have to use an ipfw command instead. >- address matching is fast, since only a few ipfw rules are checked, > rather than lists of hundreds or thousands of IP addresses The NETALIAS patch (PR#12071) is smaller and faster than turning on IPFIREWALL and IPFIREWALL_FORWARD. Tony. -- the .@ person To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E11eTUy-0009Mv-00>