• Resolved cymiz

    (@cymiz)


    Hello.
    I wrote code to prevent spam mailing forms on normal websites using the session technique and tested it using my own IP. It worked.
    But this caused my other cms wordpress website that had the Ninja Firewall plugin installed to be affected as well. I can’t access the wordpress admin control panel using the same IP.
    So I solved the problem by using a new internet IP.

    Q. How can I unblock my IP?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author nintechnet

    (@nintechnet)

    NinjaFirewall doesn’t block IP (it doesn’t add them to a blacklist), instead it blocks the request.
    Can you go to “NinjaFirewall > Logs”, and look in the log for the lines that show your IP address and the blocked request, and paste them here (you can anonymize your IP). That will tell us why you were blocked.

    • This reply was modified 9 months, 2 weeks ago by nintechnet.
    Thread Starter cymiz

    (@cymiz)

    1. log not show this ip (xxx.yyy.zzz.178) but show xxx.yyy.zzz.87
    2. wordpress admin panel page display this text ..
      Forbidden
      You don’t have permission to access this resource.
    3. before that , i use this code in to my (another web)
      session_start();
      if (!isset($_SESSION[‘ip_address’])) {
      $_SESSION[‘ip_address’] = $_SERVER[‘REMOTE_ADDR’];
      $_SESSION[‘attempts’] = 0;}
      $_SESSION[‘attempts’]++;
      $max_attempts = 5;
      if ($_SESSION[‘attempts’] >= $max_attempts) { ..

      thanks
    • This reply was modified 9 months, 2 weeks ago by Yui.
    • This reply was modified 9 months, 2 weeks ago by Yui. Reason: obfuscate ip
    Plugin Author nintechnet

    (@nintechnet)

    NinjaFirewall doesn’t display a “Forbidden You don’t have permission to access this resource” message, instead it displays this kind of screen:

    You may be blocked by another application, or the HTTP server.
    Where did you add your code? Inside which file?

    Thread Starter cymiz

    (@cymiz)

    I added code in to the message form for prevent spam by limiting page checking sessions. The form submission file is on another website which is a normal PHP website.

    I think it seemed like detected by a ninjafirewall on another website.
    (I have several websites use wordpress and installed ninijafirewall)

    now i contact hosting , they solve by add this script in to .htaccess all my domain. It’s work ??

    .. Files wp-login.php..
    order deny,allow
    allow from all
    ../Files..

    that is .htaccess problem. but i don not know how it happen.
    maybe i will try that script again – -“

    anyway Thank you for your attentive service and Ninja is the best security I always use. If you have more information, please advise me. Thank you again

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How can I unblock my IP from ninja firewall?’ is closed to new replies.