Hi, Do you know what version of python I should run this on? I've tried reinstalling a few times and it just stops. I've never seen this before.
Thanks, Rich -----Original Message----- From: Christoph Theis [mailto:[email protected]] Sent: 06 December 2014 11:47 To: Richard Mealing; [email protected] Subject: Re: [Fail2ban-users] FW: Fail2ban on freebsd10 Hi! I checked on my machine and fail2ban is working and I can't see your errors in my log. Maybe fail2ban people can tell us more where that error of yours is coming from or what it means. Best regards Christoph Am 05.12.2014 um 13:32 schrieb Richard Mealing: > > Hi users, > > I'm trying to run fail2ban on freebsd10 but it keeps stopping. I am > using ipfw tables (table 1) and I am just using sendmail-reject as a > jail. > > I've also tried my own rules. It works for about a minute, then it stops. > > I wondered if anyone had any clues to what I might be doing wrong. > I've simply just installed it and enabled the jail for > sendmail-reject, as far as I can tell. > > I am seeing the following in a debug - > > Traceback (most recent call last): > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/actions.py", > line 279, in __checkBan > > action.ban(aInfo.copy()) > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/action.py", > line 297, in ban > > if not self._processCmd(self.actionban, aInfo): > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/action.py", > line 507, in _processCmd > > realCmd = self.replaceTag(cmd, aInfo) > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/action.py", > line 458, in replaceTag > > aInfo = cls.substituteRecursiveTags(aInfo) > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/action.py", > line 386, in substituteRecursiveTags > > value = str(tags[tag]) > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/action.py", > line 78, in __getitem__ > > return value() > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/actions.py", > line 272, in <lambda> > > jail.database.getBansMerged(ip=ip).getAttempt() > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/database.py", > line 467, in getBansMerged > > results = list(self._getBans(ip=ip, jail=jail, bantime=bantime)) > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/database.py", > line 57, in wrapper > > return f(self, self._db.cursor(), *args, **kwargs) > > File > "/usr/local/lib/python2.7/site-packages/fail2ban/server/database.py", > line 406, in _getBans > > return cur.execute(query, queryArgs) > > InterfaceError: Error binding parameter 0 - probably unsupported type. > > Thanks for any advice, > > Rich > > > > ---------------------------------------------------------------------- > -------- Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT > Server from Actuate! Instantly Supercharge Your Business Reports and > Dashboards with Interactivity, Sharing, Native Excel Exports, App > Integration & more Get technology previously reserved for > billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg. > clktrk > > > _______________________________________________ > Fail2ban-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/fail2ban-users ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
