🚀 v26.4.3 - Web Panel Mobil Uyum, iptables Kararlılığı ve Servis Yönetimi
Sürüm Tipi: Major Feature + Fix
Odak: Web Panel tam mobil uyum, Zapret kural kaybı fix, güncelleme sonrası otomatik servis yenileme, Telegram bot kararlılığı
✅ Yeni Özellikler
Web Panel — Tam Mobil Uyum (%100)
- Tüm görünümler (Dashboard, HealthMon, Zapret, Telegram, DNS, Ağ Tanılama, Release Notes) mobil ekranlarda tam uyumlu
- Kart düzeni, buton boyutları ve yazı hizalamaları küçük ekranlar için optimize edildi
- Dokunmatik kullanım için arayüz elemanları yeniden boyutlandırıldı
Güncelleme Sonrası Otomatik Servis Yenileme
- KZM güncellendiğinde Web Panel, HealthMon ve Telegram bot artık otomatik yenileniyor
- Otomatik güncelleme (HealthMon): HealthMon + Telegram bot yeni kodla restart ediliyor
- Manuel güncelleme (Menu 10): Web Panel güncelleniyor, HealthMon + Telegram bot restart ediliyor
KZM Açılışında Versiyon Kontrolü
- KZM her açılışta HealthMon ve Telegram bot'un güncel kodla çalışıp çalışmadığını kontrol ediyor
- Eski kodla çalışan servis tespit edilirse anında yeni kodla restart ediliyor
- Versiyon bilgisi
/opt/etc/altında kalıcı olarak saklanıyor (reboot'ta kaybolmuyor)
Telegram Durum Mesajı Yenilendi
- Üst kısım (Cihaz, LAN IP, WAN IP, Model) artık Durum ekranında da gösteriliyor
- Yeni sıralama: DPI, CPU/RAM, Disk/Uptime, Disk Sagligi, HMon, TGBot, Zapret, KeenDNS, WAN, KZM/Zapret surum
- WAN arayuzu bilgisi eklendi
- KeenDNS domain ve erisim durumu eklendi
- Telegram Bot process durumu eklendi
Sistem Ekranı Formatı Güncellendi
Name:,KeenDNS:,Release:duz metin yerine emoji ile tutarli format
Loglar Menüsü Genişletildi
- TG Bot Log butonu eklendi (
/tmp/zkm_telegram_bot.log) /loglarve/logskomutu eklendi — dogrudan Loglar menusune gider- Telegram komut listesine (
setMyCommands)/loglareklendi
Bot Restart Ekranı İyileştirildi
- Restart sirasinda "Bot durduruluyor... / Bot baslatiliyor..." bilgisi goruluyor
- Basarili baslatma sonrasi PID goruluyor
- Enter beklemeden otomatik menuye donuyor
🐛 Hata Düzeltmeleri
Zapret Kural Kaybı (DSL Modeller)
- DSL modemli Keenetic cihazlarda (KN-3611 vb.) arka planda calisan firmware sureci mangle tablosundaki NFQUEUE kurallarini periyodik olarak siliyordu
restart_zapretyerine artikstart-fwkomutuyla sadece eksik kural yaziliyor — nfqws process'e dokunulmuyor- Kural restore edilince Telegram bildirimi gonderilmiyor, sessizce duzeltiliyor
- Log'da
zapret_fw_restore | reason=iptables_missingsatiriyla takip edilebiliyor start-fwyetersiz kalirsa tamrestart_zapretdevreye giriyor
Telegram Bot 409 Conflict Hatası
$!ile yanlis PID kaydediliyordu —psile gercek daemon PID'i bulunup yaziliyor- Stop sonrasi process olmeden yeni baslatiliyordu —
ps | grep telegram-daemonile process gercekten olene kadar bekleme (max 5 saniye) eklendi - 4 yerde duzeltildi: SSH menusu, CGI
tg_start, CGItg_stop, CGItg_restart
⚙️ Notlar
- DSL modem kullanan cihazlarda Zapret artik kesintisiz calisiyor — kural kaybi sessizce onariliyor
- Guncelleme sonrasi manuel servis restart gerekmiyor
/loglarkomutu bot restart gerektirmez — mevcut bot oturumunda aninda aktif olur- Mevcut kurulumlar guvenle guncellenebilir
🚀 v26.4.3 - Web Panel Mobile Support, iptables Stability and Service Management
Release Type: Major Feature + Fix
Focus: Web Panel full mobile support, Zapret rule loss fix, automatic service refresh after update, Telegram bot stability
✅ New Features
Web Panel — Full Mobile Support (100%)
- All views (Dashboard, HealthMon, Zapret, Telegram, DNS, Network Diagnostics, Release Notes) fully responsive on mobile
- Card layout, button sizes and text alignment optimized for small screens
- UI elements resized for touch use
Automatic Service Refresh After Update
- When KZM updates, Web Panel, HealthMon and Telegram bot now automatically reload with new code
- Auto-update (HealthMon): HealthMon + Telegram bot restarted with new code
- Manual update (Menu 10): Web Panel updated, HealthMon + Telegram bot restarted
Version Check on KZM Startup
- KZM now checks whether HealthMon and Telegram bot are running with current code on every startup
- If an outdated service is detected, it is immediately restarted with new code
- Version info stored persistently under
/opt/etc/— survives reboots
Telegram Status Message Redesigned
- Header (Device, LAN IP, WAN IP, Model) now shown in Status screen as well
- New order: DPI, CPU/RAM, Disk/Uptime, Disk Health, HMon, TGBot, Zapret, KeenDNS, WAN, KZM/Zapret version
- WAN interface info added
- KeenDNS domain and access status added
- Telegram Bot process status added
System Screen Format Updated
- Replaced plain
Name:,KeenDNS:,Release:labels with emoji-consistent format
Logs Menu Expanded
- TG Bot Log button added (
/tmp/zkm_telegram_bot.log) /loglarand/logscommand added — navigates directly to Logs menu/loglaradded to Telegram command list (setMyCommands)
Bot Restart Screen Improved
- "Stopping bot... / Starting bot..." feedback shown during restart
- PID shown after successful start
- Returns to menu automatically without Enter prompt
🐛 Bug Fixes
Zapret Rule Loss (DSL Models)
- On Keenetic DSL devices (KN-3611 etc.), a background firmware process was periodically flushing NFQUEUE rules from the mangle table
- Instead of
restart_zapret, only the missing rule is now written viastart-fw— nfqws process is not touched - No Telegram notification when rule is restored — silently fixed
- Traceable in log as
zapret_fw_restore | reason=iptables_missing - Falls back to full
restart_zapretifstart-fwis insufficient
Telegram Bot 409 Conflict Error
- Wrong PID was saved using
$!— now finds real daemon PID viaps - New bot was starting before old one fully stopped — added wait loop (max 5s) checking
ps | grep telegram-daemon - Fixed in 4 locations: SSH menu, CGI
tg_start, CGItg_stop, CGItg_restart
⚙️ Notes
- On DSL modem devices, Zapret now runs without interruption — rule loss is silently repaired
- Manual service restart after update is no longer needed
/loglarcommand does not require bot restart — active immediately in current session- Existing installations can be safely updated