Bound the IP lookup's address list and name lookups (closes #110) #134

Merged
clawbot merged 1 commits from issue-110-ip-lookup-bounds into next 2026-10-20 02:23:50 +02:00
1 Commits
Author SHA1 Message Date
sneak 10464cfe8b Bound the IP lookup's address list and name lookups (closes #110)
check / check (push) Waiting to run
An IP lookup took any number of addresses and host names, gave each PTR
lookup until the request's 30-second limit, and looked up and named
every address a host name resolved to. It now answers 400 for more than
10 entries, or more than 10 addresses once the names are resolved,
before reading the database. Each PTR lookup gets 2 seconds; one that
runs out leaves the address's result without PTR names. Of a host
name's addresses only public ones are kept: global unicast and not
private. A name with none is reported as having no public address. The
tests give the server a fake resolver.

Model: opus-5-5
2026-10-20 00:16:05 +00:00