<?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>envio land &#187; openbsd</title>
	<atom:link href="http://a3-system.info/blog/category/openbsd-bsd/feed/" rel="self" type="application/rss+xml" />
	<link>http://a3-system.info/blog</link>
	<description>Ash Like Snow</description>
	<lastBuildDate>Thu, 29 Dec 2011 01:55:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cache HIT with No Limits on Mikrotik 4.x</title>
		<link>http://a3-system.info/blog/openbsd-bsd/cache-hit-with-no-limits-on-mikrotik-4-x/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/cache-hit-with-no-limits-on-mikrotik-4-x/#comments</comments>
		<pubDate>Mon, 03 Jan 2011 07:33:48 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[openbsd]]></category>
		<category><![CDATA[Cache HIT]]></category>
		<category><![CDATA[Mikrotik 4]]></category>
		<category><![CDATA[no limit]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=315</guid>
		<description><![CDATA[Recently I have successfully setup my proxy (CentOS 5.5) and mikrotik 2.9.X with cache HIT no limits. When my RB 1100 came, I move my mikrotik 2.9.x to this new RB 1100.
These day I just realized that my cache HIT is limited   so my Mikrotik count the cache HIT.  On Mikrotik 2.9 [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have successfully setup my proxy (CentOS 5.5) and mikrotik 2.9.X with cache HIT no limits. When my RB 1100 came, I move my mikrotik 2.9.x to this new RB 1100.</p>
<p>These day I just realized that my cache HIT is limited <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  so my Mikrotik count the cache HIT.  On Mikrotik 2.9 we use TOS for packet mangle and it&#8217;s value is 0&#215;30 (Hexadeciamal) or 48 in decimal. I watched the data packet for cache hit mangle and the value to small rather when I saw on squid log HIT.</p>
<p>After googling , I found that on Mikrotik  4.x, the TOS value is not same as Mikrotik 2.9 even on Mikrotik 4.x also written as DSCP (TOS).  So I start search the algorithm converting TOS on Mikrotik 2.9 to DSCP (TOS) on Mikrotik 4.x. So here&#8217;s the table :</p>
<p>DSCP    TOS</p>
<p>0          0<br />
1                  4<br />
2                 8<br />
3                 12<br />
4                 16<br />
5                20</p>
<p>Source : http://forum.mikrotik.com/viewtopic.php?f=1&amp;t=19826</p>
<p>Just divide the TOS from Mikrotik 2.9 by 4 and insert the value on DSCP (TOS) on Mikrotik 4.x , you mangle rule will work like a charm <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/cache-hit-with-no-limits-on-mikrotik-4-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>clamav update on OpenBSD 4.4 to latest version using Ports &amp; CVS</title>
		<link>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd-44-to-latest-version-using-ports-cvs/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd-44-to-latest-version-using-ports-cvs/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 04:47:05 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[openbsd clamav update]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=143</guid>
		<description><![CDATA[This step how to update you clamav to the latest version using OpenBSD Ports :
Extract OpenBSD 4.4 ports packages, should be ports.tar.tgz , extract it to /usr/ports
use this command 
#tar zxf ports.tar.gz -C /usr
Delete the clamav ports tree , we should do this because some patch from original OpenBSD 4.4 ports will make conflict with [...]]]></description>
			<content:encoded><![CDATA[<p>This step how to update you clamav to the latest version using OpenBSD Ports :</p>
<p>Extract OpenBSD 4.4 ports packages, should be ports.tar.tgz , extract it to /usr/ports<br />
use this command </p>
<p>#tar zxf ports.tar.gz -C /usr</p>
<p>Delete the clamav ports tree , we should do this because some patch from original OpenBSD 4.4 ports will make conflict with the newest clamav version (0.94.2)</p>
<p>#rm -rf /usr/ports/security/clamav</p>
<p>Now , get some OpenBSD CVS to get the news clamav ports source</p>
<p>#export CVSROOT=anoncvs@anoncvs.ca.openbsd.org:/cvs</p>
<p>Get the clamav ports source</p>
<p>#cd /usr<br />
#cvs -q get -P ports/infrastructure/db/user.list<br />
#cvs -q get -P ports/security/clamav</p>
<p>Then Compile it :</p>
<p>#cd ports/security/clamav<br />
#make install</p>
<p>The news clamav now in your OpenBSD box <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd-44-to-latest-version-using-ports-cvs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ClamAV update to 0.94.1 on OpenBSD 3.9</title>
		<link>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 10:50:27 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ClamAV Update]]></category>
		<category><![CDATA[mknod]]></category>
		<category><![CDATA[nodev]]></category>
		<category><![CDATA[OpenBSD 3.9 ClamAV update]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=64</guid>
		<description><![CDATA[Recently I have successfully update ClamAV on OpenBSD 3.9 server. Yeah, it&#8217;s old OpenBSD version, I read there a security problem on ClamAV version 0.94 and below. I update this ClamAV to version 0.94.1 using OpenBSD ports, need some modification here to make this 3.9 work well.
On &#8220;Makefile&#8221;, remove &#8220;>&#8221; on LIB_DEPENDS section, so it [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I have successfully update ClamAV on OpenBSD 3.9 server. Yeah, it&#8217;s old OpenBSD version, I read there a security problem on ClamAV version 0.94 and below. I update this ClamAV to version 0.94.1 using OpenBSD ports, need some modification here to make this 3.9 work well.</p>
<p>On &#8220;Makefile&#8221;, remove &#8220;>&#8221; on LIB_DEPENDS section, so it will be like this</p>
<p>LIB_DEPENDS=     gmp.6::devel/gmp \<br />
                        bz2.10::archivers/bzip2 \<br />
                        iconv.4::converters/libiconv</p>
<p>On &#8220;pkg/PLIST&#8221;, remove &#8220;@bin&#8221; and also &#8220;@sbin&#8221;, and then add &#8220;share&#8221; to &#8220;manual&#8221; path, the &#8220;manual&#8221; path will be like this</p>
<p>share/man/man1/clamconf.1<br />
share/man/man1/clamdscan.1<br />
share/man/man1/clamscan.1<br />
share/man/man1/freshclam.1<br />
share/man/man1/sigtool.1<br />
share/man/man5/clamd.conf.5<br />
share/man/man5/freshclam.conf.5<br />
share/man/man8/clamav-milter.8<br />
share/man/man8/clamd.8</p>
<p>If you finish with &#8220;make&#8221;, use &#8220;make update&#8221; on ClamAV ports to update your installed ClamAV</p>
<p>New version of ClamAV need &#8220;/dev/null&#8221;, so if you run ClamAV in chroot like I did, you need make /dev/null in our chroot path. For example, my chroot path for CLamAV is /var/clamav. Usually /var mounted with &#8220;nodev&#8221; so we must remove &#8220;nodev&#8221; mount option.</p>
<p>#mount -o dev -u /dev/wd0e<br />
#mount<br />
/dev/wd0a on / type ffs (local)<br />
/dev/wd0d on /home type ffs (local, nodev, nosuid)<br />
/dev/wd0e on /var type ffs (local, nosuid)</p>
<p>#mkdir /var/clamav/dev<br />
#mknod /var/clamav/dev/null c 2 2</p>
<p>Make new &#8220;dev/null&#8221; belong to user that run ClamAV chroot, I use &#8220;_clamav&#8221; as my chroot user.</p>
<p>#chown _clamav:_clamav /var/clamav/dev/null</p>
<p>Just Like That &#8230; and don&#8217;t forget to update the virus database <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/clamav-update-on-openbsd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ClamAV Ports on OpenBSD 4.3</title>
		<link>http://a3-system.info/blog/openbsd-bsd/clamav-ports/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/clamav-ports/#comments</comments>
		<pubDate>Sat, 11 Oct 2008 04:56:13 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[OpenBSD 4.3 ClamAV ports problem updated unknown elemen]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=32</guid>
		<description><![CDATA[It&#8217;s long time for me not deal with OpenBSD ports, few days ago I must install mail server, so I prefer to use OpenBSD  . One component of this mail server is antivirus then I use ClamAV, I prefer to use ports system to install ClamAV to get newest version. So I need &#8216;porting&#8217; [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s long time for me not deal with OpenBSD ports, few days ago I must install mail server, so I prefer to use OpenBSD <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . One component of this mail server is antivirus then I use ClamAV, I prefer to use ports system to install ClamAV to get newest version. So I need &#8216;porting&#8217; <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<span id="more-32"></span><br />
Using this CSV to update my port source of ClamAV</p>
<p># cd /usr<br />
# export CVSROOT=anoncvs@anoncvs.ca.openbsd.org:/cvs<br />
# cvs -q get -P ports/security/clamav/</p>
<p>After update my ClamAV source was updated from version 0.92.1 to 0.94, then ready to &#8216;make&#8217; and &#8216;make install&#8217;</p>
<p># cd /usr/ports/security/clamav<br />
# make<br />
# make install</p>
<p>Some thing wrong when on &#8220;make install&#8221;, this error nearly same as I found when I porting postfix, but when in postfix I prefer to use old version rather using new one because It was late and I was so tired :p It say &#8220;unknown element @bin/&#8221; when I do make install.</p>
<p>So what kind of this error, I have no clue about this, googling didn&#8217;t give good result because you know it&#8217;s OpenBSD <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> . Then I try to compile older ClamAV that came from ports, the version is 0.92.1. The result is, everything was smooth, normal porting process, so I guest the problem was in port update.</p>
<p>I decide to review the ports code, compare the updated version and the original version of clamav ports, Comparing this file /usr/ports/security/clamav/pkg/PLIST and I found this  :</p>
<p>clamav-0.92.1</p>
<p>@comment $OpenBSD: PLIST,v 1.9 2008/01/02 18:10:51 bernd Exp $<br />
@newgroup _clamav:539<br />
@newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin<br />
bin/clamav-config<br />
bin/clamconf<br />
bin/clamdscan<br />
bin/clamscan<br />
bin/freshclam<br />
bin/sigtool</p>
<p>clamav-0.94</p>
<p>@comment $OpenBSD: PLIST,v 1.11 2008/07/08 22:38:12 sthen Exp $<br />
@newgroup _clamav:539<br />
@newuser _clamav:539:539:daemon:Clam AntiVirus:/nonexistent:/sbin/nologin<br />
bin/clamav-config<br />
@bin bin/clamconf<br />
@bin bin/clamdscan<br />
@bin bin/clamscan<br />
@bin bin/freshclam<br />
@bin bin/sigtool</p>
<p>Why there exist &#8220;@bin&#8221; ? so I remove all @bin, save this file, and doing &#8216;make&#8217; and &#8216;make install&#8217; again. The result : ClamAV 0.94 successfully installed What a weird <img src='http://a3-system.info/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/clamav-ports/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Making OpenBSD 4.3 Bootable CD using Nero</title>
		<link>http://a3-system.info/blog/openbsd-bsd/making-openbsd-43-bootable-cd-using-nero/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/making-openbsd-43-bootable-cd-using-nero/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 10:33:05 +0000</pubDate>
		<dc:creator>envio</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[openbsd bootable nero]]></category>

		<guid isPermaLink="false">http://a3-system.info/blog/?p=30</guid>
		<description><![CDATA[In previous version OpenBSD included the CDROOMXX.FS on their release (XX is the version of OpenBSD), we need CDROOMXX.FS to make bootabe CD. When we using nero to make bootable CD, it need BootImage, and than we can use CDXX.FS as boot image, so the disk we will make will bootable.
So whereis the CDROOM43.FS ? [...]]]></description>
			<content:encoded><![CDATA[<p>In previous version OpenBSD included the CDROOMXX.FS on their release (XX is the version of OpenBSD), we need CDROOMXX.FS to make bootabe CD. When we using nero to make bootable CD, it need BootImage, and than we can use CDXX.FS as boot image, so the disk we will make will bootable.</p>
<p>So whereis the CDROOM43.FS ?  we can find it on file <strong>cdemu43.iso</strong>, you can extract it and you can use CDROOM43.FS as boot image. </p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/making-openbsd-43-bootable-cd-using-nero/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open BSD Rescue</title>
		<link>http://a3-system.info/blog/openbsd-bsd/rescue/</link>
		<comments>http://a3-system.info/blog/openbsd-bsd/rescue/#comments</comments>
		<pubDate>Mon, 21 Jul 2008 04:36:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[openbsd]]></category>
		<category><![CDATA[openbsd boot]]></category>

		<guid isPermaLink="false">http://localhost/wp/?p=10</guid>
		<description><![CDATA[When facing unwanted situation like very bad disk situation or some thing else,we may use this command to enter single mode of OpenBSD,

boot&#62; boot -s

Enter that command after boot prompt appear on the first time.
]]></description>
			<content:encoded><![CDATA[<p>When facing unwanted situation like very bad disk situation or some thing else,we may use this command to enter single mode of OpenBSD,</p>
<p><code><br />
boot&gt; boot -s<br />
</code></p>
<p>Enter that command after boot prompt appear on the first time.</p>
]]></content:encoded>
			<wfw:commentRss>http://a3-system.info/blog/openbsd-bsd/rescue/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

