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
493cc103b8
ruantiblock-mod-lua: added lua-idn. luci-app-ruantiblock: updated log.
2025-09-04 18:29:31 +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
50a1c68afd
Updated: blacklist_sources, fqdn_filter. Minor fixes.
2024-12-15 16:39:24 +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
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
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
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
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
gSpot
03eac5f427
luci-app: Code fixes, updated log
2021-03-26 23:49:38 +03:00
gSpot
b187ab5384
luci-app: New log.
...
ruantiblock: Minor fixes.
2021-03-11 18:24:24 +03:00
gSpot
1f572cb21b
Fixed: ruab_parser.lua, autoinstall.sh
2020-12-26 21:00:31 +03:00
gSpot
cf2a9062b6
Initial commit
2020-06-19 20:43:08 +03:00