<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<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/"
	>

<channel>
	<title>dyndns &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/dyndns/</link>
	<description>Feed of posts on WordPress.com tagged "dyndns"</description>
	<pubDate>Sat, 28 Nov 2009 13:01:41 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Чуть желчи в адрес DynDNS]]></title>
<link>http://pustserg.wordpress.com/2009/11/07/%d1%87%d1%83%d1%82%d1%8c-%d0%b6%d0%b5%d0%bb%d1%87%d0%b8-%d0%b2-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-dyndns/</link>
<pubDate>Sat, 07 Nov 2009 23:17:00 +0000</pubDate>
<dc:creator>pustserg</dc:creator>
<guid>http://pustserg.wordpress.com/2009/11/07/%d1%87%d1%83%d1%82%d1%8c-%d0%b6%d0%b5%d0%bb%d1%87%d0%b8-%d0%b2-%d0%b0%d0%b4%d1%80%d0%b5%d1%81-dyndns/</guid>
<description><![CDATA[&#160; Все-таки в очередной раз убедился что служба динамического DNS no-ip намного удобнее и интуит]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><blockquote><p>&#160; Все-таки в очередной раз убедился что служба динамического DNS <a href="http://www.no-ip.com">no-ip</a> намного удобнее и интуитивно понятнее чем DynDNS. После моих танцев с бубном над DynDNS-клиентом для Linux я добился того что пинги стали проходить, но возвращался мой внутренний адрес (192.168.*.*) а вот внешний адрес отслеживать не получалось. В итоге плюнув на это все решил поставить клиент от <a href="http://www.no-ip.com">no-ip</a>. Сразу стало все легко и просто (хотя на моей хост машине в которой я запускаю VMware этот клиент уже есть и ставить его на виртуальную машину необязательно).</p>
<p>&#160; Зато чуток погонял в Аллодов добил своего некра до 11 лвл жду теперь похода в орешек <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> &#160; </p>
</blockquote>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to Stream Your Music Online]]></title>
<link>http://raziin.wordpress.com/2009/10/28/how-to-stream-your-music-online/</link>
<pubDate>Wed, 28 Oct 2009 04:54:29 +0000</pubDate>
<dc:creator>raziin</dc:creator>
<guid>http://raziin.wordpress.com/2009/10/28/how-to-stream-your-music-online/</guid>
<description><![CDATA[You&#8217;ve spent a lot of time and money collecting digital music. And by now, you have a pretty s]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="http://raziin.wordpress.com/files/2009/10/lp.jpg"><img class="aligncenter size-full wp-image-378" title="LP" src="http://raziin.wordpress.com/files/2009/10/lp.jpg" alt="LP" width="600" height="302" /></a></p>
<p><a href="http://raziin.wordpress.com/files/2009/10/lp.jpg"></a>You&#8217;ve spent a lot of time and money collecting digital music. And by now, you have a pretty sweet library of MP3s and AACs to show for the effort.</p>
<p>But let&#8217;s say you want to take that library to go? Before you start carrying around a huge hard drive, you might want to try streaming your tunes online instead. All it takes to start streaming your music over the internet is a playlist, a server with some storage space, and a software player that can open and play an internet stream.</p>
<p><!--more--></p>
<h3>Step 1: Host it somewhere</h3>
<p>Most web hosts offer data plans around $10 per month that come with plenty of storage and bandwidth to hold and serve your music. The rates get steeper once you want to store more than 200 or 300 gigabytes. Also, when you&#8217;re streaming, you&#8217;re paying for bandwidth. So, if you&#8217;re looking to share your collection with your friends as a stream, you&#8217;ll have to monitor your usage more closely or else end up paying through the nose.</p>
<p>Besides the cost, you trade off a good deal of control over the data because it resides on some machine out there in the ether.</p>
<p>Hosting music on your own computer using a broadband connection is a preferable option, especially since you know exactly where it is and there&#8217;s is no need to transfer your music anywhere. However, unless you have a static IP address, finding your computer (and your music) in the vast expanse of the internet can be a hassle. If your network provider keeps changing your IP address on you, try setting up Dynamic DNS using a service like <a title="http://www.dyndns.com/" href="http://www.dyndns.com/">DynDNS</a>.</p>
<p><strong>Tip:</strong> Webmonkey.com has an excellent <a title="http://www.webmonkey.com/tutorial/Set_Up_Dynamic_DNS" href="http://www.webmonkey.com/tutorial/Set_Up_Dynamic_DNS">introduction to using Dynamic DNS</a>.<br />
<strong>Tip:</strong> Dan Hilgert also has an explanation of  <a title="http://deepbluegroove.blogspot.com" href="http://deepbluegroove.blogspot.com/">his Dynamic DNS setup and streaming music guide</a>.</p>
<p><a name="Step_2:_Create_a_playlist"></a></p>
<h3>Step 2: Create a playlist</h3>
<p>Perhaps the easiest way to get your music online is to use your favorite music player. Most music players, including iTunes, Windows Media Player and WinAmp all use common playlist formats to play music online.</p>
<p>A playlist contains the names and location of your music files. It is downloaded and used by your media player to play the music files as a stream. It works pretty well, although the music players don&#8217;t allow skipping, fast forwarding or rewinding.</p>
<p>The most-used music file formats are MP3, Windows Media Player&#8217;s WMA and Apple&#8217;s mp4 (also known as AAC). We recommend using only these player files for universality. If you&#8217;re not sure which format to use, we&#8217;d recommend you default to MP3 to ensure the ultimate in compatibility.</p>
<p>&#160;</p>
<p><a name="Extended_M3U"></a></p>
<h4>Extended M3U</h4>
<p>The easiest and most reliable method for streaming is to use M3U playlist files in conjunction with iTunes or Windows Media Player. Open a streaming URL by pressing Control-U (or Command-U for Mac) in either program.</p>
<p>An extended M3U file format looks like this:</p>
<pre>#EXTM3U

#EXTINF:Birds In The Belly http://www.soundsofarcadio.com/mp3/BirdsintheBelly.mp3

#EXTINF:Hock It Like You Own It http://www.soundsofarcadio.com/mp3/HockItLikeYouOwnIt.mp3

#EXTINF:Kid I Know http://www.soundsofarcadio.com/mp3/AKidIKnow.mp3
</pre>
<p>You can follow the format shown above. Open the code up in a text editor and just paste in your own song info and URLs. When you&#8217;re done building your list, save the result as a .m3u file and open it up in your player.</p>
<p>If you&#8217;re a Windows user, you can <a title="http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/M3U-Creator.shtml" href="http://www.softpedia.com/get/Multimedia/Audio/Other-AUDIO-Tools/M3U-Creator.shtml">download M3U Creator</a>. The free desktop application will let you create and edit .m3u playlists in an easy-to-use interface.</p>
<p><a name="XSPF"></a></p>
<h4>XSPF</h4>
<p>Another common playlist format is XSPF (pronounced &#8220;spiff&#8221;). This method is more practical for streaming music via a web page or Flash-based players, though many third-party applications support XSPF. For example, <a title="http://music.yahoo.com/musicengine/" href="http://music.yahoo.com/musicengine/">Yahoo Music Jukebox</a> uses XSPF as its default playlist format.</p>
<p>The XSPF format is below. Note the &#8220;L&#8221; in &#8220;trackList&#8221; needs to be capitalized for it to be recognized by players.</p>
<pre>&#60;?xml version="1.0" encoding="UTF-8"?&#62;
&#60;playlist version="1" xmlns="http://xspf.org/ns/0/"&#62;
     &#60;trackList&#62;

       &#60;track&#62;
         &#60;location&#62;http://www.soundsofarcadio.com/mp3/BirdsintheBelly.mp3&#60;/location&#62;
         &#60;creator&#62;Arcadio&#60;/creator&#62;
         &#60;album&#62;Early Demo&#60;/album&#62;
         &#60;title&#62;Birds in the Belly&#60;/title&#62;
       &#60;/track&#62;

       &#60;track&#62;
         &#60;location&#62;http://www.soundsofarcadio.com/mp3/HockItLikeYouOwnIt.mp3&#60;/location&#62;
         &#60;creator&#62;Arcadio&#60;/creator&#62;
         &#60;album&#62;Early Demo&#60;/album&#62;
         &#60;title&#62;Hock It Like You Own It&#60;/title&#62;
       &#60;/track&#62;

       &#60;track&#62;
         &#60;location&#62;http://www.soundsofarcadio.com/mp3/AKidIKnow.mp3&#60;/location&#62;
         &#60;creator&#62;Arcadio&#60;/creator&#62;
         &#60;album&#62;Early Demo&#60;/album&#62;
         &#60;title&#62;A Kid I Know&#60;/title&#62;
       &#60;/track&#62;

     &#60;/trackList&#62;
&#60;/playlist&#62;
</pre>
<p>&#160;</p>
<p>Again, to make your own playlist file, just copy this code into a text editor, change the song info and the URLs, and save the results with the extension <tt>.xspf</tt>.</p>
<p>For a list of players and uses for XSPF files, visit <a title="http://xspf.org/applications/" href="http://xspf.org/applications/">the XSPF applications page</a>. Included in the list is an M3U to XSPF file converter and some command line tools used to generate XSPF files from various music libraries online.</p>
<p>There are also some handy <a title="http://xspf.org/validation/" href="http://xspf.org/validation/">validation tools</a> to make sure your spiffs are well-formed.</p>
<p><a name="PLS"></a></p>
<h4>PLS</h4>
<p>The PLS format is another streaming playlist option, and used mostly by professional online radio broadcasts. You&#8217;ll find a good deal of PLS-streaming music stations on <a title="http://www.shoutcast.com/" href="http://www.shoutcast.com/">Shoutcast</a>.</p>
<p>The PLS file format looks like this:</p>
<pre>[playlist]
NumberOfEntries=3

File1=http://www.soundsofarcadio.com/mp3/BirdsintheBelly.mp3
Title1=Birds in the Belly
Length1=-1

File2=http://www.soundsofarcadio.com/mp3/HockItLikeYouOwnIt.mp3
Title2=Hock It Like You Own It
Length2=-1

File3=http://www.soundsofarcadio.com/mp3/AKidIKnow.mp3
Title3=A Kid I Know
Length3=-1

Version=2
</pre>
<p>&#160;</p>
<p>Length refers to the length of the song. Use -1 to have the music player ignore it entirely.</p>
<p><a name="Download_Software_to_Do_It_For_You"></a></p>
<h3>Download Software to Do It For You</h3>
<div><a title="http://www.icecast.org/" href="http://www.icecast.org/">Icecast</a> is an open source music broadcasting solution. The player is available for Windows or Linux. If you are uploading your tracks to a web host, and depending on how accommodating your web host is, you might find Icecast the perfect solution for setting up your internet radio station.</div>
<p>Otherwise, you might want to give <a title="http://www.shoutcast.com/download/broadcast.phtml" href="http://www.shoutcast.com/download/broadcast.phtml">Shoutcast&#8217;s broadcasting tools</a> a try. Shoutcast&#8217;s tools are extensions built on the Windows-only WinAmp music player, but some broadcasting tools for Mac and Linux are also available.</p>
<p>If you already have WinAmp, Spacial Audio Solutions offers a <a title="http://www.spacialaudio.com/?page=winamp-plugins" href="http://www.spacialaudio.com/?page=winamp-plugins">plugin</a> to turn it into an internet radio station. Spacial also has software for the enthusiastic amateur and professional: <a title="http://www.spacialaudio.com/?page=simplecast" href="http://www.spacialaudio.com/?page=simplecast">SimpleCast</a> and <a title="http://www.spacialaudio.com/?page=sam-broadcaster&#38;tab=tab-sam-broadcaster-overview" href="http://www.spacialaudio.com/?page=sam-broadcaster&#38;tab=tab-sam-broadcaster-overview">SAM Broadcaster</a>.</p>
<p><a title="http://www.iradeo.com" href="http://www.iradeo.com/">iRadeo</a> is a free streaming audio platform that allows anyone to start an online radio station. Once installed, <a title="http://www.iradeo.com" href="http://www.iradeo.com/">iRadeo</a> will automatically detect and stream any MP3 or WAV file formats that has been uploaded to the specified directory.</p>
<p>Finally, <a title="http://www.peercast.org" href="http://www.peercast.org/">Peercast</a> provides both direct and P2P streaming at the same time, allowing you to stream music online anonymously.</p>
<p><a name="Don.27t_Feed_the_Lawyers"></a></p>
<h3>Don&#8217;t Feed the Lawyers</h3>
<p>You could be fined for broadcasting music you don&#8217;t own the copyright to, and in most cases the penalties are pretty severe. There are also plenty of rabid music industry lawyers with a history of going to great lengths to prosecute copyright violators. That said, be careful how you distribute your streams.</p>
<p>Some of the software solutions listed here have built-in password protection. Otherwise, you&#8217;ll have to know some SSL and/or password protection web hosting configurations to lock down your stream.</p>
<p>Your other option &#8212; and probably the safest &#8212; is to just keep your station under wraps. You can listen to it freely, but don&#8217;t go spreading the word. Remember, the internet has ears!</p>
<p><a href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Fraziin.wordpress.com%2F2009%2F10%2F28%2Fhow-to-stream-your-music-online%2F&#38;linkname=How%20to%20Stream%20Your%20Music%20Online"><img src="http://static.addtoany.com/buttons/share_save_120_16.gif" alt="Share" /></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to setup and host a blog?]]></title>
<link>http://ajfundas.wordpress.com/2009/10/20/75/</link>
<pubDate>Tue, 20 Oct 2009 07:37:18 +0000</pubDate>
<dc:creator>AJ</dc:creator>
<guid>http://ajfundas.wordpress.com/2009/10/20/75/</guid>
<description><![CDATA[Now that I have started my blog on wordpress, i am having all sorts of thoughts to customize it. Aft]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Now that I have started my blog on wordpress, i am having all sorts of thoughts to customize it. After doing an extensive research y&#8217;day i found that i cant customize <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  ,unless i move my blog to another server.</p>
<p>There are many ways to do this</p>
<p>1&#62; You can you can purchase a plan at a <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://www.lifehacker.com/software/web-publishing/ask-lifehacker-readers-web-hosting-provider-139504.php">web hosting provider</a> for a few bucks a month.   OR</p>
<p>2&#62;You can set it up on your home computer for free.</p>
<p>I dont intend to spend any money on this blog as of now , n moreover it will be fun to setup your own web server.</p>
<p>The cool thing about blogs (and many other web apps, like <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://www.lifehacker.com/software/wikipedia/geek-to-live-set-up-your-personal-wikipedia-163707.php">wikis</a>) is that they don&#8217;t actually have to live online.</p>
<p>Lets look at how to set up weblog on your Windows PC using , WordPress in 7 Steps</p>
<h1 style="outline-width:0;outline-style:initial;outline-color:initial;font-size:21px;font-family:inherit;vertical-align:baseline;line-height:24px;width:550px;margin:0 0 10px;padding:0;"><span style="font-weight:normal;">Step 1: Install WAMP</span></h1>
<p>1 . WAMP is an open source, simple installation package that bundles together Apache, MySQL, and PHP into one tight little Windows package. You can <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://www.en.wampserver.com/download.php">download WAMP here</a>. Go ahead and accept the defaults unless you have a good reason to do otherwise and you know what you&#8217;re doing. Once you&#8217;ve finished, direct your browser the <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://localhost/">http://localhost/</a> and, if everything went smoothly, you should see the WAMP welcome page above.</p>
<h1 style="font-size:21px;outline-width:0;outline-style:initial;outline-color:initial;font-family:inherit;vertical-align:baseline;line-height:24px;width:550px;margin:0 0 10px;padding:0;"><span style="font-weight:normal;">Step 2: </span><span style="font-weight:200;"><span style="font-weight:normal;">Change your MySQL password and create a new databas</span>e</span></h1>
<p><img class="aligncenter" title="Change your MySQL password and create a new database." src="http://lifehacker.com/assets/images/gallery/17/2006/11/medium_296836667_e7ea13dfaa_o.png" alt="" width="480" height="155" />To add a password to your MySQL database. You can do this by clicking on the &#8220;PHPmyadmin&#8221; link on the WAMP homepage under Tools or by going to <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://localhost/phpmyadmin/">http://localhost/phpmyadmin/</a>. To change your password, click on the &#8220;Privileges&#8221; link, then click the edit privileges icon for the user called, &#8220;root&#8221; (there should be no other users. If for some reason there are and you didn&#8217;t put them there, go ahead and delete them. On the &#8220;Edit Privileges&#8221; page, go to the &#8220;Change password&#8221; box, then change and save the password.</p>
<p>To continue using PHPmyadmin, we need to update your password in the config file. Open C:\wamp\phpmyadmin\config.inc.php in your favorite text editor (or just Notepad) and change:</p>
<p>$cfg['Servers'][$i]['password'] = &#8221;;</p>
<p>to</p>
<p>$cfg['Servers'][$i]['password'] = &#8216;yournewpassword&#8217;;</p>
<p>Replacing yournewpassword with the password you just created with PHPmyadmin.</p>
<h1 style="outline-width:0;outline-style:initial;outline-color:initial;font-size:21px;font-family:inherit;vertical-align:baseline;font-weight:200;line-height:24px;width:550px;border:0 initial initial;margin:0 0 10px;padding:0;">Step 3: Create a new database</h1>
<p>Go back to<a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://localhost/phpmyadmin/">http://localhost/phpmyadmin/</a> and enter a name for your database. It can be called whatever you want, but I kept things simple and called mine, &#8220;wordpress&#8221;. Hit the Create button and that&#8217;s all. Simple, huh?</p>
<h1 style="outline-width:0;outline-style:initial;outline-color:initial;font-size:21px;font-family:inherit;vertical-align:baseline;font-weight:200;line-height:24px;width:550px;border:0 initial initial;margin:0 0 10px;padding:0;">Step 4: Download and extract WordPress</h1>
<p>Go ahead and <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://wordpress.org/download/">grab the latest WordPress package here</a>. Unzip the package and extract all of its contents to C:\wamp\www. You can either keep the files in the folder called wordpress, in which case your blog&#8217;s URL will be <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://localhost/wordpress/">localhost/wordpress/</a>, or you can rename the folder if you&#8217;d prefer something like <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://localhost/blog">localhost/blog</a>. If you want your root directory to bring up your blog, you can just extract all of the files inside the wordpress folder directly to the C:\wamp\www folder.</p>
<h1 style="outline-width:0;outline-style:initial;outline-color:initial;font-size:21px;font-family:inherit;vertical-align:baseline;font-weight:200;line-height:24px;width:550px;border:0 initial initial;margin:0 0 10px;padding:0;">Step 5: Configure WordPress</h1>
<p><img class="aligncenter" title="Configure WordPress" src="http://lifehacker.com/assets/images/gallery/17/2006/11/medium_296838628_166dc8c5cc_o.png" alt="" width="313" height="170" />Now we need to tell WordPress about your MySQL database. Assuming you installed WordPress in the default wordpress folder, open C:\wamp\www\wordpress\wp-config-sample.php in a text editor and add your database name, your database username (root), and your new password to the top of the file. (You won&#8217;t need to change the DB name if you called it wordpress, but you should replace username with root and password with the password you created in step 2. After you&#8217;ve edited the settings, save the file as wp-config.php.</p>
<h1 style="outline-width:0;outline-style:initial;outline-color:initial;font-size:21px;font-family:inherit;vertical-align:baseline;font-weight:200;line-height:24px;width:550px;border:0 initial initial;margin:0 0 10px;padding:0;">Step 6: Install WordPress</h1>
<p>Just go to<a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://localhost/wordpress/wp-admin/install.php">http://localhost/wordpress/wp-admin/install.php</a> (unless you put WordPress in a different folder in step 4). Continue through the dead-simple, two-step installation, until you&#8217;ve completed the installation. WordPress will have generated a new username and password that you&#8217;ll use to log in to your weblog&#8217;s Admin page. By default, the username is &#8216;admin&#8217;, and the password is a randomly generated string. Copy/write it down.</p>
<h1 style="outline-width:0;outline-style:initial;outline-color:initial;font-size:21px;font-family:inherit;vertical-align:baseline;font-weight:200;line-height:24px;width:550px;border:0 initial initial;margin:0 0 10px;padding:0;">Step 7: You&#8217;re done. Configure and post to your blog</h1>
<p>go to <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://localhost/wordpress/wp-login.php">http://localhost/wordpress/wp-login.php</a> and log in with the username and password WordPress created during the install (you did remember to write it down, right?). The first thing I&#8217;d do is change the admin password to something more memorable. To do that, log in and click on the Users tab, where you can add your personal info and change your password. Easy-peasy.</p>
<p>Congratulations, you&#8217;ve got your own, personal, locally hosted blog.Now that you&#8217;ve got WordPress installed on your local computer, you&#8217;ve got a lot of options. If you want to make your blog accessible to the outside world,you need to assign a domain name to your home web server like yourname.com &#8211; for an easy-to-remember, bookmarkable, professional web address.</p>
<p>Keep in mind that you wouldn&#8217;t be able to run a heavily trafficked blog from your home computer, but if it&#8217;s just a personal blog for friends and family, hosting it yourself is definitely an option.</p>
<h1 style="font-size:21px;outline-width:0;outline-style:initial;outline-color:initial;font-family:inherit;vertical-align:baseline;font-weight:200;line-height:24px;width:550px;margin:0 0 10px;padding:0;">How to assign a domain name to your webserver?</h1>
<p>A dynamic DNS service is a constantly updated database of IP addresses and domain names. <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://dyndns.com/">DynDNS.com</a> is one provider of this service. For free, you can get one of the available DynDNS domain names plus a custom subdomain (like xyz.getmyip.net), or for a small fee you can register your own domain (like ashishjagani.com) and have it resolve to your home computer web server with DynDNS.</p>
<ul>
<li><span style="font-size:12px;">Register for a free account at <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="http://dyndns.com/">DynDNS</a>. Agree to the site&#8217;s terms, and use a legitimate email address to complete registration. Once in awhile, DynDNS will email you at that address asking you to confirm that it continue your service.</span></li>
<li>Log into your new account. Go to the &#8220;My Services&#8221; area on the left side. Under &#8220;Host Level Services&#8221; click &#8220;Add Host Services.&#8221; There, click &#8220;Add Dynamic DNS Host.&#8221; DynDNS will autofill your IP address (if you&#8217;re doing this from your home computer). Choose a domain and type in a custom subdomain, which can be anything from ajfundaes.myblog.org or ashish.is-a-geek.com or aj.dyndns.org.</li>
<li><span style="font-size:12px;">Now that your computer is registered with DynDNS, each time your computer&#8217;s IP address changes, it has to let DynDNS know. This can be done either with free updater client software or through your router. If your computer is connected directly to the Internet, <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#786e29;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" href="https://www.dyndns.org/support/clients/">download the DynDNS updater client for Mac or Windows here.</a> Install and enter your DynDNS information so that your computer can update DynDNS&#8217;s database regularly</span></li>
</ul>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;border:0 initial initial;margin:0 0 1.5em;padding:0;"><strong>You&#8217;re done. Give your new domain a spin!</strong></p>
<p style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;border:0 initial initial;margin:0 0 1.5em;padding:0;">Type your new domain name by entering it in your web browser&#8217;s address bar. It should resolve to your <a style="outline-width:0;outline-style:initial;outline-color:initial;font-size:12px;font-family:inherit;vertical-align:baseline;color:#252525;border-bottom-style:initial;border-bottom-color:initial;text-decoration:none;border:0 initial initial;margin:0;padding:0;" title="Click here to read more posts tagged HOME SERVER" href="http://lifehacker.com/tag/home-server/">home server</a>. From here you can publicize or bookmark your server&#8217;s new domain name no matter how often your IP address changes.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Inauguro Webs]]></title>
<link>http://xavigonzalez.wordpress.com/2009/10/05/inauguro-webs/</link>
<pubDate>Mon, 05 Oct 2009 22:46:49 +0000</pubDate>
<dc:creator>xavigonzalez</dc:creator>
<guid>http://xavigonzalez.wordpress.com/2009/10/05/inauguro-webs/</guid>
<description><![CDATA[No son gran cosa, no estan muy desarrolladas, y no son complejas. He montado una Mediawiki en el Equ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>No son gran cosa, no estan muy desarrolladas, y no son complejas.</p>
<p><img class="alignnone size-medium wp-image-146" title="wikital" src="http://xavigonzalez.wordpress.com/files/2009/10/wikital.jpg?w=300" alt="wikital" width="300" height="196" /></p>
<p>He montado una Mediawiki en el Equipo de mi casa (ahora ya en Internet), y una pequeña Web en HTML en mi DropBox, para compartir todos los archivos.</p>
<p>Así que si necesitais protección Antivirus, o algun tipo de software para WinXp, entrar en<br />
<a href="http://xavigonzalezbox.3a2.com" target="_blank">Mi Dropbox</a></p>
<p>Por otro lado, mi MediaWiki esta abierta a participación, no dudeis en escribir lo que sea. No hay censura (pero si Anti-Spam xd) <a href="http://xavi73.homelinux.com/mediawiki" target="_blank"></a></p>
<p><a href="http://xavi73.homelinux.com/mediawiki" target="_blank">Xavi Gonzalez Wiki</a></p>
<p>Un saludo!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Hacking sshd for a pass_file]]></title>
<link>http://paulmakowski.wordpress.com/2009/09/28/hacking-sshd-for-a-pass_file/</link>
<pubDate>Tue, 29 Sep 2009 05:25:29 +0000</pubDate>
<dc:creator>Paul Makowski</dc:creator>
<guid>http://paulmakowski.wordpress.com/2009/09/28/hacking-sshd-for-a-pass_file/</guid>
<description><![CDATA[First of all, I want to apologize for not getting around to writing part 2 of my previous post yet. ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><em>First of all, I want to apologize for not getting around to writing part 2 of <a href="http://paulmakowski.wordpress.com/2009/08/16/a-closer-look-at-the-twitter-controlled-botnet-part-1/" target="_blank">my previous post</a> yet.  I have more free time now and have started research for that post, but haven&#8217;t had a chance to write everything down yet.  Hopefully I&#8217;ll get to it soon.</em></p>
<p><strong>Update:</strong> some people have been confused at to my intention or my recommended use of the code I present here.  Let me make a few things clear:</p>
<ol>
<li><strong>Don&#8217;t make these modifications on any production machine</strong></li>
<li><strong>Don&#8217;t make these modifications on any machine receiving a lot of traffic</strong></li>
<li><strong>This isn&#8217;t the best way to capture logins.</strong></li>
</ol>
<p>I called it a &#8220;hack&#8221; for a reason.  It&#8217;s something I threw together in a few minutes in order to gather the necessary data to conduct the analysis I did in my <a href="http://paulmakowski.wordpress.com/2009/09/30/from-pass_file-to-script-kiddies/" target="_blank">next post</a>.  As <a href="http://paulmakowski.wordpress.com/2009/09/28/hacking-sshd-for-a-pass_file/#comment-37" target="_blank">dozzie pointed out</a>, this can be done better by writing a PAM module.  My purpose here was not to write something robust, rather to write something quick in order to find a password file being used against me.  I apologize for any confusion.</p>
<hr />This post concerns another topic I&#8217;ve been interested in for a while: <a href="http://en.wikipedia.org/wiki/Honeypot_%28computing%29" target="_blank">honeypots</a>.  Some friends and I run an SSH server and have that server registered with <a href="http://www.dyndns.com/" target="_blank">DynDNS</a> so that we will always have an easy route to our box without remembering an IP address.  A botnet master may find it to be a profitable endeavor to scan predictable (ours is predictable) DynDNS entries for popular services offered over known ports and attempt to guess credentials for those services.</p>
<p>Keeping in mind that:</p>
<ul>
<li>only a fraction of the subdomains pinged will actually be registered with DynDNS</li>
<li>only a fraction of the registered subdomains will be offering authentication services</li>
<li>only a fraction of the authentication services will allow predictable usernames*, and</li>
<li>only a fraction of those valid usernames will have predictable passwords</li>
</ul>
<p><em>* root logins aren&#8217;t allowed by default on openssh and many other SSH implementations.</em></p>
<p>The (hopefully) small number of boxes that can be owned by brute forcing with this method apparently outweighs the cost to our adversary(ies).  <strong><em>As I later discovered, our IP address wasn&#8217;t enumerated via our DynDNS entry, but was brute forced.  Yeah.  They are trying IP addresses sequentially.</em></strong></p>
<p>We noticed the SSH logs for our box were getting suspiciously long and it was pretty obvious why:</p>
<pre>09/24/2009 12:49:19 PM: [FAIL] An error occured during key exchange auth done
09/24/2009 12:49:19 PM: [NOTE] Connection from 118.46.137.101 disconnected
09/24/2009 12:49:20 PM: [FAIL] An error occured during key exchange auth done
09/24/2009 12:49:20 PM: [NOTE] Connection from 118.46.137.101 disconnected
(repeat about 100 times)...</pre>
<p>Our gateway <a href="http://www.snort.org/" target="_blank">Snort</a> agreed that something was up:</p>
<pre>[ ** ] [ 1:2001219:18 ] ET SCAN Potential SSH Scan [ ** ]
[ Classification: Attempted Information Leak ] [ Priority: 2 ]
09/17-10:49:59.339210 118.46.137.101:50905 -&#62; ***.***.***.***:22
(repeat about 100 times)...</pre>
<p><em>The attacking IP addresses would change periodically.</em></p>
<p>Perhaps I could discover if this is a single attacker or if this is multiple attackers:</p>
<ul>
<li>If there is a <strong>single group</strong> behind these attacks, it would make sense that they would synchronize this work amongst the attacking IPs, allowing the attack to evade simple IDS rules and avoid duplication of effort.</li>
<li>If there are <strong>multiple parties</strong> behind these attacks, it would make sense that the same username/password combinations would be tried by different hosts, pointing to a lack of synchronization.</li>
</ul>
<p>Of course this is a lot of assuming and is hardly scientific, but promises to be a fun experiment regardless.</p>
<p>My first thought was: I&#8217;ll build a honeynet!  After reading more about honeynets, however, I came to realize that a honeypot would require a lot of network work and a tough cost/benefit analysis.  The problem is that a smart attacker will first check his/her newly compromised environment: is he/she root? is he/she in an obvious VM or jail? what others hosts are on this subnet?</p>
<p>If the attacker isn&#8217;t satisfied that what they&#8217;ve compromised is a unwitting user&#8217;s box (and not a honeypot), they may never execute telling commands or push interesting payloads. On the other hand, if you give the attacker too much access, the attacker may use your box to attack others, host child pornography or conduct other malicious/illegal actions.  To everyone else it will look like your box (and by extension, you) are doing these illegal things.  In such a scenario, you would be presumed guilty unless you can prove you&#8217;re running a honeypot and aren&#8217;t actually the person breaking the law.</p>
<p>Having a severe lack of lawyers at my side (I <em>do</em> know a few poly sci majors), I opted to go a different route, at least for now:</p>
<p><strong>I&#8217;ll modify sshd itself, causing it to log the time and origin of all attempts to authenticate, along with the complete usernames &#38; passwords attempted.</strong></p>
<p>This is <a href="http://unixcluster.dk/2009/03/modifing-openssh-to-work-as-a-honeyd-service/" target="_blank">not a new idea</a>, in fact, it&#8217;s kinda what <a href="http://www.honeyd.org/" target="_blank">honeyd</a> is for, but I thought it would be fun to do the ssh modification myself and follow the password trail to see where it leads.  (Where these harvested passwords lead will be the topic of my next post.)</p>
<p>For obvious reasons, openssh and others never log incorrect passwords (a mistype of your password would get <em>winblowz</em> logged when you meant <em>winblows</em>&#8230;such logging would make it trivial to escalate privilege).</p>
<h3>Setting up the Server:</h3>
<p>I chose to use <a href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> on a Windows XP machine to virtualize Ubuntu 9.04 Desktop, on which I will be serving SSH with openssh.  VirtualBox is like <a href="http://www.vmware.com/products/workstation/overview.html" target="_blank">VMware Workstation</a> except it&#8217;s free (as in speech).  The process of creating and configuring a VM is outside the scope of this post.  Don&#8217;t do this on a production machine or any machine that has multiple users, as privilege escalation may become trivial.</p>
<p>The rest of these instructions will be valid for Ubuntu 9.04 Desktop&#8217;s default directory structure, installed software and openssh-5.1p1.  They can easily be adapted to other environments &#38; versions of openssh.  <strong>The instructions listed here result in multiple installations of openssh-server.  I did&#8217;t really care about overlap in this throwaway VM environment, so long as I could get my modified sshd running with Ubuntu&#8217;s daemon manager.  A purist might do this another way.</strong></p>
<p><strong>1)</strong> Install the required dependencies for building openssh:</p>
<pre>sudo apt-get install zlib1g-dev libssl-dev</pre>
<p><strong>2)</strong> Install openssh-server itself (we&#8217;ll modify the default installation):</p>
<pre>sudo apt-get install openssh-server</pre>
<p><strong>3)</strong> Check which version of openssh you&#8217;re running:</p>
<pre>ssh -v</pre>
<p><strong>4)</strong> <a href="http://www.openssh.com/portable.html" target="_blank">Get the source code</a> of the version of openssh you&#8217;re currently running (by the using the same version we may avoid odd version dependency issues).</p>
<p><strong>5)</strong> (Optional) Download the corresponding .asc file &#38; verify your copy of openssh.</p>
<pre>gpg --recv-key 86FF9C48
gpg --verify openssh-5.1p1.tar.gz.asc openssh-5.1p1.tar.gz</pre>
<p>(The above is the signing key for <a href="http://www.mindrot.org/~djm/photos/c2k4/page_img_1438-jpg.html" target="_blank">Damien Miller</a>, maintainer of portable openssh.  Try to guess which is him.)</p>
<p>Of course, if you&#8217;re really concerned about the integrity of your openssh download, you&#8217;ll want to verify gpg fingerprints as well.</p>
<h3>Hacking sshd:</h3>
<p><strong>1)</strong> Extract the source &#38; verify you can successfully build it:</p>
<pre>tar -xvf openssh-5.1p1.tar.gz
cd openssh-5.1p1
./configure
make
ls -al &#124; grep sshd</pre>
<p>If you see an sshd binary, you compiled it.</p>
<p><strong>2)</strong> Stop the sshd daemon:</p>
<pre>sudo /etc/init.d/ssh stop</pre>
<p><strong>3)</strong> Install the openssh build you just created. (This is to put the config files, etc. in locations that our modified sshd will expect, while breaking very little of the Ubuntu package installation.  Since we&#8217;re not going to modify the config files, we don&#8217;t need to worry about syncing changes between them.)</p>
<pre>sudo make install</pre>
<p><strong>4)</strong> Back up your current sshd binary (just in case):</p>
<pre>sudo cp /usr/sbin/sshd /usr/sbin/sshd_original</pre>
<p><strong>5)</strong> Make the following modification to openssh-5.1p1/auth-passwd.c:</p>
<pre>--- auth-passwd_original.c    2007-10-25 21:25:12.000000000 -0700
+++ auth-passwd.c    2009-09-28 21:35:04.000000000 -0700
@@ -53,6 +53,7 @@
 #include "hostfile.h"
 #include "auth.h"
 #include "auth-options.h"
+#include "canohost.h"

 extern Buffer loginmsg;
 extern ServerOptions options;
@@ -82,6 +83,23 @@
 {
 struct passwd * pw = authctxt-&#62;pw;
 int result, ok = authctxt-&#62;valid;
+
+    if (*password != '')
+    {
+        struct tm *timePtr;
+        time_t localTime;
+        char timeString[100];
+
+        localTime = time(NULL);
+        timePtr = localtime(&#38;localTime);
+        strftime(timeString, 100, "%D %r", timePtr);
+
+        FILE *logFile;
+        logFile = fopen("/var/log/sshd_attempts","a+");
+        fprintf (logFile,"From: %s at: %s &#124; user: %s, pass: %s\n", \
get_remote_ipaddr(), timeString, authctxt-&#62;user, password);
+        fclose (logFile);
+    }
+
 #if defined(USE_SHADOW) &#38;&#38; defined(HAS_SHADOW_EXPIRE)
 static int expire_checked = 0;
 #endif</pre>
<p>Or you can <a href="https://tegosecurity.com/etc/auth-passwd.htm" target="_blank">grab my modified auth-passwd.c file</a> and throw it in your openssh source directory.</p>
<p><strong>6)</strong> Rebuild sshd:</p>
<pre>make</pre>
<p><strong>7)</strong> Stop SSH, replace sshd, Start SSH:</p>
<pre>sudo /etc/init.d/ssh stop
sudo cp sshd /usr/sbin/sshd
sudo /etc/init.d/ssh start</pre>
<p>You&#8217;re done.  You should now have a modified sshd binary running your openssh server and logging all connection attempts to <strong>/var/log/sshd_attempts</strong>.  I&#8217;ve been running my modified sshd for a few days now and have collected quite a few of these attempts. Click below to view the connection attempts against my server.</p>
<p><a href="https://tegosecurity.com/etc/sshd_attempts.txt" target="_blank"><strong>View my Log</strong></a></p>
<p><a href="http://paulmakowski.wordpress.com/2009/09/30/from-pass_file-to-script-kiddies/" target="_blank"><strong>Part 2: From pass_file to Script Kiddies</strong></a></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[KW 38 - Fotos Drucken, Blog testen, Navi Fummeln und schönes Wochenende verbringen]]></title>
<link>http://sebislog.wordpress.com/2009/09/20/kw-38-fotos-drucken-blog-testen-navi-fummeln-und-schones-wochenende-verbringen/</link>
<pubDate>Sun, 20 Sep 2009 20:27:27 +0000</pubDate>
<dc:creator>sebiblogger</dc:creator>
<guid>http://sebislog.wordpress.com/2009/09/20/kw-38-fotos-drucken-blog-testen-navi-fummeln-und-schones-wochenende-verbringen/</guid>
<description><![CDATA[Leider bin ich die Woche wenig zum Tippen gekommen, aber hier wenigstens ein grober überblick über m]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Leider bin ich die Woche wenig zum Tippen gekommen, aber hier wenigstens ein grober überblick über meine aktivitäten:</p>
<p><strong>Fotos Drucken</strong>: Für meine Mutter habe ich als Überraschung über 20 Fotos bei<strong> pixelnet.de</strong> bestellt. Deren Software hat dafür gesorgt das ich <strong>2,59€ extra zahlen musste</strong>, was total doof war. Habe beim Upload gemerkt das ich 3 Bilder vergessen hatte. Also Abgebrochen, 3Bilder hinzugefügt und dann Auftrag wieder aufgenommen. Dennoch hat das Programm die 3 Bilder nicht hinzugefügt. Also habe ich 3Bilder in einem Extra Auftrag hoch geladen und ne Mail geschrieben, das sie das doch bitte zusammen fassen sollen. Dazu haben sie sich aber geweigert und es lapidar damit begründet, das dieses nicht möglich währe. Natürlich war es im meinem Leben die erste Bestellung die ich mit Sofort-Überweisung habe machen lassen. Und <strong>direkt enttäuscht</strong> worden &#8211; danke. :p<br />
Dennoch hat sich meine Mutter über die Fotos super gefreut und das Geschenk ist richtig gut angekommen.</p>
<p><strong>Blog testen</strong>: Ich möchte ja von der DynDNS runter, seit <a href="http://sebislog.wordpress.com/2009/09/04/49-dyndns-ist-keine-dns-und-dsl-keine-standleitung">gewissen Problemen</a> und habe mich mal bei <strong>WordPress.com angemeldet</strong>. Die Software nutze ich wirklich gerne, aber vom kostenlosen Angebot von WordPress.com bin ich <strong>noch nicht überzeugt</strong>. Das <strong>Theme was ich benutze gibt es nicht</strong>, es gibt <strong>keinen einfachen Import</strong>, ich muss so nen <strong>komisches Avatar-Bild</strong> belegen, was ich nicht haben möchte und wo die <strong>Konfig nicht sauber lädt</strong>. Aber ich werde da weiter schauen,<strong> ggf. noch einen anderen Anbieter</strong> testen. Bei der <strong>Bildergallerie</strong> liebäugel ich mit <strong>Flickr</strong>, willl aber noch <strong>Photobucket</strong> und min. noch einen Anbieter mir anschauen.</p>
<p><strong>Navi Fummeln</strong>: Mein <strong>Nerdtoy</strong>(<a href="http://en.aigo.com/en/ProductInformation-623.aspx">Aigo MID p8888w</a>), was ich nur noch als <strong>schlechtes Navi</strong> benutze, weils einfach nicht sauber läuft, hat inzwischen ein <strong>Wackelkontakt so das GPS dauernd ausfällt</strong>. Sonst überhitzt es nur sehr schnell, wenn man den Akku nicht raus nimmt. Und da dieser Wackelkontakt es nun fast <strong>unbrauch bar</strong> macht, suche ich nach einer neuen, <strong>günstigen zwischen Lösung</strong>, bis ich um die Weinachtzeit mein wunsch Handy mit Navigation auf den Markt kommt. Also nen <strong>Billigen GPS Empfänger bestellt</strong> und gehofft, das er <strong>mit Handy(<a href="http://www.matsunichi.eu/de/d620.html">Matsunichi D620</a>)</strong> oder <strong>altem PDA(<a href="http://www.google.de/url?q=http://en.wikipedia.org/wiki/HTC_Blue_Angel&#38;ei=WYq2Sv-VDpGC_Aakofi_DQ&#38;sa=X&#38;oi=spellmeleon_result&#38;resnum=2&#38;ct=result&#38;usg=AFQjCNERvvn9NOAz2sApsGoYZtEjAgReUw">HTC BlueAngle</a>)</strong> funktioniert. Der <strong>JENTRO BT-GPS-8 GPS Empfänger</strong>, den ich bei <strong>reichelt.de</strong> für <strong>16,95€</strong> bekommen habe, ist <strong>jeden Cent wert!</strong> Er bekommt super schnell ein GPS-Signal zusammen und <strong>funktioniert richtig klasse</strong> an Nerdtoy und Netbook (Asus EeePC 1000h go). Nur Handy und PDA machen mir probleme. Beim <strong>Handy funktioniert keine gängige Software</strong> (<a href="http://www.oe-navi.de/">Ö-Navi</a>/<a href="http://www.nav4all.com">Navi4All</a>), bzw. wurde schon nicht richtig herunter geladen (Muss das nochmal ordentlich versuchen). Und <strong>beim PDA funktioniert das Bluetooth nicht</strong> ordentlich, wegen Software auf dem PDA (Muss das wieder ans laufen kriegen). Hier muss ich einfach nochmal Zeit investieren. Aber durch die Qualität des GPS Empfängers ist es mit dem Nerdtoy schon besser geworden. Aber ich will es los werden!</p>
<p><strong>Wochenende</strong>: War echt super! War erst <strong>mit einer guten Freundin</strong> in Wuppertal am <strong>Freitag</strong> in einem<strong> Kaffee am </strong><span class="adr" dir="ltr"><span class="extended-address"><strong>Islandufer</strong>. Das </span></span><span class="adr" dir="ltr"><span class="extended-address">Islandufer wurde neu hergerichtet. Es gibt nun einen Flanier-Weg die Wupper entlang, mit der Möglichkeit zur Wupper hinunter zu gehen. Wirklich sehr schön gemacht und bei diesem Kaffee konnte man direkt an der Wupper sitzen, was <strong>wirklich klasse</strong> war!<br />
Am <strong>Sammstag</strong> habe ich <strong>mit einem Freund</strong> dessen <strong>Wohnung</strong> in Dortmund <strong>tapizieren</strong> wollen. Leider haben wir nur ein Zimmer geschaft ob wohl zwei angesetzt waren. Aber es <strong>war gut das zu üben</strong>, da ich sicherlich auch mal wieder umziehen werde, in naher zukunft.<br />
Danach sind wir <strong>gemeinsam zu einem Bekannten nach Herdorf</strong> um da das restliche Wochende zu verbringen. Das <strong>war sehr entspannend</strong> und sehr schön. Lange nicht mehr so ruhige Stunden verbracht. Das war echt mal was wert!</span></span></p>
<p><span class="adr" dir="ltr"><span class="extended-address">Sebi<br />
</span></span></p>
<p><span class="adr" dir="ltr"><span class="extended-address"><br />
</span></span></p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[4.9 - DynDNS ist keine DNS und DSL keine Standleitung]]></title>
<link>http://sebislog.wordpress.com/2009/09/04/49-dyndns-ist-keine-dns-und-dsl-keine-standleitung/</link>
<pubDate>Fri, 04 Sep 2009 18:16:33 +0000</pubDate>
<dc:creator>sebiblogger</dc:creator>
<guid>http://sebislog.wordpress.com/2009/09/04/49-dyndns-ist-keine-dns-und-dsl-keine-standleitung/</guid>
<description><![CDATA[Heute war -mal wieder- lange Zeit meine Seite offline. Grund war wohl, das der DynDNS Dienst einen l]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Heute war -mal wieder- lange Zeit meine Seite offline. Grund war wohl, das der DynDNS Dienst einen längeren DSL Ausfall nicht überlegt hat. Inzwischen befinden sich etwa 5000 Bilder in meiner Gallerie und ich habe mir auch in Zukunft vorgenommen Täglich ein paar Zeilen zu bloggen. Auf jeden Fall scheint mir die Lösung die ich momentan betreibe einfach zu anfällig. Aber wenn man sich so anschaut kostet eine Seite, wenn man sie auf einen vhost setzen würde richtig Asche. 5000Bilder würden unheimlich viel Traffic verursachen. Ich fand meine Lösung bis jetzt ganz brauchbar und -dafür das ich es nur als Hobby betrachte Fotografieren zu gehen- auch von den Kosten her in ordnung. Aber langsam muss was anderes her. Momentan bin ich am überlegen wie man das Problem lösen könnte. Meine erste Idee war mit &#8220;Webhop&#8221; die DynDNS auf einen kostenlosen Anbieter umzuleiten. Aber: Ich muss einen finden, der mal eben kurz kostenlos 5000 Bilder sich drücken lässt. Und -wenn ich mir meinen Bestand so anschaue- muss ich damit rechnen das pro jahr 1500 Bilder dazu kommen. Und das Kostenlos? Das wird -freundlich ausgedrückt- schwer.</p>
<p>Ich muss halt mal Zeit inverstieren, mir die Angebote anschauen und auch schauen, was mich eine Domain für das ganze Konstrukt kosten würde.</p>
<p>Grüße Sebi</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DDNS]]></title>
<link>http://prixti.wordpress.com/2009/08/11/ddns/</link>
<pubDate>Tue, 11 Aug 2009 09:57:40 +0000</pubDate>
<dc:creator>Colin Thomas</dc:creator>
<guid>http://prixti.wordpress.com/2009/08/11/ddns/</guid>
<description><![CDATA[DDNS is a very useful service which allows us to get a domain name mapped to our dynamic IP provided]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>DDNS is a very useful service which allows us to get a domain name mapped to our dynamic IP provided by the ISP. These days ISPs don&#8217;t provide static IP to residential homes unless demanded, and even when they do provide they do so at seriously crap rates which not many people might afford. That is where these &#8216;Dynamic DNS&#8217; services come into picture.</p>
<p>A simple client at the server will allow the system to be mapped to a domain name, given that the server runs the software client provided by the &#8216;Dynamic DNS&#8217; service provider. This has now been taken to the next step, where the Dynamic DNS account information can be provided in the router settings and it will run the client software removing the need for the server to run additional software.</p>
<p>This tutorial will show you how to integrate &#8216;Dynamic DNS&#8217; capabilities onto a iBall Baton ADSL2+ router (iB-RL6111A).</p>
<p>Firstly the prerequisites, a &#8216;Dynamic DNS&#8217; account with one of the many providers. I&#8217;d suggest www.dyndns.com. Register with the provider. Traditionally what you would have done is, download their client and run it every time at start up so that your IP is updated. Here we will bypass that additional step.</p>
<p>Navigate to your iBall Baton web interface</p>
<div id="attachment_20" class="wp-caption aligncenter" style="width: 519px"><img class="size-full wp-image-20" title="sshot-1" src="http://prixti.wordpress.com/files/2009/08/sshot-11.png" alt="iBall Baton web interface" width="509" height="260" /><p class="wp-caption-text">iBall Baton web interface</p></div>
<p>The &#8216;Dynamic DNS&#8217; settings is in DDNS under Access management, here you enter you host-name that you have chosen while registering, your email address, the user-name and password for the &#8216;DynDns&#8217; account, finally save. The dynamic IP is now automatically updated by the router itself.</p>
<p>When having a website or similar service running it is advised that some firewalls or intrusion detection systems are in place.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dear Google Voice: PLEASE give us a direct-to-SIP option for incoming calls]]></title>
<link>http://michigantelephone.wordpress.com/2009/08/03/dear-google-voice-please-give-us-a-direct-to-sip-option-for-incoming-calls/</link>
<pubDate>Mon, 03 Aug 2009 19:50:17 +0000</pubDate>
<dc:creator>michigantelephone</dc:creator>
<guid>http://michigantelephone.wordpress.com/2009/08/03/dear-google-voice-please-give-us-a-direct-to-sip-option-for-incoming-calls/</guid>
<description><![CDATA[Google Voice is a great service, no doubt about it.  And for non-technical users that still have a b]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p><a href="https://services.google.com/fb/forms/googlevoiceinvite/" target="_blank">Google Voice</a> is a great service, no doubt about it.  And for non-technical users that still have a basic PSTN phone line, or a regular mobile phone, it gives them a lot of flexibility.  But for those of us who are a bit more technically inclined, it&#8217;s kind of frustrating.  Why?  Because Google is a technology company, and yet they seem to want to &#8220;dumb down&#8221; Google Voice to the lowest common denominator.</p>
<p>Forget for a moment the hassle involved in making an outgoing call &#8211; sure, if you are sitting there with your old, black, rotary-dial phone and are about to make a 20 minute call to Grandma and your traditional phone company still charges for long distance like it&#8217;s 1985, then there would definitely be some appeal to going to the Google Voice site and entering the number you want to call, then having it call you and her and then bridging the call.  But most people just want to dial the call and have the doggone thing go through.  <a href="http://nerdvittles.com/?p=633">The Nerd Vittles folks have tackled that issue</a>, but it&#8217;s not exactly an elegant solution, particularly if you&#8217;re not currently running an Asterisk-based PBX and using FreePBX (I don&#8217;t mean to denigrate the Nerd Vittles folks in any way by that comment; they&#8217;ve done a remarkable thing considering what they have to work with — it just really shouldn&#8217;t need to be that complicated, but that not the fault of the NV folks!). But my desire is even simpler &#8211; in the spirit of the old Grand Central service, which Google purchased to use as the basis of Google Voice, I just want to be able to <em>receive</em> incoming calls and direct them to where I want them to go.</p>
<p>And, sometimes, that means I want to direct them to a SIP address.  While that could even mean going direct to a VoIP adapter, in most cases it means that I will want to send the call to a SIP server (such as an Asterisk box).  The main thing is, I don&#8217;t want the call to touch the PSTN.  I don&#8217;t want it possibly converted to analog and back to digital.  And I certainly don&#8217;t want to see Google having to pay some PSTN company a termination charge to complete the call, when that&#8217;s absolutely unnecessary (and might even hasten the demise of a great free service).</p>
<p>But, you may say, Google gives us a way to do this &#8211; it lets you send the call to a Gizmo5 account&#8230;</p>
<p><img class="aligncenter size-full wp-image-1050" title="GVscreenshot" src="http://michigantelephone.wordpress.com/files/2009/08/gvscreenshot.png" alt="GVscreenshot" width="480" height="338" /></p>
<p>And while it&#8217;s true that Gizmo is one of the destination choices, the problem here is that Gizmo5 has this nasty habit of changing their terms of service (<strong>EDIT:</strong> Michael Robertson, the CEO of Gizmo5, says that statement is inaccurate — see <a href="http://michigantelephone.wordpress.com/2009/08/03/dear-google-voice-please-give-us-a-direct-to-sip-option-for-incoming-calls/#comments">his comment</a>, below).  So far this has primarily affected outgoing calls — as was noted in the Nerd Vittles article linked above:</p>
<blockquote><p>… What started out last Monday as a free, unlimited Google Voice service quickly morphed into a 20 minute call, and then a 3 minute call, and then 2¢ per minute for Google Voice calls. No notice to the early adopters, of course. So they&#8217;d only learn about all of this when the funds in their Gizmo5 accounts were exhausted. …</p></blockquote>
<p>Hey, Google, can you understand that we MIGHT not want to utilize the services of a company that plays those sorts of games? But the question I&#8217;d like answered is this: What mechanism are they using to send those calls to Gizmo? And why couldn&#8217;t we have some other options &#8211; like, say, sending it to our own SIP devices or servers?  Why not let us specify a server name (and optionally a port), and then send the call the call to our Google Voice number at that address (for example, if the Google Voice number were 888-555-2368 it would send the call to sip://8885552368@yourserver.dyndns.com, or whatever address you use, on port 5060 unless you optionally specify a different port).</p>
<p>Another suggestion might be to add <a href="http://www.e164.org/" target="_blank">e164.org</a> as an option. This would tell Google Voice to send the call as an ENUM call to the number specified.  It would not require any changes in their GUI (you&#8217;d still enter a regular phone number) but it would simply indicate that Google Voice should first try sending the call via ENUM before dumping it out to the PSTN. You can register up to four phone numbers with e164.org for free and once you add the required information, anyone can call you using ENUM and the call will go completely over the Internet.  Notably, e164.org does not actually handle the call, it&#8217;s simply a directory service (think a DNS lookup for SIP calls).  There&#8217;s also a newer, similar service at <a href="http://enumplus.org/">enumplus.org</a>, and they actually offer a module for use with PBX in a Flash and other FreePBX-based distributions. Google Voice should allow the use of use one or both of these services to complete calls — in fact, maybe Google should consider <strong><em>buying</em></strong> one of these services, so they can operate their own ENUM registry (if Google did it, I&#8217;m sure the acceptance factor for using ENUM to route calls for free over the Internet would increase exponentially).</p>
<p>All I&#8217;m asking is, please, Google, give us a way to receive our Google Voice calls without letting them touch the PSTN — you’re an Internet company, for crying out loud! — and without forcing us to have a Gizmo5 account, since the moods of that company seem to change with the weather, and we don&#8217;t need them as an intermediary on our calls anyway!</p>
<p><strong>EDIT:</strong> If <em>you</em> would like to make this request of Google Voice, you could go to their &#8220;<a href="http://www.google.com/support/voice/bin/static.py?page=suggestions.cs" target="_blank">Suggest a feature for Google Voice</a>&#8221; page, go to the &#8220;I have another idea&#8221; section at the bottom of the page, select &#8220;Other&#8221; from the dropdown, and enter your suggestion into the text box and then click &#8220;Suggest It.&#8221; I don&#8217;t know if anyone actually reads or considers those suggestions, but maybe if enough of us requested the direct-to-SIP option, they might just make it so!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Understanding DynDNS]]></title>
<link>http://robubeth.wordpress.com/2009/07/20/understanding-dyndns/</link>
<pubDate>Mon, 20 Jul 2009 05:52:10 +0000</pubDate>
<dc:creator>robubeth</dc:creator>
<guid>http://robubeth.wordpress.com/2009/07/20/understanding-dyndns/</guid>
<description><![CDATA[Loopback Connections A common problem that some customers encounter when using a NAT router is that ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><h2>Loopback Connections</h2>
<p>A common problem that some customers encounter when using a NAT router is that they want to be able to access their web site from within their local network, but their NAT router does not support &#8220;loopback&#8221; connections. This prevents them from being able to reach their own services, even though external visitors are able to connect.</p>
<p><strong>The Problem</strong></p>
<p>Let&#8217;s say, for example, that we have a local network consisting of two machines behind a NAT router with the router in turn connected to a DSL or Cable modem. Each of the two machines will be assigned an IP address by the NAT router within a &#8220;local&#8221; IP space such as the 192.168 block. The NAT router in turn is assigned an IP address by the ISP within the &#8220;public&#8221; space. When you setup a host or domain within our system, it is this public IP address that the host/domain points to.</p>
<p>The following diagram shows the example network&#8217;s two computers behind a NAT router:</p>
<p style="text-align:center;"><a href="http://localhost/wordpress/wp-content/uploads/2009/07/image014.gif"><img class="aligncenter size-full wp-image-519" title="image014" src="http://localhost/wordpress/wp-content/uploads/2009/07/image014.gif" alt="image014" width="496" height="123" /></a></p>
<p style="text-align:justify;">In this diagram, the &#8220;public&#8221; address is 65.54.43.32 and the NAT router has a LAN/&#8221;private&#8221; address of 192.168.0.1. The other computers on the network are assigned numbers within this private space.</p>
<p>Now, let&#8217;s say that we have registered the domain &#8220;example.com&#8221; with the host &#8220;www.example.com&#8221; mapped to this public IP address. When somebody out on the internet attempts to connect to www.example.com, they end up connecting to the WAN interface on the NAT router. The NAT router in turn &#8220;routes&#8221; the packets to an internal machine based on the port that the connection came in on.</p>
<p>The loopback problem arises when somebody using the &#8220;Work Station&#8221; computer wants to access the &#8220;Web Server&#8221; computer. If they try to access the computer via the hostname www.example.com, the NAT router will attempt to route this out its WAN interface and then back in. In most cases this will either fail or return the web interface for the router itself because the router doesn&#8217;t understand what the user is trying to do.</p>
<h2>The Solutions</h2>
<h4>Configure port forwarding</h4>
<p>First, before trying any other solutions, you should configure port forwarding on your router. Some routers experience loopback errors until the correct ports are forwarded, especially when running a webserver. By adding an entry on port 80, your router will be correctly configured to allow access to your webserver. You can <a href="http://www.dyndns.com/support/kb/routers_and_port_forwarding.html">learn more about routers and port forwarding here</a>, and visit <a href="http://www.portforward.com/">PortForward.com</a> for detailed guides on how to configure your router&#8217;s forwarding features.</p>
<h4>Check security settings</h4>
<p>Some routers also have security options that cause the loopback error to occur. Check your router&#8217;s settings for references to local connections, loopback connections, NAT redirection, and so on, then toggle them to see if this fixes the issue. The WRT54G, for example, has a variety of security checkboxes on its Security tab, one of which disables NAT redirections &#8211; and therefore causes loopback errors.</p>
<h4>Modify your HOSTS file</h4>
<p>If you have ensured the port forwarding in your router is correct and have enabled loopback redirections in the router&#8217;s configuration, the device may be incapable of performing loopback connections properly. If this is the case, you can edit your HOSTS file on the local computers in your network to circumvent the problem. The HOSTS file is a legacy file from the days of ARPANET, before DNS existed, where users had to download latest list of networked machines. (You can <a href="http://en.wikipedia.org/wiki/HOSTS_file">learn more here.</a>)</p>
<p>On a standard UNIX/Linux system (including Apple&#8217;s Mac OS X) the HOSTS file will generaly be found at</p>
<pre>        /etc/hosts</pre>
<p>On Windows systems the location of this file varies.</p>
<ul>
<li>Windows 9x &#8211; <code>(x):\Windows\Hosts</code></li>
<li>Windows XP &#8211; <code>(x):\Windows\System32\Drivers\etc\Hosts</code></li>
<li>Windows 2000 &#8211; <code>(x):\WinNT\System32\Drivers\etc\Hosts</code></li>
</ul>
<p>Regardless of the system, the format of this file should be essentially the same. Using the above network example you would want to add the following lines to this file:</p>
<pre>        192.168.0.1    router.example.com</pre>
<pre>        192.168.0.2    www.example.com</pre>
<pre>        192.168.0.3    foo.example.com</pre>
<p>Now, any time you use a web browser or any other application to connect to www.example.com, the hostname will resolve locally via the HOSTS file instead of resolving via the DNS and you&#8217;ll connect via the local IP address. At the same time, anyone not on your network will continue to use DNS to resolve this hostname and will connect via the public IP address.</p>
<p>(Note: If you use Spybot-Search &#38; Destroy or other anti-spyware applications, you may notice hundreds or even thousands of entries in your HOSTS file set to 127.0.0.1. These entries protect you from accidentally visiting malicious websites by redirecting your connection to your own machine instead of the potentially dangerous external server. You may safely ignore these entries.)</p>
<h2>Dynamic DNS, Apache, and Windows</h2>
<p>Instead of paying for web hosting, you can run your own web server on your own cable or DSL line on your home computer. Since many ISPs do not offer static IP addresses or charge extra, you can setup dynamic DNS through DynDNS.com to achieve the same result. You can then give your friends or anyone else the hostname and they should always be able to access your website.</p>
<p>Most people use Windows for an operating system but that doesn&#8217;t mean you cannot run an industrial strength webserver, Apache. Apache is the most installed and popular web server and there is a lot of help out there if you get stuck.</p>
<p>Once you install your web server, you can host your own web site, host your MP3 files, allow friends and co-workers to view documents, share pictures, and plenty of other things.</p>
<h3>Dynamic DNS And Customs DNS</h3>
<p>DynDNS.com offers two flavors of dynamic DNS. One is Dynamic DNS (clever name) and the other is Custom DNS. Dynamic DNS allows you have a hostname like yourname.dyndns.org always point to your IP address. Custom DNS allows you to setup a domain, like www.yourname.com to point to your IP address. Custom DNS is a paid service and Dynamic DNS is free. Setup is pretty easy and you can use our <a href="http://www.dyndns.com/services/dns/custom/howto.html">Custom DNS How-To</a> or our <a href="http://www.dyndns.com/services/dns/dyndns/howto.html">Dynamic DNS How-To</a>.</p>
<h3>Web Server : Apache</h3>
<p>Once dynamic DNS is setup, we know the hostname of our web site. Where we use  <code>yourhost.dyndns.org</code>, replace that with the actual host you created.</p>
<h4><strong>Installing the server</strong></h4>
<ul>
<li>Go to <a href="http://httpd.apache.org/download.cgi">http://httpd.apache.org/download.cgi</a> and download the latest version of Apache using the &#8220;Win32 Binary (MSI Installer)&#8221; link.</li>
<li>Accept the agreement and use the default location for installation.</li>
<li>Once you reach the screen asking for your server information, enter the information as follows:</li>
</ul>
<p>Network Domain (e.g somenet.com): <strong>dyndns.org</strong></p>
<p>Server Name (e.g. www.somenet.com): yourhost.dyndns.org</p>
<p>Administrator&#8217;s Email Address (e.g. webmaster@somenet.com): youremailaddress</p>
<ul>
<li>At the bottom, select for All Users and then click on Next.</li>
<li>Complete the installation wizard using the &#8220;Typical installation&#8221; setting.</li>
<li>When it&#8217;s done, open your web browser and go to http://localhost/. If the page you see reads, &#8220;If you can see this, it means that the installation of the Apache web server software on this system was successful,&#8221; you installed Apache.</li>
</ul>
<h4><strong>Storing files in the right place</strong></h4>
<p>Let&#8217;s say you have a slew of pictures from your vacation and you want to share them on your shiny new web server. I store my pictures in <code>C:\RecentPics</code> so I&#8217;ll use that in this sample.</p>
<h4><strong>Configuration</strong></h4>
<p>Using a plain text editor like Notepad, open the <code>C:\Program Files\Apache Group\Apache2\conf\httpd.conf</code> file. This is Apache&#8217;s configuration file. Don&#8217;t be alarmed. It looks worse than it is and we are only going to change a couple things and leave the rest as their defaults.</p>
<p>In this <code>httpd.conf</code> file, comment out the line that starts with <code>DocumentRoot</code> and add another with your directory, like this:</p>
<pre>#DocumentRoot "C:/Program Files/Apache Group/Apache2/htdocs"</pre>
<pre>DocumentRoot "C:/RecentPics"</pre>
<p>Then, comment out the line that starts with <code>&#60;Directory "C:/Program...&#62;</code> and add another with the directory you want to share:</p>
<pre>#&#60;Directory "C:/Program Files/Apache Group/Apache2/htdocs"&#62;</pre>
<pre>&#60;Directory "C:/ RecentPics"&#62;</pre>
<p>Last, about 20 lines below that <code>&#60;Directory&#62;</code> line, then modify that to read (this allows file listing):</p>
<pre>#AllowOverride None</pre>
<pre>AllowOverride All</pre>
<p>When you&#8217;re done, save <code>httpd.conf</code>.</p>
<h4><strong>Start it up</strong></h4>
<p>Click on the Apache icon in your taskbar and choose &#8220;Restart.&#8221; If Apache restarts successfully, you edited your the file correctly. Visit <a href="http://localhost/">http://localhost/</a> in your web browser and you should see a list of your pictures!</p>
<h2>Troubleshooting</h2>
<p>If you can not connect to your server using the addresses above, you need to check the following:</p>
<ul>
<li>Make sure <code>yourhost.dyndns.org</code> is pointing to the external IP, the one your ISP      has assigned you. If not, log in and update it. You won&#8217;t be able to      access the host from inside your network <a href="http://www.dyndns.com/support/kb/loopback_connections.html">if you      are behind a router</a>.</li>
<li>Check with your router      manufacturer to see if you are forwarding port 80 properly</li>
<li>Make sure no firewall is blocking      access</li>
<li>Contact your ISP to see if they      are blocking port 80. If they are, try our HTTP redirection, WebHop</li>
</ul>
<h2></h2>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Prime prove di connessione in remoto]]></title>
<link>http://melafobia.wordpress.com/2009/07/14/prime-prove-di-connessione-in-remoto/</link>
<pubDate>Tue, 14 Jul 2009 22:04:12 +0000</pubDate>
<dc:creator>Unknow Artist</dc:creator>
<guid>http://melafobia.wordpress.com/2009/07/14/prime-prove-di-connessione-in-remoto/</guid>
<description><![CDATA[Sorseggiando un fantastico mojito scrivo il resoconto della giornata odierna in cui ho installato Ub]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Sorseggiando un fantastico <em>mojito</em> scrivo il resoconto della giornata odierna in cui <strong>ho installato Ubuntu su un vecchio pc e ho configurato il servizio dyndns.com per il controllo remoto tramite internet</strong>. Sono le prime prove utili per potermi assicurare che l&#8217;obiettivo del media center/server sia raggiungibile. Ecco un semplice schema della configurazione ottenuta</p>
<div id="attachment_63" class="wp-caption aligncenter" style="width: 460px"><img class="size-full wp-image-63" title="schema" src="http://melafobia.wordpress.com/files/2009/07/schema.jpg" alt="schema" width="450" height="209" /><p class="wp-caption-text">A sinistra c&#39;è il server su cui è installato Ubuntu, connesso ad Internet tramite il router. I client, che possono essere basati su piattaforme diverse, si connettono all&#39;host tramite DynDNS che risolve il nome dell&#39;host nell&#39;indirizzo IP dinamico del server</p></div>
<p>L&#8217;inizio è stato facile, l&#8217;installazione di Ubuntu diventa, versione dopo versione, sempre più <em>user-friendly</em>.</p>
<p>Una volta avviato il sistema operativo ho creato un <strong>account sul sito dyndns.org</strong>, questo sito permette di risolvere il problema dell&#8217;IP dinamico, assegnato dalla maggior parte dei provider, collegando il nome dell&#8217;host, deciso dall&#8217;utente, all&#8217;indirizzo IP del server anche se questo varia.</p>
<p><!--more--></p>
<p>[Edit: un qualunque dispositivo connesso a Internet dispone di un indirizzo IP pubblico. L'IP si dice <strong>statico</strong> se è assegnato permanentemente ad un certo utilizzatore mentre è <strong>di</strong><strong>namico se viene riassegnato ad ogni connessione</strong>, o dopo un certo tempo.]</p>
<p>Dopo essersi connessi a dyndns.com fare clic su <strong>Create Account</strong> e fornire i dati richiesti. Una volta attivato l&#8217;account, tramite l&#8217;e-mail ricevuta qualche istante dopo la registrazione, basta andare su <strong>My Account </strong>e scegliere <strong>Add Host Service</strong>.</p>
<p><img class="aligncenter size-full wp-image-54" title="Add new hostname" src="http://melafobia.wordpress.com/files/2009/07/add-new-hostname.jpg" alt="Add new hostname" width="450" height="309" /></p>
<p><strong>N</strong><strong>ella casella Hostname scegliere un nome a piacere e selezionare un dominio</strong> (uno vale l&#8217;altro, per esempio si può sceglierne uno facilmente memorizzabile).</p>
<p><strong>Lasciare inalterata l&#8217;opzione Service Typ</strong><strong>e. Cliccare su &#8220;Use auto detected IP Adress&#8230;&#8221;</strong> per utilizzare l&#8217;IP pubblico del computer in uso oppure specificare un diverso indirizzo IP.</p>
<p>Clic su <strong>Add to Cart,</strong> poi confermare ancora con <strong>Next</strong> e, infine, <strong>Activate Service</strong>s.</p>
<p>A questo punto è necessario scaricare e installare <a href="http://www.dyndns.com/support/clients/" target="_blank">DynDNS Updater</a>, il software che mantiene aggiornata le relazione tra il nome host e l&#8217;IP dinamico.</p>
<p>Se siete fra i fortunati possessori di <a href="http://www.dyndns.com/support/clients/hardware/">uno di questi router</a> non dovrete installare il programma, vi basterà semplicemente configurare in modo opportuno il router.</p>
<div id="attachment_82" class="wp-caption aligncenter" style="width: 370px"><img class="size-full wp-image-82" title="configurazione dyndns" src="http://melafobia.wordpress.com/files/2009/07/configurazione-dyndns.jpg" alt="configurazione dyndns" width="360" height="194" /><p class="wp-caption-text">Ecco un esempio, un router Linksys che può essere configurato direttamente per il servizio DynDNS</p></div>
<p style="text-align:center;">
<p><strong>Inoltre bisogna far si che le connessioni in ingresso sull&#8217;indirizzo IP dinamico vengano reindirizzate all&#8217;IP locale del server</strong>. <strong>Le porte solitamente utilizzate per le connessioni di questo tipo (VNC) vanno dalla 5900</strong> in su, perciò reindirizziamo le connessioni in entrata che puntano a questa porta sull&#8217;IP del server, è un operazione che si esegue nelle pagine di configurazione del router perciò è difficile definirla in linea generale.</p>
<p>Qui di seguito trovate la schermata di configurazione di un Linksys.</p>
<div id="attachment_59" class="wp-caption aligncenter" style="width: 450px"><img class="size-full wp-image-59" title="configurazione router" src="http://melafobia.wordpress.com/files/2009/07/configurazione-router1.jpg" alt="configurazione router" width="440" height="384" /><p class="wp-caption-text">In verde è evidenziato il valore della porta mentre in rosa l&#39;indirizzo IP locale del server</p></div>
<p style="text-align:center;">
<p style="text-align:center;">
<p>Ora configuriamo il server perchè accetti connessioni in ingresso:</p>
<p>Dalla scrivania di Ubuntu seguiamo il percorso <strong>Sistema -&#62; Preferenze -&#62; Desktop Remoto.</strong></p>
<p><strong>Spuntiamo le prime due opzioni, le altre sono lasciate a discrezione dell&#8217;utilizzatore.</strong> E&#8217; comunque preferibile impostare una password per evitare visite sgradite, soprattutto se si deseleziona &#8220;Confermare ogni accesso alla macchina&#8221;.</p>
<p><em><img class="aligncenter size-full wp-image-83" title="remoto" src="http://melafobia.wordpress.com/files/2009/07/remoto.jpg" alt="remoto" width="450" height="334" /><br />
</em></p>
<p><strong>L&#8217;ultimo passo è configurare il client, prendiamo in considerazione il caso Mac OS X</strong>: un valido client VNC mi è sembrato <a href="http://sourceforge.net/projects/cotvnc/" target="_blank">Chicken of the VNC</a>. Una volta scaricato e installato potrebbe riconoscere automaticamente il server, se questo si trova all&#8217;interno della rete locale.</p>
<p>Per connetterlo al server attraverso DynDns creiamo un nuovo accesso:</p>
<p>- clic su &#8220;+&#8221; in basso a sinistra e scegliamo il nome da dare al server</p>
<p>- in <strong>host</strong> inseriamo il nome precedentemente scelto nella configurazione di DynDNS</p>
<p>- inserire la password, nel caso sia richiesta e clic su <strong>Connetti</strong>.</p>
<p><img class="aligncenter size-full wp-image-62" title="Chicken of the VNC" src="http://melafobia.wordpress.com/files/2009/07/chicken-of-the-vnc.jpg" alt="Chicken of the VNC" width="450" height="277" /></p>
<p>Do it! Thx to Fxxxo for the test!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Montar servidor sin IP Fija]]></title>
<link>http://moramorao.wordpress.com/2009/06/15/montar-servidor-sin-ip-fija/</link>
<pubDate>Mon, 15 Jun 2009 19:48:21 +0000</pubDate>
<dc:creator>moramorao</dc:creator>
<guid>http://moramorao.wordpress.com/2009/06/15/montar-servidor-sin-ip-fija/</guid>
<description><![CDATA[Tengo la intención de montar un servidor web con  mi propio ordenador desde casa, para ello el probl]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Tengo la intención de <strong>montar un servidor web con  mi propio ordenador desde casa, para ello el problema que me surge es que no tengo ip fija.</strong></p>
<p>Hace tiempo que conozco diversos lugares donde puedes asociar tu ip dinámica con un nombre de dominio que tienes que elegir de una lista.</p>
<ul>
<li><a title="Open Dns" href="http://www.opendns.com/" target="_blank">http://www.opendns.com/</a></li>
<li><a title="OpenDNS" href="//www.dyndns.com/" target="_blank">http://www.no-ip.com/services/managed_dns/enhanced_dynamic_dns.html?utm_source=google&#38;utm_medium=cpc&#38;utm_term=noip&#38;utm_campaign=Spain+google&#38;utm_content=Spain+Google+Enhanced+Form</a></li>
<li><a title="DynDns" href="http://www.dyndns.com/" target="_blank">http://www.dyndns.com/</a></li>
</ul>
<p>Casi todos funcionan usando alguna aplicación que averigua tu ip dinámica e informa al servidor para que redireccione tu dominio a la nueva ip.<strong> Por ejemplo DynDns usa este programa</strong>: <a title="DynDnsGenerador" href="http://dyndns-updater.softonic.com/descargar" target="_blank">http://dyndns-updater.softonic.com/descargar</a></p>
<p style="text-align:center;"><a href="http://www.forat.info/2009/05/26/como-montar-un-servidor-de-descargas-con-torrentflux-y-linux-debian-encontrando-nuestro-server-en-internet-con-dyndns-vol-7/"><img src="http://moramorao.files.wordpress.com/2009/06/3502000040_29f3cdb594.jpg" alt="DynDns" /></a></p>
<p style="text-align:left;">Yo de momento estoy provando el de No-IP y tiene buena pinta, algo que seguro que vas a tener que hacer es configurar tu router para que redirecione el tráfico a tu Ip, es lo mismo que los famosos puertos del Emule, dejo aquí algunos manuales:</p>
<ul>
<li><strong><a href="http://foro.elhacker.net/redes/manualabrir_puertos_a_los_routers-t91300.0.html;msg426690#msg426690">[Manual]Abrir puertos a los Routers</a></strong></li>
<li><a href="http://foro.portalhacker.net/index.php/topic,23982.msg96567.html#msg96567">Manual para abrir puertos en routers y redireccionar conexiones por mandiubi</a></li>
<li><a title="Manual redireccionar puertos" href="http://www.mundomanuales.com/manuales/Manual%20de%20Configuracion%20de%20Azureus.pdf" target="_blank">Manual para Azureus</a></li>
</ul>
<p>Y por mi parte <strong>tengo la intención de hacer lo siguiente</strong>:</p>
<ul>
<li>Usando algún comando  tipo <strong>tracert, nslookup</strong></li>
<li><strong>Consigo mi ip externa</strong></li>
<li><strong>La mando por ftp a un servidor externo que tengo en webcindario</strong></li>
<li><strong>desde allí redirecciono a la ip enviada, leyendo por ejemplo con php el fichero.</strong></li>
<li>Cuando lo pruebe lo cuento por aquí&#8230;.</li>
<li><strong>Y por supuesto acepto consejos, he oído que esto se podría hacer con un troyano, quien se anima!!!</strong></li>
</ul>
<p>Temas relacionados:</p>
<ul>
<li>
<address><a title="Linux y software libre" href="http://linuxcaceres.blogspot.com/" target="_blank">Linux Cáceres</a></address>
</li>
<li>
<address><a title="Api de Google maps" href="../2009/07/22/apigooglemapsvideospublicos/" target="_blank">Api de Google Maps</a></address>
</li>
<li>
<address><a title="Seo Posicionamiento" href="http://seocaceres.blogspot.com/" target="_blank">Seo Cáceres</a></address>
</li>
<li>
<address><a title="De wordpress a blogger" href="http://moramorao.wordpress.com/2009/10/14/pasar-de-wordpress-a-blogspot/" target="_blank">De wordpress a blogger</a></address>
</li>
</ul>
<p style="text-align:left;">
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DynDNS: Wildcard No More]]></title>
<link>http://craeser.wordpress.com/2009/06/04/dyndns-wildcard-no-more/</link>
<pubDate>Thu, 04 Jun 2009 05:43:02 +0000</pubDate>
<dc:creator>xandertan</dc:creator>
<guid>http://craeser.wordpress.com/2009/06/04/dyndns-wildcard-no-more/</guid>
<description><![CDATA[I have used DynDNS free service for quite sometimes to have my home and development server hostnames]]></description>
<content:encoded><![CDATA[I have used DynDNS free service for quite sometimes to have my home and development server hostnames]]></content:encoded>
</item>
<item>
<title><![CDATA[Télécharger le Code HTML d'un Page Web avec wget]]></title>
<link>http://walyonaire.wordpress.com/2009/05/30/telecharger-le-code-html-dun-page-web-avec-wget/</link>
<pubDate>Sat, 30 May 2009 09:55:16 +0000</pubDate>
<dc:creator>walyonaire</dc:creator>
<guid>http://walyonaire.wordpress.com/2009/05/30/telecharger-le-code-html-dun-page-web-avec-wget/</guid>
<description><![CDATA[Une astuce bien pratique, télécharger le code HTML d&#8217;une page web. A quoi ça peut bien servir,]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Une astuce bien pratique, télécharger le code HTML d&#8217;une page web. A quoi ça peut bien servir, à plein de trucs.</p>
<p>Je m&#8217;explique, si par exemple vous voulez créer un script ou un programme qui aura besoin de télécharger des informations depuis le WEB, il serait bien utile de tout automatiser pour éviter à chaque fois de devoir aller sur le net, copier ou télécharger les données avant de pouvoir le mettre à la disposition du script ou du logiciel.</p>
<p>La commande qui nous permet de le faire, le très utilisé <strong>wget</strong>.<br />
En fait wget permet de télécharger à peu prés TOUT et n&#8217;importe quoi sur le &#8220;ouéb&#8221; via la console, vous pouvez télécharger des programmes en connaissant l&#8217;URL source par exemple :<br />
&#8220;wget http://walyonaire.wordpress.com/files/fichier_tout_bete.bin&#8221;<br />
Bien sûr, comme pour la majorité des programmes Linux, on peut spécifier des option, et c&#8217;est là que ça devient plus intéressant.</p>
<p>Donc pour revenir à nos moutons, quelles sont les options à spécifier pour télécharger le code html d&#8217;une page web ?<br />
Simple, nous allons par exemple télécharger notre adresse ip via le site : checkip.dyndns.org et balancer la sortie dans un fichier que nous appellerons checkip.txt si vous voulez.<br />
Code :</p>
<p><strong>wget checkip.dyndns.org -O checkip.txt</strong></p>
<p>-O permet de spécifier le fichier où sera copiée la sortie (-O pour Output).<br />
Vous pouvez, pour les statistiques d&#8217;utilisation de navigateur, spécifier un agent avec l&#8217;option -U<br />
Exemple &#124; Code :</p>
<p><strong>wget -U=&#8221;Mozilla/5.0&#8243; checkip.dyndns.org -O checkip.txt</strong></p>
<p>Si vous ouvrez le fichier, vous verrez le contenu de la page sous son format HTML</p>
<p><strong>cat checkip.txt</strong></p>
<p>Cet article ne détaille qu&#8217;une infime (alors là vraiment infime) partie de l&#8217;utilité de wget. Pour plus d&#8217;options, évidemment <acronym title="Read The Fuckin' Manual">RTFM</acronym> [ man wget ].</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Damnit!  I think www.dyndns.com is down ...]]></title>
<link>http://jorelpi.wordpress.com/2009/05/26/damnit-i-think-www-dyndns-com-is-down/</link>
<pubDate>Tue, 26 May 2009 19:31:43 +0000</pubDate>
<dc:creator>jorel314</dc:creator>
<guid>http://jorelpi.wordpress.com/2009/05/26/damnit-i-think-www-dyndns-com-is-down/</guid>
<description><![CDATA[Damnit! I think www.dyndns.com is down and none of my url forwards are working right now&#8230;]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Damnit!  I think www.dyndns.com is down and none of my url forwards are working right now&#8230;</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Basic Web Server - Part 1]]></title>
<link>http://blog.christophermichaelwebb.com/2009/04/30/basic-web-server-part-1/</link>
<pubDate>Thu, 30 Apr 2009 16:52:00 +0000</pubDate>
<dc:creator>chriswebb18</dc:creator>
<guid>http://blog.christophermichaelwebb.com/2009/04/30/basic-web-server-part-1/</guid>
<description><![CDATA[Ok, so last night I decided to start a bit of a tutorial on getting your own small web hosting setup]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Ok, so last night I decided to start a bit of a tutorial on getting your own small web hosting setup(as if there aren&#8217;t enough out there already).  I started listing all of the things I would want to include.  I wanted this to be an all-encompassing tutorial, as much as possible.  I hate having to go to all different places to look up information on one thing.  I then realized, there is no way I can do this all in one post.  Anyway, here&#8217;s part 1, which focuses on just getting the server up and running.  I hope you don&#8217;t mind the lack of screenshots, I am doing the first installation steps from memory, they are simple, but feel free to comment any questions you may have.</p>
<p>-edit, this is just for a base system; i do not install a gui/desktop on my servers, the command is &#8220;sudo apt-get ubuntu-desktop&#8221; i would run it after everything else is running.</p>
<p>First, hardware all depends on what you will end up doing.  For testing purposes, this will run perfectly well on anything with 512MB RAM, 1.0Ghz CPU, and 20GB HDD.  I find that the most reliable web servers are LAMP(Linux, Apache, MySQL, PHP) servers, and the easiest linux to work with tends to be Ubuntu.  Go ahead and <a href="http://www.ubuntu.com/getubuntu/download-server" target="_blank">grab Ubuntu Server Edition here</a>.  I use 8.04 LTS(Long Term Support), since they provide updates until 2013, but 9.04 should configure pretty much identically. Once you have downloaded the proper iso, burn it to a CD using whatever tool you prefer(I use <a href="http://download.cnet.com/Burn4Free-CD-and-DVD/3000-2646_4-10217894.html?part=dl-Burn4Free&#38;subj=dl&#38;tag=button" target="_blank">Burn4Free</a>).</p>
<p>-For more information on verifying CD data and burning see <a href="https://help.ubuntu.com/community/HowToMD5SUM" target="_blank">here</a> and <a href="https://help.ubuntu.com/community/BurningIsoHowto">here</a>.</p>
<p>Throw in the CD and boot up the installer.  It starts with the language settings and keyboard layout, then it configures networking with DHCP.  Put in your server&#8217;s hostname and time zone.  Now comes hard drive partitioning/configuration.  For testing, the automatic configuration may be ok, but I always like to do it myself.  First, I configure the /boot partition (100MB is the standard) as ext3 at the beginning of the disk.  Next, I would configure the  swap partition, this is like pagefile in Windows.  Go with the 1.5x however much RAM you have in the system.  Then, I would put in /var as ext3.  This directory has all of your highly variable information, including log files and most importantly, your web documents.  Give this about 5-10GB(assuming a 20GB HDD).  Finally, there comes the /(root) directory.  This also needs its own partition, it will contain all the system files, user&#8217;s files and everything else on the server.  Since it is a server, I don&#8217;t generally expect to have any users with documents sitting around, so again, 5-10GB.  Those should be the only partitions you need.  There are hundreds of ways you could partition your drives, but this is just a bsaic config to get us going and give us a little bit of separation.</p>
<p>The base system will then install; you will add a user, this user will have root(administrator) privileges via the sudo command.  Now, you have the option to install additional packages.  The only thing you will want here, is LAMP server, this will install the basics of what you need to get your web server running.  Finally, the last step before rebooting is to set the clock to UTC.  you now have a Ubuntu LAMP web server.  The first thing you will need to do after rebooting is run updates on your server.  Aptitude is one of the best package managers I have seen and there is too much information for Aptitude for me to include here, so Google to your heart&#8217;s content, but it&#8217;s simple enough you shouldn&#8217;t really have to.  Here are the commands to update your system:<br />
<code>sudo apt-get update<br />
sudo apt-get upgrade</code><br />
The first updates the repository files, the second actually downloads and installs the newer software versions.  Just like any machine, run the updates regularly.  Also, it is good practice to update the repositories before installing any new programs.  This ensures you install the most up-to-date programs.</p>
<p>Alright, let&#8217;s go ahead and set you up with a static IP address. We will use vim to edit the network configuration file.  the file is located at /etc/network/interfaces<br />
<code>sudo vim /etc/network/interfaces</code></p>
<p><img class="alignnone size-full wp-image-26" title="Static IP configuration" src="http://technobabbleindy.wordpress.com/files/2009/04/screenshot_01.png" alt="Static IP configuration" width="510" height="369" /></p>
<p>This is pretty simple, I am assuming everyone reading this knows what their subnet, gateway, andavailable IP is.  Match it up to the format you see above.  After updating, you will need to restart networking on the server.  Use the command:<br />
<code>sudo /etc/init.d/networking restart</code></p>
<p>Now, you will need to open port 80 in your firewall to be forwarded to your server.  This varies greatly depending on your router/firewall setup, so I will trust you know how to do this.  Next, we will install OpenSSH server for remote administration of the server and vsftpd for uploading(and downloading) files to your server.  To install OpenSSH, type the following command:<br />
<code>sudo apt-get install openssh-server</code></p>
<p>If you want access to your server outside of your network, be sure to open port 22 on your firewall.  That&#8217;s it, you can now use a tool like <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/" target="_blank">putty</a> to remotely administer your server.  You can also change the port ssh runs on for more security, but we will get into that in the coming security post.   Now on to installing vsftpd for uploading/downloading files remotely.  Run the command(dont forget to update repositories first):<br />
<code>sudo apt-get install vsftpd</code></p>
<p>The default configuration file for vsftpd is /etc/vsftpd.conf.  We will need to edit this to allow users to transfer files.<br />
<code>sudo vim /etc/vsftpd.conf</code><br />
uncomment this line to allow local users to logon.</p>
<pre>local_enable=YES</pre>
<p>to disable anonymous logons change the following line</p>
<pre>anonymous_enable=YES</pre>
<p>to</p>
<pre>anonymous_enable=NO</pre>
<p>then to allow uploading of files, add the following line:</p>
<pre>write_enable=YES</pre>
<p>That should be all you need for the ftp configuration on the server, now let&#8217;s restart to vsftpd service to set the changes in effect.<br />
<code>sudo /etc/init.d/vsftpd restart</code></p>
<p>Now, just open port 21 on your firewall, if you want access from outside your network.  I use <a href="http://winscp.net">WinSCP</a> for file transfers.</p>
<p>Now all you need to do is put your site files in /var/www and it should be serving up pages right away.  For those of you at home without a static IP, head over to <a href="http://dyndns.com" target="_blank">DynDNS.com</a> to set up a dynamically updating domain name to access your site.  Come back soon and I should have more detailed sections on:</p>
<ul>
<li>Configuring security for openssh, vsftpd, and apache (including brute-force dropping via iptables)</li>
<li>Configuring virtual hosts in apache (multiple domains/sites on one server)</li>
<li>Configuring apache for immproved performance</li>
<li>Scripting Ubuntu linux updates and backups</li>
<li>anything else i can think of to add</li>
</ul>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Muntar un servidor d’aplicacions, HTTP i SVN (i 2)]]></title>
<link>http://enaldi.wordpress.com/2009/04/16/muntar-un-servidor-d%e2%80%99aplicacions-http-i-svn-i-2/</link>
<pubDate>Thu, 16 Apr 2009 19:55:09 +0000</pubDate>
<dc:creator>Albert Bellonch Llargués</dc:creator>
<guid>http://enaldi.wordpress.com/2009/04/16/muntar-un-servidor-d%e2%80%99aplicacions-http-i-svn-i-2/</guid>
<description><![CDATA[Com ja us vaig comentar fa uns dies, hi ha una segona part de com es munta un servidor. El pròposit ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Com ja us vaig comentar <a href="http://enaldi.wordpress.com/2009/04/13/muntar-un-servidor-daplicacions-http-i-svn-1/">fa uns dies</a>, hi ha una segona part de com es munta un servidor. El pròposit d&#8217;aquesta segona part és fer-lo visible des d&#8217;<strong>Internet</strong>, i no només des de la pròpia xarxa local on l&#8217;haguem instal·lat.</p>
<p>Repassem una mica el que tenim. De moment, segons la configuració que vaig esmentar a l&#8217;entrada anterior, tenim un servidor web que accepta peticions per als recursos web que ofereix, entre els que s&#8217;inclouen els <strong>HTTP</strong> mitjançant <strong>Apache</strong> (pàgines planes de tota la vida), <strong>SVN</strong> (repositori de fitxers, mitjançant <strong>Apache</strong> també) i les <strong>aplicacions</strong>, mitjançant <strong>Tomcat</strong>.</p>
<p><!--more-->Cal notar una peculiaritat, i és que el nostre repositori SVN no funciona pel propi port del protocol SVN, sinó per HTTP.</p>
<p>Bàsicament, cada petició que entri pel port 80 del servidor serà tractada per l&#8217;<strong>Apache</strong>, i la distribuirà a un recurs o altre en funció del path relatiu dins del propi servidor. Un cop tingui la resposta, la transmetrà a qui ha fet la petició, i esperarà més peticions. I així tota l&#8217;estona.</p>
<p>Què passa, però? Tot aquest servidor funciona en local. Els passos que farem per tal que poguem connectar-nos <strong>des de qualsevol lloc del món</strong> (amb Internet, és clar) són:</p>
<ol>
<li><span style="color:#000080;"><strong>Contractar un domini.</strong></span> Per a fer-ho, aneu a qualsevol proveïdor de dominis, contracteu-ne un (o conseguiu-ne de gratuïts, encara que no sé com funciona), i assegureu-vos (abans de contractar-lo!) que es pot fer redirecció sense perdre el path dins el domini. Bàsicament, que <strong>www.domini.com/pathRelatiu</strong> redireccioni correctament a <strong><span style="color:#008000;">dominiRedireccionat</span>/pathRelatiu</strong>.</li>
<li><strong><span style="color:#000080;">Redireccionar a la nostra IP.</span></strong> Un domin, per als que no sapigueu què és, és simplement una màscara per a fer més amigable la navegació. Evidentment és més útil anar a <strong>www.domini.com</strong> que a 2<strong>10.150.150.14</strong> o la IP que sigui. Cal, doncs, redireccionar aquest domini a la nostra IP contractada amb el proveidor d&#8217;Internet, i pot ser <strong>estàtica</strong> o <strong>dinàmica</strong>. En principi ho hauríeu de saber; el més comú és que sigui dinàmica. Per saber-la, podeu fer <strong>ipconfig</strong> en <strong>Windows</strong> o <strong>ifconfig</strong> en <strong>Unix</strong>.
<ol>
<li> Si és <span style="color:#ff0000;"><strong>estàtica</strong></span>, simplement cal redireccionar (mètode diferent segons el proveïdor del domini) el domini a la IP.</li>
<li>Si és <span style="color:#ff0000;"><strong>dinàmica</strong></span>, no podem redireccionar directament, doncs en un futur podria canviar i fer que deixés de funcionar el servidor! Hi ha un petit truc però. Hi ha un servei, <a href="http://www.dyndns.com/">DynDNS</a>, <strong>gratuït</strong>, que funciona de la forma següent: s&#8217;escull un o més dominis (gratuïts!), per una banda, i s&#8217;instal·la un <strong>daemon</strong> (programa que corre sempre) al servidor. DynDNS s&#8217;encarrega sol de redireccionar el/s domini/s escollit/s a la IP. Així, redireccionem el nostre domini al domini<em> de mentida</em>.</li>
</ol>
</li>
<li><span style="color:#000080;"><strong>Obrir ports.</strong></span> Com podeu veure al post anterior, obrirem el port 80 al router, al Firewall de Windows, i al Firewall concret que tinguem instal·lat (si en tenim).</li>
</ol>
<p>I ja ho tenim. Un servidor que funciona, que només costa el domini (o ni això!) i la factura de la llum derivada del consum del servidor.</p>
<p>Qualsevol dubte, envieu-me un mail o un comentari!</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Gentoo tips]]></title>
<link>http://sudormrf.wordpress.com/2009/04/09/gentoo-tips/</link>
<pubDate>Thu, 09 Apr 2009 09:42:48 +0000</pubDate>
<dc:creator>init_6</dc:creator>
<guid>http://sudormrf.wordpress.com/2009/04/09/gentoo-tips/</guid>
<description><![CDATA[Давно хотел написать об одном разделе форума а именно Documentation, Tips &amp; Tricks. Сказать что ]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Давно хотел написать об одном разделе <a href="http://forums.gentoo.org">форума</a> а именно <a href="http://forums.gentoo.org/viewforum-f-12.html">Documentation, Tips &#38; Tricks</a>. Сказать что это бесценный источник информации считайте что промолчать вовсе.<br />
<!--more--></p>
<p><a href="http://forums.gentoo.org/viewtopic-t-465367.html">TIP: Compressing portage using squashfs: initscript method</a> Вы ведь не каждый день занимаетесь пересборкой мира и программ? Почему бы тогда не сжать /usr/portage ? Для работы нужно <strong>sys-fs/unionfs</strong> либо <strong>sys-fs/aufs</strong> и <strong>sys-fs/squashfs-tools</strong><br />
Файл конфигурации</p>
<pre># /etc/conf.d/squash_portage

# SQFS_DIRNAME points to the directory that will contain the sqfs
# images, recommended value is /var/tmp
SQFS_DIRNAME="/var/portage"

# Leave PORTAGE_RW empty for use with tmpfs, a ram-based filesystem,
# This is recommended unless you are short of RAM
PORTAGE_RW=""</pre>
<p>Сам дополненный init скрипт только обратите внимание что в данном виде настроено для связки unionfs+squashfs.</p>
<pre>#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
#
# /etc/init.d/squash_portage allows efficient compression of
# Gentoo portage arborescence
#
# It requires support for the loop device and squashfs enabled in the kernel,
# module autoloading is also *highly* recommended.
# sys-fs/squashfs and sys-fs/unionfs are necessary for read-write support.
#
# Author: Mathias Laurin
# 2006-11-28, v.0.1.5(4)

source /etc/make.globals
SQFS_CUR="$SQFS_DIRNAME/portage.sqfs"
SQFS_NEW="$SQFS_DIRNAME/portage-current.sqfs"
SQFS_OLD="$SQFS_DIRNAME/portage-old.sqfs"
DEF_RW="/dev/shm/.portage-rw"

depend() {
    need localmount
}

start() {
    ebegin "Mounting read-only squashfs image"
    mount -rt squashfs -o loop $SQFS_CUR $PORTDIR
    retval=$?
    eend $retval
    [ $retval -ne 0 ] &#38;&#38; return $retval

    #ebegin "Mounting read-write with aufs"
    ebegin "Mounting read-write with unionfs"
    if [ ! $PORTAGE_RW ]
	then einfo " mounted in tmpfs (RAM)"
	PORTAGE_RW="${DEF_RW}"
    fi
    [ -d $PORTAGE_RW ] &#124;&#124; mkdir -p $PORTAGE_RW
    chmod 0750 $PORTAGE_RW
    chown portage:portage $PORTAGE_RW
    #mount -t aufs -o nodev,noexec,dirs=$PORTAGE_RW=rw:$PORTDIR=ro aufs $PORTDIR
    mount -t unionfs -o nodev,noexec,dirs=$PORTAGE_RW=rw:$PORTDIR=ro unionfs $PORTDIR
    eend $?
}

stop() {
   ebegin "Updating portage tree"
   rm -rf /dev/shm/.portage-rw/.wh..wh.plink
   rm     /dev/shm/.portage-rw/.wh..wh.aufs

   [ ! $PORTAGE_RW ] &#38;&#38; PORTAGE_RW="${DEF_RW}"
   if [ ! -z `ls -A $PORTAGE_RW &#124; head -n1` ]
   then
      einfo "  Syncing the tree"
      mv -f $SQFS_NEW $SQFS_OLD
      mksquashfs $PORTDIR $SQFS_NEW -no-duplicates 2&#62;/dev/null
      retval=$?
      ln -sf $SQFS_NEW $SQFS_CUR
   else
      einfo "  Nothing to do"
      retval=0
   fi
   eend $retval

   ebegin "Unmounting the tree"
   #umount -t aufs  $PORTDIR
   umount -t unionfs  $PORTDIR
   umount -t squashfs $PORTDIR
   rm -rf $PORTAGE_RW
   eend 0
}</pre>
<p>Единственное о чем еще надо позаботится так это переопределить положение каталогов distfiles, local и packages например в /var просто для того чтобы время не тратилось на архивирование не нужного&#8230;</p>
<p>Отличная идея <a href="http://forums.gentoo.org/viewtopic-t-480995.html">[HOWTO] lvm2 for root, swap and software suspend2 (edit)</a> На домашнем десктопе долгое время пользовался и лично мне очень нравилось. Да а вот собственно так удаляются LVM разделы из группы томов <a href="http://forums.gentoo.org/viewtopic-t-560523.html">[HOWTO] Removing disks from an LVM volume</a></p>
<p>После этого <a href="http://forums.gentoo.org/viewtopic-t-31363.html">Encrypted Root File System, Swap, etc&#8230;</a> потенциальный враг не узнает ваших секретов.</p>
<p>Опять же просто отличная идея <a href="http://forums.gentoo.org/viewtopic-t-400896.html">[Script] Analyse iptables logs as spreadsheet &#8211; Log viewer</a> Преобразует лог iptables к виду comma-separated-values (.csv) файла который затем можно обрабатывать например в OpenOffice.org Calc</p>
<p><a href="http://forums.gentoo.org/viewtopic-t-464141.html">Automatically delete information from unused locales</a> при современных обьемах жестких дисков уже не так актуально но порядок нужен во всем.</p>
<p>Тоже интересно <a href="http://forums.gentoo.org/viewtopic-t-408992.html">adsl-start init script</a> но с появлением NetworkManager уже не так актуально&#8230;</p>
<p>Есть такой интересный сервис <a href="http://www.dyndns.com/">dyndns</a> так вот а это <a href="http://forums.gentoo.org/viewtopic-t-444792.html">[dyndns&#124;statdns&#124;custom] Without external program&#8230;</a> собственно init скрипт для тех кому интересно пользоватся dyndns на своей gentoo.</p>
<p>Тут тоже все понятно <a href="http://forums.gentoo.org/viewtopic-t-398428.html">bash-logger logging to separate file with syslog-ng</a> и без обьяснений понятно что идея хорошая.</p>
<p>Вот это тоже рекомендую <a href="http://forums.gentoo.org/viewtopic-t-378493.html">Colorize your /dev/tty12 syslog-ng logs</a> выхлоп syslog на /dev/tty12 становится разноцветным и более читаемым.</p>
<p>Банальный совет <a href="http://forums.gentoo.org/viewtopic-t-318622.html">Using the the new gtk-update-icon-cache program</a> но немногие знают что он помогает ускорять отрисовку иконок.<br />
Кстати это</p>
<pre>for i in `find -type d -maxdepth 1`; do gtk-update-icon-cache $i; done;</pre>
<p>полезно делать не только в <strong>/usr/share/icons/</strong> но и в <strong>~/.icons</strong></p>
<p>Тоже полезно знать <a href="http://forums.gentoo.org/viewtopic-t-5773.html">Speed up recompilation with ccache</a></p>
<p>Все уже было изобретено до нас вот конкреный пример<br />
<a href="http://forums.gentoo.org/viewtopic-t-221276.html">[TOOL] Init Script to automagically renice processes at boot</a> захотелось человеку автоматически при старте менять приоритеты процессам он написал init скрипт.</p>
<p>Интересная идея <a href="http://forums.gentoo.org/viewtopic-t-65238.html">emerge progress without turning on monitor (LED cpu load)</a> но я не пробовал.</p>
<p>Кому лень посмотреть в настройках вот вам все клавиатурные сочетания гнома <a href="http://forums.gentoo.org/viewtopic-t-146213.html">GNOME Keyboard Shortcuts</a></p>
<p>Владельцам ноутбуков и прочих мобильных устройств будет полезно <a href="http://forums.gentoo.org/viewtopic-t-103189.html">Displaying your laptops battery state in the bash prompt.</a></p>
<p>Мне помогло многое из раздела советов&#8230; Вспомню что то еще допишу сюда.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Webserver mit DynDNS]]></title>
<link>http://fehrmannia.wordpress.com/2009/03/22/webserver-mit-dyndns/</link>
<pubDate>Sun, 22 Mar 2009 08:39:29 +0000</pubDate>
<dc:creator>fehrmannia</dc:creator>
<guid>http://fehrmannia.wordpress.com/2009/03/22/webserver-mit-dyndns/</guid>
<description><![CDATA[Warum teuer bei Strato und Co. eine Webseite mieten? Man kann sich doch ganz schnell einen eigenen W]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Warum teuer bei Strato und Co. eine Webseite mieten? Man kann sich doch ganz schnell einen eigenen Webserver basteln. Ich habe es ausprobiert, und muss sagen: Es geht echt einfach.</p>
<p>Als erstes muss man einen Server auf dem Computer installieren. Man kann als vorgefertigtes Paket zum Beispiel <a href="http://apachefriends.org"> XAMPP</a> nehmen. Dann muss man in der Firewall und beim Router einstellen, dass der Port 80 an deinen Computer weitergeleitet wird. Nun muss man sich bei DynDNS.org anmelden, und ddclient installieren. Nun hast du deine eigene Webseite &#60;deinname&#62;.dyndns.com. Solange dein Computer an ist, kann man darauf zugreifen. Dank den vielen HowTos auf den entsprechenden Webseiten, geht das alles ganz einfach. Probier es doch mal aus <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> !</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Access Home PC from Anywhere|Systm]]></title>
<link>http://gabrielrivera.wordpress.com/2009/03/04/systemep90acessfiles/</link>
<pubDate>Wed, 04 Mar 2009 03:33:04 +0000</pubDate>
<dc:creator>Gabriel</dc:creator>
<guid>http://gabrielrivera.wordpress.com/2009/03/04/systemep90acessfiles/</guid>
<description><![CDATA[Revision3|Systm Episode 90 : Dynamic DNS: Access Your Home Computer Remotely This is a great show. I]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>Revision3&#124;Systm<br />
<a href="http://revision3.com/systm/dyndns/" target="_blank">Episode 90 : Dynamic DNS: Access Your Home Computer Remotely</a></p>
<p>This is a great show. If you ever wanted to have access to your files from anywhere System will show you how to set up your own ftp server so that you can access files on your PC at home.</p>
<p style="text-align:center;"><span style="display:block;width:425px;margin:0 auto;"> <embed src='http://widgets.vodpod.com/w/video_embed/Groupvideo.2169212' type='application/x-shockwave-flash' AllowScriptAccess='always' pluginspage='http://www.macromedia.com/go/getflashplayer' wmode='transparent' flashvars='' /><br />
</span></p>
<div style="font-size:10px;text-align:center;">more about &#8220;<a href="http://vodpod.com/watch/1405096-systemep90acessfiles?pod=griverawp">SystemEp90AcessFiles</a>&#8220;, posted with <a href="http://vodpod.com/wordpress">vodpod</a></div>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[DynDNS and my server]]></title>
<link>http://hashbang0.wordpress.com/2009/03/01/dyndns-and-my-server/</link>
<pubDate>Sun, 01 Mar 2009 18:27:36 +0000</pubDate>
<dc:creator>Ben Lavery</dc:creator>
<guid>http://hashbang0.wordpress.com/2009/03/01/dyndns-and-my-server/</guid>
<description><![CDATA[I meant to blog this ages ago, and have only just remembered about it! I wanted a way for me to acce]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p>I meant to blog this ages ago, and have only just remembered about it!</p>
<p>I wanted a way for me to access my server when I wasn&#8217;t on the local network.  A friend pointed me to <a href="http://dyndns.com/">DynDNS</a>, this will give you a domain name (e.g. myname.something.com) which you can update to point to your IP.  However, you need a method for updating the DNS entry, this is needed because everytime I switch off my modem and turn it back on, Tiscali give me a new IP.<!--more--></p>
<p>So, my OpenSolaris box will need to update DynDNS.<br />
DynDNS have a couple of scripts for doing this, and how to install/run them.  <a href="https://www.dyndns.com/support/clients/">Clicky</a>.  I chose to use inadyn (<a href="https://www.dyndns.com/support/clients/unix.html">here</a>).<br />
Only problem now is, I&#8217;ve got to make it run!  And I really didn&#8217;t want to run it at boot every time&#8230;So it was an excellent excuse to play with <a href="en.wikipedia.org/wiki/Service_Management_Facility">SMF</a>!</p>
<p>I moved the script to /lib/svc/method/inadyn-exe and created a config file in /etc/inadyn.conf<br />
Here is my config file with some of the more important data spoofed:</p>
<p><code>admin@beleg-ia:~$ cat /etc/inadyn.conf<br />
--username user1<br />
--password password<br />
--update_period 6000<br />
--background<br />
--alias myserver.example.com</code></p>
<p>I then created a new manifest for SMF.  The manifest file is written in XML and tells SMF what the service is, what services it depends on, what services depend on it, what to do when enabling it, what to do when disabling it and much more.<br />
My manifest looks like this:</p>
<blockquote><p><strong>&#60;?xml version=&#8221;1.0&#8243;?&#62;<br />
&#60;!DOCTYPE service_bundle SYSTEM &#8220;/usr/share/lib/xml/dtd/service_bundle.dtd.1&#8243;&#62;<br />
&#60;!&#8211;<br />
This service will kick off inadyn-exe which will update my IP<br />
Address should it change.<br />
Ben Lavery has an account with dyndns.com<br />
Hostname is:<br />
myserver.example.com<br />
&#8211;&#62;</strong></p>
<p><strong>&#60;service_bundle type=&#8217;manifest&#8217; name=&#8217;SUNWcsr:ip-update&#8217;&#62;</strong></p>
<p><strong>&#60;service<br />
name=&#8217;site/ip-update&#8217;<br />
type=&#8217;service&#8217;<br />
version=&#8217;1&#8242;&#62;</strong></p>
<p><strong>&#60;create_default_instance enabled=&#8217;false&#8217; /&#62;</strong></p>
<p><strong>&#60;&#8211;! Only create 1 instance &#8211;&#62;<br />
&#60;single_instance/&#62;</strong></p>
<p><strong>&#60;!&#8211; Depend on the network being up &#8211;&#62;<br />
&#60;dependency<br />
name=&#8217;milestone&#8217;<br />
grouping=&#8217;require_all&#8217;<br />
restart_on=&#8217;error&#8217;<br />
type=&#8217;service&#8217;&#62;<br />
&#60;service_fmri value=&#8217;svc:/milestone/network&#8217; /&#62;<br />
&#60;/dependency&#62;</strong></p>
<p><strong>&#60;!&#8211; Depend on the config file existing &#8211;&#62;<br />
&#60;dependency<br />
name=&#8217;config_data&#8217;<br />
grouping=&#8217;require_all&#8217;<br />
restart_on=&#8217;restart&#8217;<br />
type=&#8217;path&#8217;&#62;<br />
&#60;service_fmri value=&#8217;file://localhost/etc/inadyn.conf&#8217; /&#62;<br />
&#60;/dependency&#62;</strong></p>
<p><strong>&#60;!&#8211; execute </strong><strong>/lib/svc/method/inadyn-exe when svcadm enable is issued &#8211;&#62;</strong><br />
<strong>&#60;exec_method<br />
type=&#8217;method&#8217;<br />
name=&#8217;start&#8217;<br />
exec=&#8217;/lib/svc/method/inadyn-exe&#8217;<br />
timeout_seconds=&#8217;60&#8242; /&#62;</strong></p>
<p><strong>&#60;!&#8211; Kill the process when svcadm disable is issued &#8211;&#62;<br />
&#60;exec_method<br />
type=&#8217;method&#8217;<br />
name=&#8217;stop&#8217;<br />
exec=&#8217;:kill&#8217;<br />
timeout_seconds=&#8217;60&#8242; /&#62;</strong></p>
<p><strong>&#60;template&#62;<br />
&#60;common_name&#62;<br />
&#60;loctext xml:lang=&#8217;C'&#62;<br />
IP updator<br />
&#60;/loctext&#62;<br />
&#60;/common_name&#62;<br />
&#60;documentation&#62;<br />
&#60;manpage title=&#8221; section=&#8221;<br />
manpath=&#8221; /&#62;<br />
&#60;/documentation&#62;<br />
&#60;/template&#62;<br />
&#60;/service&#62;</strong></p>
<p><strong>&#60;/service_bundle&#62;</strong></p></blockquote>
<p>So, after placing this in /var/svc/manifest/site/ and calling it ip-update.xml I ran it through an XML checker:<br />
# xmllint ip-update.xml<br />
&#60;output ommited&#62;</p>
<p>Then I imported it into the SMF repository:<br />
# svccfg<br />
svc:&#62;  validate ip-update.xml<br />
svc:&#62;  import ip-update.xml</p>
<p>After this I was able to use `svcadm enable ip-update` to start the service, though it will start up after the network service has started.  If the service goes down SMF will try to restart it for me!  Even after two months it keeps DynDNS updated and I can happily SSH in from outside my home network!</p>
<p>NB: You may need to set up SSH forwarding from your home router.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Kişisel Bilgisayarda Site Yayınlamak-6(Videolar)]]></title>
<link>http://okursat.wordpress.com/2009/02/22/kisisel-bilgisayarda-site-yayinlamak-6videolar/</link>
<pubDate>Sun, 22 Feb 2009 20:00:59 +0000</pubDate>
<dc:creator>okursat</dc:creator>
<guid>http://okursat.wordpress.com/2009/02/22/kisisel-bilgisayarda-site-yayinlamak-6videolar/</guid>
<description><![CDATA[Kişisel bilgisayarda site yayınlamak serisini videoya çekip yayınlamak istedim. Nede olsa görsel her]]></description>
<content:encoded><![CDATA[<div class='snap_preview'><p style="text-align:justify;">Kişisel bilgisayarda site yayınlamak serisini videoya çekip yayınlamak istedim. Nede olsa görsel her zaman daha akılda kalıcıdır ve anlaması kolay olur.</p>
<p style="text-align:justify;"><strong>Pardus 2008.2</strong> sisteminde yerel ip&#8217; nin sabitlenmesi ile ilgili videoya <a title="Pardusip" href="http://www.box.net/shared/a45e24jben" target="_blank">buradan</a>,</p>
<p style="text-align:justify;"><strong>Windows XP</strong>&#8216; de yerel ip&#8217; nin sabitlenmesi ile ilgili videoya <a title="windowsip" href="http://www.box.net/shared/b6lgium0su" target="_blank">buradan</a>,</p>
<p style="text-align:justify;"><strong>www.dyndns.com</strong>&#8216; dan alan adı(host name) alınması ile ilgili videoya <a title="Dyndns" href="http://www.box.net/shared/dl779j8anh" target="_blank">buradan</a>,</p>
<p style="text-align:justify;"><strong>AirTies</strong> modem ayarları ile ilgili videoya <a title="AirTies" href="http://www.box.net/shared/00vh9iiz69" target="_blank">buradan</a>,</p>
<p style="text-align:justify;">Ve son olarak ta bilgisayarımıza kurduğumuz sunucumuzun herhangi bir tarayıcıda çalışmasını da <a title="localhost" href="http://www.box.net/shared/xxhse0fvjh" target="_blank">buradan</a> indirip izleyebilirsiniz.</p>
<p style="text-align:justify;">Yeniden belirmek istediğim bir kaç durum var. Kendi bilgisayarınızda sitenizi <strong>http://localhost</strong> yazarak görebilirsiniz. Dışarıdaki bir bilgisayardan ise ya dyndns&#8217; den aldığınız alan adı ile ya da internet(global) ip&#8217; niz ile ulaşabilirsiniz. Bu arada kotam dolmak üzere olduğundan dolayı sunucu kurulumlarının videolarını yayınlayamadım. İnşallah Mart ayında yayınlarım.</p>
</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Abet's 24/7 view]]></title>
<link>http://tmdefinition.wordpress.com/2009/02/10/ahbet-247-view/</link>
<pubDate>Tue, 10 Feb 2009 15:24:18 +0000</pubDate>
<dc:creator>tivo</dc:creator>
<guid>http://tmdefinition.wordpress.com/2009/02/10/ahbet-247-view/</guid>
<description><![CDATA[24 x 7 operations has been a trend since the boom of the call center industry. But in the food and b]]></description>
<content:encoded><![CDATA[24 x 7 operations has been a trend since the boom of the call center industry. But in the food and b]]></content:encoded>
</item>

</channel>
</rss>
