Categories
Unix Notes

ipfw

from your terminal

man ipfw

the command to deny/drop packets for a host is simply

sudo ipfw add drop src-ip 217.59.146.158

which can be seen to be effective by doing this

teatime 5 # sudo ipfw show