FreeBSD Tips & Tricks


In case of attacks, you can fiddle up with the following values:


For a better performance, you should mess up with:


Firewalling with IPF gave me quite some problems, mostly related to the state table. The customers experienced some broke connections (browser hanging forever when loading up a page), even though the channel was not full (bandwidth-wise). What you can do in a situation like this is play with:


Special settings:


Security issues:
This section wants to be a short list of tips & tricks for building up the most secure system out of your *BSD box. And it's possible that these advices will help you even if you're not using *BSD.
First, some dry theory: all we want to do is make it harder for the intruder to do any harm to our system. Also, we want to build up a way through which we can restore the functionality of the system (clean it up?) after an intrusion. For example, in most cases the intruder will replace basic utilities like 'ls' or 'ps' with it's own version. Thus, she/he can run different utilities/daemons on our system, without our knowledge (and very hard to detect). So, if we cannot count on 'ls' or 'ps', the only choice would probably be to reinstall everything from the scratch.


Things that aren't really related to FreeBSD, but are security advices in general

I have decided to write this section after I've read this bugtraq mail about how to read any file on a disk using php and mysql. So, I'm gonna treat this subject first:
Hehe, new record: 7:53PM up 11 days, 7:36, 2 users, load averages: 712.00, 366.41, 154.87

Found a nice page which treats about the same things here, you can check it out here.