<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.stombi.net/blog/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>Stombi Home Page - Serveur</title>
  <link>http://www.stombi.net/blog/</link>
  <atom:link href="http://www.stombi.net/blog/feed/category/Serveur/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Sun, 14 Mar 2010 12:02:51 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Debian Etch Attansic L1 atl1 driver</title>
    <link>http://www.stombi.net/blog/post/2008/06/14/Debian-Etch-Attansic-L1-atl1-driver</link>
    <guid isPermaLink="false">urn:md5:8bc5e5e6ca5cd93f50be6094f70316f8</guid>
    <pubDate>Sat, 14 Jun 2008 23:57:00 +0200</pubDate>
    <dc:creator>stombi</dc:creator>
        <category>Serveur</category>
        <category>Attansic</category><category>Debian</category><category>Driver</category><category>Etch</category><category>Réseau</category>    
    <description>    &lt;p&gt;&lt;strong&gt;Le contexte :&lt;/strong&gt;&lt;/p&gt;



&lt;p&gt;Distribution&amp;nbsp;: Debian Etch stable&lt;br /&gt;
Kernel&amp;nbsp;: 2.6.18&lt;br /&gt;
Carte mère&amp;nbsp;: ASUS P5KPL&lt;br /&gt;
Carte réseau intégrée&amp;nbsp;:  Attansic L1 Gigabit&lt;br /&gt;&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;Da vendredi 13 effect :&lt;/strong&gt;&lt;/p&gt;



&lt;p&gt;Le driver pour le kernel 2.6.18 n'est pas inclus dans Etch, donc pas de réseau.&lt;/p&gt;



&lt;p&gt;&lt;strong&gt;Solution :&lt;/strong&gt;&lt;/p&gt;


