<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:blogChannel="http://backend.userland.com/blogChannelModule">

<channel>
<title>Re: Can we block the reset packets? in </title>
<link>http://www.dslreports.com/forum/r20565801</link>
<description></description>
<language>en</language>
<pubDate>Wed, 11 Nov 2009 08:55:09 EDT</pubDate>
<lastBuildDate>Wed, 11 Nov 2009 08:55:09 EDT</lastBuildDate>

<item>
<title>Re: Can we block the reset packets?</title>
<link>http://www.dslreports.com/forum/remark,20578965</link>
<description><![CDATA[<A HREF="/useremail/u/340409"><b>funchords</b></A> : <div class="bquote"><small>said by Hehe :</small><br><br>Well, looking at the RFC it seems like we should not receive a RST while the connection is in the ESTABLISHED STATE.  So, maybe we can drop RST if ESTABLISHED?<br><br>Anyone know how to make iptables do that?<br><br>And I assume I am not 100% correct!  :)<br>It just can't be that easy.<br> </div>RFC 793, Figure 11 would happen with one end in the Established state, thinking it was in a full-open connection when it actually is only in a half-open connection due to the remote host's reboot.<br><small>--<br>Robb Topolski -= <A HREF="http://funchords.com/">funchords.com</a> =- Hillsboro, Oregon<br><i><A HREF="http://tinyurl.com/6famoj"><b>HTTP</b> is the new Bandwidth Hog</a></i>... <br></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20578965</guid>
<pubDate>Mon, 02 Jun 2008 16:27:35 EDT</pubDate>
</item>

<item>
<title>Re: Can we block the reset packets?</title>
<link>http://www.dslreports.com/forum/remark,20578598</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : Well, looking at the RFC it seems like we should not receive a RST while the connection is in the ESTABLISHED STATE.  So, maybe we can drop RST if ESTABLISHED?<br><br>Anyone know how to make iptables do that?<br><br>And I assume I am not 100% correct!  :)<br>It just can't be that easy.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20578598</guid>
<pubDate>Mon, 02 Jun 2008 15:25:33 EDT</pubDate>
</item>

<item>
<title>Re: Can we block the reset packets?</title>
<link>http://www.dslreports.com/forum/remark,20570655</link>
<description><![CDATA[<A HREF="/useremail/u/340409"><b>funchords</b></A> : <div class="bquote"><small>said by  MxxCon <A HREF="/useremail/u/118623"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>you know perfectly well</div>With respect, your unnecessary attitude toward others does not promote friendliness.  You called the previous poster's idea idiotic and you're being condescending to me.  <br><br>In this case, you misunderstand how RST works.  These are just facts, nobody wins or loses on the strength of their debating skills.  It is whatever it is.  We both learn about it by being here.<br><br><div class="bquote"><small>said by  MxxCon <A HREF="/useremail/u/118623"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>if the far end crashed, it wouldn't generate RST. it wouldn't generate anything at all.</div>Right, but when network devices crash, they often reboot.  When they come back up with no memory of the pre-crash states, then start receiving TCP packets on a closed port, they send RST in response. <br><br>This specific example is explained in <A HREF="http://www.ietf.org/rfc/rfc0793.txt">RFC 793</a>, Figure 11 (either page 34 or 35). <br><br><div class="bquote"><small>said by  MxxCon <A HREF="/useremail/u/118623"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>RST would be generated if far end decided to close the existing connection, which can be a valid request.</div>If the far end decided to end the existing connection, FIN should be sent, not RST.  <br><br>Anything is possible (there's an older Microsoft webserver that sends RST to kill the FIN's TIME_WAIT interval), but these exceptions are rare and usually pointed out as mistaken implementations.<br><br><div class="bquote"><small>said by  MxxCon <A HREF="/useremail/u/118623"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>some bittorrent clients want to connect only to seeds, so the moment they see it's not a seed, they will abort such connection generating RST. blocking such packets will break your application<br> </div>As said above, FIN not RST, is what should be sent.  FIN completes the connection gracefully.  RST can cause the loss of sent-but-unacknowledged data.<br><br>You can see this using Wireshark.<br><small>--<br>Robb Topolski -= <A HREF="http://funchords.com/">funchords.com</a> =- Hillsboro, Oregon<br><i><A HREF="http://tinyurl.com/6famoj"><b>HTTP</b> is the new Bandwidth Hog</a></i>... <br></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20570655</guid>
<pubDate>Sat, 31 May 2008 20:59:57 EDT</pubDate>
</item>

<item>
<title>Re: Can we block the reset packets?</title>
<link>http://www.dslreports.com/forum/remark,20569222</link>
<description><![CDATA[<A HREF="/useremail/u/118623"><b>MxxCon</b></A> : you know perfectly well if the far end crashed, it wouldn't generate RST. it wouldn't generate anything at all.<br>RST would be generated if far end decided to close the existing connection, which can be a valid request.<br>some bittorrent clients want to connect only to seeds, so the moment they see it's not a seed, they will abort such connection generating RST. blocking such packets will break your application]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20569222</guid>
<pubDate>Sat, 31 May 2008 14:25:11 EDT</pubDate>
</item>

<item>
<title>Re: Can we block the reset packets?</title>
<link>http://www.dslreports.com/forum/remark,20568628</link>
<description><![CDATA[<A HREF="/useremail/u/340409"><b>funchords</b></A> : <div class="bquote"><small>said by  MxxCon <A HREF="/useremail/u/118623"><IMG SRC="http://i.dslr.net/bb/profile.gif" ALT="See Profile" BORDER=0 WIDTH=16 HEIGHT=11></A> :</small><br><br>impossible and idiotic request.<br>RTS packets are an integral part of TCP protocol. blocking them will completely destroy your internet connection.<br>realtime detection methods are inaccurate so any block rule will have HUGE false positive rate.<br>the only accurate way to detect faked RST packets is by comparing traffic from both sides and see if one generated the given RST packet to the other.<br> </div>After a 2-way connection has been established, a Reset (RST) flag should only be generated by the far end if it has crashed.  However, all of the forged RST packets generated by Sandvine come in within the same second as a previous genuine packet from the remote host.  This being the case, it would be possible to detect a bogus RST packet and react to it differently or discard it.<br><small>--<br>Robb Topolski -= <A HREF="http://funchords.com/">funchords.com</a> =- Hillsboro, Oregon<br><i><A HREF="http://tinyurl.com/6famoj"><b>HTTP</b> is the new Bandwidth Hog</a></i>... <br></small>]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20568628</guid>
<pubDate>Sat, 31 May 2008 12:03:49 EDT</pubDate>
</item>

<item>
<title>Re: Can we block the reset packets?</title>
<link>http://www.dslreports.com/forum/remark,20565801</link>
<description><![CDATA[<A HREF="/useremail/u/118623"><b>MxxCon</b></A> : impossible and idiotic request.<br>RTS packets are an integral part of TCP protocol. blocking them will completely destroy your internet connection.<br>realtime detection methods are inaccurate so any block rule will have HUGE false positive rate.<br>the only accurate way to detect faked RST packets is by comparing traffic from both sides and see if one generated the given RST packet to the other.]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20565801</guid>
<pubDate>Fri, 30 May 2008 19:24:28 EDT</pubDate>
</item>

<item>
<title>Can we block the reset packets?</title>
<link>http://www.dslreports.com/forum/remark,20564728</link>
<description><![CDATA[<A HREF="/useremail/u/0"><b>anon</b></A> : It would be cool if we could detect and block these reset packets!  A rule on the firewall!  Or maybe an iptables module?]]></description>
<guid isPermaLink="true">http://www.dslreports.com/forum/remark,20564728</guid>
<pubDate>Fri, 30 May 2008 16:04:35 EDT</pubDate>
</item>

</channel>
</rss>
