Files
Flypaper/src/Flypaper.Core/Networking/NullKnownIpLookup.cs
T
TomandClaude Sonnet 5.5 4b946453fb
Build and deploy / build (push) Successful in 1m33s
Build and deploy / deploy (push) Successful in 20s
Answer first visits to / and favicon with an instant WordPress lure
Unknown IPs get a small WordPress-looking page or icon and are not held;
later requests are trapped as before. Switch: Flypaper__Drip__Lure.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-21 12:57:29 +01:00

10 lines
263 B
C#

using System.Net;
using Flypaper.Core.Abstractions;
namespace Flypaper.Core.Networking;
internal sealed class NullKnownIpLookup : IKnownIpLookup
{
public ValueTask<bool> HasSeenAsync(IPAddress address, CancellationToken ct) => ValueTask.FromResult(true);
}