<?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>Case &#187; opendd</title>
	<atom:link href="http://case.net.ru/tag/opendd/feed/" rel="self" type="application/rss+xml" />
	<link>http://case.net.ru</link>
	<description>Just another technical weblog</description>
	<lastBuildDate>Sun, 29 Jan 2012 08:48:33 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>OpenDD</title>
		<link>http://case.net.ru/2009/02/28/opendd/</link>
		<comments>http://case.net.ru/2009/02/28/opendd/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 13:15:38 +0000</pubDate>
		<dc:creator>Case</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[opendd]]></category>

		<guid isPermaLink="false">http://case.net.ru/?p=313</guid>
		<description><![CDATA[OpenDD is a DynDNS client, written in C, and especially designed for small gateway machines, like a Soekris box. Its main feature is that it does not require any Perl or Python interpreter. It supports HTTPS, can send a mail report, and can run as daemon. It is also very easy to deploy. WWW: http://www.bsdmon.com/wakka/OpenDD [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>OpenDD is a DynDNS client, written in C, and especially designed<br />
for small gateway machines, like a Soekris box. Its main feature<br />
is that it does not require any Perl or Python interpreter.<br />
It supports HTTPS, can send a mail report, and can run as daemon.<br />
It is also very easy to deploy.</p>
<p>WWW: http://www.bsdmon.com/wakka/OpenDD</p></blockquote>
<p>Установка:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>case.net.ru<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>ports<span style="color: #000000; font-weight: bold;">/</span>dns<span style="color: #000000; font-weight: bold;">/</span>opendd
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>case.net.ru<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">make</span> showconfig
===<span style="color: #000000; font-weight: bold;">&gt;</span> The following configuration options are available <span style="color: #000000; font-weight: bold;">for</span> opendd-0.7.9:
     <span style="color: #007800;">OPENDD_SSL</span>=off <span style="color: #ff0000;">&quot;Build with SSL support&quot;</span>
     <span style="color: #007800;">RC_NG</span>=on <span style="color: #ff0000;">&quot;Install RC_NG script&quot;</span>
===<span style="color: #000000; font-weight: bold;">&gt;</span> Use <span style="color: #ff0000;">'make config'</span> to modify these settings
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>case.net.ru<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ portinstall opendd</pre></td></tr></table></div>

<p>Настройка производится в файле /usr/local/etc/opendd/opendd.conf:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;">servername = members.dyndns.org
<span style="color: #c20cb9; font-weight: bold;">hostname</span> = case.selfip.net
username = <span style="color: #7a0874; font-weight: bold;">&#91;</span>username<span style="color: #7a0874; font-weight: bold;">&#93;</span>
password = <span style="color: #7a0874; font-weight: bold;">&#91;</span>password<span style="color: #7a0874; font-weight: bold;">&#93;</span>
use_ssl = <span style="color: #000000;">0</span>
cert_path = <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>opendd<span style="color: #000000; font-weight: bold;">/</span>opendd.pem
iface = ng0
runasdaemon = <span style="color: #000000;">1</span>
use_syslog = <span style="color: #000000;">1</span>
syslog_facility = daemon
system_user = nobody
system_group = nogroup
pidfile_path = <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>run<span style="color: #000000; font-weight: bold;">/</span>opendd.pid
pollfrequency = <span style="color: #000000;">300</span>
domain_lifetime = <span style="color: #000000;">28</span>
wildcard = <span style="color: #000000;">1</span>
mx = mx.case.net.ru
backupmx = <span style="color: #000000;">1</span>
offline = <span style="color: #000000;">0</span>
mailfrom = opendd<span style="color: #000000; font-weight: bold;">@</span>case.net.ru
mailto = root<span style="color: #000000; font-weight: bold;">@</span>case.net.ru
smtpservername = localhost</pre></td></tr></table></div>

<p>В rc.conf я его не записывал. Запускается он из скриптов mpd:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>case.net.ru<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mpd4<span style="color: #000000; font-weight: bold;">/</span>up_stream.sh <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> opendd
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>opendd forcestart
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>case.net.ru<span style="color: #7a0874; font-weight: bold;">&#93;</span>$ <span style="color: #c20cb9; font-weight: bold;">cat</span> <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>mpd4<span style="color: #000000; font-weight: bold;">/</span>down_stream.sh <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> opendd
<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>local<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>rc.d<span style="color: #000000; font-weight: bold;">/</span>opendd forcestop
<span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>case.net.ru<span style="color: #7a0874; font-weight: bold;">&#93;</span>$</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://case.net.ru/2009/02/28/opendd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
