With ipfw, don't be stupid like me

rharder

Do not read this sign.
<b>ipfw</b> is the tool for configuring the built-in-but-not-used firewall in OS X. I thought I'd start my rule sets by blocking all traffic and then allowing only what I wanted.

<b>Don't do this:</b>
Code:
% <b>sudo ipfw add 65534 deny all from any to any</b>
That effectively stopped all IP traffic including (I don't know why) any future ipfw commands.

Fortunately I just forced a reboot (oh, yes, logging out was messed up too) which wiped the rules. Whooh!

In other news, I see there are two firewall programs out there: Brickhouse and Firewalk X. They're both kinda interesting, but I'm still writing another. I want to be able to manipulate the rules through a sort of table view that I can rearrange.

-Rob
 
Yeah, even adding it as rule 65,534 was pointless since it was the first rule I actually entered at the prompt.

Doh!

-Rob
 
Back
Top