I haven't had much experience with other firewalls such as IPFW and iptables, but PF is really easier to understand and learn than all the other firewalls I've seen. It might be worth giving it a try.
This is a dependencies problem. Usually this appears when you mix ports and packages.
It can be fixed by running portmaster --check-depends or pkgdb -F after adding the package.
You'll need to install ports-mgmt/portmaster or ports-mgmt/portupgrade to use the programs mentioned above.
Not sure about the recommend limit, but you should be able to increase it without rebooting.
Usually these are set by adding the parameters into /etc/sysctl.conf.
For example (recommended values for multimedia/totem):
kern.ipc.shmmax=67108864
kern.ipc.shmall=32768
If your system works fine...
Use the ports tree. It'll save you a lot of time and energy, and you won't shoot yourself in the foot.
Just:
# cd /usr/ports/www/squid
# make config install clean
For Squid 3.0, switch to www/squid30 instead.
Remember to select the correct options for transparent proxy.
For traffic shaping, there's altq for PF, and dummynet for IPFW.
You can just load the module for pf (kldload pf). No need to compile a custom kernel unless ALTQ is in use.
Transparent proxy has been asked quite a few times already. A quick search should produce some promising results...
Both IPFW and PF are able to block IPs. They can also be used to setup transparent proxies.
However, you won't be able to block MACs with PF though. Blocking MACs isn't really useful since MACs can be changed easily.
Just block everyone, and then let authenticated users through. Take a...
They don't really "develop". It's mostly bug fixes and other features merged from newer branches (-CURRENT and -STABLE).
Most of the development is done on HEAD.
Although ezjails might provide a bit of convenience, sometimes custom scripts are preferred because they're much more flexible. Downside is that you have to write a lot of code yourself.
Try out ezjails and see if it fits your needs. If it doesn't, there's always time to write some custom scripts.
I'd suggest actually reading some documentation first. Then you should be able to do all the debugging and experimentation.
For starters:
PF FAQ
pf.conf
pfctl
The links listed above provide a complete description of PF and should be more than enough to get you going. It should only take 3 or...
What about the AllowOverride directive? Did you enable .htaccess files?
Since you have access to the main configuration, why not ditch .htaccess and put it in the config file? Performance would be better.
Some modifications are necessary though:
<Directory /path/to/www>
RewriteEngine On...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.