diff options
| author | Hugo Benichi <hugobenichi@google.com> | 2018-05-22 08:48:40 +0900 |
|---|---|---|
| committer | Hugo Benichi <hugobenichi@google.com> | 2018-05-23 16:01:04 +0900 |
| commit | c4b3a0c6e3d9c7cc3f26b0e721486d2b5111bdc4 (patch) | |
| tree | e1b1b522826bce49c2c414bb66b567f1e9439d32 /server/InterfaceControllerTest.cpp | |
| parent | aa77e4c9c7bb2faeee062403b3700a2316327482 (diff) | |
Ensure icmp redirects are always ignored
A side effect of disabling the ip forwarding sysconf on all
interfaces is to re-enable the ICMP redirects sysconf on all
interfaces.
This patch ensures that ICMP redirects stays turned off when disabling
ip forwarding in TetherController.
Accepting ICMP redirects can allow an attacker to inject malicious
routes into a host and it is therefore desirable to always reject them.
Bug: 62387578
Bug: 77541904
Test: manual
Change-Id: I1f9a950eebf2f65d047f33145feee40d3ab34bd9
Diffstat (limited to 'server/InterfaceControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions
