ipsec patches test: minor compilation and policy match issues
Stephen Frost
sfrost@snowman.net
Tue, 13 Jul 2004 07:53:06 -0400
--vH3HHxf962mwD/qo
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Patrick McHardy (kaber@trash.net) wrote:
> Stephen Frost wrote:
> >I'm doing basically the same thing. 20040710 or so of POM and iptables
> >and 2.6.7. Got everything built/compiled/installed/etc. IPSEC is all
> >working and whatnot. My problem is matching things. I've been trying
> >to match using spi and I just can't seem to get it to work. I'm using
> >the spi I get from setkey -D and from tcpdump but no matter what I try
> >it doesn't work.
> >
> >Sorry I can't give more details, but is this supposted to work? I'll
> >see about adding something to ipt_policy.c to get it to print out what
> >it thinks the SPI is tommorow, hopefully. Anyone else tried this?
> >
> >The match works if I don't have --spi 0x<blah>, doesn't work if I do. :/
>=20
> The --spi option matches the spi given in the setkey policy with
> unique:number. I'll update the manpage ..
Ahhh, now that makes much more sense. I just had 'require' before. I'm
getting closer it seems. Now, at least, I seem to be able to match the
number I put after the 'unique:' using '--reqid'. Still doesn't work
when using '--spi' though. Not sure that I care though, unless someone
can tell me a reason why I should? It's important, of course, to match
the right packets, since I'm doing tunneling and different remote sites
will have access to different things and so different firewall rules to
handle them...
Thanks,
Stephen
--vH3HHxf962mwD/qo
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFA880irzgMPqB3kigRAjN5AJ9aHAASmfue8ARQe9SyEwthi4O0BwCeN0b3
vj06Bj6XDkJS/8Ngt6CuCAk=
=e5nr
-----END PGP SIGNATURE-----
--vH3HHxf962mwD/qo--