Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Aldaviva committed Jul 3, 2023
1 parent e75ccdc commit 395feca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Fail2Ban4Win/Fail2Ban4Win.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
<Version>7.0.0</Version>
</PackageReference>
<PackageReference Include="NLog">
<Version>5.2.0</Version>
<Version>5.2.1</Version>
</PackageReference>
<PackageReference Include="WindowsFirewallHelper">
<Version>2.2.0.86</Version>
Expand Down
2 changes: 1 addition & 1 deletion Fail2Ban4Win/Services/BanManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ private void ban(IPNetwork subnet, SubnetFailureHistory clientFailureHistory) {
.ContinueWith(result => LOGGER.Error(result.Exception, "Exception unbanning subnet {0}", subnet), cancellationTokenSource.Token, TaskContinuationOptions.OnlyOnFaulted,
TaskScheduler.Current);

LOGGER.Info("Added Windows Firewall rule to block inbound traffic from {0}, which will be removed at {1:O} (in {2:g})", subnet, now + unbanDuration, configuration.banPeriod);
LOGGER.Info("Added Windows Firewall rule to block inbound traffic from {0}, which will be removed at {1:O} (in {2:g})", subnet, now + unbanDuration, unbanDuration);

if (!configuration.isDryRun) {
clientFailureHistory.clearFailures();
Expand Down
6 changes: 3 additions & 3 deletions Fail2Ban4Win/packages.lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
},
"NLog": {
"type": "Direct",
"requested": "[5.2.0, )",
"resolved": "5.2.0",
"contentHash": "uYBgseY0m/9lQUbZYGsQsTBFOWrfs3iaekzzYMH6vFmpoOAvV8/bp1XxG/suZkwB5h8nAiTJAp7VENWRDKtKPA=="
"requested": "[5.2.1, )",
"resolved": "5.2.1",
"contentHash": "8H679iScYqXuas/f5CQ/JNRsqui/ENmk4XKWGFpGLomoASRl0vcOkQits01Iquc2ShB52wjjci3LVE8IUnFbxw=="
},
"WindowsFirewallHelper": {
"type": "Direct",
Expand Down

0 comments on commit 395feca

Please sign in to comment.