Re: Class C hack instead of ifconfig aliases

1999-10-21 Thread Nick Hilliard
1. in your webserver: a. ipfw add fwd localhost from any to 1.2.3/24 http Clever - I likes it. - I don't think arp will work on 1.2.3/24 addresses, which is why the route needs to be added to the router. This is becoming pretty off-topic, but having thousands of arp entries floating

Re: Class C hack instead of ifconfig aliases

1999-10-21 Thread Tony Finch
Geoff Buckingham [EMAIL PROTECTED] wrote: In an effort to avoid what may follow, I fully appreciate HTTP 1.1 vhosting is much more appropriate in many situations, this does not however remove the need for large scale conventional virtual hosting alltogether. I'll also mention SSL, since it

Re: Class C hack instead of ifconfig aliases

1999-10-21 Thread Tony Finch
Matthew Reimer [EMAIL PROTECTED] 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

Re: Class C hack instead of ifconfig aliases

1999-10-20 Thread John Hay
What do you mean by "bind a class C"? Make an interface so it will respond to incoming requests for 10.1.2.x? ewww, yuck! Is it any less elegant than having in_localaddr() trawling through each item on the address list? Perhaps 1024 items if you've got a large vweb server? That's

Re: Class C hack instead of ifconfig aliases

1999-10-20 Thread Mike Bristow
On Wed, Oct 20, 1999 at 12:52:49PM +0200, John Hay wrote: I think somebody sent patches to do it a while back. I think it might be in GNATS. Yes, and yes. http://www.freebsd.org/cgi/query-pr.cgi?pr=12071 -- perl -wMstrict -e'$,="PLEASE";$;=" DO ";@_=map{$?=255256+$!-$_;$!=$_;++$.%4-2?

Re: Class C hack instead of ifconfig aliases

1999-10-20 Thread Geoff Buckingham
On Wed, Oct 20, 1999 at 11:02:08AM +0100, Nick Hilliard wrote: What do you mean by "bind a class C"? Make an interface so it will respond to incoming requests for 10.1.2.x? ewww, yuck! Is it any less elegant than having in_localaddr() trawling through each item on the address list?

Re: Class C hack instead of ifconfig aliases

1999-10-20 Thread Matthew Reimer
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: VirtualHost 1.2.3.4 ServerName web.freebsd.org ServerAdmin [EMAIL PROTECTED] DocumentRoot

Class C hack instead of ifconfig aliases

1999-10-19 Thread Sam Samalin
Is there anyway to bind a class C to an interface without a lot of aliases? whats the downside of aliases? I have a 2.2.8 hack that does the C, but I'd like to avoid having to port it to 3.3. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the

Re: Class C hack instead of ifconfig aliases

1999-10-19 Thread Mike Nowlin
Is there anyway to bind a class C to an interface without a lot of aliases? whats the downside of aliases? I have a 2.2.8 hack that does the C, but I'd like to avoid having to port it to 3.3. What do you mean by "bind a class C"? Make an interface so it will respond to incoming requests