Thanks for all the suggestions.

I like the simplicity of using nc (netcat) to just serve a single page, that
is very nice and clean indeed.

Exploring the possibilities presented here I am now wondering if it would be
possible to present content based upon
the requested hostname? The server has a few domains it answers for and it
would be nice to have 'personalized' pages
for those. These domains however are virtualhosts and share the same ip
address.

All I can think of is creating a separate table for each virtualhost (by
grepping their respective error logs), and based on that send the bad guys
to a specific port, with nc serving a personalized html page.
This approach however is rather cumbersome to maintain and therefore
undesired.

Is there any way PF could distinguish between requested hostnames that share
an ip address?
Or is there another, more workable method to achieve this idea?

Thanks,

Matt

Reply via email to