Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Jun 2006 07:25:47 +0200
From:      Max Laier <max@love2party.net>
To:        freebsd-ipfw@freebsd.org
Subject:   bin/98349 [Re: cvs commit: src/sbin/ipfw ipfw2.c]
Message-ID:  <200606020725.54959.max@love2party.net>
In-Reply-To: <200606020517.k525HHLU037819@repoman.freebsd.org>
References:  <200606020517.k525HHLU037819@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606020725.54959.max>