Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d93f12e

Browse files
committed
Don't disallow routing on a Hadoop node.
1 parent ada1c29 commit d93f12e

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

roles/common/templates/sysctl.conf

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,6 @@ net.ipv4.conf.default.log_martians = 1
4747
net.ipv4.conf.all.accept_source_route = 0
4848
net.ipv4.conf.default.accept_source_route = 0
4949

50-
# Enables RFC-recommended source validation (don't use on a router)
51-
net.ipv4.conf.default.rp_filter = 1
52-
net.ipv4.conf.all.rp_filter = 1
53-
54-
# Make sure no one can alter the routing tables
55-
net.ipv4.conf.all.accept_redirects = 0
56-
net.ipv4.conf.default.accept_redirects = 0
57-
net.ipv4.conf.all.secure_redirects = 0
58-
net.ipv4.conf.default.secure_redirects = 0
59-
60-
# Host only (we're not a router)
61-
net.ipv4.ip_forward = 0
62-
net.ipv4.conf.all.send_redirects = 0
63-
net.ipv4.conf.default.send_redirects = 0
64-
6550
# ------ NETWORK PERFORMANCE ------
6651

6752
# don't cache ssthresh from previous connection

0 commit comments

Comments
 (0)