View Single Post
Old 23rd November 2008
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

I have a working script. A snippet from the current output
Code:
Storing: <VirtualHost 11.22.33.44:80>
Storing:     ServerName accounttest.com
Storing:     ServerAlias www.accounttest.com
Storing: </VirtualHost>
Processing:     ServerName accounttest.com  | (Extracted  domain name = [accounttest.com] )
No IP address known for accounttest.com

                 Following section rejected
--<VirtualHost 11.22.33.44:80>
--    ServerName accounttest.com
--    ServerAlias www.accounttest.com
--</VirtualHost>
===
===# a remark
Storing: <VirtualHost 111.222.333.444:80>
Storing:     ServerName gorilla.org
Storing:     ServerAlias www.gorilla.org
Storing: </VirtualHost>
Processing:     ServerName gorilla.org  | (Extracted  domain name = [gorilla.org] )
Processing: <VirtualHost 111.222.333.444:80> ( Extracted IP number:  111.222.333.444 ) Port number = :80 
Changing 111.222.333.444 -> 128.121.215.221
Result: <VirtualHost 128.121.215.221:80>
So it still needs some cleanup
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote