補覺鳴詩

學海無涯


  • 首頁

  • archive

  • 關於我

  • 搜尋

CVE-2019-14899 漏洞

時間: 2019-12-09   |   分類: Centos 7   | 字數: 160 字 | 閱讀: 1分鐘 | 閱讀次數:

查詢方法

sysctl -ar '.rp_filter'

或

cat /usr/lib/sysctl.d/50-default.conf | grep net.ipv4.conf

 

 

kernel 說明

https://www.kernel.org/doc/Documentation/networking/ip-sysctl.txt

 

rp_filter - INTEGER
  0 - No source validation.
  1 - Strict mode as defined in RFC3704 Strict Reverse Path
      Each incoming packet is tested against the FIB and if the interface
      is not the best reverse path the packet check will fail.
      By default failed packets are discarded.
  2 - Loose mode as defined in RFC3704 Loose Reverse Path
      Each incoming packet's source address is also tested against the FIB
      and if the source address is not reachable via any interface
      the packet check will fail.

  Current recommended practice in RFC3704 is to enable strict mode
  to prevent IP spoofing from DDos attacks. If using asymmetric routing
  or other complicated routing, then loose mode is recommended.

  The max value from conf/{all,interface}/rp_filter is used
  when doing source validation on the {interface}.

  Default value is 0. Note that some distributions enable it
  in startup scripts.

 

 

comments powered by Disqus >
Owan

Owan

愛貓如癡

131 日誌
29 分類
37 標籤
GitHub
© 2010 - 2022 補覺鳴詩
Powered by - Hugo v0.96.0 / Theme by - NexT
0%