<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.unscdf.org/index.php?action=history&amp;feed=atom&amp;title=Les_fichiers_%2Fetc%2Fhosts.%2A</id>
	<title>Les fichiers /etc/hosts.* - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.unscdf.org/index.php?action=history&amp;feed=atom&amp;title=Les_fichiers_%2Fetc%2Fhosts.%2A"/>
	<link rel="alternate" type="text/html" href="https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;action=history"/>
	<updated>2026-04-28T00:24:04Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=1902&amp;oldid=prev</id>
		<title>Pfoo le 16 décembre 2015 à 19:14</title>
		<link rel="alternate" type="text/html" href="https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=1902&amp;oldid=prev"/>
		<updated>2015-12-16T19:14:46Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 16 décembre 2015 à 21:14&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:serveur]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:serveur]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:security]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Les fichiers /etc/hosts.allow et /etc/hosts.deny=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Les fichiers /etc/hosts.allow et /etc/hosts.deny=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pfoo</name></author>
	</entry>
	<entry>
		<id>https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=1707&amp;oldid=prev</id>
		<title>Pfoo : Pfoo a déplacé la page Sécurisation de base d&#039;un serveur linux vers Les fichiers /etc/hosts.* sans laisser de redirection</title>
		<link rel="alternate" type="text/html" href="https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=1707&amp;oldid=prev"/>
		<updated>2015-05-16T11:06:15Z</updated>

		<summary type="html">&lt;p&gt;Pfoo a déplacé la page &lt;a href=&quot;/index.php?title=S%C3%A9curisation_de_base_d%27un_serveur_linux&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Sécurisation de base d&amp;#039;un serveur linux (page inexistante)&quot;&gt;Sécurisation de base d&amp;#039;un serveur linux&lt;/a&gt; vers &lt;a href=&quot;/index.php?title=Les_fichiers_/etc/hosts.*&quot; title=&quot;Les fichiers /etc/hosts.*&quot;&gt;Les fichiers /etc/hosts.*&lt;/a&gt; sans laisser de redirection&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 16 mai 2015 à 13:06&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Pfoo</name></author>
	</entry>
	<entry>
		<id>https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=192&amp;oldid=prev</id>
		<title>Pfoo le 6 février 2011 à 21:06</title>
		<link rel="alternate" type="text/html" href="https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=192&amp;oldid=prev"/>
		<updated>2011-02-06T21:06:41Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 6 février 2011 à 23:06&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Ligne 1 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 1 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:serveur]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Les fichiers /etc/hosts.allow et /etc/hosts.deny=&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=Les fichiers /etc/hosts.allow et /etc/hosts.deny=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pfoo</name></author>
	</entry>
	<entry>
		<id>https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=32&amp;oldid=prev</id>
		<title>Pfoo : Page créée avec « =Les fichiers /etc/hosts.allow et /etc/hosts.deny=  Les fichiers &lt;code&gt;/etc/hosts.allow&lt;/code&gt; et &lt;code&gt;/etc/hosts.deny&lt;/code&gt; permettent d&#039;autoriser ou de refuser l&#039;accès ... »</title>
		<link rel="alternate" type="text/html" href="https://wiki.unscdf.org/index.php?title=Les_fichiers_/etc/hosts.*&amp;diff=32&amp;oldid=prev"/>
		<updated>2011-02-01T18:32:01Z</updated>

		<summary type="html">&lt;p&gt;Page créée avec « =Les fichiers /etc/hosts.allow et /etc/hosts.deny=  Les fichiers &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt; et &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt; permettent d&amp;#039;autoriser ou de refuser l&amp;#039;accès ... »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Les fichiers /etc/hosts.allow et /etc/hosts.deny=&lt;br /&gt;
&lt;br /&gt;
Les fichiers &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt; et &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt; permettent d&amp;#039;autoriser ou de refuser l&amp;#039;accès à un service utilisant tcpd pour une ip ou toute une plage d&amp;#039;ip. Lors d&amp;#039;une connexion entrante, ce mécanisme de contrôle d&amp;#039;accès parcourt dans ce ordre les fichiers &amp;lt;code&amp;gt;hosts.allow&amp;lt;/code&amp;gt; puis &amp;lt;code&amp;gt;hosts.deny&amp;lt;/code&amp;gt; jusqu&amp;#039;à ce qu&amp;#039;il trouve une correspondance. S&amp;#039;il n&amp;#039;en trouve aucune, l&amp;#039;accès est autorisé par défaut.&lt;br /&gt;
Le format de ces fichiers est le suivant :&lt;br /&gt;
&amp;lt;pre&amp;gt;daemon_list : client_list [ : shell_command ]&amp;lt;/pre&amp;gt;&lt;br /&gt;
* daemon_list est une liste de serveurs séparés par des virgules pour lesquels la règle s&amp;#039;appliquera.&lt;br /&gt;
* client_list est une list d&amp;#039;hostnames et/ou d&amp;#039;adresses ip séparés par des virgules pour lesquels la règle s&amp;#039;appliquera.&lt;br /&gt;
* shell_command est un paramètre optionnel, c&amp;#039;est le nom complet d&amp;#039;une commande qui sera exécutée a chaque fois que la règle sera appliquée (par exemple, envoyer un mail).&lt;br /&gt;
&lt;br /&gt;
Le fichier &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt; suivant autorise a se connecter en ssh toutes les ips du range 192.168.0.X :&lt;br /&gt;
&amp;lt;pre&amp;gt;sshd: 192.168.0.&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Le fichier &amp;lt;code&amp;gt;/etc/hosts.deny&amp;lt;/code&amp;gt; suivant refuse la connexion ssh à toutes les ips, sauf celles listés dans &amp;lt;code&amp;gt;/etc/hosts.allow&amp;lt;/code&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;sshd : ALL&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Pour plus d&amp;#039;information, consultez la page de man &amp;lt;code&amp;gt;hosts_access&amp;lt;/code&amp;gt;.&lt;/div&gt;</summary>
		<author><name>Pfoo</name></author>
	</entry>
</feed>