You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A kept upstream connection can carry one visitor's connection-bound login to another #569
Since #559 the public link router (hub and node) keeps upstream connections per target (connpool::Pool, key local:<port>:<tls> or lane:<lease>:<port>:<tls>), and a static service's forward does the same per target (#556). A kept connection serves whichever request goes to that target next, from any visitor.
A service that ties its authentication to the connection (Windows Negotiate/NTLM, as Kestrel and HTTP.sys do by default) then treats a second visitor's request on that connection as the first visitor's authenticated session.
Expected
A connection whose request carried Authorization: Negotiate|NTLM, or whose answer carried WWW-Authenticate: Negotiate|NTLM, is not given back to the pool (as YARP does). Or, at least, the docs of public links and forward say so.
Found in a code review before 0.49.4; niche (connection-bound auth behind a public link), not reproduced.
Activity
fix: a connection-bound login is never given to another request