ipfw: getsockopt(IP_FW_ADD): Operation not permitted

С.В.Сальский S.V.Salsky at diamondarm.ru
Wed Jun 2 20:55:36 PDT 2004


Hello!

Installed FreeBSD 5.2.
Having problem with ipfw.

kernel config:

options         DUMMYNET
options         IPFIREWALL    
options         IPFIREWALL_VERBOSE 
options         IPFIREWALL_VERBOSE_LIMIT=100
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT 
options         IPFILTER

in /etc/defaults/rc.conf:

firewall_enable="YES"
firewall_script="/etc/rc.firewall"
firewall_type="open"
firewall_quiet="NO" 
firewall_logging="NO"
firewall_flags=""

Problem is:
========================================
~# ipfw add 100 deny tcp from any to any 135-139
ipfw: getsockopt(IP_FW_ADD): Operation not permitted
========================================

With best regards,
Serge V. Salsky.


More information about the freebsd-questions mailing list