<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Silvio&#039;s blog</title>
	<atom:link href="http://www.silviosilva.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.silviosilva.com</link>
	<description></description>
	<lastBuildDate>Thu, 06 May 2010 15:26:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Many webservers behind a single IP</title>
		<link>http://www.silviosilva.com/2010/02/11/many-webservers-behind-a-single-ip/</link>
		<comments>http://www.silviosilva.com/2010/02/11/many-webservers-behind-a-single-ip/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 22:34:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sem categoria]]></category>

		<guid isPermaLink="false">http://www.silviosilva.com/?p=86</guid>
		<description><![CDATA[The problem

One public IP address
Multiple webservers

The solutions

 Use different ports

 Your users will have to know the correct port or may end up on a wrong website


Use a single webserver

 You may require multiple webservers due to web-apps needs)


Use a webproxy

The one I&#8217;m going to explain



How it works
Your webproxy will be on port 80 accepting [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2010/02/11/many-webservers-behind-a-single-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Berkeley API &#8211; Server in C + Client in PHP</title>
		<link>http://www.silviosilva.com/2009/07/16/berkeley-api-server-in-c-client-in-php/</link>
		<comments>http://www.silviosilva.com/2009/07/16/berkeley-api-server-in-c-client-in-php/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 19:18:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[berkeley API]]></category>
		<category><![CDATA[BSD sockets]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[socket client]]></category>
		<category><![CDATA[socket server]]></category>
		<category><![CDATA[sockets]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=78</guid>
		<description><![CDATA[If you are a systems administrator responsible for hundreds of servers you may want to monitor them without  login in every single server. The solution is quite easy, and the following code (based on my last two posts) can be easily adapted to your needs.
Objective
Remotely access to a box and execute a command without [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/07/16/berkeley-api-server-in-c-client-in-php/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Berkeley Socket API &#8211; Creating a TCP/IP client in C</title>
		<link>http://www.silviosilva.com/2009/07/16/berkeley-socket-api-creating-a-tcpip-client-in-c/</link>
		<comments>http://www.silviosilva.com/2009/07/16/berkeley-socket-api-creating-a-tcpip-client-in-c/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 15:35:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[IPv6]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=72</guid>
		<description><![CDATA[Programming Languages
C
API
Berkeley Socket API
Data Structure used to store socked details

struct sockaddr_in6 {
	u_char		sin6_len;	// length of this structure
	u_char		sin6_family;	// AF_INET6
	u_int16m_t	sin6_port;	// Transport layer port #
	u_int32m_t	sin6_flowinfo;	// IPv6 flow information
	struct in6_addr	sin6_addr;	// IPv6 address
};

Filling the socket local address

// Declare the vars to use
struct sockaddr_in6 localaddress, remoteaddress;
// Fill the structures with zero's
memset(&#38;localaddress,0,sizeof(localaddress));
memset(&#38;remoteaddress,0,sizeof(remoteaddress));
// Client socket details
// Listen on any ipv6 address
localaddress.sin6_addr = in6addr_any;
// Address [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/07/16/berkeley-socket-api-creating-a-tcpip-client-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Berkeley Socket API &#8211; Creating a TCP/IP Server in C</title>
		<link>http://www.silviosilva.com/2009/07/15/berkeley-socket-api-creating-a-tcpip-server-in-c/</link>
		<comments>http://www.silviosilva.com/2009/07/15/berkeley-socket-api-creating-a-tcpip-server-in-c/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 21:48:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=55</guid>
		<description><![CDATA[Programming Languages
C
API
Berkeley Socket API
What are sockets?
&#8220;In computer networking, an Internet socket (or commonly, a network socket or socket) is the endpoint of a bidirectional inter-process communication flow across an Internet Protocol-based computer network, such as the Internet. Internet sockets (in plural) are an application programming interface (API) application program and the TCP/IP stack, usually provided [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/07/15/berkeley-socket-api-creating-a-tcpip-server-in-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[HTML5] Video &amp; Audio elements</title>
		<link>http://www.silviosilva.com/2009/07/14/html5-video-audio-elements/</link>
		<comments>http://www.silviosilva.com/2009/07/14/html5-video-audio-elements/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 18:18:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=41</guid>
		<description><![CDATA[We can finally embed audio and video without java, flash,&#8230;
Video Example

  Update your browser to learn how to speak geek 


&#60;video src=&#34;/files/videos/2lcfw1tykbh0.ogg&#34; controls&#62;
  Update your browser to learn how to speak geek
&#60;/video&#62;

Audio Example

  Update your browser to learn how to speak geek 


&#60;audio src=&#34;/files/videos/2lcfw1tykbh0.ogg&#34; controls&#62;
  Update your browser to learn how [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/07/14/html5-video-audio-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PHP] Simple template class</title>
		<link>http://www.silviosilva.com/2009/07/14/php-simple-template-class/</link>
		<comments>http://www.silviosilva.com/2009/07/14/php-simple-template-class/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 15:49:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php template]]></category>
		<category><![CDATA[php template class]]></category>
		<category><![CDATA[template system]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=18</guid>
		<description><![CDATA[Today I&#8217;ll share a simple template class in php. I did it a while ago and it works fairly good.
Objectives:

No HTML embebed on PHP code
Load a HTML template from file
Support loops
Replace vars
Publish the template

Result
Template.php
&#60;?php
class Template{
    private $template, $vars;

    public function __construct($templatePathAndName){
        if(file_exists($templatePathAndName))
 [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/07/14/php-simple-template-class/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenVZ mirror</title>
		<link>http://www.silviosilva.com/2009/03/16/openvz-mirror/</link>
		<comments>http://www.silviosilva.com/2009/03/16/openvz-mirror/#comments</comments>
		<pubDate>Mon, 16 Mar 2009 00:00:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IPv6]]></category>
		<category><![CDATA[OpenVZ]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=13</guid>
		<description><![CDATA[Since I had spare space on my node in Roubaix, France I deployed the first dual stack (IPV4&#38;6) openvz mirror.
It&#8217;s accessible vi http and ftp
http://openvz.silviosilva.com &#38; ftp://openvz.silviosilva.com
]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/03/16/openvz-mirror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IPv6: HE.net TunnelBroker &amp; OpenWRT</title>
		<link>http://www.silviosilva.com/2009/03/15/ipv6_tunnelbroker_openwrt/</link>
		<comments>http://www.silviosilva.com/2009/03/15/ipv6_tunnelbroker_openwrt/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 22:03:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IPv6]]></category>

		<guid isPermaLink="false">http://blog.silviosilva.com/?p=3</guid>
		<description><![CDATA[This weekend I&#8217;ve implemented IPv6 at home using Hurricane Electric tunnelbroker and OpenWRT, in fact I&#8217;ve tried a lot of different firmwares but OpenWrt (whiterussian) ended up being the stable one and it&#8217;s really easy to configure.
Why install Ipv6?
All my boxes are already using IPv6 (some native, some tunnels) and since the links are so [...]]]></description>
		<wfw:commentRss>http://www.silviosilva.com/2009/03/15/ipv6_tunnelbroker_openwrt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
