Commit Graph

210 Commits

Author SHA1 Message Date
yandexru45
e8a764bbb3 Исправить зависимость конфигурации 2026-03-07 16:09:55 +03:00
yandexru45
4202530585 add HWID and subscription support 2026-03-07 14:55:11 +03:00
Andrey Petelin
00594f23fd fix: use nslookup_attempts for DNS check loop instead of nslookup_timeout 2026-01-28 12:45:35 +05:00
Andrey Petelin
d854caa4cc fix: Disable dnsmasq noresolv when restoring or using default resolvfile; ensure resolvfile is applied 2026-01-23 17:42:05 +05:00
Andrey Petelin
b44274d7f2 fix: mask selector_proxy_links in podkop redaction to hide sensitive proxy selectors 2026-01-23 16:00:34 +05:00
Andrey Petelin
41a4f67fd0 fix: set default log_level to "warn" when missing in settings 2026-01-22 21:02:15 +05:00
Kirill Sobakin
81963bfbdf feat: roblox 2026-01-21 18:09:12 +03:00
Andrey Petelin
6083009c80 feat: Add 'exclusion' connection type with direct route rule 2026-01-19 16:10:09 +05:00
Andrey Petelin
a40240bb3f fix: use fwmark/mask and bitwise meta mark comparison to correctly match packet marks 2026-01-14 14:09:51 +05:00
Andrey Petelin
1e9a7bffa4 fix: avoid outbound traffic loop by adding NFT_OUTBOUND_MARK (0x90000) and mangle_output return rule (#248) 2026-01-14 10:29:13 +05:00
Andrey Petelin
4448c09c34 fix: replace fakeip mark 0x105 with 0x80000 to avoid conflict with mwan3 (#275) 2026-01-14 10:25:03 +05:00
Andrey Petelin
d2fbff17bf feat: add selector proxy type support 2026-01-09 23:32:58 +05:00
Andrey Petelin
aa8f2cef41 feat: Add log_level option in LuCI and use configured value for sing-box logging 2025-12-10 17:58:22 +05:00
Andrey Petelin
96f6def701 fix: lower priority of fully_routed_ips relative to routing_excluded_ips 2025-12-10 16:55:23 +05:00
Andrey Petelin
06ce944e1c fix: add and source network functions, use network_get_ipaddr to obtain LAN listen IP 2025-12-09 15:15:58 +05:00
Andrey Petelin
7c7e1c6244 fix: take first LAN IP address and strip CIDR suffix 2025-12-03 10:21:51 +05:00
Andrey Petelin
7fc1f39dd6 fix: have service_listen_address option override automatic detection of listening IP address 2025-12-03 09:58:28 +05:00
Kirill Sobakin
ea1273e05e Fix: UDP is lost. Double function call 2025-12-01 23:30:33 +03:00
Andrey Petelin
6a48a060e1 refactor: remove sing-box start exit check 2025-11-26 16:01:41 +05:00
Andrey Petelin
14f704fcb8 fix: use echolog for sing-box start failure 2025-11-26 15:47:12 +05:00
Andrey Petelin
ff43f477e9 chore: restore shutdown_correctly logic 2025-11-26 14:14:27 +05:00
Andrey Petelin
576e58fd17 chore: restore start_main and stop_main; have reload call them instead of full start/stop 2025-11-26 13:56:10 +05:00
Andrey Petelin
7a497f1e31 fix: reload PODKOP_CONFIG after uci commit to refresh config on shutdown 2025-11-25 17:05:25 +05:00
Andrey Petelin
d52f6e26ae refactor: add configurable DNS/curl timeouts and retries, detect service proxy, and improve connection checks 2025-11-25 17:04:31 +05:00
Andrey Petelin
68c61aed50 refactor: use uci wrappers 2025-11-25 14:10:18 +05:00
Andrey Petelin
626ac981eb refactor: configuring dnsmasq after starting sing-box 2025-11-25 13:53:24 +05:00
Andrey Petelin
1b7ab606ba refactor: unify source ruleset preparation and list handlers; make ruleset creation idempotent and atomic updates 2025-11-21 20:37:19 +05:00
Andrey Petelin
2bf208ecac fix: import remote plain domain and subnet lists using chunked processing 2025-11-16 13:21:51 +05:00
Andrey Petelin
32c385b309 fix: load large plain domain/subnet lists in chunks; move ruleset logic to rulesets.sh and nft chunker to nft.sh 2025-11-16 09:55:44 +05:00
Andrey Petelin
86897fd0af fix: bind mixed proxy and Clash API to service IP (no 0.0.0.0); add YACD WAN toggle and secret key 2025-11-06 16:33:03 +05:00
Andrey Petelin
cc947f9734 fix: import large subnet lists in chunks into nft sets 2025-10-30 14:07:12 +05:00
Andrey Petelin
f168fb7e31 refactor: fetch remote JSON to temp files and parse ip_cidr into subnets; remove download_to_stream 2025-10-29 21:52:44 +05:00
Andrey Petelin
fe84b3154f fix: convert Windows CRLF line endings to LF for downloaded files 2025-10-29 21:36:46 +05:00
divocat
675a6af89c feat: simplify sb check displaying 2025-10-27 13:16:18 +02:00
Andrey Petelin
d4b3377d68 feat: add URLTest check interval, tolerance and testing URL options and wire them into outbound config generation 2025-10-27 15:17:20 +05:00
Andrey Petelin
d1d703764c fix: mask outbound_json block and DNS/domain_resolver addresses in podkop config output 2025-10-25 19:27:01 +05:00
Andrey Petelin
407b19b3ed fix: read routing_excluded_ips as non-boolean string with config_get instead of config_get_bool 2025-10-24 17:32:35 +05:00
Kirill Sobakin
25bb2355aa fix: rm check_github, check_dnsmasq 2025-10-23 12:47:45 +03:00
Andrey Petelin
5573fce1b1 fix: disable auto_detect_interface when output_network_interface is specified 2025-10-23 14:05:42 +05:00
Kirill Sobakin
a3ac01478f fix: rm check_sing_box_connections 2025-10-23 11:04:23 +03:00
Andrey Petelin
8384e18a22 chore: remove comments support for proxy url 2025-10-21 15:25:07 +05:00
Andrey Petelin
e8a5d3d5cc feat: pass default interface to sing-box route 2025-10-21 11:24:44 +05:00
Andrey Petelin
d0b06dd829 refactor: rename enable_shadowsocks_udp_over_tcp to enable_udp_over_tcp in config and script 2025-10-20 20:03:13 +05:00
Andrey Petelin
72ad10d737 chore: standardize log messages and severities 2025-10-20 16:58:45 +05:00
Andrey Petelin
e7f3d15bce fix: read dont_touch_dhcp from "settings" section instead of "main" 2025-10-19 19:23:49 +05:00
Andrey Petelin
c0e3e256e3 chore: extract outbound section check into _check_outbound_section and call it via config_foreach 2025-10-19 19:19:59 +05:00
Andrey Petelin
08615b6f04 refactor: use get_first_outbound_section to determine outbound tag, remove SB_MAIN_OUTBOUND_TAG constant 2025-10-19 19:17:50 +05:00
Andrey Petelin
9d4c37b9a2 refactor: create outbound validation into has_outbound_section and check all sections 2025-10-19 18:53:21 +05:00
itdoginfo
cfb821974f refactor: global check #214 2025-10-16 16:49:47 +03:00
itdoginfo
d51ac63c94 feat: one method for system info 2025-10-15 11:51:27 +03:00