Date: Tue, 19 Aug 2008 11:46:03 -0700 From: Javier Ubillos <jav@sics.se> To: freebsd-questions@freebsd.org Subject: Override default ICMP (and other protocols) default replies. Message-ID: <1219171563.7916.32.camel@dib>
next in thread | raw e-mail | index | archive | help
--=-mq5GzFp2GFb19FE/xw0I Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi freebsd-questions. I'm implementing a NAT (1 ip - 1 ip) like router. I have chosen to use pcaplib to pick up the packets. I have an implementation which picks up the packets, inspects them, rewrites the destination/source ip-addresses and sends them out on the repective interface. The problem I'm facing however is that my interfaces are answering to e.g. icmp-echo (ping) automatically, and I don't know how to turn this behaviour off. What I want to happen is that if A pings C, my router B in between should simply forward the packets w/o any automatic reactions. A --> B --> C So that if e.g. C is down, no echo-reply is sent back (or if C is up, that C is actually sending the echo-reply. Does any one know how to turn off the automatic replies (ICMP and whatever else I haven't forseen yet) or does any one know where I can find out more about the issue? Thank you // Javier --=-mq5GzFp2GFb19FE/xw0I Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBIqxTrGBo5FLRz4goRAlAaAJ9RSp/xCL445H7Y1X/012BLDQDgggCfUjST DvefGpXtR9faUxMACA4zDBE= =Kedw -----END PGP SIGNATURE----- --=-mq5GzFp2GFb19FE/xw0I--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1219171563.7916.32.camel>