mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 10:38:20 +00:00
Ensure TGS req does not stomp out AP data
This commit is contained in:
parent
832f6d34b4
commit
68e3f0d96a
1 changed files with 10 additions and 3 deletions
|
@ -164,9 +164,16 @@ event krb_tgs_request(c: connection, msg: KDC_Request) &priority=5
|
|||
return;
|
||||
|
||||
local info: Info;
|
||||
info$ts = network_time();
|
||||
info$uid = c$uid;
|
||||
info$id = c$id;
|
||||
|
||||
if ( !c?$krb )
|
||||
{
|
||||
info$ts = network_time();
|
||||
info$uid = c$uid;
|
||||
info$id = c$id;
|
||||
}
|
||||
else
|
||||
info = c$krb;
|
||||
|
||||
info$request_type = "TGS";
|
||||
info$service = msg$service_name;
|
||||
if ( msg?$from ) info$from = msg$from;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue