Does ICMP Redirect message is really bad?











up vote
3
down vote

favorite












Due to MITM attack, ICMP redirect message should be blocked. However, original purpose of ICMP redirect message is to inform host better router(or gateway).



Then, Is there a speed issue by disabling ICMP redirect message in host? or negligible?










share|improve this question


























    up vote
    3
    down vote

    favorite












    Due to MITM attack, ICMP redirect message should be blocked. However, original purpose of ICMP redirect message is to inform host better router(or gateway).



    Then, Is there a speed issue by disabling ICMP redirect message in host? or negligible?










    share|improve this question
























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      Due to MITM attack, ICMP redirect message should be blocked. However, original purpose of ICMP redirect message is to inform host better router(or gateway).



      Then, Is there a speed issue by disabling ICMP redirect message in host? or negligible?










      share|improve this question













      Due to MITM attack, ICMP redirect message should be blocked. However, original purpose of ICMP redirect message is to inform host better router(or gateway).



      Then, Is there a speed issue by disabling ICMP redirect message in host? or negligible?







      icmp






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      baeharam

      523




      523






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          ICMP re-directs are most often seen when you have a host or router A in the same subnet with two other routers B & C and connectivity to both. Consider the following network:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B C
          |____|_____|____|
          | | |
          A


          A will have a route (most likely a default) pointing to B, and B will have a more specific route to a 192.168.8.0/24 pointing to C.



          Without ICMP redirects, all traffic from A to 192.168.8.0/24 will be routed A->B->C



          With ICMP re-direct enabled, B will inform A that C is a better next-hop and subsequent traffic will be routed A->C.



          Obviously B is an extra hop and depending on what kind of box it is, it may introduce extra latency.



          Disabling ICMP-Redirects and redesigning the network to avoid this situation entirely would be the preferred solution eg:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B-----C
          |____|__________|
          | | |
          A


          (or remove C entirely and hang 192.168.8.0/24 directly off B).






          share|improve this answer





















          • Then, what you mean is that structure of network is more important than ICMP redirect?
            – baeharam
            4 hours ago










          • ICMP redirect indicates that there is sub-optimal routing configured and tries to resolve this - IMO this is a design problem
            – Benjamin Dale
            1 hour ago











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "496"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f55235%2fdoes-icmp-redirect-message-is-really-bad%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          3
          down vote



          accepted










          ICMP re-directs are most often seen when you have a host or router A in the same subnet with two other routers B & C and connectivity to both. Consider the following network:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B C
          |____|_____|____|
          | | |
          A


          A will have a route (most likely a default) pointing to B, and B will have a more specific route to a 192.168.8.0/24 pointing to C.



          Without ICMP redirects, all traffic from A to 192.168.8.0/24 will be routed A->B->C



          With ICMP re-direct enabled, B will inform A that C is a better next-hop and subsequent traffic will be routed A->C.



          Obviously B is an extra hop and depending on what kind of box it is, it may introduce extra latency.



          Disabling ICMP-Redirects and redesigning the network to avoid this situation entirely would be the preferred solution eg:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B-----C
          |____|__________|
          | | |
          A


          (or remove C entirely and hang 192.168.8.0/24 directly off B).






          share|improve this answer





















          • Then, what you mean is that structure of network is more important than ICMP redirect?
            – baeharam
            4 hours ago










          • ICMP redirect indicates that there is sub-optimal routing configured and tries to resolve this - IMO this is a design problem
            – Benjamin Dale
            1 hour ago















          up vote
          3
          down vote



          accepted










          ICMP re-directs are most often seen when you have a host or router A in the same subnet with two other routers B & C and connectivity to both. Consider the following network:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B C
          |____|_____|____|
          | | |
          A


          A will have a route (most likely a default) pointing to B, and B will have a more specific route to a 192.168.8.0/24 pointing to C.



          Without ICMP redirects, all traffic from A to 192.168.8.0/24 will be routed A->B->C



          With ICMP re-direct enabled, B will inform A that C is a better next-hop and subsequent traffic will be routed A->C.



          Obviously B is an extra hop and depending on what kind of box it is, it may introduce extra latency.



          Disabling ICMP-Redirects and redesigning the network to avoid this situation entirely would be the preferred solution eg:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B-----C
          |____|__________|
          | | |
          A


          (or remove C entirely and hang 192.168.8.0/24 directly off B).






          share|improve this answer





















          • Then, what you mean is that structure of network is more important than ICMP redirect?
            – baeharam
            4 hours ago










          • ICMP redirect indicates that there is sub-optimal routing configured and tries to resolve this - IMO this is a design problem
            – Benjamin Dale
            1 hour ago













          up vote
          3
          down vote



          accepted







          up vote
          3
          down vote



          accepted






          ICMP re-directs are most often seen when you have a host or router A in the same subnet with two other routers B & C and connectivity to both. Consider the following network:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B C
          |____|_____|____|
          | | |
          A


          A will have a route (most likely a default) pointing to B, and B will have a more specific route to a 192.168.8.0/24 pointing to C.



          Without ICMP redirects, all traffic from A to 192.168.8.0/24 will be routed A->B->C



          With ICMP re-direct enabled, B will inform A that C is a better next-hop and subsequent traffic will be routed A->C.



          Obviously B is an extra hop and depending on what kind of box it is, it may introduce extra latency.



          Disabling ICMP-Redirects and redesigning the network to avoid this situation entirely would be the preferred solution eg:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B-----C
          |____|__________|
          | | |
          A


          (or remove C entirely and hang 192.168.8.0/24 directly off B).






          share|improve this answer












          ICMP re-directs are most often seen when you have a host or router A in the same subnet with two other routers B & C and connectivity to both. Consider the following network:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B C
          |____|_____|____|
          | | |
          A


          A will have a route (most likely a default) pointing to B, and B will have a more specific route to a 192.168.8.0/24 pointing to C.



          Without ICMP redirects, all traffic from A to 192.168.8.0/24 will be routed A->B->C



          With ICMP re-direct enabled, B will inform A that C is a better next-hop and subsequent traffic will be routed A->C.



          Obviously B is an extra hop and depending on what kind of box it is, it may introduce extra latency.



          Disabling ICMP-Redirects and redesigning the network to avoid this situation entirely would be the preferred solution eg:



             |__192.168.1.0/24__|
          | | |
          |
          | |___192.168.8.0/24__|
          | | | |
          B-----C
          |____|__________|
          | | |
          A


          (or remove C entirely and hang 192.168.8.0/24 directly off B).







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 4 hours ago









          Benjamin Dale

          6,1691036




          6,1691036












          • Then, what you mean is that structure of network is more important than ICMP redirect?
            – baeharam
            4 hours ago










          • ICMP redirect indicates that there is sub-optimal routing configured and tries to resolve this - IMO this is a design problem
            – Benjamin Dale
            1 hour ago


















          • Then, what you mean is that structure of network is more important than ICMP redirect?
            – baeharam
            4 hours ago










          • ICMP redirect indicates that there is sub-optimal routing configured and tries to resolve this - IMO this is a design problem
            – Benjamin Dale
            1 hour ago
















          Then, what you mean is that structure of network is more important than ICMP redirect?
          – baeharam
          4 hours ago




          Then, what you mean is that structure of network is more important than ICMP redirect?
          – baeharam
          4 hours ago












          ICMP redirect indicates that there is sub-optimal routing configured and tries to resolve this - IMO this is a design problem
          – Benjamin Dale
          1 hour ago




          ICMP redirect indicates that there is sub-optimal routing configured and tries to resolve this - IMO this is a design problem
          – Benjamin Dale
          1 hour ago


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Network Engineering Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fnetworkengineering.stackexchange.com%2fquestions%2f55235%2fdoes-icmp-redirect-message-is-really-bad%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          What visual should I use to simply compare current year value vs last year in Power BI desktop

          How to ignore python UserWarning in pytest?

          Alexandru Averescu