Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ubuntu1604:3:2:1 [2017/05/03 15:59] – [Audit] Piotr Kłoczewskiubuntu1604:3:2:1 [2017/05/03 16:01] (current) – [Remediation] Piotr Kłoczewski
Line 10: Line 10:
  
 =====Rationale===== =====Rationale=====
-Setting ""net.ipv4.conf.all.accept_source_routeand "net.ipv4.conf.default.accept_source_routeto 0 disables the system from accepting source routed packets. Assume this system was capable of routing packets to Internet routable addresses on one interface and private addresses on another interface. Assume that the private addresses were not routable to the Internet routable addresses and vice versa. Under normal routing circumstances, an attacker from the Internet routable addresses could not use the system as a way to reach the private address systems. If, however, source routed packets were allowed, they could be used to gain access to the private address systems as the route could be specified, rather than rely on routing protocols that did not allow this routing.+Setting ''net.ipv4.conf.all.accept_source_route'' and ''net.ipv4.conf.default.accept_source_route'' to 0 disables the system from accepting source routed packets. Assume this system was capable of routing packets to Internet routable addresses on one interface and private addresses on another interface. Assume that the private addresses were not routable to the Internet routable addresses and vice versa. Under normal routing circumstances, an attacker from the Internet routable addresses could not use the system as a way to reach the private address systems. If, however, source routed packets were allowed, they could be used to gain access to the private address systems as the route could be specified, rather than rely on routing protocols that did not allow this routing.
  
 =====Audit=====  =====Audit===== 
Line 22: Line 22:
  
 =====Remediation=====  =====Remediation===== 
-Set the following parameter in the "/etc/sysctl.conffile:+Set the following parameter in the ''/etc/sysctl.conf'' file:
 <Code:bash> <Code:bash>
 net.ipv4.conf.all.accept_source_route = 0  net.ipv4.conf.all.accept_source_route = 0 
  • ubuntu1604/3/2/1.1493819996.txt.gz
  • Last modified: 2017/05/03 15:59
  • by Piotr Kłoczewski