From: Michael Richardson Subject: Re: Handling Port-Unreachable Response to UDP Date: Mon, 28 Jul 2003 12:19:50 -0400 Sender: netfilter-devel-admin@lists.netfilter.org Message-ID: <7944.1059409190@marajade.sandelman.ottawa.on.ca> References: <3F252AAE.7000109@variosecure.net> Mime-Version: 1.0 (generated by tm-edit 1.8) Content-Type: text/plain; charset=US-ASCII Cc: netfilter-devel@lists.netfilter.org Return-path: To: Tim Burress In-reply-to: Your message of "Mon, 28 Jul 2003 22:52:46 +0900." <3F252AAE.7000109@variosecure.net> Errors-To: netfilter-devel-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: List-Id: netfilter-devel.vger.kernel.org -----BEGIN PGP SIGNED MESSAGE----- >>>>> "Tim" == Tim Burress writes: Tim> We're wondering if an appropriate response to this situation would Tim> be to Tim> destroy the conntrack entry for the UDP connection after receiving Tim> the first port-unreachable? It seems like such a change would Tim> improve the strength of netfilter-based firewalls, while adding only Tim> a little bit of overhead when/if the client retries sending to the Tim> same UDP port several times. What do people think of this idea? Is Tim> there any reason not to do it? Yes, you are opening yourself up to a trivial DoS via ICMP. Like we need to give people more reasons to think they should drop ICMP. The best choice is to do nothing - it is really up to the application to decide if it should pay attention to the ICMP port unreachable or keep trying, assuming it will get through eventually. ] Out and about in Ottawa. hmmm... beer. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] mcr@sandelman.ottawa.on.ca http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another Debian/notebook using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) Comment: Finger me for keys - custom hacks make this fully PGP2 compat iQCVAwUBPyVNJYqHRg3pndX9AQFgiQQAhOTbxlHdDT+hsB+9CE8Uf/IuGvCgkUY2 6d9wQvZDiaE3EB9jBlrvTyHbArzAGH2USsShfxr2Zi4ke/0Eq6wOzQbX6r4NX4c4 Sny+iw2ZQjwueWMDwNYgfb2gjNuc12anjXC991qV158IJBUoqH9GMaDETMjEGP/a IF2IjTzqD1s= =KsDD -----END PGP SIGNATURE-----