소스 정보
- 저장소
- lukemcqueen/hermes-cortex
- 최근 소스 활동
- 2026년 8월 1일 20:20
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 1
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/lukemcqueen/hermes-cortex --skill sync-allow-ips-to-fail2ban명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Cross-server agent health monitoring using binary status vectors — deploy health endpoints on each agent, poll from orchestrator, alert on state transitions.
Wire a self-hosted Langfuse instance to Hermes Agent — generate API keys, configure env vars, enable the bundled plugin, install SDK, and verify traces flow.
Use before enforcement code changes or shared-repo commits.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | sync-allow-ips-to-fail2ban |
| version | 1.0.0 |
| description | Sync IPs from allow-ips-manual.conf to fail2ban ignoreip |
User says "add/remove an allow IP" or "sync IPs to fail2ban".
Script lives at ~/.hermes/scripts/local-sync-allow-ips-to-fail2ban.sh:
#!/bin/bash
# Reads IPs from /etc/nginx/allow-ips-manual.conf, strips 127.0.0.1/::1,
# updates ignoreip in /etc/fail2ban/jail.local, reloads fail2ban.
ALLOW_FILE="/etc/nginx/allow-ips-manual.conf"
JAIL_LOCAL="/etc/fail2ban/jail.local"
# Extract IPs/CIDRs (skip comments, strip "allow " and ";")
IPS=$(grep -oP 'allow \K[^;]+' "$ALLOW_FILE" | grep -v '^127\.0\.0\.1$' | grep -v '^::1$' | tr '\n' ' ')
# Build new ignoreip line
NEW_IGNORE="ignoreip = 127.0.0.1/8 ::1 $IPS"
# Replace in jail.local
sed -i "s/^ignoreip = .*/$NEW_IGNORE/" "$JAIL_LOCAL"
# Reload fail2ban
fail2ban-client reload
Make it executable:
chmod +x ~/.hermes/scripts/local-sync-allow-ips-to-fail2ban.sh
Append the IP or CIDR to /etc/nginx/allow-ips-manual.conf (one per line):
allow 203.0.113.45;
allow 198.51.100.0/24;
Then run the sync script to propagate to fail2ban:
bash ~/.hermes/scripts/local-sync-allow-ips-to-fail2ban.sh
Confirm both layers picked up the IP:
# nginx layer — should show the allow line
grep -c "allow 203.0.113.45" /etc/nginx/allow-ips-manual.conf
# fail2ban layer — ignoreip should contain it
grep "^ignoreip" /etc/fail2ban/jail.local
# fail2ban reload succeeded
fail2ban-client status | grep -i "number of jail"
127.0.0.1 or ::1 to the manual file — they're always in ignoreip by construction; adding them is harmless but noisy.allow directives, not raw IPs — the extractor strips the allow prefix and trailing ;. A malformed line (missing ;) silently drops the IP.sed replaces the whole ignoreip line — if jail.local is absent or lacks an ignoreip line, the script no-ops; create the line first with sed -i "s/^ignoreip = .*/ignoreip = 127.0.0.1\/8 ::1/" "$JAIL_LOCAL".fail2ban-client reload has no effect until the next service restart.deploy/nginx/blocked_ips.add — this allow-list flow is the complementary whitelist; keep them separate.threat-defense-pipeline — the blocking side (fail2ban jails + nginx IP blocking)linux-server-hardening — broader server security posture