Article View: pl.comp.os.bsd
Article #319ipfw2 problem
From: Pawel Tanas
Date: Thu, 01 Apr 2004 07:51
Date: Thu, 01 Apr 2004 07:51
27 lines
1533 bytes
1533 bytes
Witam,
Czy komuś udało się zmusić ipfw do łykania regółki zawierającej zakresy ip w
formacie:
ipfw add 00100 deny ip from {XXX.XXX.XXX.XXX/24 or YYY.YYY.YYY.YYY/24} to me
Próbowałem też podawać adresy rozdzielone ",".
U mnie niestety dostaje: " Missing }. "
OS: FreeBSD 4.8-RELEASE-p17 i386
$FreeBSD: src/sbin/ipfw/ipfw2.c,v 1.4.2.11 2003/03/05 11:21:04 maxim Exp $
$FreeBSD: src/sbin/ipfw/ipfw.c,v 1.80.2.26 2003/01/14 19:15:58 dillon Exp
$";
W kernelu opcje:
options IPFIREWALL
options IPFIREWALL_VERBOSE
options IPFIREWALL_FORWARD
options IPFIREWALL_DEFAULT_TO_ACCEPT
options IPFW2
no i oczywiście w make.conf
IPFW2=TRUE
pozdrawiam
--
Pawel Tanas
Technical Details
Message-ID:
<c4ghrf$rd7$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!teleglobe.net!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!teleglobe.net!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Pawel Tanas <pa...@FreeBSD.PL> Newsgroups: pl.comp.os.bsd,pl.comp.os.freebsd Subject: ipfw2 problem Followup-To: pl.comp.os.bsd Date: Thu, 01 Apr 2004 09:51:57 +0200 Organization: tp.internet - http://www.tpi.pl/ Lines: 27 Message-ID: <c4ghrf$rd7$1@nemesis.news.tpi.pl> NNTP-Posting-Host: 217.97.150.220 Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1080806064 28071 217.97.150.220 (1 Apr 2004 07:54:24 GMT) X-Complaints-To: use...@tpi.pl NNTP-Posting-Date: Thu, 1 Apr 2004 07:54:24 +0000 (UTC) User-Agent: KNode/0.7.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit