Skip to content
Snippets Groups Projects
Commit a2bd23ca authored by Davide Gardenal's avatar Davide Gardenal Committed by Marta Rybczynska
Browse files

oniro-sysctl: add sysctl kernel setting


Add option to not send ICMP redirects messages.

Signed-off-by: Davide Gardenal's avatarDavide Gardenal <davide.gardenal@huawei.com>
parent 3e1c87b3
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,9 @@ net.ipv4.conf.all.rp_filter = 1 ...@@ -9,6 +9,9 @@ net.ipv4.conf.all.rp_filter = 1
# Do not accept ICMP redirect messages # Do not accept ICMP redirect messages
net.ipv4.conf.default.accept_redirects = 0 net.ipv4.conf.default.accept_redirects = 0
# Do not send ICMP redirect messages
net.ipv4.conf.all.send_redirects = 0
# Do not accept packets with SRR option. # Do not accept packets with SRR option.
net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.accept_source_route = 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment