MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / fits

Function fits

network_diagnostics.py:1147–1151  ·  view source on GitHub ↗
(mtu)

Source from the content-addressed store, hash-verified

1145 seen_probe.add(src)
1146 findings.append({'code': 'invalid_probe_reply', 'severity': 'medium',
1147 'mac': src})
1148 reasons.append(f"{src} sent an ARP reply claiming sender IP 0.0.0.0 "
1149 "— malformed reply to an address-probe")
1150 bump('suspicious')
1151 sip = e['sender_ip']
1152 try:
1153 bad = sip and (ipaddress.ip_address(sip).is_multicast or sip == '255.255.255.255')
1154 except ValueError:

Callers 1

do_pmtuFunction · 0.85

Calls 1

_runFunction · 0.85

Tested by

no test coverage detected