56 Commits

Author SHA1 Message Date
gSpot ef15f50b9f Bugfixes. 2026-03-04 16:22:22 +03:00
gSpotx2f ebeb870d82 Merge pull request #157 from toxeh/master
fix: multiple bugs across shell, lua and python modules
2026-03-04 14:55:58 +03:00
gSpot 52cc2e314d Update ruablacklist URLs, fixed uninstall.sh (APK). 2026-02-16 18:21:55 +03:00
afanasyev 3c2eef6331 fix: multiple bugs across shell, lua and python modules
Shell (ruantiblock):
- fix broken 'ip' command check — was 'export IP_CMD=ip' followed
  by checking $? (always 0 from export); now uses 'which ip' like
  other utility checks
- fix LOGGER_CMD check — export swallowed which exit code; split
  assignment and export
- fix 'return 1' outside function in main case block — changed to
  'exit 1'
- fix '==' to '=' in test expressions for POSIX sh compliance
  (script uses #!/bin/sh)
- fix typo 'Искоючить' -> 'Исключить' in comment
- remove unused variable _dnsmasq_data_file in AddUserEntries()

Lua (ruab_parser.lua):
- fix global variable leak: 'val' in Config:load_environ_config()
  was not declared local, polluting global scope
- fix global function leak: 'load_file' inside
  Config:load_filter_files() was not declared local
- fix premature return in Summarize.remove_items() — only first
  matching item was deleted from range, rest were skipped

Python (ruab_parser.py):
- fix AttributeError crash in Summarize._group_ip_ranges() —
  raw_list is a dict but .remove() was called (dict method);
  changed to .pop() with default None
2026-02-09 00:28:30 +03:00
gSpot 48fdb95abf Standalone parser for user entries. 2025-12-31 03:15:47 +03:00
gSpot d99a9ab770 Added IGNORE_LOCAL_IP option. 2025-11-20 18:32:13 +03:00
gSpot ec26d291a3 ruantiblock-mod-lua, ruantiblock-mod-py: BLLIST_ORG_EXCLUDED, fqdn-only mode. 2025-11-13 18:14:06 +03:00
gSpot 4f68d13026 Blackhole route for VPN configuration.
luci-app-ruantiblock: UI changes for settings.js.
ruantiblock-mod-lua, ruantiblock-mod-py: Added BLLIST_CIDR_EXCLUDED option.
2025-09-15 18:25:20 +03:00
gSpot 493cc103b8 ruantiblock-mod-lua: added lua-idn. luci-app-ruantiblock: updated log. 2025-09-04 18:29:31 +03:00
gSpot 53dfb1ffeb /etc/init.d/ruantiblock: fixed dnsmasq confdir issue. 2025-04-28 18:15:04 +03:00
gSpot ba8011c8ba Minor improvements. luci-app-ruantiblock: updated log. 2025-04-14 19:05:04 +03:00
gSpot 5c3c1c125d Improved dnsmasq confdir check. 2025-02-09 18:35:41 +03:00
gSpot 8eaf8e3fd8 ruantiblock-mod-lua, ruantiblock-mod-py: subdomains optimization. 2025-01-21 23:33:51 +03:00
gSpot 50a1c68afd Updated: blacklist_sources, fqdn_filter. Minor fixes. 2024-12-15 16:39:24 +03:00
gSpot dc2ca41afd Dnsmasq confdir from ubus. 2024-11-26 17:27:10 +03:00
gSpot b5e5f20a81 Minor changes 2024-11-20 20:56:38 +03:00
gSpot 0cc02a7ddd v2.1. Refactoring, fixes & improvements. 2024-11-06 15:30:03 +03:00
gSpot 06219e9328 v2.0. Multi proxy for user entries. TProxy support. 2024-11-03 02:20:45 +03:00
gSpot 8184a68fe8 v1.6. Refactoring. Some improvements. 2024-09-23 00:52:58 +03:00
gSpot 1896deeee0 ruantiblock-mod-lua: included iptool.lua. 2024-08-09 23:37:35 +03:00
gSpot 43a0d13878 Makefiles. 2024-06-13 19:03:35 +03:00
gSpot edb43ea74c v1.5. New options: USER_ENTRIES_REMOTE, ENABLE_TMP_DOWNLOADS. Fixes & improvements. 2024-04-07 17:07:12 +03:00
gSpot 9474cbc729 ruantiblock-mod-lua, ruantiblock-mod-py: new blacklist source fz139. 2024-03-21 00:06:43 +03:00
gSpot b311722cbb Refactoring: ruantiblock-mod-lua, ruantiblock-mod-py. 2024-03-14 22:20:11 +03:00
gSpot c044d303c5 luci-app: updated log. 2024-02-27 17:31:44 +03:00
gSpot 9113ea57d0 v1.4. ruab_route_check 2023-12-10 17:02:06 +03:00
gSpot 80c18d0c74 ruantiblock-mod-lua, ruantiblock-mod-py: removed ruab_sum_ip.lua, ruab_sum_ip.py 2023-09-08 21:53:56 +03:00
gSpot 91749b6ace ruantiblock-mod-lua, ruantiblock-mod-py: fixed rublacklist 2023-08-31 19:10:27 +03:00
gSpot 46944b8c3f v1.3. New options: full proxy mode, downloading blacklist through proxy. 2023-08-29 17:43:52 +03:00
gSpot ce79a1f469 v1.2. BYPASS_IP 2023-07-18 16:25:52 +03:00
gSpot 55f511c6f6 Minor fixes 2023-04-26 17:50:23 +03:00
gSpot 03ec2ce632 v1.1. Removed separate nftsets for user entries. 2023-02-18 15:52:13 +03:00
gSpot 32a267f9a8 Fixed parsers 2023-02-13 01:13:43 +03:00
gSpot 5d2c716795 v1.0. Support for nftables and dnsmasq 2.88. 2023-02-06 17:27:15 +03:00
gSpot 76a5240891 v0.9.7. BLLIST_IP_FILTER_TYPE, BLLIST_FQDN_FILTER_TYPE 2023-01-14 15:53:19 +03:00
gSpot dec209e12c v0.9.6. "Transparent proxy" mode for Shadowsocks support. 2023-01-09 18:11:41 +03:00
gSpot 9140e260cd Fixed ruantiblock-mod-lua 2023-01-01 18:16:44 +03:00
gSpot ed2a6db286 Fixed ruantiblock-mod-lua 2022-12-25 23:38:22 +03:00
gSpot 83918288f1 v0.9.5. Changes for rublacklist API v3 2022-12-25 19:45:07 +03:00
gSpot a33e33cb0b Fixed ruantiblock-mod-lua 2022-08-01 17:35:35 +03:00
gSpot bed3a91236 luci-app-ruantiblock: info.js - ipset dnsmasq 2022-05-12 01:56:19 +03:00
gSpot 6c68144ca7 v0.9.4. Short names for ipsets 2022-05-10 20:37:10 +03:00
gSpot fa22fdbe2a v0.9.3. DATA_DIR moved to /tmp 2022-05-10 01:22:25 +03:00
gSpot bbfc6595e3 ruantiblock-mod-lua, ruantiblock-mod-py: fixes 2022-05-08 21:18:31 +03:00
gSpot 1b2db6e708 v0.9.2. New blacklist source: ruabtiblock. Allowed hosts option. Configuration variable changes. Removed total-proxy. 2022-05-05 18:28:32 +03:00
gSpot 2d1a7f14a8 ruantiblock: Default configuration changes. Fixed ruab_parser.py. 2022-04-11 18:55:15 +03:00
gSpot 5446b4ccee Disabled IF_LAN 2022-03-17 18:48:18 +03:00
gSpot 6756bbc2df Fixed makefiles 2021-12-17 17:01:46 +03:00
gSpot 04f65fc218 luci-app: cron.js fixes 2021-12-11 23:39:59 +03:00
gSpot 12afe2a532 v0.9.1. Modules moved to /usr/libexec/ruantiblock 2021-12-11 21:07:38 +03:00