Skip to content

Commit

Permalink
Retransmissed packets processing improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinYan committed Mar 9, 2021
1 parent eee1943 commit df129fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion MultiFactor.Radius.Adapter/Core/RadiusPacket.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ internal void AddAttributeObject(String name, Object value)
public string CreateUniqueKey(IPEndPoint remoteEndpoint)
{
var base64Authenticator = Authenticator.Base64();
return $"{Code.ToString("d")}:{remoteEndpoint}:{UserName}:{base64Authenticator}";
return $"{Code.ToString("d")}:{Identifier}:{remoteEndpoint}:{UserName}:{base64Authenticator}";
}
}
}
2 changes: 1 addition & 1 deletion MultiFactor.Radius.Adapter/Server/RadiusServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ internal void ParseAndProcess(byte[] packetBytes, IPEndPoint remoteEndpoint)

if (_cacheService.IsRetransmission(requestPacket, remoteEndpoint))
{
_logger.Debug("Retransmissed request, ignoring");
_logger.Debug($"Retransmissed request from {remoteEndpoint} Id={requestPacket.Identifier}, ignoring");
return;
}

Expand Down

0 comments on commit df129fe

Please sign in to comment.