<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Fail2ban : notifier chaque connexion SSH</title>
	<atom:link href="http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/</link>
	<description>Technologies de l&#039;information ... et plus si affinité</description>
	<lastBuildDate>Tue, 24 Jan 2012 09:40:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Kevin Decherf</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-313</link>
		<dc:creator>Kevin Decherf</dc:creator>
		<pubDate>Fri, 27 Aug 2010 21:30:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-313</guid>
		<description>Heu ok ... Les commentaires n&#039;aiment pas les caractères spéciaux. Pas grave, je modifie directement mon article ...</description>
		<content:encoded><![CDATA[<p>Heu ok &#8230; Les commentaires n&#8217;aiment pas les caractères spéciaux. Pas grave, je modifie directement mon article &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Decherf</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-312</link>
		<dc:creator>Kevin Decherf</dc:creator>
		<pubDate>Fri, 27 Aug 2010 21:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-312</guid>
		<description>Ah oui ok ... Il semble qu&#039;ils ont changé leur fichier ...

Cette regex devrait passer :
Accepted [-/\w]+ for .* from &lt;HOST&gt;</description>
		<content:encoded><![CDATA[<p>Ah oui ok &#8230; Il semble qu&#8217;ils ont changé leur fichier &#8230;</p>
<p>Cette regex devrait passer :<br />
Accepted [-/\w]+ for .* from <host></host></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rei</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-311</link>
		<dc:creator>Rei</dc:creator>
		<pubDate>Fri, 27 Aug 2010 20:24:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-311</guid>
		<description>mwarf mwarf mwarf...
Sous Debian j&#039;ai:
Aug 27 22:17:32 debian sshd[8430]: Accepted password for rei from 10.25.x.x port 59925 ssh2

j&#039;ai donc l&#039;erreur:
ERROR  No &#039;host&#039; group in &#039;Accepted .* for .* from .* port .* ssh2$&#039;

Rien a changé...
D&#039;où vient le &#039;host&#039; ?</description>
		<content:encoded><![CDATA[<p>mwarf mwarf mwarf&#8230;<br />
Sous Debian j&#8217;ai:<br />
Aug 27 22:17:32 debian sshd[8430]: Accepted password for rei from 10.25.x.x port 59925 ssh2</p>
<p>j&#8217;ai donc l&#8217;erreur:<br />
ERROR  No &#8216;host&#8217; group in &#8216;Accepted .* for .* from .* port .* ssh2$&#8217;</p>
<p>Rien a changé&#8230;<br />
D&#8217;où vient le &#8216;host&#8217; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Decherf</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-310</link>
		<dc:creator>Kevin Decherf</dc:creator>
		<pubDate>Fri, 27 Aug 2010 20:10:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-310</guid>
		<description>Oui effectivement, la regex est dépendante de l&#039;OS et de l&#039;outil qui fait les logs.

Exemple sur une CentOS (OVH) :
Aug 27 20:37:33 ns303xxx sshd[246xx]: Accepted password for kdecherf from 90.1.x.x port xx ssh2
La regex devient : Accepted .* for .* from .* port .* ssh2$</description>
		<content:encoded><![CDATA[<p>Oui effectivement, la regex est dépendante de l&#8217;OS et de l&#8217;outil qui fait les logs.</p>
<p>Exemple sur une CentOS (OVH) :<br />
Aug 27 20:37:33 ns303xxx sshd[246xx]: Accepted password for kdecherf from 90.1.x.x port xx ssh2<br />
La regex devient : Accepted .* for .* from .* port .* ssh2$</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rei</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-309</link>
		<dc:creator>Rei</dc:creator>
		<pubDate>Fri, 27 Aug 2010 15:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-309</guid>
		<description>Salut !

Après avoir suivi ce tuto, je ne reçois pas de mail, mais j&#039;ai l&#039;erreur suivante:

ERROR  No &#039;host&#039; group in &#039;Accepted .* for .* from  .*$&#039;

Je tourne avec Debian, une idée ?</description>
		<content:encoded><![CDATA[<p>Salut !</p>
<p>Après avoir suivi ce tuto, je ne reçois pas de mail, mais j&#8217;ai l&#8217;erreur suivante:</p>
<p>ERROR  No &#8216;host&#8217; group in &#8216;Accepted .* for .* from  .*$&#8217;</p>
<p>Je tourne avec Debian, une idée ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aliel</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-267</link>
		<dc:creator>aliel</dc:creator>
		<pubDate>Wed, 26 Aug 2009 13:11:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-267</guid>
		<description>c&#039;est ok merci,

en faite il faut mettre

fromt   = Fail2Ban 
servert = localhost
serveript = 127.0.0.1
emailt  = Me 

dans la section [DEFAULT] pour que les variable soit visible

# The DEFAULT allows a global definition of the options. They can be override
# in each jail afterwards.

Merci encore</description>
		<content:encoded><![CDATA[<p>c&#8217;est ok merci,</p>
<p>en faite il faut mettre</p>
<p>fromt   = Fail2Ban<br />
servert = localhost<br />
serveript = 127.0.0.1<br />
emailt  = Me </p>
<p>dans la section [DEFAULT] pour que les variable soit visible</p>
<p># The DEFAULT allows a global definition of the options. They can be override<br />
# in each jail afterwards.</p>
<p>Merci encore</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Decherf</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-266</link>
		<dc:creator>Kevin Decherf</dc:creator>
		<pubDate>Wed, 26 Aug 2009 12:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-266</guid>
		<description>&lt;a href=&quot;#comment-265&quot; rel=&quot;nofollow&quot;&gt;@aliel &lt;/a&gt; 
Salut,
Assure-toi d&#039;avoir bien suivi &lt;a href=&quot;http://blog.kdecherf.com/2009/03/27/fail2ban-email-alerte-facon-nagios/&quot; rel=&quot;nofollow&quot;&gt;ce billet&lt;/a&gt;.
Sinon niveau configuration j&#039;ai Python 2.5.6 et Fail2ban 0.8.0.</description>
		<content:encoded><![CDATA[<p><a href="#comment-265" rel="nofollow">@aliel </a><br />
Salut,<br />
Assure-toi d&#8217;avoir bien suivi <a href="http://blog.kdecherf.com/2009/03/27/fail2ban-email-alerte-facon-nagios/" rel="nofollow">ce billet</a>.<br />
Sinon niveau configuration j&#8217;ai Python 2.5.6 et Fail2ban 0.8.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aliel</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-265</link>
		<dc:creator>aliel</dc:creator>
		<pubDate>Wed, 26 Aug 2009 12:25:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-265</guid>
		<description>salut, il est très bien ton tuto mais chez moi j&#039;ai une erreur, voici la stack:

aliel@xxxxx:~$ sudo /etc/init.d/fail2ban restart                        
 * Restarting authentication failure monitor fail2ban                                                                                                        Traceback (most recent call last):                                                                                                                           
  File &quot;/usr/bin/fail2ban-client&quot;, line 401, in                                                                                                      
    if client.start(sys.argv):                                                                                                                               
  File &quot;/usr/bin/fail2ban-client&quot;, line 370, in start                                                                                                        
    return self.__processCommand(args)                                                                                                                       
  File &quot;/usr/bin/fail2ban-client&quot;, line 180, in __processCommand                                                                                             
    ret = self.__readConfig()                                                                                                                                
  File &quot;/usr/bin/fail2ban-client&quot;, line 375, in __readConfig                                                                                                 
    ret = self.__configurator.getOptions()                                                                                                                   
  File &quot;/usr/share/fail2ban/client/configurator.py&quot;, line 65, in getOptions                                                                                  
    return self.__jails.getOptions(jail)                                                                                                                     
  File &quot;/usr/share/fail2ban/client/jailsreader.py&quot;, line 64, in getOptions
    ret = jail.getOptions()
  File &quot;/usr/share/fail2ban/client/jailreader.py&quot;, line 70, in getOptions
    self.__opts = ConfigReader.getOptions(self, self.__name, opts)
  File &quot;/usr/share/fail2ban/client/configreader.py&quot;, line 84, in getOptions
    v = self.get(sec, option[1])
  File &quot;/usr/lib/python2.5/ConfigParser.py&quot;, line 525, in get
    return self._interpolate(section, option, value, d)
  File &quot;/usr/lib/python2.5/ConfigParser.py&quot;, line 593, in _interpolate
    self._interpolate_some(option, L, rawval, section, vars, 1)
  File &quot;/usr/lib/python2.5/ConfigParser.py&quot;, line 625, in _interpolate_some
    option, section, rest, var)
ConfigParser.InterpolationMissingOptionError: Bad value substitution:
        section: [ssh-notify]
        option : action
        key    : emailt
        rawval : , from=%(fromt)s, server=%(servert)s, serverip=%(serveript)s]

---------------

si ca te dit quelque chose ... merci</description>
		<content:encoded><![CDATA[<p>salut, il est très bien ton tuto mais chez moi j&#8217;ai une erreur, voici la stack:</p>
<p>aliel@xxxxx:~$ sudo /etc/init.d/fail2ban restart<br />
 * Restarting authentication failure monitor fail2ban                                                                                                        Traceback (most recent call last):<br />
  File &#8220;/usr/bin/fail2ban-client&#8221;, line 401, in<br />
    if client.start(sys.argv):<br />
  File &#8220;/usr/bin/fail2ban-client&#8221;, line 370, in start<br />
    return self.__processCommand(args)<br />
  File &#8220;/usr/bin/fail2ban-client&#8221;, line 180, in __processCommand<br />
    ret = self.__readConfig()<br />
  File &#8220;/usr/bin/fail2ban-client&#8221;, line 375, in __readConfig<br />
    ret = self.__configurator.getOptions()<br />
  File &#8220;/usr/share/fail2ban/client/configurator.py&#8221;, line 65, in getOptions<br />
    return self.__jails.getOptions(jail)<br />
  File &#8220;/usr/share/fail2ban/client/jailsreader.py&#8221;, line 64, in getOptions<br />
    ret = jail.getOptions()<br />
  File &#8220;/usr/share/fail2ban/client/jailreader.py&#8221;, line 70, in getOptions<br />
    self.__opts = ConfigReader.getOptions(self, self.__name, opts)<br />
  File &#8220;/usr/share/fail2ban/client/configreader.py&#8221;, line 84, in getOptions<br />
    v = self.get(sec, option[1])<br />
  File &#8220;/usr/lib/python2.5/ConfigParser.py&#8221;, line 525, in get<br />
    return self._interpolate(section, option, value, d)<br />
  File &#8220;/usr/lib/python2.5/ConfigParser.py&#8221;, line 593, in _interpolate<br />
    self._interpolate_some(option, L, rawval, section, vars, 1)<br />
  File &#8220;/usr/lib/python2.5/ConfigParser.py&#8221;, line 625, in _interpolate_some<br />
    option, section, rest, var)<br />
ConfigParser.InterpolationMissingOptionError: Bad value substitution:<br />
        section: [ssh-notify]<br />
        option : action<br />
        key    : emailt<br />
        rawval : , from=%(fromt)s, server=%(servert)s, serverip=%(serveript)s]</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>si ca te dit quelque chose &#8230; merci</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Decherf&#8217;s blog &#187; Recevoir ses alertes Fail2ban sur Twitter</title>
		<link>http://blog.kdecherf.com/2009/06/15/fail2ban-notifier-chaque-connexion-ssh/comment-page-1/#comment-243</link>
		<dc:creator>Kevin Decherf&#8217;s blog &#187; Recevoir ses alertes Fail2ban sur Twitter</dc:creator>
		<pubDate>Mon, 22 Jun 2009 22:40:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.kdecherf.com/?p=731#comment-243</guid>
		<description>[...] Fail2ban : notifier chaque connexion SSH [...]</description>
		<content:encoded><![CDATA[<p>[...] Fail2ban : notifier chaque connexion SSH [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

