<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Within Reason: tcpdrop for Solaris</title>
    <link>http://typo.submonkey.net/articles/2006/07/31/tcpdrop-for-solaris</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>I do what I want</description>
    <item>
      <title>tcpdrop for Solaris</title>
      <description>&lt;p&gt;&lt;a href="http://groups.google.com/group/comp.unix.solaris/browse_frm/thread/e0acc29506689595/"&gt;Some guy&lt;/a&gt; asked on comp.unix.solaris for a tool for Solaris that could drop a TCP connection without killing the associated process.&lt;/p&gt;

&lt;p&gt;I pointed out that we had &lt;a href="http://www.freebsd.org/cgi/man.cgi?query=tcpdrop"&gt;tcpdrop(8)&lt;/a&gt; from OpenBSD which did this, whereupon Casper Dik informed me of the existence of the &lt;code&gt;TCP_IOC_ABORT_CONN&lt;/code&gt; ioctl which does the same job on Solaris.&lt;/p&gt;

&lt;p&gt;So I did a dirty port of &lt;a href="http://www.freebsd.org/cgi/man.cgi?query=tcpdrop"&gt;tcpdrop(8)&lt;/a&gt; which &lt;a href="http://typo.submonkey.net/pages/tcpdrop-solaris"&gt;you can download&lt;/a&gt; if you want.&lt;/p&gt;

&lt;p&gt;It&amp;#8217;s been tested on Solaris 9, but might not even compile on other versions.  You get to keep both pieces if it breaks.&lt;/p&gt;</description>
      <pubDate>Mon, 31 Jul 2006 19:29:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:b6cdea5f7a2113b0b9234bd9add28740</guid>
      <author>Ceri Davies</author>
      <link>http://typo.submonkey.net/articles/2006/07/31/tcpdrop-for-solaris</link>
      <category>FreeBSD</category>
      <category>Software</category>
      <category>Solaris</category>
    </item>
  </channel>
</rss>