&lt;ol&gt;
&lt;li&gt;Récupérer le driver et le copier sur une clé usb ( wget ftp://hogchain.net/pub/linux/attansic/vendor_driver/l1-linux-v1.2.40.2.tar.gz )&lt;/li&gt;
&lt;li&gt;Installer Etch sans réseau (choisir aucune carte réseau)&lt;/li&gt;
&lt;li&gt;Brancher la clé usb et copier le driver sur la Etch&lt;/li&gt;
&lt;li&gt;Compiler le driver sur la Etch&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;strong&gt;Pré requis :&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;

 # apt-get install fakeroot kernel-package kernel-image-2.6-686 linux-source-2.6.18 linux-headers-’uname -r’ module-init-tools

&lt;/pre&gt;


&lt;p&gt;&lt;strong&gt;Récupérer le driver :&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;
 # mount /dev/sda1 /mnt
 # cd /mnt
 # cp l1-linux-v1.2.40.2.tar.gz /usr/src/
 # cd /usr/src/
 # tar vzxf l1-linux-v1.2.40.2.tar.gz
 # cd l1-linux-v1.2.40.2/src/
&lt;/pre&gt;


&lt;p&gt;&lt;strong&gt;Compiler et installer le driver :&lt;/strong&gt;&lt;/p&gt;

&lt;pre&gt;
 # make install
 # insmod /lib/modules/2.6.18-6-686/kernel/drivers/net/atl1/atl1.ko
 # depmod -a
 # modprobe atl1
 # echo atl1 &amp;gt;&amp;gt; /etc/modules
&lt;/pre&gt;



&lt;p&gt;Reste plus qu'a éditer /etc/network/interfaces et /etc/resolv.conf et le tour et joué.&lt;/p&gt;


&lt;p&gt;PS&amp;nbsp;: j'ai mis le module compilé pour 2.6.18-6-686 ( atl1.ko ) en pièce jointe à ce billet.&lt;/p&gt;


&lt;p&gt;Sources&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://ubunteros.tuxfamily.org/spip.php?article117&quot; hreflang=&quot;fr&quot;&gt;http://ubunteros.tuxfamily.org/spip.php?article117&lt;/a&gt; (Merci)&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.hogchain.net/attansic/attansic.html&quot; hreflang=&quot;en&quot;&gt;http://www.hogchain.net/attansic/attansic.html&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
          <enclosure url="http://www.stombi.net/dotclear/public/files/archives/l1-linux-v1.2.40.2.tar.gz"
      length="85524" type="application/x-gzip" />
          <enclosure url="http://www.stombi.net/dotclear/public/files/bin/atl1.ko"
      length="46667" type="text/plain" />
    
    
      </item>
    
  <item>
    <title>Apache2 multiple SSL Virtual Hosts</title>
    <link>http://www.stombi.net/blog/post/2005/07/14/30-apache2-multiple-ssl-virtual-hosts</link>
    <guid isPermaLink="false">urn:md5:000bf452e7acd9e21ca7b2c961352321</guid>
    <pubDate>Thu, 14 Jul 2005 12:52:00 +0000</pubDate>
    <dc:creator>stombi</dc:creator>
        <category>Serveur</category>
        <category>Apache2</category><category>SSL</category><category>Virtual Hosts</category>    
    <description>    &lt;p&gt;&lt;strong&gt;Why is it not possible to use Name-Based Virtual Hosting to identify different SSL virtual hosts?&lt;/strong&gt;&lt;/p&gt;



&lt;blockquote&gt;&lt;p&gt;Name-Based Virtual Hosting is a very popular method of identifying different virtual hosts. It allows you to use the same IP address and the same port number for many different sites. When people move on to SSL, it seems natural to assume that the same method can be used to have lots of different SSL virtual hosts on the same server.&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://httpd.apache.org/docs-2.0/ssl/ssl_faq.html#vhosts2&quot; hreflang=&quot;en&quot;&gt;It comes as rather a shock to learn that it is impossible.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;
The reason is that the SSL protocol is a separate layer which encapsulates the HTTP protocol. So the problem is that the SSL session is a separate transaction that takes place before the HTTP session even starts. Therefore all the server receives is an SSL request on IP address X and port Y (usually 443). Since the SSL request does not contain any Host: field, the server has no way to decide which SSL virtual host to use. Usually, it will just use the first one it finds that matches the port and IP address.&lt;/p&gt;
&lt;p&gt;
You can, of course, use Name-Based Virtual Hosting to identify many non-SSL virtual hosts (all on port 80, for example) and then you can have no more than 1 SSL virtual host (on port 443). But if you do this, you must make sure to put the non-SSL port number on the NameVirtualHost directive, e.g.&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;NameVirtualHost 192.168.1.1:80&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
Other workaround solutions are:&lt;/p&gt;
&lt;p&gt;
Use separate IP addresses for different SSL hosts. Use different port numbers for different SSL hosts.&lt;/p&gt;
&lt;p&gt;
&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;
Specifically, you cannot have multiple secure virtual hosts on the same SOCKET (IP address + port). By default, a secure host will use port 443. &lt;a href=&quot;http://www.faqs.org/docs/Linux-HOWTO/SSL-RedHat-HOWTO.html#s4&quot; hreflang=&quot;en&quot;&gt;You can change configure your virtual host to use a different port number with the same IP&lt;/a&gt;, thus creating another socket. There are many disadvantages to this approach. The most obvious disadvantage is that if you are not using the default port, your URL must also contain the port number to access the secure site.&lt;/p&gt;
&lt;p&gt;
Example:&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;Site using default port - www.something.com - would be accessed as https://www.something.com&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;A site using port 8888 would be accessed as https://www.something.com:8888&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;
Another disadvantage is that if you introduce more ports, you will be providing more opportunities for port sniffing hackers. Last, if you select a port that is used by something else, you will create conflict problem.&lt;/p&gt;&lt;/blockquote&gt;</description>
    
    
    
      </item>
    
</channel>
</rss>
