Ninlil negotiates GSS-TSIG keys over TKEY and verifies and signs gss-tsig messages #80
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
Reference
lantea-one/ninlil#80
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Windows DCs and clients, and
nsupdate -g/samba_dnsupdate, use RFC 3645.What changes
DynamicUpdateQueryResolverin resolver order (src/dotnet/src/Ninlil.Dns.Server.Authoritative/Extension/ServiceCollectionAuthoritativeExtension.cs:98-100):TsigServiceaccepts algorithmgss-tsig(RFC 3645 §2) for a key name in the context store. It verifies withVerifyMicover the digest input of RFC 8945 §4.3 and signs replies withGetMic. Check during #79 whether current Windows clients send another algorithm name.DnsTransactionSignature(src/dotnet/src/Ninlil.Dns.Server.Core/Resolution/DnsTransactionSignature.cs:26) gainsstring Principal. It is null for HMAC keys.Gssclass insideTsigServiceOptions(src/dotnet/src/Ninlil.Dns.Server.Tsig/Options/TsigServiceOptions.cs:13), with noSectionNameof its own. Properties:Enable(false),KeytabPath,ServicePrincipalName,MaxContexts. UpdateENVIRONMENT.mdand recount the totals.Acceptance
IGssSecurityContext, a TKEY mode-3 query gets a reply with the fake's output token, and a following UPDATE signed with gss-tsig reaches the resolver withIsVerifiedandPrincipalset.nsupdate -gfrom a container with a kinit'd user negotiates and sends an update. Until #82 the update gets REFUSED; the TKEY exchange succeeds.src/dotnet/tests/Ninlil.Dns.Server.Tsig.Testsandsrc/dotnet/tests/Ninlil.Dns.Server.Authoritative.Testspass.Ninlil.Dns.Server.Corechanged).Source
RFC 2930 §4.2; RFC 3645 §2, §3.1, §3.2 and §4; RFC 8945 §4.3 and §5.3.2.