Skip to content

Commit e4248e9

Browse files
authored
Merge branch 'main' into dev
2 parents 32f6cea + 7f31ce1 commit e4248e9

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,4 +225,4 @@ vendor/pwndrop/pwndrop/
225225
images/.$InfraGuard Infrastructure Diagram.drawio.bkp
226226
.planning/*
227227
.claude
228-
.infraguard-deploy
228+
.infraguard-deploy

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ InfraGuard sits between the internet and your C2 teamserver, validating every in
4343

4444
## Installation Guide
4545

46-
Check out the [Wiki Page](https://github.com/Whispergate/InfraGuard/wiki/3.-Installation#installation) for installation
46+
Check out the [Wiki Page](https://github.com/Whispergate/InfraGuard/wiki/03.-Installation) for installation
4747

4848
## CLI Reference
4949

infraguard/intel/manager.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ def __init__(self, config: IntelConfig):
7676
# Enrich whitelists with GeoIP/ASN data
7777
self._enrich_whitelists()
7878

79+
# Enrich whitelists with GeoIP/ASN data
80+
self._enrich_whitelists()
81+
7982
log.info(
8083
"intel_manager_ready",
8184
blocklist_size=self.blocklist.size,

infraguard/ui/api/auth.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ def _record_failed_attempt(ip: str) -> int:
4343

4444

4545
SESSION_COOKIE = "ig_session"
46+
_SESSION_TTL = 86400 # 24 hours
47+
_MAX_SESSIONS = 1000
4648

4749

4850
def _token_hash(token: str) -> str:

0 commit comments

Comments
 (0)