I have a Linux system which has a number of services disabled (for example, telnet). When a telnet client attempts a connection, the system responds with an ICMP "Destination Unreachable". Is there a way, short of modifying the Linux network stack, to disable this behavior?
closed as not constructive by Mircea Vutcovici, MDMarra, Shane Madden, Ward, Jenny D May 31 at 7:42
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.
The destination unreachable ICMP packet is a standard Internet control message which indicates that there is no service available on that port. There's generally no reason to disable it (and you didn't give one).
But if you really want to disable it, you can just change your firewall rules to drop packets rather than rejecting them. (Wait, you are firewalled, right?)
|show 13 more comments|