Profile Details

Toggle Sidebar
Recent updates
  • Nick Howitt wrote:

    Yes, I know.

    Why not just use my changes to /etc/pam.d/password-auth-ac (back it up first):I've been running with it since 2012!


    will this still work with ClearOS 7.4 and How does it start when file is changed
    will I have to run some code? before it is it put into action the new file

    Claus

  • Claus
    Claus replied to a discussion, Attack Detector how to test it

    Nick Howitt wrote:

    ipset is not a service. It is part of the iptables firewall. With fail2ban/app-attack-detector there is no need to save the sets as fail2ban will rebuild them each time it starts from its own database.

    If you want to save your own sets you can with something like:You can then restore it with:File names are up to you. This example saves a set called "blocklist".

    If you want to load an ipset set on boot up, it is best to force the loading of the module by adding a file /etc/sysconfig/modules/ip_set.modules and in it put:or the restore may fail if ClearOS tries to run it before ipset has loaded (this is a current bug in app-attack-detector which will be fixed in 7.4 where they force ip_set to load as part of the firewall start up). You may need to make the file executable.



    Thank you again for a quick answers, I will then wait for the Clearos 7,4 is coming out I don't reboot very often
    I will use the ipset restore for now and see how it will work with 7,4

    Claus

  • Claus
    Claus updated their profile
  • Claus
    Claus replied to a discussion, Attack Detector how to test it

    Hi

    Thank you I have find out it is working now with you help
    but I can't restart ipset service like I can restart firewall
    is this not on ClearOS 7,3?
    and if it is not how can I install it, I have save the ipset and want it to restore when reboot
    I have move my block ip networks from iptabels to ipset I think this is the way to go

    Claus

  • Claus
    Claus replied to a discussion, Attack Detector how to test it

    Nick Howitt wrote:

    Have a look in /var/log/fail2ban.log for detection (generally the "info" messages) and bans ("warning" messages). The postfix-sasl jail should pick up the first but won't ban until it gets 5 attempts in an hour, but these are manually configurable.


    Hi

    Yes I can see that but I also think I could see some in iptabels the drop ip that is in the
    log for fan2ban, but if I run iptabels -L I can't see any drop lines with the ip's in fan2ban log

    Claus

  • Claus
    Claus started a new discussion, Attack Detector how test it

    Attack Detector how test it

    Hi

    I have installed Attack Detector and I don't now if it's will work
    is there a way I can see if it is working, I can see this in the log

    warning: unknown[91.200.12.129]: SASL LOGIN authentication failed: authentication failure
    Oct 12 20:11:15 myxxxxxx postfix/smtpd[1935]: lost connection after AUTH from unknown[91.200.12.129]
    Oct 12 20:11:15 myxxxxxx postfix/smtpd[1935]: disconnect from unknown[91.200.12.129]

    and maybe this is how to see if it's working ?

    Claus

  • Claus
    Claus started a new discussion, Update to PHP 5.6

    Update to PHP 5.6

    Hi
    I have a ClearOS 7.3.0 and I run Joomla
    and now it Joomla wants to have PHP 5.6, on ClearOS 7.3.0 there is only
    PHP 5.4.16
    How can I update to PHP 5.6?

  • Claus

    Hi

    I found a gay with the same problem by a search on google

    I put this on top of the .htaccess file and then it works
    also my rewrite test work now

    Options +SymLinksIfOwnerMatch

    my wordpress site is in /var/www/htlm/web/

    and the .htaccess file is now

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    Options +SymLinksIfOwnerMatch
    RewriteEngine On
    RewriteBase /web/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /web/index.php [L]
    </IfModule>
    # END WordPress

    Claus

  • Claus
    Claus started a new discussion, mod_rewrite don't work I get forbidden

    mod_rewrite don't work I get forbidden

    hi

    when I make a .htaccess file with mod_rewrite rule I get forbidden
    it is clearOS 7 and the mod_rewrite is on
    so I can't get wordpress tol work with permalink

    Claus

  • Claus
    Claus started a new discussion, message_size_limit postfix

    message_size_limit postfix

    Hi

    I want to set my message_size_limit=209700000 = 200mb
    how can I do this claros can only go to 100mb
    can I run this code
    postconf -e message_size_limit=209700000

    Claus