From owner-freebsd-ipfw@FreeBSD.ORG Fri Jun 2 05:26:01 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C045F16ACA2 for ; Fri, 2 Jun 2006 05:26:01 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDF7143D46 for ; Fri, 2 Jun 2006 05:26:00 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.191.157] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis), id 0ML2Dk-1Fm2AZ1jWm-00086o; Fri, 02 Jun 2006 07:26:00 +0200 From: Max Laier Organization: FreeBSD To: freebsd-ipfw@freebsd.org Date: Fri, 2 Jun 2006 07:25:47 +0200 User-Agent: KMail/1.9.1 References: <200606020517.k525HHLU037819@repoman.freebsd.org> In-Reply-To: <200606020517.k525HHLU037819@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2677489.p0n7p1EQ2n"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200606020725.54959.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Subject: bin/98349 [Re: cvs commit: src/sbin/ipfw ipfw2.c] 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: Fri, 02 Jun 2006 05:26:01 -0000 --nextPart2677489.p0n7p1EQ2n Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Friday 02 June 2006 07:17, Max Laier wrote: > mlaier 2006-06-02 05:17:17 UTC > > FreeBSD src repository > > Modified files: > sbin/ipfw ipfw2.c > Log: > Print dynamic rules for IPv6 as well. > > PR: bin/98349 > Submitted by: Mark Andrews > MFC after: 2 weeks > > Revision Changes Path > 1.90 +15 -5 src/sbin/ipfw/ipfw2.c It's highly confusing that we have {src,dst}_{ip,port} in host byte order=20 while {src,dst}_ip6 are in network byte order. I think that keeping networ= k=20 byte order in the kernel and doing flipping in userland where needed would = be=20 beneficial. It should also be possible to unify IPv4 and IPv6 addresses in= =20 an union, sockaddr_storage or the like. Anyone looking for a fun project to tackle? ;) =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2677489.p0n7p1EQ2n Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQBEf8viXyyEoT62BG0RAiZjAJ0TW01019oydaxL6U0+2SRI0uHtuACaA0++ 2wucCAITNO/aaDsmUg/9Qmo= =4jOZ -----END PGP SIGNATURE----- --nextPart2677489.p0n7p1EQ2n--