MCPcopy Index your code
hub / github.com/celzero/firestack / blockA

Method blockA

intra/dnsx/wall.go:150–209  ·  view source on GitHub ↗

blockA blocks the answer if it is blocked by local blocklists. If blocklistStamp is not empty, it resolves them to blocklist names, if valid; and treats as if q was blocked by remote blocklists, effectively skipping local blocks. t, t2 can be nil. if non-nil, they are used to skip local blocks for a

(t, t2 Transport, q, ans *dns.Msg, blocklistStamp string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

forwardMethod · 0.95

Calls 11

getRdnsRemoteMethod · 0.95
getRdnsLocalMethod · 0.95
QNameFunction · 0.92
DFunction · 0.92
VFunction · 0.92
WFunction · 0.92
skipBlockFunction · 0.85
stampToNamesMethod · 0.80
OnDeviceBlockMethod · 0.65
blockAnswerMethod · 0.65

Tested by

no test coverage detected