106 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 5b1ba82dd0 Minor fixes. 2026-02-23 22:00:04 +03:00
gSpot 145eb5a6b9 Minor fixes. 2026-02-23 21:29:18 +03:00
gSpot 950d30fdfd Minor fixes. 2026-02-23 20:29:35 +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 53bc8167fa Minor fixes. 2026-01-07 22:38:48 +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 1c27840aca Fixed POST_UPDATE_SCRIPT. 2025-07-25 21:32:01 +03:00
gSpot 212ec22d7a Fixed config scripts. 2025-06-08 15:33:56 +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 82fd11b612 /etc/init.d/ruantiblock: fixed gawk issue. 2025-04-09 17:57:56 +03:00
gSpot 9c38a0a531 Minor improvements: optional update scripts (pre_update_script, post_update_script). 2025-03-02 15:24:11 +03:00
gSpot 8c9560f91c Minor fixes. 2025-02-10 16:34:34 +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 2227aa2306 Fixed deletion of nft chains. 2024-12-02 15:56:28 +03:00
gSpot dc2ca41afd Dnsmasq confdir from ubus. 2024-11-26 17:27:10 +03:00
gSpot 82b31872e9 Adding lan subnet to FPROXY_PRIVATE_NETS on startup. Minor fixes. 2024-11-26 15:32:26 +03:00
gSpot e87c5c7086 Updated gr_excluded_sld 2024-11-21 03:33:09 +03:00
gSpot b5e5f20a81 Minor changes 2024-11-20 20:56:38 +03:00
gSpot 9574313c74 autoinstall.sh, minor fixes. 2024-11-14 00:18:04 +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 fd2dd3d165 zapret-info URL. 2024-09-06 18:42:50 +03:00
gSpot 63cd8da0bb Minor fixes. 2024-08-09 00:10:01 +03:00
gSpot 037ebcd8fa Minor fixes 2024-07-12 17:19:21 +03:00
gSpot 43a0d13878 Makefiles. 2024-06-13 19:03:35 +03:00
gSpot 3d51e9b093 Fixed info_output. 2024-06-06 19:03:10 +03:00
gSpot 83e8252f92 Minor fixes & improvements. 2024-05-12 18:50:13 +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 9d0a75a7f8 Minor fixes 2024-01-03 18:49:22 +03:00
gSpot 928618e03d Minor fixes 2024-01-02 17:05:14 +03:00
gSpot 874d36a6d0 Updated fqdn_filter 2023-12-28 18:58:01 +03:00
gSpot 72d7f8336f Custom VPN gateway (VPN_GW_IP) 2023-12-24 16:13:41 +03:00
gSpot 9113ea57d0 v1.4. ruab_route_check 2023-12-10 17:02:06 +03:00
gSpot 73b48cf71e Update hotplug.d/iface/40-ruantiblock 2023-10-17 01:20:06 +03:00
gSpot a933fc36f9 Minor fixes 2023-08-29 19:09:18 +03:00
gSpot 46944b8c3f v1.3. New options: full proxy mode, downloading blacklist through proxy. 2023-08-29 17:43:52 +03:00