PTah
0399a6d384
fix: manifest SHA256 from git blobs (CRLF/LF) — release 2.2.2-SAC
...
Manifest was hashed from Windows working tree while Linux checkout uses
git blobs; verify failed with sha256 mismatch. build-release-manifest.sh
now hashes :index/HEAD; .gitattributes enforces LF for agent scripts.
2026-07-08 12:00:51 +10:00
PTah
6df83f1838
feat: release 2.2.1-SAC — phase 2 manifest verify and quiet SAC updates
...
Pinned GIT_REF/verify, release manifest, no blind reset --hard; suppress
lifecycle and watchdog Telegram during updater; healthcheck via json.dumps.
2026-07-08 11:48:34 +10:00
PTah
275d305d62
feat: watchdog Telegram shows server name (2.1.9-SAC)
...
Add shared server label helpers in ssh-monitor-perms.sh; roadmap marks
phase 1 done and phase 2.2.0 as next release.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 11:28:57 +10:00
PTah
2048162057
feat: release 2.1.8-SAC — security phase 1 and SAC-first update hardening
...
Updater applies chmod/chown on config, spool and state paths on every run.
SAC is the primary update path; optional cron uses the same behavior.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-08 09:44:24 +10:00
PTah
141a841f6f
docs: sync README version 2.1.6-SAC; add push-github-snapshot.sh
2026-07-07 20:27:44 +10:00
PTah
0a80effd77
docs: sync README version with version.txt 2.1.5-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-24 14:14:43 +10:00
PTah
65da13363d
docs: 2.1.1-SAC README and SAC REPO_URL override
...
Описано, что SSH-обновление из SAC передаёт REPO_URL/GIT_BRANCH из настроек агентов.
2026-06-20 20:03:58 +10:00
PTah
bffc7f3245
docs: concise README with SAC integration and version 2.1.0-SAC
2026-06-20 19:02:59 +10:00
PTah
9b454c3270
chore: bump version to 2.1.0-SAC
2026-06-19 23:42:12 +10:00
PTah
577db1da47
chore(docs): sync repository URLs for kalinamall mirror
2026-06-16 11:37:52 +10:00
PTah
2956d14d94
chore(docs): GitHub repo URLs, remove .cursor from git, mirror scripts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-16 11:36:51 +10:00
PTah
df77d8763f
chore: bump release to 2.0.0-SAC
...
Major version line for NETLOGON deploy upgrades from 1.x agents.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-01 09:05:52 +10:00
PTah
70652bc6cb
feat: Agent version line in daily SSH report (1.2.10-SAC)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 11:28:30 +10:00
PTah
192713d2da
chore: release 1.2.9-SAC (align version.txt and SSH_MONITOR_VERSION)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-31 11:18:58 +10:00
PTah
454a220890
fix: daily report HTML line breaks without double spacing
...
Use single <br> in report_html and document DAILY_REPORT_ENABLED toggle.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-30 09:52:09 +10:00
PTah
3820687310
feat: unify daily SSH report format with SAC; DAILY_REPORT_ENABLED toggle
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-29 17:17:59 +10:00
PTah
eceac58a60
feat: include host.ipv4 in SAC payload and release 1.2.7-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 13:33:40 +10:00
PTah
3e1199e2ec
chore: align ssh monitor and SAC module version 1.2.6-SAC
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-05-28 13:01:51 +10:00
PTah
dd980f0ba6
chore: bump release to 1.2.2-SAC
...
Increase SSH monitor release version used by sac-client payloads and refresh
RU/EN README references to the new version.
2026-05-27 15:53:29 +10:00
PTah
49ea1d2a7d
chore: bump version to 1.2.1-SAC
2026-05-27 14:44:03 +10:00
PTah
8627fdbcec
chore: bump agent version to 1.2.0-SAC
2026-05-27 14:09:35 +10:00
PTah
f1c4adcc13
feat: first deploy via update_ssh_monitor.sh --deploy
...
Add first_deploy.sh wrapper and --deploy mode: git clone, install
ssh-monitor and sac-client, optional config/systemd/updater copy,
console summary and config variable checklist.
2026-05-27 12:36:02 +10:00
PTah
4cb158f30a
fix: always sync sac-client.sh in update_ssh_monitor
...
Copy sac-client.sh on every git pull by checksum, not only when
ssh-monitor binary changes. Restart service when either file updates.
2026-05-27 12:20:14 +10:00
PTah
2c65edf7db
sync: align internal repo with 1.1.3-server-label
...
- REPO_URL points to git.kalinamall.ru
- ssh-monitor.conf may be committed here (secrets); .env still ignored
- Docs note for closed vs public GitHub
2026-05-26 19:34:01 +10:00
PTah
b801cf2385
feat: подпись сервера во всех уведомлениях и документация
...
Добавлены message_ensure_server_line и SERVER_DISPLAY_NAME; версия 1.1.3-server-label.
Гайды по уведомлениям и автообновлению.
2026-05-25 09:23:32 +10:00
Andrey Lutsenko
654822304e
docs: English readme, MIT license, README cleanup
...
- Add readme_eng.md (parallel to README.md)
- Add LICENSE (MIT)
- Refresh README (version, repo table, license section)
2026-05-03 19:44:45 +10:00
ssh-monitor
2cf6c145ab
Add ENABLE_IP_BAN mode switch
...
Introduce ENABLE_IP_BAN in config and script.
When set to 0, ssh-monitor works in monitor-only mode (alerts without ipset/iptables bans).
2026-04-16 12:13:27 +10:00
ssh-monitor
b5b37b7e84
Переход автобана на ipset, документация и правки README
...
- ssh-monitor: баны через ipset (hash:ip timeout), одно правило iptables/ip6tables;
нормализация бан-листа (один IP — одна строка), версия 1.1.1-ipset.
- docs/install-prerequisites.ru.md: зависимости и установка пакетов (в т.ч. ipset).
- README: ссылка на docs, установка скрипта/systemd без дублирования apt; пометка про ipset.
- IPSET-NOTES.txt: заметки по развёртыванию ipset.
- ssh-monitor.conf.example: закомментированные переменные IPSET_*.
2026-04-16 11:30:04 +10:00
ssh-monitor
074032b761
README: абзац с ключевыми темами для поиска на GitHub.
2026-04-14 14:16:08 +10:00
ssh-monitor
85730bafb0
Версия 1.0.0: релиз, Makefile (make dist), README и .gitignore для архива.
2026-04-14 13:52:26 +10:00
ssh-monitor
e273c995a5
Удалена интеграция Zabbix; остались Telegram и email (SMTP).
2026-04-14 12:20:04 +10:00
ssh-monitor
27219355c2
fix(notify): отправка во все каналы NOTIFY_ORDER, не только первый успех
...
- BACKUP_WEBHOOK только если все каналы неуспешны
- README/conf.example; версия 0.9.5.3
2026-04-14 10:50:38 +10:00
ssh-monitor
98f63e77ad
fix: локальное время в уведомлениях (NOTIFY_TZ) и антидубль Accepted
...
- notification_date: NOTIFY_TZ → DAILY_REPORT_TZ → date процесса
- SSH_ACCEPT_NOTIFY_DEDUP_SEC: пауза между Telegram для той же пары user+IP
- версия 0.9.5.2, README и conf.example
2026-04-14 10:23:58 +10:00
ssh-monitor
06c8fe2e8e
fix: дубли SSH (journal + Accepted) и logind при Service=sshd
...
- journalctl: _COMM=sshd, fallback sshd/ssh; sort -u
- dedupe Accepted в одном проходе по user|ip|port
- LOGIND_SKIP_REMOTE: Type=ssh или Service=*sshd*, повторы loginctl
2026-04-14 10:12:40 +10:00
ssh-monitor
e9c98d4647
docs: обязательный NOTIFY_CHAIN в README и ssh-monitor.conf.example
2026-04-14 09:56:18 +10:00
ssh-monitor
a3bd7ed9ad
fix: выход с ошибкой, если нет ни одного канала NOTIFY_CHAIN
2026-04-14 09:55:03 +10:00
ssh-monitor
a90efd3ed8
docs: Zabbix и пояснение ZABBIX_SEQ_KEY в README
2026-04-14 09:52:07 +10:00
ssh-monitor
36dddb35d6
feat(notify): каскад telegram → zabbix → email, NOTIFY_ORDER, SMTP, v0.9.5
2026-04-14 09:44:43 +10:00
PTah
85c18be12e
chore: зафиксировать линию версий 0.9 (semver 0.9.0)
...
- Комментарий в скрипте и уточнение в README
2026-04-14 08:11:49 +10:00
PTah
f9e033777e
feat: версия 0.9.0, --version и вывод в лог/health/старт
...
- SSH_MONITOR_VERSION + суффикс +git[-dirty] при запуске из репозитория
- README: раздел про версионирование
2026-04-14 08:05:50 +10:00
PTah
938f5d76ee
fix(logind): не дублировать SSH при Type=tty и Service=sshd
...
- LOGIND_SKIP_REMOTE: учёт Service=sshd, короткие повторы loginctl при гонке
- README и пример конфига
2026-04-13 12:28:00 +10:00
PTah
4cae3da108
feat: единая инициализация меток LAST_* для SSH/sudo/logind
...
- checkpoint_stamp_init_if_bad: нет файла / битое значение → только метка «сейчас», без бэклога
- sudo/logind: убрано окно -30m при «первом» запуске (как у SSH)
- README: раздел про файлы-метки и отличие LAST_SECURITY_EVENTS_FILE
2026-04-13 10:06:57 +10:00
Луценко Андрей Анатольевич
9b453657d2
feat: мониторинг systemd-logind (journalctl), конфиг и антидубль SSH
...
- Опрос journalctl -u systemd-logind, LAST_LOGIND_CHECK_FILE, LOGIND_*
- README: параметры logind, ротация LAST_*, journalctl
2026-04-13 09:45:41 +10:00
PTah
1d37905f27
feat: DAILY_REPORT_TZ for local-time daily report
2026-04-12 20:22:25 +10:00
PTah
e93fde7f52
feat: reliability, ops hooks, security checks, daily report
2026-04-12 19:30:32 +10:00