Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jun 2004 09:55:27 +0600
From:      =?koi8-r?B?8y73LvPBzNjTy8nK?= <S.V.Salsky@diamondarm.ru>
To:        <freebsd-questions@FreeBSD.org>
Subject:   ipfw: getsockopt(IP_FW_ADD): Operation not permitted
Message-ID:  <001001c4491e$9bfef380$5b00a8c0@brilliant.local>

index | next in thread | raw e-mail

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.


help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001001c4491e$9bfef380$5b00a8c0>