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>

next in thread | raw e-mail | index | archive | help
Hello!

Installed FreeBSD 5.2.
Having problem with ipfw.

kernel config:

options         DUMMYNET
options         IPFIREWALL   =20
options         IPFIREWALL_VERBOSE=20
options         IPFIREWALL_VERBOSE_LIMIT=3D100
options         IPFIREWALL_DEFAULT_TO_ACCEPT
options         IPDIVERT=20
options         IPFILTER

in /etc/defaults/rc.conf:

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

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

With best regards,
Serge V. Salsky.



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