Re: F15: fail2ban not in iptables status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 3, 2011 at 5:17 PM, sguazt <marco.guazzone@xxxxxxxxx> wrote:
> On Fri, Jun 3, 2011 at 4:58 PM, Arthur Dent <misc.lists@xxxxxxxxxxxxxxxx> wrote:
>> On Fri, 2011-06-03 at 16:25 +0200, sguazt wrote:
>>> On Fri, Jun 3, 2011 at 3:49 PM, Arthur Dent <misc.lists@xxxxxxxxxxxxxxxx> wrote:
>>> > On Fri, 2011-06-03 at 09:08 -0400, Mike Williams wrote:
>>> >> On Fri, Jun 3, 2011 at 4:05 AM, sguazt <marco.guazzone@xxxxxxxxx>
>>> >> wrote:
>>> >>         On Sun, May 29, 2011 at 3:30 PM, sguazt
>>> >>         <marco.guazzone@xxxxxxxxx> wrote:
>>> >>
>>> >>         Hi,
>>> >>         Still have problems. Under /var/log/messages I've this
>>> >>         message:
>>> >>
>>> >>         fail2ban.comm   : WARNING Invalid command: ['add',
>>> >>         'ssh-iptables', 'auto']
>>> >>
>>> >>         Don't know if it is related to my problem.
>>> >>
>>> >>         Anyway, I am the only one that has this problem (or that runs
>>> >>         fail2ban ;) )?
>>> >
>>> > Yes I had this exact problem.
>>> >
>>> > It's an SELinux problem. Put SELinux into permissive mode
>>> > # setenforce 0
>>> > and then restart F2B. It should start up, but you'll get a bunch of SEL
>>> > AVCs. From these you can build a policy and turn SEL back to Enforcing.
>>> >
>>> > F2B and SEL have always caused me problems. With the help of the selinux
>>> > mailing list I once tried to get to the bottom of it. Now I just give up
>>> > and create a policy allowing everything that audit2allow says it
>>> > needs...
>>> >
>>>
>>> Mike and Arthur, thank you for your feedback.
>>>
>>> Under F14, if I'm not wrong, SEL did not cause problems to fail2ban.
>>>
>>> Arthur, I don't know how to create such a policy. Could you tell me how?
>>
>> I don't know if this is the best way, but this is how I do it:
>>
>> I'm assuming you have the SELinux troubleshooting tools installed (I
>> think they are installed by default - do you get SELinux alerts?)
> [cut]
>>
>>
>> Hope that helps
>>
>
> Thank you so much!!
> I'll give it a try later.
>

For those interested, there are two bug reports on bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=669966
https://bugzilla.redhat.com/show_bug.cgi?id=697223


Regards,

-- Marco
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux