httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sameer <>
Subject Re: How about mixing BindAddress and VirtualHost???
Date Sat, 03 Feb 1996 11:43:20 GMT
> Now we could just have apache do a binch of seperate binds for the set of 
> virtualhost directives, but I hope this is not the default behavior.  It 
> is kind of nice having a sane default behavior, instead of "server not 
> responding" when you try and get a page from an address configured on the 
> machine with no specific virtualhost directive.

	I'd actually prefer this to be the default, but we obviously
can't change it to that, because that would break people expecting current
default behavior.

	In any case, in addition to what Tony described, you also have
a security hole in that if you bind to INADDR_ANY someone else can
bind to a specific ip# right under you, and steal connections,
spoofing you. (You can spoof nfs this way, if your nfsd binds to
INADDR_ANY.) Allowing for multiple binds with virtualhosts i think is
good.. You'd have to have multiple sockets and select though, wouldn't

Sameer Parekh					Voice:   510-601-9777x3
Community ConneXion, Inc.			FAX:     510-601-9734
The Internet Privacy Provider			Dialin:  510-658-6376 (or login as "guest")

View raw message