Subject: Re: pcap and ICMP messages
To: <>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: tech-net
Date: 09/15/2004 11:20:35
--/9DWx/yDrRhgMJTb
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Sep 15, 2004 at 10:14:08AM +0200, J=F6rn Seger wrote:
> Hi all,
>=20
> I' m testing a communication protocol, which is based on ip. The=20
> implementation is done with pcap. When I send arround packets, I allways =
get=20
> some ICMP "protocol unreachable" back, what is completely correct from th=
e=20
> kernels point of view. But for me it's not really nice ...
>=20
> Any ideas/hacks to stop the kernel from sending these messages?=20

open a raw IP socket for said protocol instead of using pcap?

hack:=20

setup ipfilter to block that ICMP error? (I don't know if it's fine-grained
enough for this...)

	-is

--/9DWx/yDrRhgMJTb
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: 2.6.i

iQEVAgUBQUgJWzCn4om+4LhpAQG8RggAn7E8277W/6Mh4UgPnQRedUZqO6bTy2yZ
O/SvOnm8vfZLLjQOpozA4/LwNq7AGJGm0uwCAoEuYDZO+EFFxgwfiJDz/O6U5BjF
DBRyBMvbAdtAT+WH03SFnvPCerReOy+yO2sYSlIpqKox23Xzp1y9XalMCRzF/hBL
VsHzh4kPFRqnL8io6U79OJ3RZy3ABbJzHX/hEA2al7B4l8UkGGadfSKNI6YmB5Kx
I7wjaa1K11g7EtxK+9tNBvEhKVtCA+CZJRg2Pva6N5NV1rX/22YS9a+D09nkp6uu
Kw/E9ELq0qgqPkVLISfymLu24PWhf3XkrvvUJa+XOiAMzcl3r6O47A==
=vvHP
-----END PGP SIGNATURE-----

--/9DWx/yDrRhgMJTb--