<?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>Discard on Xinetd &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/discard-on-xinetd/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Thu, 28 Jul 2011 06:01:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Install TCP Discard Service</title>
		<link>https://lifelinux.com/how-to-install-tcp-discard-service/</link>
					<comments>https://lifelinux.com/how-to-install-tcp-discard-service/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 28 Jul 2011 06:00:46 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Discard on Xinetd]]></category>
		<category><![CDATA[Discard Protocol]]></category>
		<category><![CDATA[Discard Service]]></category>
		<category><![CDATA[Install Discard Protocol]]></category>
		<category><![CDATA[Install Discard Service]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=897</guid>

					<description><![CDATA[<p>What&#8217;s Discard Protocol ? The Discard Protocol is a service in the Internet Protocol Suite defined in RFC 863. It is intended for testing, debugging, and measurement purposes. A host may send data to a host that supports the Discard Protocol on either Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) port number 9. [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-tcp-discard-service/">How To Install TCP Discard Service</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h2>What&#8217;s Discard Protocol ?</h2>
<p>The <strong>Discard Protocol</strong> is a service in the Internet Protocol Suite defined in <strong>RFC 863</strong>. It is intended for testing, debugging, and measurement purposes.<br />
A host may send data to a host that supports the Discard Protocol on either Transmission Control Protocol (TCP) or User Datagram Protocol (UDP) port number 9. The data sent to the server is simply discarded. No response is returned.<span id="more-897"></span></p>
<h2>Install Discard on Centos</h2>
<p>What we need is the <strong>TCP Discard service</strong> on <strong>port 9</strong>. <strong>Xinetd</strong> has it built-in, so we can just use that. Make sure that the following definition is available in xinetd&#8217;s configuration file(s), usually <strong>/etc/xinetd.d/discard</strong>. It should contain a service like the following:</p>
<pre>service discard
{
    type            = INTERNAL
    id              = discard-stream
    socket_type     = stream
    protocol        = tcp
    user            = root
    wait            = no
    disable         = no
    FLAGS           = IPv6 IPv4
}</pre>
<p><strong>Note:</strong> socket_type = stream using for TCP and socket_type = dgram using for UDP</p>
<p>Restart xinetd to reread the configuration files and activate the new discard service. Type the following command:</p>
<pre># /etc/init.d/xinetd restart</pre>
<g:plusone href="https://lifelinux.com/how-to-install-tcp-discard-service/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-install-tcp-discard-service/">How To Install TCP Discard Service</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-install-tcp-discard-service/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
