<?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>[protofusion] &#187; irc</title> <atom:link href="http://protofusion.org/wordpress/tag/irc/feed/" rel="self" type="application/rss+xml" /><link>http://protofusion.org/wordpress</link> <description>Generally Interesting</description> <lastBuildDate>Sat, 19 May 2012 17:48:20 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Configuring BOPM for TorDNSEL</title><link>http://protofusion.org/wordpress/2012/02/configuring-bopm-for-tordnsel/</link> <comments>http://protofusion.org/wordpress/2012/02/configuring-bopm-for-tordnsel/#comments</comments> <pubDate>Sat, 18 Feb 2012 07:32:40 +0000</pubDate> <dc:creator>Nathan Phillip Brink</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Quick Tips]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[bopm]]></category> <category><![CDATA[dnsbl]]></category> <category><![CDATA[irc]]></category> <category><![CDATA[ircd]]></category> <category><![CDATA[tor]]></category> <category><![CDATA[tordnsel]]></category> <category><![CDATA[unrealircd]]></category><guid
isPermaLink="false">http://protofusion.org/wordpress/?p=1187</guid> <description><![CDATA[Background If you have a working BOPM installation, you are trying to prevent abuses of your IRC network effected through ]]></description> <content:encoded><![CDATA[<p><a
href="http://cdn.ohnopub.net/cdn/binki/21224-processed-r1.jpg" rel="lightbox[1187]"><img
src="http://cdn.ohnopub.net/cdn/binki/21224-processed-r1-500x382.jpg" alt="" title="Hammer hits onion—Bop 'em Tor users!" class="alignnone size-large" style="width: 500px; height: 382px;" /></a></p><h3>Background</h3><p>If you have a working <a
href="http://wiki.blitzed.org/BOPM">BOPM</a> installation, you are trying to prevent abuses of your IRC network effected through anonymity services such as proxies. BOPM has built-in support for scanning for open proxies. It also has support for looking up clients in DNSBLs, which are used to publish lists of misbehaving or malign hosts. One such DNSBL, called <a
href="https://torproject.org/projects/tordnsel.html">TorDNSEL</a>, provides a way to check users connecting through the Tor anonymity service.</p><p><span
id="more-1187"></span></p><p>As discussed at <a
href="https://torproject.org/projects/tordnsel.html">TorDNSEL&#8217;s information page</a>, the purpose of this service is to provide finely-grained information about whether a client&#8217;s connection could be through a Tor exit node. Tor exit nodes can be configured with advanced <a
href="https://torproject.org/docs/faq.html#ExitPolicies">exit policies</a> which specify the sorts of direct outbound connections a Tor exit node is willing to make on behalf of its anonymous client. For example, a Tor exit node administrator could disallow his node to make connections to government sites and disable outgoing connections on common IRC ports. If a Tor exit node is run by an administrator who is interested in also connecting to an IRC network, that administrator would disallow outgoing IRC connections. Thus, any IRC connection made (on a common IRC port) through that node would be a legitimate connection made by a user on that host and <em>not</em> a connection from an anonymous client. The TorDNSEL DNSBL lets—and requires—networks which use it to take this into account.</p><h3>Prerequisites</h3><p>This short guide assumes that you have successfully configured BOPM to connect to your IRCd, parse oper notices informing it of client connections, and issue a G/Z:line or SHUN for some other event which identifies a client as using a particular anonymity service.</p><h3>Configuring BOPM</h3><p>As <a
href="https://torproject.org/projects/tordnsel.html">TorDNSEL&#8217;s information page</a> documents, performing a TorDNSEL lookup requires the IRC client&#8217;s IP <code>A.B.C.D</code>, the port of the service being accessed <code>P</code>, and the public IP of the IRCd <code>E.F.G.H</code>. With these parameters, a query would be an <em>A record</em> lookup of the domain name <code>D.C.B.A.P.H.G.F.E.ip-port.exitlist.torproject.org</code>. If the response was <code>NXDOMAIN</code>, then either there is no Tor exit node at <code>A.B.C.D</code> <em>or</em>, if that IP identifies an exit node, that node is unwilling to connect to <code>E.F.G.H</code> on port <code>P</code> because its <a
href="https://torproject.org/docs/faq.html#ExitPolicies">exit policy</a> forbids such a connection. If the response is <code>127.0.0.2</code>, then there <em>is</em> a Tor exit node at <code>A.B.C.D</code> which would willying connect to <code>E.F.G.H</code> on port <code>P</code>. From this information, we can produce a BOPM blacklist block:</p><pre><code>OPM { <em title="Other blacklist blocks might be found here.">…</em> blacklist { name = "P.H.G.F.E.ip-port.exitlist.torproject.org"; type = "A record reply"; reply { 2 = "Tor exit server"; }; ban_unknown = yes; # GZLINE issuing a 7-day network-wide zline with <a href="http://unrealircd.org/">UnrealIRCd</a>-compatible syntax kline = "GZLINE *@%i 7d :You are connecting from a Tor exit node willing to connect to E.F.G.H:P"; }; <em title="Other blacklist blocks would be found here.">…</em> }; </code></pre><p>The above <code>blacklist</code> should be copy-pastable into your <code>bopm.conf</code>&#8216;s <code>OPM</code> section. But, remember to replace <code>E</code>, <code>F</code>, <code>G</code>, and <code>H</code> with the respective components of your IRCd&#8217;s IP address. In the <code>name</code> line, it is intended that the components of the IP are in reverse order. This is because the right end of a domain is more general and the left end is more specific whereas in the first component of an IP address is most general and the rightmost component is more specific.</p><p>Also, note that you shouldn&#8217;t copy the <code><em>…</em></code> into your <code>bopm.conf</code>; each of these is just a placeholder indicating that you probably already have other <code>blacklist</code> blocks which should be preserved defined inside the <code>OPM</code> block.</p><p>One last note about this blacklist entry. If your IRC network, like many networks, allows connections to multiple ports, you must specify a <code>blacklist</code> entry for each port. For example, 6667 is the port an IRC client will try, by default, to use when connecting to an IRCd. But if a client wants to use SSL (without STARTTLS), you might have instructed your IRCd to listen for SSL connections on port 6697. A side effect of TorDNSEL&#8217;s specific entries is that a tor exit node may be instructed to deny outbound connections on port 6667 yet allow them on 6697. Since BOPM cannot (AFAIK) be configured to automatically choose a value for <code>P</code>, you must create a <code>blacklist</code> block for <em>each IRCd public IP and port combination</em>.</p><h4>Breakdown</h4><pre><code>OPM { <em title="Other blacklist blocks might be found here.">…</em> blacklist { name = "P.H.G.F.E.ip-port.exitlist.torproject.org";</code></pre><p>Here you specify your server&#8217;s public IP, <code>E.F.G.H</code>, in reverse as <code>H.G.F.E</code> as well as the port your IRCd is listening on, <code>P</code>. BOPM will prepend the IP of the IRC client which connects, <code>A.B.C.D</code>, in reverse order as <code>D.C.B.A</code> when it checks if the client is in this TorDNSEL.</p><pre><code> type = "A record reply";</code></pre><p>This specifies that BOMP should take the IP address the DNSBL returns and interpret that as a response. DNSBLs generally use IPs in the reserved localhost range, <code>127.0.0.0/8</code>, to avoid pointing to IPs owned by third parties.</p><pre><code> reply { 2 = "Tor exit server"; };</code></pre><p>This is the list of potential DNSBL responses which you anticipate from <a
href="https://torproject.org/projects/tordnsel.html">TorDNSEL</a>. If the DNSBL returns <code>NXDOMAIN</code> (which means, “I don&#8217;t know about this doain”), BOPM will ignore the answer and assume the client is not in the DNSBL. However, if the server responds with an IP such as <code>127.0.0.2</code>, BOPM will subtract <code>127.0.0.0</code> from the IP and then look for the result <code>2</code> in this reply list. If it finds an entry, it performs the action in <code>kline</code> discussed below.</p><p><a
href="https://torproject.org/projects/tordnsel.html">TorDNSEL</a> currently only defines two possible responses. <code>NXDOMAIN</code> indicates that the node would not connect to <code>E.F.G.H:P</code> on behalf of a Tor client. <code>127.0.0.2</code> or, as BOPM interprets it, <code>2</code> indicates that there is a Tor exit node at <code>A.B.C.D</code> which is willing to connect to your IRCd.</p><pre><code> ban_unknown = yes;</code></pre><p>This line states that, if the DNSBL responds with an IP other than those handled in the <code>reply</code> block, it should assume that the client still should be banned. The <a
href="https://torproject.org/projects/tordnsel.html">TorDNSEL guide</a> states <q
cite="https://torproject.org/projects/tordnsel.html">Other A records inside net 127/8, except 127.0.0.1, are reserved for future use and should be interpreted by clients as indicating an exit node.</q> This means that the TorDNSEL project reserves the right to add a new response, such as <code>127.0.0.3</code>, which would indicate a subtly different sort of tor exit node. Until this new response is defined, all we know is that the IRC client probably should be banned by BOPM.</p><pre><code> # GZLINE issuing a 7-day network-wide zline with <a href="http://unrealircd.org/">UnrealIRCd</a>-compatible syntax kline = "GZLINE *@%i 7d :You are connecting from a Tor exit node willing to connect to E.F.G.H:P";</code></pre><p>This is the IRC command which BOPM will issue when a client is listed in TorDNSEL. The above command will set a network-wide ban on the user&#8217;s IP which will last for 7 days using <a
href="http://unrealircd.org/">UnrealIRCd</a>&#8216;s syntax. A Global Z:Line is an efficient ban as the client&#8217;s connection can be closed by the IRCd before the IRCd looks up the client&#8217;s hostname. The reason listed with the GZ:Line is formulated so that the IRC user will understand exactly why he was banned.</p><pre><code> }; <em title="Other blacklist blocks would be found here.">…</em> }; </code></pre><p>Be careful when editing your bopm.conf. Don&#8217;t forget any semicolons; even the ones after closing curly braces (<code>}</code>) are ncessary. If you&#8217;re reading this guide, you hopefully don&#8217;t need this advice <img
src='http://pf-wordpress.s3.amazonaws.com/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> .</p><h3>Testing</h3><p>Once you have added the necessary configuration directives to your <code>bopm.conf</code>, you should test and check that BOPM catches the Tor exit nodes which are willing to connect to your IRCd. If BOPM was already running, do not forget to rehash it (BOPM&#8217;s readme suggests that <code>/KILL BOPM (rehashing)</code> is a convenient way to force BOPM to reread its configuration and reconnect). The following uses BOPM&#8217;s in-channel command interface to ask BOPM to scan an IP and check if it would be banned if a client connected from that IP. This requires that you have properly configured BOPM to join a channel with an <code>IRC::channel</code> block. An alternative test would be to just connect to your network through Tor, but that is probably more involved.</p><p>To check if your BOPM would detect a Tor IP, first <a
href="http://proxy.org/tor.shtml">find a Tor exit node</a> (if using list list, ensure to choose an IP for which the “Exit Node?” column has “YES”). Then join the channel where BOPM is and issue the command <code>BOPM check IP</code>, where you replace <code>BOPM</code> with the nickname your BOPM bot is using and replace <code>IP</code> with the Tor exit node IP you looked up. A successful detection will look something like the following:</p><pre>-!- BOPM2 [~bopm@Clk-NNNNNNNN] has joined #opers
&lt;&amp;binki&gt; BOPM2 check A.B.C.D
&lt; BOPM2&gt; CHECK -&gt; Checking 'A.B.C.D' for open proxies on all scanners
&lt; BOPM2&gt; CHECK -&gt; DNSBL -&gt; A.B.C.D appears in BL zone 6667.H.G.F.E.ip-port.exitlist.torproject.org (Tor exit server)
&lt; BOPM2&gt; CHECK -&gt; DNSBL -&gt; A.B.C.D appears in BL zone 6697.H.G.F.E.ip-port.exitlist.torproject.org (Tor exit server)
&lt; BOPM2&gt; CHECK -&gt; DNSBL -&gt; A.B.C.D does not appear in BL zone 6900.H.G.F.E.ip-port.exitlist.torproject.org
&lt; BOPM2&gt; CHECK -&gt; DNSBL -&gt; A.B.C.D appears in BL zone 7000.H.G.F.E.ip-port.exitlist.torproject.org (Tor exit server)
&lt; BOPM2&gt; CHECK -&gt; All tests on A.B.C.D completed.</pre><p>In this scenario, the port 6900 was inside of a reject range policy on the Tor exit node I selected. For some odd reason, it seems that this port is part of a range which is commonly disabled in Tor exit nodes. Yet, the Tor exit node I chose admits that it is willing to connect to my IRCd still and will be banned because of one of the other <code>OPM::blacklist</code> blocks I have defined, such as the one for port 6667.</p><p>In your own tests, you might encounter Tor exit nodes which BOPM does not flag as needing to be banned. There are multiple reasons for this. First of all, you may have selected a Tor exit node with policies which disallow Tor clients to access IRC through it. Thus, you must try with multiple <em>exit</em> nodes randomly selected from some listing of Tor exit nodes before despairing. If you have checked multiple hosts and your BOPM refuses to recognize them, you may have misconfigured your BOPM&#8217;s <code>blacklist</code> entry. Double-check that you have put your correct server&#8217;s public IP in reverse order properly along with the correct port in the <code>blacklist::name</code> entry. Test that BOPM&#8217;s DNS is working by looking up <code>D.C.B.A.P.H.G.F.E.ip-port.exitlist.torproject.org</code>, perhaps using the <code><a
href="http://ohnopub.net/~ohnobinki/man/?p=getent&amp;s=1">getent</a> hosts</code> or <code><a
href="http://ohnopub.net/~ohnobinki/man/?p=dig&amp;s=1">dig</a></code> tools. Remember to rehash BOPM (by <code>/kill</code>ing it with your <code>/oper</code> powers perhaps) after editing <code>bopm.conf</code>.</p> ]]></content:encoded> <wfw:commentRss>http://protofusion.org/wordpress/2012/02/configuring-bopm-for-tordnsel/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>The Virtues of Circumcensoring</title><link>http://protofusion.org/wordpress/2009/09/the-virtues-of-circumcensoring/</link> <comments>http://protofusion.org/wordpress/2009/09/the-virtues-of-circumcensoring/#comments</comments> <pubDate>Fri, 18 Sep 2009 04:55:36 +0000</pubDate> <dc:creator>Ethan Zonca</dc:creator> <category><![CDATA[Web]]></category> <category><![CDATA[censor]]></category> <category><![CDATA[humor]]></category> <category><![CDATA[internet]]></category> <category><![CDATA[irc]]></category> <category><![CDATA[unrealircd]]></category><guid
isPermaLink="false">http://protofusion.org/wordpress/?p=122</guid> <description><![CDATA[Throughout the history of the internet, chat rooms and forums have grown exponentially. Many people in these chat rooms were ]]></description> <content:encoded><![CDATA[<p
style="text-align: center;"><img
class="alignnone size-full wp-image-129" title="censoredwht" src="http://pf-wordpress.s3.amazonaws.com/wordpress/wp-content/uploads/2009/09/censoredwht.png" alt="censoredwht" width="449" height="208" /></p><p
style="text-align: center;"><p>Throughout the history of the internet, chat rooms and forums have grown exponentially. Many people in these chat rooms were annoyed at the use of explicit language, so administrators implemented censoring of inappropriate words.Censoring, as originally implemented, resulted in a lack of emotion from a user&#8217;s censored statement while allowing the conveyance of meaning. Circumcensoring does just the opposite, it allows the expression of emotion without allowing much meaning to be conveyed. Due to the obvious uniqueness of circumcensoring and the virtues that must be obvious to the reader, I am planning on implementing circumcensoring in an unrealircd plugin, aptly named CircumCensor. Although this plugin is bound to remain undeveloped for a while, it may eventually be developed whenever I have free time.</p> ]]></content:encoded> <wfw:commentRss>http://protofusion.org/wordpress/2009/09/the-virtues-of-circumcensoring/feed/</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Quick Tip: Quit Messages in IRC</title><link>http://protofusion.org/wordpress/2009/08/quit-messages-irc/</link> <comments>http://protofusion.org/wordpress/2009/08/quit-messages-irc/#comments</comments> <pubDate>Fri, 21 Aug 2009 03:12:57 +0000</pubDate> <dc:creator>Ethan Zonca</dc:creator> <category><![CDATA[Quick Tips]]></category> <category><![CDATA[etiquette]]></category> <category><![CDATA[irc]]></category><guid
isPermaLink="false">http://protofusion.org/wordpress/?p=54</guid> <description><![CDATA[Ever exited out of IRC without telling people why? Don&#8217;t know how to tell people why you&#8217;re leaving? Then you ]]></description> <content:encoded><![CDATA[<p>Ever exited out of IRC without telling people why? Don&#8217;t know how to tell people why you&#8217;re leaving? Then you need to use quit messages. Really. It&#8217;s just annoying to see people randomly leave with no reasoning.</p><p><span
id="more-54"></span>By default, when you exit most IRC clients (including pidgin), the quit message will look something like &#8220;normaldotcom has quit (Quit: normaldotcom).&#8221; The preferred way to exit out of a channel or an IRC session is using the /quit IRC command. It&#8217;s pretty simple, just type &#8220;/quit leaving to do something in real life with real people.&#8221; This will notify others of your departure, and your reasoning for doing so. It&#8217;s just a lot nicer and a lot less annoying. Practice proper IRC etiquette and use /quit !</p> ]]></content:encoded> <wfw:commentRss>http://protofusion.org/wordpress/2009/08/quit-messages-irc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>IRC via Telnet</title><link>http://protofusion.org/wordpress/2009/08/irc-via-telnet/</link> <comments>http://protofusion.org/wordpress/2009/08/irc-via-telnet/#comments</comments> <pubDate>Mon, 17 Aug 2009 23:13:57 +0000</pubDate> <dc:creator>Ethan Zonca</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[irc]]></category> <category><![CDATA[telnet]]></category><guid
isPermaLink="false">http://protofusion.org/wordpress/?p=43</guid> <description><![CDATA[Ever wanted to get on IRC without a client on the command line? Well you can, and it&#8217;s pretty easy, ]]></description> <content:encoded><![CDATA[<p>Ever wanted to get on IRC without a client on the command line? Well you can, and it&#8217;s pretty easy, using IRC&#8217;s protocol syntax. All you need is a box with or without X, the telnet program (included by default in most linux distros), and an IRC server. Feel free to try this out on ProtoFusion&#8217;s IRC server, irc://irc.protofusion.org/.</p><p><span
id="more-43"></span></p><p>Start out by telnetting to your server, in this example, ProtoFusion&#8217;s IRC server on the default port for IRC</p><p
style="padding-left: 30px;"><em>telnet irc.protofusion.org 6667</em></p><p>Now you should see something like this:</p><p
style="padding-left: 30px;"><em>:irc.protofusion.org NOTICE AUTH :*** Looking up your hostname&#8230;<br
/> :irc.protofusion.org NOTICE AUTH :*** Found your hostname (cached)</em></p><p>If not, ensure that your port and server settings are correct. Now that you&#8217;re connected, you need to set your nickname and your user info. This is done with a simple series of commands:</p><p
style="padding-left: 30px;"><em>USER your name * * :Your Description<br
/> NICK yournickname</em></p><p>Now you should see some log-on output, and you should autojoin #protofusion if you&#8217;re on protofusion.org. If not, you cna join channels with the JOIN [channel] command. Of course you will probably want to talk in the channel, which is a bit tedious uneless you put the first part in your clipboard.</p><p
style="padding-left: 30px;"><em>PRIVMSG #protofusion Write your message text here</em></p><p>The privmsg command can also be used with a username instaed of a channel to PM an individual IRC user. Other stuff you may want to know:</p><ul><li>The server usually pings users every once and a while, and you need to &#8220;pong&#8221; back to the server so your session doesn&#8217;t time out and disconnect. If the server sends you a &#8220;PING :protofusion.org&#8221; or the like, you must respond &#8220;PONG :protofusion.org&#8221; in a somewhat timely fashion, depending on the server&#8217;s configuration.</li><li>Your connection can also time out if you d on&#8217;t set your USER and NICK data in a timely fashion</li></ul> ]]></content:encoded> <wfw:commentRss>http://protofusion.org/wordpress/2009/08/irc-via-telnet/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 508/510 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: pf-wordpress.s3.amazonaws.com

Served from: protofusion.org @ 2012-05-22 08:58:22 -->
