From owner-freebsd-ipfw@FreeBSD.ORG Mon Apr 16 18:54:13 2007 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5FA2916A401; Mon, 16 Apr 2007 18:54:13 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from webmail24.mail.yandex.net (webmail24.mail.yandex.net [213.180.223.151]) by mx1.freebsd.org (Postfix) with ESMTP id C8D1B13C46E; Mon, 16 Apr 2007 18:54:12 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from YAMAIL (webmail24) by mail.yandex.ru id S491576AbXDPSca for (+ 1 other); Mon, 16 Apr 2007 22:32:30 +0400 Received: from [82.211.152.12] ([82.211.152.12]) by mail.yandex.ru with HTTP; Mon, 16 Apr 2007 22:32:30 +0400 From: "Andrey V. Elsukov" To: freebsd-ipfw@freebsd.org, rizzo@icir.org, julian@freebsd.org MIME-Version: 1.0 Message-Id: <123251176748350@webmail24.yandex.ru> Date: Mon, 16 Apr 2007 22:32:30 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain Cc: Subject: [patch] /sbin/ipfw - mac/mac-type show as an options (small fix) X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Apr 2007 18:54:13 -0000 Hi, All. As i can see in CVS log, current implementation of a MAC/mac-type options is not first. A long time ago implementation of this options was changed, but i think not fully. An example: # ipfw add count icmp from any to any mac any any 03100 count icmp MAC any any any I wrote a small fix for this: http://butcher.heavennet.ru/patches/other/ipfw_mac_fix/ipfw2.c.diff My tests don't show other break, what you think about this patch? -- WBR, Andrey V. Elsukov