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?
icmp
add a comment |
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?
icmp
add a comment |
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?
icmp
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
icmp
asked 4 hours ago
baeharam
523
523
add a comment |
add a comment |
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
).
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
add a comment |
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
).
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
add a comment |
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
).
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
add a comment |
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
).
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
).
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
add a comment |
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
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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