<?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>allprog</title>
	<atom:link href="http://www.allprog.fr/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.allprog.fr</link>
	<description>Des astuces rien que des astuces</description>
	<lastBuildDate>Tue, 27 Mar 2012 15:59:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Linux ‘udev: renamed network interface eth0 to eth1″</title>
		<link>http://www.allprog.fr/2012/03/27/linux-%e2%80%98udev-renamed-network-interface-eth0-to-eth1%e2%80%b3/</link>
		<comments>http://www.allprog.fr/2012/03/27/linux-%e2%80%98udev-renamed-network-interface-eth0-to-eth1%e2%80%b3/#comments</comments>
		<pubDate>Tue, 27 Mar 2012 15:59:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mince.fr/allprog/?p=916</guid>
		<description><![CDATA[editer /etc/udev/rules.d/70-persistent-net.rules et changer  “NAME=” par la bonne interface # This record was automatically generated by a /lib/udev/write_net_rules # program, substantially run by a persistent-net-generator.rules manners file. # # You can cgange it, as prolonged as we keep any order &#8230; <a href="http://www.allprog.fr/2012/03/27/linux-%e2%80%98udev-renamed-network-interface-eth0-to-eth1%e2%80%b3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>editer</p>
<div>
<div></div>
<div><code>/etc</code><code>/udev/rules</code><code>.d</code><code>/70-persistent-net</code><code>.rules</code></div>
</div>
<div></div>
<div>et changer  “NAME=” par la bonne interface</div>
<div></div>
<div>
<div>
<div><code># This record was automatically generated by a /lib/udev/write_net_rules</code></div>
<div><code># program, substantially run by a persistent-net-generator.rules manners file.</code></div>
<div><code>#</code></div>
<div><code># You can cgange it, as prolonged as we keep any order upon a singular line.</code></div>
<div><code># MAC addresses contingency be created in lowercase.</code></div>
<div><code># PCI device 0x8086:0x100f (e1000)</code></div>
<div><code>SUBSYSTEM==</code><code>"net"</code><code>, DRIVERS==</code><code>"?*"</code><code>, ATTRS{address}==</code><code>"00:0c:29:65:ae:04"</code><code>, NAME=</code><code>"eth1"</code></div>
<div><code># PCI device 0x10ec:0x8168 (r8169)</code></div>
<div><code>SUBSYSTEM==</code><code>"net"</code><code>, ACTION==</code><code>"add"</code><code>, DRIVERS==</code><code>"?*"</code><code>, ATTR{address}==</code><code>"00:1c:c0:01:5f:e0"</code><code>, ATTR{</code><code>type</code><code>}==</code><code>"1"</code><code>, KERNEL==</code><code>"eth*"</code><code>, NAME=</code><code>"eth0"</code></div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2012/03/27/linux-%e2%80%98udev-renamed-network-interface-eth0-to-eth1%e2%80%b3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IP Unique Apache logs</title>
		<link>http://www.allprog.fr/2010/12/16/ip-unique-apache-logs/</link>
		<comments>http://www.allprog.fr/2010/12/16/ip-unique-apache-logs/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 13:05:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/wordpress/?p=911</guid>
		<description><![CDATA[#!/bin/bash FILE=/usr/local/apache/logs/access_log; for ip in `cat $FILE &#124;cut -d ' ' -f 1 &#124;sort &#124;uniq`; do { COUNT=`grep ^$ip $FILE &#124;wc -l`; if [[ "$COUNT" -gt "10" ]]; then echo "$COUNT:   $ip"; fi }; done]]></description>
			<content:encoded><![CDATA[<p><code><code>#!/bin/bash</p>
<p>FILE=/usr/local/apache/logs/access_log;<br />
for ip in `cat $FILE |cut -d ' ' -f 1 |sort |uniq`;<br />
do { COUNT=`grep ^$ip $FILE |wc -l`;<br />
if [[ "$COUNT" -gt "10" ]]; then echo "$COUNT:   $ip";<br />
fi }; done </code></code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2010/12/16/ip-unique-apache-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trouver les fichiers plus grand que 10 Mo</title>
		<link>http://www.allprog.fr/2010/12/16/trouver-les-fichiers-plus-grand-que-10-mo/</link>
		<comments>http://www.allprog.fr/2010/12/16/trouver-les-fichiers-plus-grand-que-10-mo/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 09:59:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/wordpress/?p=909</guid>
		<description><![CDATA[find / -size +10000000c -printf "%15s %pn"]]></description>
			<content:encoded><![CDATA[<pre>find / -size +10000000c -printf "%15s %pn"</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2010/12/16/trouver-les-fichiers-plus-grand-que-10-mo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Trouver les fichiers modifiés dans les deux jours</title>
		<link>http://www.allprog.fr/2010/12/16/trouver-les-fichiers-modifies-dans-les-deux-jours/</link>
		<comments>http://www.allprog.fr/2010/12/16/trouver-les-fichiers-modifies-dans-les-deux-jours/#comments</comments>
		<pubDate>Thu, 16 Dec 2010 09:57:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/wordpress/?p=907</guid>
		<description><![CDATA[find / -mtime 2 -o -ctime 2]]></description>
			<content:encoded><![CDATA[<pre>find / -mtime 2 -o -ctime 2</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2010/12/16/trouver-les-fichiers-modifies-dans-les-deux-jours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>NB SYN SUR UN PORT PARTICULIER</title>
		<link>http://www.allprog.fr/2009/11/10/nb-syn-sur-un-port-particulier/</link>
		<comments>http://www.allprog.fr/2009/11/10/nb-syn-sur-un-port-particulier/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 13:21:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[network]]></category>
		<category><![CDATA[reseau]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/?p=901</guid>
		<description><![CDATA[Exemple sur le port 80: tcpdump -ne dst port 80 and &#8216;tcp[13] &#38; 2 == 2&#8242; Pratique  pour detecter un SYN FLOOD]]></description>
			<content:encoded><![CDATA[<p>Exemple sur le port 80:</p>
<p>tcpdump -ne dst port 80 and &#8216;tcp[13] &amp; 2 == 2&#8242;</p>
<p>Pratique  pour detecter un SYN FLOOD</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2009/11/10/nb-syn-sur-un-port-particulier/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>STATS NOMBRE DE CONNEXION LINUX</title>
		<link>http://www.allprog.fr/2009/11/10/stats-nombre-de-connexion-linux/</link>
		<comments>http://www.allprog.fr/2009/11/10/stats-nombre-de-connexion-linux/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 13:19:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/?p=898</guid>
		<description><![CDATA[Exemple sur le port 80 netstat -tan &#124; grep &#8216;:80 &#8216; &#124; awk &#8216;{print $6}&#8217; &#124; sort &#124; uniq -c]]></description>
			<content:encoded><![CDATA[<p>Exemple sur le port 80</p>
<p>netstat -tan | grep &#8216;:80 &#8216; | awk &#8216;{print $6}&#8217; | sort | uniq -c</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2009/11/10/stats-nombre-de-connexion-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ALERTE MAIL DANS /etc/hosts.deny</title>
		<link>http://www.allprog.fr/2009/11/10/alerte-mail-dans-etchosts-deny/</link>
		<comments>http://www.allprog.fr/2009/11/10/alerte-mail-dans-etchosts-deny/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 13:18:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[tcpd hosts.deny mail]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/programmation/alerte-mail-dans-etchosts-deny/</guid>
		<description><![CDATA[ALL: ALL :SPAWN echo &#8220;Service %d IP %a Utilisateur %c&#8221; &#124; /bin/mail -s &#8220;Alerte tcpd&#8221; user@domain.fr : DENY]]></description>
			<content:encoded><![CDATA[<p>ALL: ALL :SPAWN echo &#8220;Service %d IP %a Utilisateur %c&#8221; | /bin/mail -s &#8220;Alerte tcpd&#8221; user@domain.fr : DENY</p>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2009/11/10/alerte-mail-dans-etchosts-deny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>supprimer en masse des signets dans scuttle</title>
		<link>http://www.allprog.fr/2009/03/08/supprimer-en-masse-des-signets-dans-scuttle/</link>
		<comments>http://www.allprog.fr/2009/03/08/supprimer-en-masse-des-signets-dans-scuttle/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 21:10:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/programmation/supprimer-en-masse-des-signets-dans-scuttle/</guid>
		<description><![CDATA[DELETE sc_bookmarks, sc_tags FROM sc_tags, sc_bookmarks WHERE sc_tags.bId = sc_bookmarks.bId AND sc_tags.tag = &#34;tag_des_signets_à_supprimer&#34;]]></description>
			<content:encoded><![CDATA[<p><code><br />
DELETE sc_bookmarks,<br />
sc_tags FROM sc_tags,<br />
sc_bookmarks WHERE sc_tags.bId = sc_bookmarks.bId AND sc_tags.tag = &quot;tag_des_signets_à_supprimer&quot;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2009/03/08/supprimer-en-masse-des-signets-dans-scuttle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Liste des paquets installés classés par taille</title>
		<link>http://www.allprog.fr/2009/03/08/liste-des-paquets-installes-classes-par-taille/</link>
		<comments>http://www.allprog.fr/2009/03/08/liste-des-paquets-installes-classes-par-taille/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 21:10:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/programmation/liste-des-paquets-installes-classes-par-taille/</guid>
		<description><![CDATA[dpkg-query -W &#8211;showformat=&#8217;${Installed-Size} ${Package}n&#8217; &#124; sort -n [administration] [bash] [debian] [linux]]]></description>
			<content:encoded><![CDATA[<p>dpkg-query -W &#8211;showformat=&#8217;${Installed-Size} ${Package}n&#8217; | sort -n <a href="http://www.posteet.com/tags/administration">[administration]</a>  <a href="http://www.posteet.com/tags/bash">[bash]</a>  <a href="http://www.posteet.com/tags/debian">[debian]</a>  <a href="http://www.posteet.com/tags/linux">[linux]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2009/03/08/liste-des-paquets-installes-classes-par-taille/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Réinitialiser le mot de passe d&#8217;un utilisateur mediawiki</title>
		<link>http://www.allprog.fr/2009/03/08/reinitialiser-le-mot-de-passe-dun-utilisateur-mediawiki-2/</link>
		<comments>http://www.allprog.fr/2009/03/08/reinitialiser-le-mot-de-passe-dun-utilisateur-mediawiki-2/#comments</comments>
		<pubDate>Sun, 08 Mar 2009 21:09:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[astuces]]></category>

		<guid isPermaLink="false">http://www.allprog.fr/programmation/reinitialiser-le-mot-de-passe-dun-utilisateur-mediawiki-2/</guid>
		<description><![CDATA[UPDATE user SET user_password = MD5(CONCAT(user_id, &#8216;-&#8217;, MD5(&#8216;somepass&#8217;))) WHERE user_name = &#8216;someuser&#8217;; [administration] [mediawiki] [mysql]]]></description>
			<content:encoded><![CDATA[<p>UPDATE user SET user_password = MD5(CONCAT(user_id, &#8216;-&#8217;, MD5(&#8216;somepass&#8217;))) WHERE user_name = &#8216;someuser&#8217;; <a href="http://www.posteet.com/tags/administration">[administration]</a>  <a href="http://www.posteet.com/tags/mediawiki">[mediawiki]</a>  <a href="http://www.posteet.com/tags/mysql">[mysql]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.allprog.fr/2009/03/08/reinitialiser-le-mot-de-passe-dun-utilisateur-mediawiki-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

