ipfw add allow ip from @access_list1 to any in
James
haesu at towardex.com
Wed Jun 30 21:36:33 PDT 2004
Hi Sid,
I haven't really had chance look at your actual code, but do want to let you
know that there is a recent table patch done by Ruslan Ermilov for IPFW2.
The tables patch so far works well (been using it on couple production boxes
running 4.9-STABLE), and it checks the packets against the list in a patricia
trie lookup, which is significantly faster than linear search for a firewall.
I am not sure how your @accesslist element is checked, but if it is searched in
a linear order, it's probably not going to be any different than matching using
{ a or b or c } braces, in terms of performance/efficiency.
-J
On Tue, Jun 29, 2004 at 06:55:04PM -0700, sid at merlin.com.ua wrote:
> Hi,
> for my own purposes I add some new features to ipfw2.
> now hereis patches for 5.1
> Luigi some time ago have a look at ones, but now..
> if it is looks like interesting, get and enjoy it free
> this is not a release, I stil work about it.
> and I wait for 5.3 to make complete patches for 5.3.
> will be pleasure for me if this will include to release...
>
> read first:
> ftp://merlin.com.ua/pub/FreeBSD/5.1/ipfw_sid/readme
>
> ftp://merlin.com.ua/pub/FreeBSD/5.1/ipfw_sid/*.tgz
>
> disclaimer:
> who downloaded it, please make backups your original files,
> extract patches in new directory and look at ones first.
> if you not sure that you doing, do not do anything, please.
> support of that features only if ones will include in FreeBSD
> and only via freebsd-hackers at freebsd.org
>
> its do like this:
>
> ipnt add @MY_NET 192.168.0.0/16
> ipnt add @MY_NET 195.66.199.0/24
> ipnt add @MY_NET 62.16.9.0/24
>
> ipfw add 350 pipe 350 ip from any to @MY_NET out
>
> you can manipulate that lists without changing firewall
>
> ipnt del @MY_NET 0/0
> ipnt add @MY_NET 1.1.1.1
>
>
>
> sid_at_merlin.com.ua
>
>
>
> _______________________________________________
> freebsd-ipfw at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
> To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"
--
James Jun TowardEX Technologies, Inc.
Technical Lead Network Design, Consulting, IT Outsourcing
james at towardex.com Boston-based Colocation & Bandwidth Services
cell: 1(978)-394-2867 web: http://www.towardex.com , noc: www.twdx.net
More information about the freebsd-ipfw
mailing list