<?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"
	>

<channel>
	<title>foobar, you know</title>
	<atom:link href="http://blogs.freebsdish.org/novel/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.freebsdish.org/novel</link>
	<description>Roman Bogorodskiy's blog</description>
	<pubDate>Sat, 17 May 2008 05:39:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>ppp and NAS_PORT_ID behavior</title>
		<link>http://blogs.freebsdish.org/novel/2007/05/17/ppp-and-nas_port_id-behavior/</link>
		<comments>http://blogs.freebsdish.org/novel/2007/05/17/ppp-and-nas_port_id-behavior/#comments</comments>
		<pubDate>Thu, 17 May 2007 05:32:43 +0000</pubDate>
		<dc:creator>novel</dc:creator>
		
		<category><![CDATA[src]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/novel/2007/05/17/ppp-and-nas_port_id-behavior/</guid>
		<description><![CDATA[	Here&#8217;s a patch for ppp which allows to change NAS-Port-Id behavior. It adds a new option for ppp.conf:
set rad_port_id [default&#124;pid&#124;ifnum&#124;tunnum]

	default means the default behavior (i.e. the way that ppp works now)
pid means NAS-Port-Id will be an ID of the process owning the corresponding interface
ifnum means NAS-Port-Id will be an interface number (i.e. stuff that if_nametoindex() [...]]]></description>
			<content:encoded><![CDATA[	<p>Here&#8217;s a patch for ppp which allows to change <span class="caps">NAS</span>-Port-Id behavior. It adds a new option for <strong>ppp.conf</strong>:<br />
<code>set rad_port_id [default|pid|ifnum|tunnum]</code></p>

	<p><em>default</em> means the default behavior (i.e. the way that ppp works now)<br />
<em>pid</em> means <span class="caps">NAS</span>-Port-Id will be an ID of the process owning the corresponding interface<br />
<em>ifnum</em> means <span class="caps">NAS</span>-Port-Id will be an interface number (i.e. stuff that <em>if_nametoindex()</em> returns)<br />
<em>tunnum</em> like previous, but a tunnel number.</p>

	<p>Here&#8217;s a first version of the <a href="http://people.freebsd.org/~novel/patches/freebsd/ppp_rad_port_id_20070517_CURRENT.diff">patch</a>. I have tested it in combination with poptop and freeradius.</p>

	<p>I wonder if it worth submitting a PR&#8230;</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/novel/2007/05/17/ppp-and-nas_port_id-behavior/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A bit about myself</title>
		<link>http://blogs.freebsdish.org/novel/2006/12/13/a-bit-about-myself/</link>
		<comments>http://blogs.freebsdish.org/novel/2006/12/13/a-bit-about-myself/#comments</comments>
		<pubDate>Wed, 13 Dec 2006 17:34:32 +0000</pubDate>
		<dc:creator>novel</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/novel/2006/12/13/a-bit-about-myself/</guid>
		<description><![CDATA[	As you probably noted, I&#8217;m not very active in a matter of FreeBSD project. The reason is that I&#8217;ve just changed a job, the term is almost over in the Uni and I&#8217;m going to have a lot of tests and exams. I get very tired because of it and simpe don&#8217;t have enough physical [...]]]></description>
			<content:encoded><![CDATA[	<p>As you probably noted, I&#8217;m not very active in a matter of FreeBSD project. The reason is that I&#8217;ve just changed a job, the term is almost over in the Uni and I&#8217;m going to have a lot of tests and exams. I get very tired because of it and simpe don&#8217;t have enough physical resources to hack on FreeBSD. I&#8217;ll try to update some of my ports during this weekend (BMPx is first in the queue and then gnutls and friends).</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/novel/2006/12/13/a-bit-about-myself/feed/</wfw:commentRss>
		</item>
		<item>
		<title>how to teach multimedia/mplayer to play wmv video on amd64</title>
		<link>http://blogs.freebsdish.org/novel/2006/08/29/how-to-teach-multimediamplayer-to-play-wmv-video-on-amd64/</link>
		<comments>http://blogs.freebsdish.org/novel/2006/08/29/how-to-teach-multimediamplayer-to-play-wmv-video-on-amd64/#comments</comments>
		<pubDate>Tue, 29 Aug 2006 18:25:13 +0000</pubDate>
		<dc:creator>novel</dc:creator>
		
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/novel/2006/08/29/how-to-teach-multimediamplayer-to-play-wmv-video-on-amd64/</guid>
		<description><![CDATA[	I was trying to make mplayer play wmv video on my amd64 and found the interesting topic on ubuntuforums: http://www.ubuntuforums.org/showthread.php?t=140565&#38;page=3. It has some instruction how to patch the ubuntu package and has a patch attached as well (the original author of the patch is jserv).

	So, here&#8217;s a quick guide how to patch your mplayer port:

	fetch [...]]]></description>
			<content:encoded><![CDATA[	<p>I was trying to make mplayer play wmv video on my amd64 and found the interesting topic on <a href="http://www.ubuntuforums.org/" title="ubuntuforums">ubuntuforums</a>: <a href="http://www.ubuntuforums.org/showthread.php?t=140565&amp;page=3" title="http://www.ubuntuforums.org/showthread.php?t=140565&amp;page=3">http://www.ubuntuforums.org/showthread.php?t=140565&amp;page=3</a>. It has some instruction how to patch the ubuntu package and has a patch attached as well (the original author of the patch is <a href="jserv" title="http://blog.linux.org.tw/~jserv/archives/001545.html">jserv</a>).</p>

	<p>So, here&#8217;s a quick guide how to patch your mplayer port:<br />
<ol></p>
	<p><li>fetch  http://people.freebsd.org/~novel/files/mplayer-wmv3.diff.gz <i>(you need to register on ubuntu forums to fetch the patch so I decided to upload it on my site)</i></li><br />
<li>gunzip mplayer-wmv3.diff.gz</li><br />
<li>cd /usr/ports/multimedia/mplayer &amp;&amp; make patch</li><br />
<li>cd work/MPlayer-1.0pre8 &amp;&amp; patch -p1 &lt; /patch/to/mplayerwmv3.diff</li><br />
<li>make install clean</li><br />
</ol></p>
	<p>You should be able to playback wmv videos after that (and you don&#8217;t need win32codes, etc). However, it doesn&#8217;t work with <span class="caps">WMV9</span>.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/novel/2006/08/29/how-to-teach-multimediamplayer-to-play-wmv-video-on-amd64/feed/</wfw:commentRss>
		</item>
		<item>
		<title>interfaces description support</title>
		<link>http://blogs.freebsdish.org/novel/2006/08/24/interfaces-description-support/</link>
		<comments>http://blogs.freebsdish.org/novel/2006/08/24/interfaces-description-support/#comments</comments>
		<pubDate>Thu, 24 Aug 2006 14:22:44 +0000</pubDate>
		<dc:creator>novel</dc:creator>
		
		<category><![CDATA[src]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/novel/2006/08/24/interfaces-description-support/</guid>
		<description><![CDATA[	About a year ago I wrote  a patch which makes it possible to add &#8216;descriptions&#8217; for network interfaces. You can read the details in kern/83622. Today I&#8217;ve updated the patch and submitted follow-up to PR. It&#8217;s sad that nothing moved towards committing it. Although this feature is very useful for me. On one of [...]]]></description>
			<content:encoded><![CDATA[	<p>About a year ago I wrote  a patch which makes it possible to add &#8216;descriptions&#8217; for network interfaces. You can read the details in <a href="http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/83622" title="kern/83622">kern/83622</a>. Today I&#8217;ve updated the patch and submitted follow-up to PR. It&#8217;s sad that nothing moved towards committing it. Although this feature is very useful for me. On one of the boxes at work we have:</p>

	<p>r1[~]# ifconfig | wc -l<br />
513<br />
r1[~]#</p>

	<p>It&#8217;s almost impossible to keep all that stuff in the head and being able to set description is very nice. It would be sad if I had to maintain this patch out of the tree&#8230;</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/novel/2006/08/24/interfaces-description-support/feed/</wfw:commentRss>
		</item>
		<item>
		<title>hacking on ipfw</title>
		<link>http://blogs.freebsdish.org/novel/2006/08/23/hacking-on-ipfw/</link>
		<comments>http://blogs.freebsdish.org/novel/2006/08/23/hacking-on-ipfw/#comments</comments>
		<pubDate>Wed, 23 Aug 2006 17:24:47 +0000</pubDate>
		<dc:creator>novel</dc:creator>
		
		<category><![CDATA[ipfw]]></category>

		<category><![CDATA[src]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/novel/2006/08/23/hacking-on-ipfw/</guid>
		<description><![CDATA[	I&#8217;ve been hacking on ipfw for last two days. I wanted to be able to set tos and dscp for packets matching rules and catch packets by dscp as well (it&#8217;s possible to catch packets by ToS value in ipfw already). I found a patch which did this for freebsd 5.x, though I had to [...]]]></description>
			<content:encoded><![CDATA[	<p>I&#8217;ve been hacking on ipfw for last two days. I wanted to be able to set <a href="http://www.iana.org/assignments/ipv4-tos-byte" title="tos">tos</a> and <a href="dscp" title="cisco.com/warp/public/105/dscpvalues.html">dscp</a> for packets matching rules and catch packets by dscp as well (it&#8217;s possible to catch packets by ToS value in ipfw already). I found a patch which did this for freebsd 5.x, though I had to rewrite most parts of it and added some additional features as well.</p>

	<p>So now I&#8217;m able to do the following things:</p>

	<p><i>00050 11053 1637321 dscp <span class="caps">AF32</span> tcp from any to any in via fxp0</i> &lt;- that&#8217;s a rule for setting dscp to &#8216;AF32&#8217; for all incoming packets on fxp0</p>

	<p><i>00070  8413  967212 count tcp from any to any dscp <span class="caps">AF11</span> in via fxp0</i> &lt;- that&#8217;s a rule for counting packets with dscp = <span class="caps">AF11</span></p>

	<p>It&#8217;s also possible to change tos like <i>ipfw add 100 iptos reliability all &#8230;.</i>. Values for iptos are the same as descibed in ipfw(8). A list of values for dscp is here: <a href="http://www.iana.org/assignments/dscp-registry">http://www.iana.org/assignments/dscp-registry</a></p>

	<p>If you&#8217;re interested, you can grab patch for 6-STABLE here:  <a href="http://people.freebsd.org/~novel/patches/freebsd/ipfw_tos_dscp_20060823_1.diff">http://people.freebsd.org/~novel/patches/freebsd/ipfw_tos_dscp_20060823_1.diff</a></p>

	<p><b>Update:</b> <a href="http://people.freebsd.org/~novel/patches/freebsd/ipfw_tos_dscp_20060824_1.diff" title="updated patch">http://people.freebsd.org/~novel/patches/freebsd/ipfw_tos_dscp_20060824_1.diff</a></p>

	<p><b>Update 2:&Acirc; </b> <a href="kern/102471" title="http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/102471">kern/102471</a></p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/novel/2006/08/23/hacking-on-ipfw/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Unmaintained ports or â€œquantity vs. qualityâ€</title>
		<link>http://blogs.freebsdish.org/novel/2006/05/28/unmaintained-ports-or-%e2%80%9cquantity-vs-quality%e2%80%9d/</link>
		<comments>http://blogs.freebsdish.org/novel/2006/05/28/unmaintained-ports-or-%e2%80%9cquantity-vs-quality%e2%80%9d/#comments</comments>
		<pubDate>Sun, 28 May 2006 18:07:19 +0000</pubDate>
		<dc:creator>novel</dc:creator>
		
		<category><![CDATA[ports]]></category>

		<guid isPermaLink="false">http://blogs.freebsdish.org/novel/2006/05/28/unmaintained-ports-or-%e2%80%9cquantity-vs-quality%e2%80%9d/</guid>
		<description><![CDATA[	There were a lot of discussion on FreeBSD ports tree last few month. For example, it has been noted there&#226;&#8364;&#8482;re a lot of unmaintained ports (freebsd-ports@, mid cb5206420605220417o5a5d8667l648f42644f39d4e4@mail.gmail.com) and ports collection is very large (freebsd-ports@, 200605131511.57575.mistry.7@osu.edu). So, it looks like a number of ports grows much faster than a number of maintainers. I have a [...]]]></description>
			<content:encoded><![CDATA[	<p><p>There were a lot of discussion on FreeBSD ports tree last few month. For example, it has been noted there&acirc;&euro;&trade;re a lot of unmaintained ports (freebsd-ports@, mid cb5206420605220417o5a5d8667l648f42644f39d4e4@mail.gmail.com) and ports collection is very large (freebsd-ports@, 200605131511.57575.mistry.7@osu.edu). So, it looks like a number of ports grows much faster than a number of maintainers. I have a few thoughts on it I want to share with you.</p></p>

	<p><ol></p>
	<p><li><b>New ports</b></li><br />
</ol></p>
	<p><p><span class="caps">IIRC</span>, some time ago it was decided not to accept new ports where <span class="caps">MAINTAINER</span>=ports@freebsd.org. It&acirc;&euro;&trade;s obviously a good idea, though I&acirc;&euro;&trade;m not sure if all ports committers follow this recommendation.</p><br />
But there&acirc;&euro;&trade;re some more problems. First of them: there are a lot of people submitting &acirc;&euro;&oelig;useless&acirc;&euro; ports, e.g. a search engine for mails using PostgreSQL. Man, it&acirc;&euro;&trade;s crazy! But it&acirc;&euro;&trade;s not the worst case, there are some ports I barely believe somebody actually uses. People submit ports just because &acirc;&euro;&oelig;wow, new thing, dunno why I need it but I&acirc;&euro;&trade;ll make a port&acirc;&euro;. I have a strong opinion: if you don&acirc;&euro;&trade;t need this app, don&acirc;&euro;&trade;t create a port for it! You might say: it&acirc;&euro;&trade;s good for end uses to have as much ports as possible. Yeah, in general it&acirc;&euro;&trade;s true. But take into account that if a person actually doesn&acirc;&euro;&trade;t use a ported app, the port will be bad. Just imagine: end user installs some software from ports and sees that the software doesn&acirc;&euro;&trade;t work, because a maintainer e.g. updates the port, but doesn&acirc;&euro;&trade;t even launch it and that way doesn&acirc;&euro;&trade;t know that this software core dumps on start for example. End users asks maintainer: it doesn&acirc;&euro;&trade;t work, help me! And maintainer says: I don&acirc;&euro;&trade;t know how it works, I don&acirc;&euro;&trade;t know the programming language it&acirc;&euro;&trade;s written in and finally I cannot reproduce this bug &acirc;&euro;&trade;cause I don&acirc;&euro;&trade;t use this app! What we get as a result: sad end user and one more useless port. So, how do you thing, is it possible to make a good port if you don&acirc;&euro;&trade;t use the app? And what is better &#8211; bad port and no port at all?</p>

	<p>2. <b>Ports without maintainers</b><br />
As it was mentioned above, many ports have no maintainer. I think that once port lost its maintainer, it should be scheduled for removal in, say, half a year. Instead of it we do the following: we leave things as is. Futhermore, some people start local mini-campaigns fixing such ports. They do updates, they fix master sites and stuff. It&acirc;&euro;&trade;s bad. All the reasons from part 1 applies here too + they don&acirc;&euro;&trade;t even feel responsable because they actually don&acirc;&euro;&trade;t maintain that port.</p>

	<p>So, I think users vote by feedback/submissions/contributions in open source. If nobody wants to adopt a port, it should be removed. If user has not enough skills to adopt existing port or create a new one, he/she should ask for help some more skilled users. And that more skilled users should not create ports only because their skills are high enough to do it.<br />
<span class="caps">IMO</span>, having 5000 ports in a very good shape are way better than having 15000 ports in a bad shape.</p>
 ]]></content:encoded>
			<wfw:commentRss>http://blogs.freebsdish.org/novel/2006/05/28/unmaintained-ports-or-%e2%80%9cquantity-vs-quality%e2%80%9d/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
