{% extends "admin/base.html" %} {% block content %}

Dashboard - Resumen del Sistema

Total ACLs

{% if status.errors %} {% set ns = namespace(shown=False) %}
{% for e in status.errors %} {% if 'ACL' in e or 'acl' in e %}
{{ e }}
{% set ns.shown = True %} {% endif %} {% endfor %} {% if not ns.shown %}
{{ status.errors[0] }}
{% endif %}
{% else %}

{{ stats.total_acls }}

{% endif %}

Delay Pools

{% if status.errors %} {% set ns2 = namespace(shown=False) %}
{% for e in status.errors %} {% if 'squid.conf' in e or 'Configuration file' in e or 'read permission' in e or 'write permission' in e or 'read permissions' in e or 'write permissions' in e %}
{{ e }}
{% set ns2.shown = True %} {% endif %} {% endfor %} {% if not ns2.shown %}
{{ status.errors[0] }}
{% endif %}
{% else %}

{{ stats.total_delay_pools }}

{% endif %}

Reglas HTTP

{% if status.errors %} {% set ns3 = namespace(shown=False) %}
{% for e in status.errors %} {% if 'squid.conf' in e or 'Configuration file' in e or 'read permission' in e or 'write permission' in e or 'not a regular file' in e or 'Expected file named' in e %}
{{ e }}
{% set ns3.shown = True %} {% endif %} {% endfor %} {% if not ns3.shown %}
{{ status.errors[0] }}
{% endif %}
{% else %}

{{ stats.total_http_rules }}

{% endif %}
{% if ssl_bump.enabled %}
{% else %}
{% endif %}

SSL Bump

{% if ssl_bump.enabled %}

Activo

{% if ssl_bump.mode %}

{{ ssl_bump.mode }}

{% endif %} {% else %}

Inactivo

{% endif %}
{% if not status.errors and stats.total_acls == 0 and stats.total_delay_pools == 0 and stats.total_http_rules == 0 %}

No se encontraron configuraciones

No se han detectado ACLs, reglas HTTP ni delay pools en tu configuración de Squid.

¿Tu configuración ya está dividida en módulos?

Si ya tienes tu configuración organizada en archivos separados (por ejemplo: acls.conf, http_access.conf, delay_pools.conf), SquidStats puede leerla directamente sin necesidad de unificarla.

{% endif %}

Acciones Rápidas

{% if status.errors %}

Editar Configuración

Modificar archivo squid.conf (deshabilitado)

Agregar ACL

Crear nueva regla de acceso (deshabilitado)

{% else %}

Editar Configuración

Modificar archivo squid.conf

Agregar ACL

Crear nueva regla de acceso

{% endif %}

Ver Logs

Revisar logs del sistema

Reiniciar Squid

Reiniciar el servicio

Estado del Sistema

Servicio Squid
Activo
Configuración
{% if status.errors %} No cargada {% else %} Cargada {% endif %}
SSL Bump (MITM)
{% if ssl_bump.enabled %} Activo {% if ssl_bump.mode %} {{ ssl_bump.mode }} {% endif %} {% if ssl_bump.cert %}
cert: {{ ssl_bump.cert }} {% endif %} {% else %} Inactivo {% endif %}
{% endblock %}