<?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>Tornevalls Corner &#187; usenet</title>
	<atom:link href="http://tmm.tornevall.net/blog/tag/usenet/feed/" rel="self" type="application/rss+xml" />
	<link>http://tmm.tornevall.net/blog</link>
	<description>Programmerare och musiker för ett friare Internet</description>
	<lastBuildDate>Sun, 22 Aug 2010 15:35:51 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NNTP Gateway Modification &#8211; vB4 Compatibility Fix</title>
		<link>http://tmm.tornevall.net/blog/2010/03/26/nntp-gateway-modification-vb4-compatibility-fix/</link>
		<comments>http://tmm.tornevall.net/blog/2010/03/26/nntp-gateway-modification-vb4-compatibility-fix/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 21:31:32 +0000</pubDate>
		<dc:creator>Tornevall</dc:creator>
				<category><![CDATA[Net-security-devel]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[nntp]]></category>
		<category><![CDATA[NNTP Gateway Modification - vb4 Compatibility Fix]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[usenet]]></category>
		<category><![CDATA[vb4.0]]></category>
		<category><![CDATA[vbulletin]]></category>
		<category><![CDATA[vbulletin 4.0]]></category>

		<guid isPermaLink="false">http://tmm.tornevall.net/blog/?p=3724</guid>
		<description><![CDATA[With a quite simple solution based on a version-check ($vbulletin-&#62;versionnumber actually), this script now seem to be compatible with both 3.x and 4.x. My (only) test was at least successful &#8211; at last. The solution to (hopefully) make the gateway compatible with both vBulletin 3.x and 4.x, was to separate the insertion data into two [...]]]></description>
			<content:encoded><![CDATA[<p>With a quite simple solution based on a version-check (<em>$vbulletin-&gt;versionnumber</em> actually), this script now seem to be compatible with both 3.x and 4.x. My (only) test was at least successful &#8211; at last. The solution to (hopefully) make the gateway compatible with both vBulletin 3.x and 4.x, was to separate the insertion data into two sections: one for the old attachment-query, and one for attachments handled by vBulletin 4.x (where attachment-tables are separated), starting with this little helping row&#8230;</p>
<pre>if (!preg_match("[^4]", $vbulletin-&gt;versionnumber))</pre>
<p>Probably, this is not a foolproof solution, but it seem to work! The script was tested with vB 4.0.2 with a successful output, so far. So here we go!</p>
<p><strong>includes/functions_nntp.php version 2010-03-26 22:17</strong></p>
<p><a href="http://tmm.tornevall.net/dev/functions_nntp_vb4_100326_2217.tar">http://tmm.tornevall.net/dev/functions_nntp_vb4_100326_2217.tar</a></p>
<p><strong>Example post from de.alt.dateien.misc</strong></p>
<p><a href="http://forum.tornevall.net/showthread.php?343942-Eislutscher-am-Wiener-Heldenplatz" target="_blank">http://forum.tornevall.net/showthread.php?343942-Eislutscher-am-Wiener-Heldenplatz</a></p>
<hr><p><b>L&auml;s &auml;ven andra bloggares &aring;sikter om <i><a href="http://bloggar.se/om/console" rel="tag">console</a>, <a href="http://bloggar.se/om/cron" rel="tag">cron</a>, <a href="http://bloggar.se/om/gateway" rel="tag">gateway</a>, <a href="http://bloggar.se/om/news" rel="tag">news</a>, <a href="http://bloggar.se/om/nntp" rel="tag">nntp</a>, <a href="http://bloggar.se/om/NNTP+Gateway+Modification+-+vb4+Compatibility+Fix" rel="tag">NNTP Gateway Modification - vb4 Compatibility Fix</a>, <a href="http://bloggar.se/om/php" rel="tag">php</a>, <a href="http://bloggar.se/om/script" rel="tag">script</a>, <a href="http://bloggar.se/om/usenet" rel="tag">usenet</a>, <a href="http://bloggar.se/om/vb4.0" rel="tag">vb4.0</a>, <a href="http://bloggar.se/om/vbulletin" rel="tag">vbulletin</a>, <a href="http://bloggar.se/om/vbulletin+4.0" rel="tag">vbulletin 4.0</a></i></b></p>]]></content:encoded>
			<wfw:commentRss>http://tmm.tornevall.net/blog/2010/03/26/nntp-gateway-modification-vb4-compatibility-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>NNTP Gateway Modification &#8211; 100312</title>
		<link>http://tmm.tornevall.net/blog/2010/03/17/nntpgw_100312/</link>
		<comments>http://tmm.tornevall.net/blog/2010/03/17/nntpgw_100312/#comments</comments>
		<pubDate>Wed, 17 Mar 2010 20:45:43 +0000</pubDate>
		<dc:creator>Tornevall</dc:creator>
				<category><![CDATA[Net-security-devel]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[gateway]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[nntp]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[usenet]]></category>
		<category><![CDATA[vb4.0]]></category>
		<category><![CDATA[vbulletin]]></category>
		<category><![CDATA[vbulletin 4.0]]></category>

		<guid isPermaLink="false">http://tmm.tornevall.net/blog/?p=3700</guid>
		<description><![CDATA[This post is for the guys at vbulletin.org, by request.
First of all, here&#8217;s the current source:
http://tmm.tornevall.net/dev/nntpgw-100312.tar
Changes made:

admincp/nntp_settings.php 

Added settings for &#8221;static email&#8221; for the from-header. Using this, will set a non-dynamic sender e-mail.




gateway.php 

Added &#8221;support&#8221; for console-runs (fix for vBulletin 4.0 that doesn&#8217;t like this)
&#8221;Debug&#8221;-modes: 1 = Activate debug (not used), 2 = Unlock the [...]]]></description>
			<content:encoded><![CDATA[<p>This post is for the guys at <a href="http://www.vbulletin.org/forum/showthread.php?t=92588" target="_blank">vbulletin.org</a>, by request.</p>
<p>First of all, here&#8217;s the current source:</p>
<p><a href="http://tmm.tornevall.net/dev/nntpgw-100312.tar" target="_blank">http://tmm.tornevall.net/dev/nntpgw-100312.tar</a></p>
<p>Changes made:</p>
<ul>
<li><strong>admincp/nntp_settings.php </strong>
<ul>
<li>Added settings for &#8221;static email&#8221; for the from-header. Using this, will set a non-dynamic sender e-mail.</li>
</ul>
</li>
</ul>
<ul>
<li><strong>gateway.php </strong>
<ul>
<li>Added &#8221;support&#8221; for console-runs (fix for vBulletin 4.0 that doesn&#8217;t like this)</li>
<li>&#8221;Debug&#8221;-modes: 1 = Activate debug (not used), 2 = Unlock the script if it got stuck (this is a console thing)</li>
<li>Added some info into a logfunction to get more verbose info on connection</li>
<li>Dupechecker for threads/posts. If the xref/lastpost-value changes due to the nntpserver, this function avoids duplicate posts from the newsserver. This is extremely nice, if the newsserver used in some reason has been reset due to reinstallations, crashes etc (yes, this has happened to me &#8211; this is the fix)</li>
<li>Last-Insert-ID fixed, an old issue that happens when trying to read a new post from a forum</li>
</ul>
</li>
<li><strong>includes/functions_nntp.php </strong>
<ul>
<li>Small fixes, including footer changes &#8211; in some reason the original footer added to posts, made from a forum disturbed me, so this has been cleaned up so it looks more like a &#8221;real&#8221; post on usenet. This fix was something about the signatures, so to speak.</li>
<li>Message-ID, References and From manipulated (partially referred to the static-email-setting above)</li>
<li>Another first-post-id/last-post-id fix</li>
<li>An old issue about attachments fixed here (observer that this is always accepting attachments/thumbnails). It also includes some kind of extension fix. Well, this is a very old fix and one of the first made to the script and my memory is quite blurry in this case&#8230; But I&#8217;ve never needed to change this back to it&#8217;s original state</li>
<li>require class_image.php replaced for attachments support. Also this is an old issue, and documented somewhere in the thread at vbulletin.org</li>
</ul>
</li>
<li><strong>includes/nntp.php </strong>
<ul>
<li>Fix for handling usenet-traffic <strong>if</strong> the webserver where the script is running, happens to run a peer for the nntp-server (sending MODE READER on connection &#8211; if the server is a peer, some servers initially are expecting MODE  STREAM, which the script won&#8217;t understand)</li>
</ul>
</li>
</ul>
<p>This is it I think. Wishes and questions will be answered if possible!</p>
<p>See you at vbulletin.org!</p>
<hr><p><b>L&auml;s &auml;ven andra bloggares &aring;sikter om <i><a href="http://bloggar.se/om/console" rel="tag">console</a>, <a href="http://bloggar.se/om/cron" rel="tag">cron</a>, <a href="http://bloggar.se/om/gateway" rel="tag">gateway</a>, <a href="http://bloggar.se/om/news" rel="tag">news</a>, <a href="http://bloggar.se/om/nntp" rel="tag">nntp</a>, <a href="http://bloggar.se/om/php" rel="tag">php</a>, <a href="http://bloggar.se/om/script" rel="tag">script</a>, <a href="http://bloggar.se/om/usenet" rel="tag">usenet</a>, <a href="http://bloggar.se/om/vb4.0" rel="tag">vb4.0</a>, <a href="http://bloggar.se/om/vbulletin" rel="tag">vbulletin</a>, <a href="http://bloggar.se/om/vbulletin+4.0" rel="tag">vbulletin 4.0</a></i></b></p>]]></content:encoded>
			<wfw:commentRss>http://tmm.tornevall.net/blog/2010/03/17/nntpgw_100312/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
