{# R85.4 (Hani #1 2026-11-20, D1-D5): expected senders - suggested from 30 days of clean traffic, approved one by one; known, never trusted. #} {% set E = expected or {} %}

{{ fresh_tag("security:expected-traffic") }}Expected traffic

Clean for 30 days. Approve the ones you know.{% if E.learned_at %} Learned {{ E.learned_at[:10] }}.{% endif %}

A deviation from an approved network's normal raises a notice and the local AI looks first. Learned again every week; the first suggestions come within the hour after the update. Clean traffic comes from your people (signed in, no failed sign-in), search engines confirmed by their own DNS names, and addresses in your device logs on 10 or more of the last 30 days. Any probe, attack verdict, block, failed sign-in or a network in the attack memory leaves a network out. Approved means known, never trusted: it can still be blocked by you or any rule. Dismissed networks are not suggested again for 90 days.
{% if E.error %}

{{ E.error }} The device logs on the data server were left out this time.

{% endif %} {% for state, title, empty in (('suggested', 'Suggested', 'Nothing to suggest yet.'), ('approved', 'Approved', 'No expected sender approved yet.')) %}

{{ title }} ({{ (E[state] or [])|length }}){% if state == 'suggested' %} {{ fresh_tag("security:expected-actions") }}{% endif %}

{% if E[state] %}
{% if state == 'approved' %}{% endif %} {% for r in E[state] %} {% if state == 'approved' %}{% endif %} {% endfor %}
NetworkOwnerFromDaysLines a dayHours (UTC)Last deviationActions
{{ r.network }}
{{ r.addresses }} address{{ '' if r.addresses == 1 else 'es' }}
{% if r.asn %}AS{{ r.asn }}{% if r.as_name %} {{ r.as_name }}{% endif %}{% endif %}{% if r.holder %}
{{ r.holder }}{% endif %}{% if not (r.asn or r.holder) %}{% endif %}{% if r.country %} ({{ r.country }}){% endif %}
{% for src in r.sources %}{{ {'people': 'your people', 'crawler': 'verified crawler', 'logs': 'device logs'}.get(src, src) }}{% if not loop.last %} · {% endif %}{% endfor %} {{ r.days }} of 30 {{ r.lines_per_day }}{% if r.max_day %} (busiest {{ r.max_day }}){% endif %} {{ r.hours or '—' }}{% if r.deviation %}{{ (r.deviation_at or '')[:16]|replace('T', ' ') }}{% else %}{% endif %}{% if admin %}
Actions ▾
{% if state == 'suggested' %}
{% else %}
{% endif %}
{% endif %}
{% else %}

{{ empty }}

{% endif %} {% endfor %}