Commit Graph

24 Commits

Author SHA1 Message Date
gSpot ef15f50b9f Bugfixes. 2026-03-04 16:22:22 +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 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 ba8011c8ba Minor improvements. luci-app-ruantiblock: updated log. 2025-04-14 19:05:04 +03:00
gSpot 8eaf8e3fd8 ruantiblock-mod-lua, ruantiblock-mod-py: subdomains optimization. 2025-01-21 23:33:51 +03:00
gSpot 4c0420f044 ruantiblock-mod-py: minor fixes. 2024-12-01 17:30:11 +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 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 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 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 83918288f1 v0.9.5. Changes for rublacklist API v3 2022-12-25 19:45:07 +03:00
gSpot 6c68144ca7 v0.9.4. Short names for ipsets 2022-05-10 20:37:10 +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 12afe2a532 v0.9.1. Modules moved to /usr/libexec/ruantiblock 2021-12-11 21:07:38 +03:00