<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>net.ipv4.tcp_challenge_ack_limit Archives - Tech Antidote</title>
	<atom:link href="https://techantidote.com/tag/net-ipv4-tcp_challenge_ack_limit/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>‎ &#124; LINUX &#124; Tech &#124; Security &#124;</description>
	<lastBuildDate>Sat, 24 Sep 2016 03:30:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://techantidote.com/wp-content/uploads/2016/02/cropped-google-plus-profile-picture-32x32.png</url>
	<title>net.ipv4.tcp_challenge_ack_limit Archives - Tech Antidote</title>
	<link></link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">106369530</site>	<item>
		<title>Protect against vulnerability CVE-2016-5696 in CentOS 6.8</title>
		<link>https://techantidote.com/cve-2016-5696-centos-6-8-fix/</link>
					<comments>https://techantidote.com/cve-2016-5696-centos-6-8-fix/#respond</comments>
		
		<dc:creator><![CDATA[]]></dc:creator>
		<pubDate>Sat, 24 Sep 2016 03:30:33 +0000</pubDate>
				<category><![CDATA[Linux / Redhat]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[6.8]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[CVE-2016-5696]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[net.ipv4.tcp_challenge_ack_limit]]></category>
		<category><![CDATA[offpath tcp]]></category>
		<category><![CDATA[sysctl.conf]]></category>
		<category><![CDATA[vulnerability]]></category>
		<guid isPermaLink="false">http://techantidote.com/?p=2295</guid>

					<description><![CDATA[<p>This guide on how to protect against Off-path TCP vulnerability CVE-2016-5696 in a CentOS 6.8 machine. Run the following command to check the kernel version that your box is running: uname -r Run the following to verify your Centos version details: cat /etc/redhat-release Below is a screenshot for the outputs for the above commands from my CentOS &#8230; <a href="https://techantidote.com/cve-2016-5696-centos-6-8-fix/" class="more-link">Continue reading <span class="screen-reader-text">Protect against vulnerability CVE-2016-5696 in CentOS 6.8</span> <span class="meta-nav">&#8594;</span></a></p>
<p>The post <a href="https://techantidote.com/cve-2016-5696-centos-6-8-fix/">Protect against vulnerability CVE-2016-5696 in CentOS 6.8</a> appeared first on <a href="https://techantidote.com">Tech Antidote</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This guide on how to protect against Off-path TCP vulnerability CVE-2016-5696 in a CentOS 6.8 machine.</p>
<p>Run the following command to check the kernel version that your box is running:</p>
<pre><strong>uname -r</strong></pre>
<p>Run the following to verify your Centos version details:</p>
<pre><strong>cat /etc/redhat-release</strong></pre>
<p>Below is a screenshot for the outputs for the above commands from my CentOS 6.8 box.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-2296 size-full" src="http://techantidote.com/wp-content/uploads/2016/09/release-info.png" alt="release information screenshot CentOS 6.8" width="658" height="173" srcset="https://techantidote.com/wp-content/uploads/2016/09/release-info.png 658w, https://techantidote.com/wp-content/uploads/2016/09/release-info-300x79.png 300w" sizes="(max-width: 658px) 100vw, 658px" /></p>
<h4><strong><span style="color: #0000ff;">Workaround against the attack:</span></strong></h4>
<p>Open your sysctl.conf file:</p>
<pre><strong>vi /etc/sysctl.conf</strong></pre>
<p><img decoding="async" class="alignnone wp-image-2297 size-full" src="http://techantidote.com/wp-content/uploads/2016/09/edit-sysctl-conf.png" alt="edit config file command CentOS 6.8" width="543" height="67" srcset="https://techantidote.com/wp-content/uploads/2016/09/edit-sysctl-conf.png 543w, https://techantidote.com/wp-content/uploads/2016/09/edit-sysctl-conf-300x37.png 300w" sizes="(max-width: 543px) 100vw, 543px" /></p>
<p>Below is a screenshot of my default sysctl.conf file which does not contain &#8220;net.ipv4.tcp_challenge_ack_limit&#8221;.</p>
<p><img decoding="async" class="alignnone wp-image-2298 size-full" src="http://techantidote.com/wp-content/uploads/2016/09/default-config-file.png" alt="default sysctl.conf in CentOS 6.8" width="774" height="851" srcset="https://techantidote.com/wp-content/uploads/2016/09/default-config-file.png 774w, https://techantidote.com/wp-content/uploads/2016/09/default-config-file-273x300.png 273w, https://techantidote.com/wp-content/uploads/2016/09/default-config-file-768x844.png 768w" sizes="(max-width: 774px) 100vw, 774px" /></p>
<p>Now add the following line at the end of the config file:</p>
<pre><strong>net.ipv4.tcp_challenge_ack_limit = 999999999</strong></pre>
<p>Below is a screenshot after editing the config file.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2299 size-full" src="http://techantidote.com/wp-content/uploads/2016/09/edited-config-file.png" alt="edited-config-file screenshot in CentOS 6.8" width="731" height="822" srcset="https://techantidote.com/wp-content/uploads/2016/09/edited-config-file.png 731w, https://techantidote.com/wp-content/uploads/2016/09/edited-config-file-267x300.png 267w" sizes="auto, (max-width: 731px) 100vw, 731px" /></p>
<p>Save and exit the file. (Press ESC and then type :wq and hit Enter in your keyboard).</p>
<p>Use the command below to verify if the value of net.ipv4.tcp_challenge_ack_limit is 999999999.</p>
<pre><strong>sysctl -p</strong></pre>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-2300 size-full" src="http://techantidote.com/wp-content/uploads/2016/09/sysctl-p.png" alt="sysctl -p in CentOS 6.8" width="515" height="277" srcset="https://techantidote.com/wp-content/uploads/2016/09/sysctl-p.png 515w, https://techantidote.com/wp-content/uploads/2016/09/sysctl-p-300x161.png 300w" sizes="auto, (max-width: 515px) 100vw, 515px" /></p>
<p>If you are able to see the line in the above screenshot, this means that it will make the exploit extremely hard to perform (practically impossible). The above is a workaround to mitigating the Off-Path TCP attack in a CentOS 6.8 machine and will also work for redhat 6.8.</p>
<h4><span style="color: #0000ff;"><strong>The Fix:</strong></span></h4>
<p>If you are not looking for the workaround but for a permanent fix, then you can upgrade your Linux kernel to 4.6 or above.</p>
<p>If this article helped you, do leave a comment below and like us on <a href="http://twitter.com/techantidote">Twitter</a> and <a href="http://facebook.com/techantidote">Facebook</a>. Cheers!</p>
<p><strong>Source</strong>: <a href="https://bobcares.com/blog/fix-linux-off-path-tcp-attacks-cve-2016-5696/2/">Bobcares</a></p>
<p><strong>References</strong>: <a href="https://access.redhat.com/security/cve/cve-2016-5696" target="_blank">Redhat Portal</a>, <a href="https://access.redhat.com/security/vulnerabilities/challengeack" target="_blank">Redhat Shared Ack Vulnerability</a></p>
<p>The post <a href="https://techantidote.com/cve-2016-5696-centos-6-8-fix/">Protect against vulnerability CVE-2016-5696 in CentOS 6.8</a> appeared first on <a href="https://techantidote.com">Tech Antidote</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://techantidote.com/cve-2016-5696-centos-6-8-fix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2295</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: techantidote.com @ 2026-11-17 22:56:14 by W3 Total Cache
-->