Suggestions regarding multiport match and chain traversing

Harald Welte laforge@gnumonks.org
Wed, 17 Apr 2002 10:11:06 +0200


--o0ZfoUVt4BxPQnbU
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 16, 2002 at 03:50:09PM +0200, Wiktor Wodecki wrote:
> Hello,
>=20
> begin  Norbert Sendetzky  quotation:
>=20
> > Hi all
> >=20
> > I have two suggestions for your very nice netfilter framework:
> >=20
> > First of all it would be nice if the multiport match would accept not=
=20
> > only single ports but also port ranges. This would streamline the=20
> > whole thing a little bit. I don't know the actual code, but the=20
> > implementation of multiport probably uses an array to store the=20
> > ports. If this array could be extended to be an array of structs then=
=20
> > it would be possible to store also port ranges, e.g.
>=20
> there is a mport patch in patch-o-matic (any plans of merging it with
> standard multiport?) which does exactly what you want.

As usually with all modifications of matches/targets, there is the
compatibility issue:

- old iptables userspace needs to work with new kernel mport
- new kernel mport needs to work with old kernel mport

> Johoho		    |    http://johoho.eggheads.org

--=20
Live long and prosper
- Harald Welte / laforge@gnumonks.org               http://www.gnumonks.org/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
GCS/E/IT d- s-: a-- C+++ UL++++$ P+++ L++++$ E--- W- N++ o? K- w--- O- M+=
=20
V-- PS++ PE-- Y++ PGP++ t+ 5-- !X !R tv-- b+++ !DI !D G+ e* h--- r++ y+(*)

--o0ZfoUVt4BxPQnbU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8vS4ZXaXGVTD0i/8RAoolAJ97Clu2znN3KyVQFWCPpIDn7Mp0vgCffGBW
lmhPhrYS0UH6WTnj+vqSryo=
=Mb9r
-----END PGP SIGNATURE-----

--o0ZfoUVt4BxPQnbU--