On Fri, Dec 09, 2005 at 01:48:41PM +0100, Webcharge wrote: > Is there any way PF could distinguish between requested hostnames that share > an ip address?
No, the IP packets are identical. > Or is there another, more workable method to achieve this idea? With HTTP 1.1 (which is what most clients use today), the client tells the server what hostname it is trying to retrieve the document from, in a Host: header, like GET /index.html HTTP/1.1 Host: www.server.com If you run your script from inetd, it will get those headers passed through stdin, and can produce the result (including HTTP result headers) on stdout. Unless you're confident you can handle this externally-supplied information safely within the script, using a simple web server that does name-based virtual hosting (based on this same Host: header) might be advisable :) Daniel
