{% extends "base.html" %} {% block title %}IP Management - Admin Panel{% endblock %} {% block content %}

IP Management

Blocked IPs

{{ total_blocked_ips }}

Bot Attempts

{{ total_bot_attempts }}

Recent Blocks

{{ recent_blocks|length }}

AI Decisions

{{ total_ai_decisions }}

Blocked IP Addresses
{% if blocked_ips %}
{% for blocked_ip in blocked_ips %} {% endfor %}
IP Address Reason Bot Attempts Blocked At Actions
{{ blocked_ip.ip_address }} {{ blocked_ip.reason }} {{ blocked_ip.bot_attempts }} {{ blocked_ip.blocked_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% else %}
No blocked IPs

All IP addresses are currently allowed.

{% endif %}
AI-AntiBot Decision Logs
{% if ai_decisions %}
{% for decision in ai_decisions %} {% endfor %}
IP Address Decision Confidence Webapp Reason Time
{{ decision.ip_address }} {% if decision.decision_type == 'block' %} Block {% elif decision.decision_type == 'suspicious' %} Suspicious {% else %} Allow {% endif %}
{{ (decision.confidence * 100)|round }}%
{% if decision.deployed_app %} {{ decision.deployed_app.app_template.name }} {% else %} Unknown {% endif %} {{ decision.ai_reason }} {{ decision.created_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% else %}
No AI decisions yet

AI-AntiBot system is ready. Decisions will appear here when webapps have Cloudflare disabled.

{% endif %}
Recent Bot Attempts
{% if recent_bot_attempts %}
{% for attempt in recent_bot_attempts %} {% endfor %}
IP Address Deployment Time
{{ attempt.ip_address }} {% if attempt.deployed_app %} {{ attempt.deployed_app.app_template.name }} {% else %} Unknown {% endif %} {{ attempt.created_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% else %}
No recent bot attempts

Your security system is working perfectly.

{% endif %}
{% endblock %}