Commit graph

86 commits

Author SHA1 Message Date
Daniel Lavrushin
9fce3fde91 fixes: enhance Cloudflare Worker handling and improve media loading reliability 2026-08-12 22:03:46 +02:00
Daniel Lavrushin
57d4672211 fixes: address media loading issues in DC 203 and improve Cloudflare Worker handling 2026-08-12 22:03:46 +02:00
Daniel Lavrushin
271fdb0ea9 feat: implement self-dial mark and relay stall reporting
- Introduced SelfDialMark to differentiate between self-initiated connections and others, ensuring proper routing and bypassing of DPI.
- Enhanced relay connection handling to report stalls when upstream connections become silent, improving reliability of worker relays.
- Added tests for stall reporting and self-dial mark functionality to ensure correctness.
- Updated various components to utilize the new self-dial mark and stall reporting mechanisms, including routing and proxy rules.
- Implemented a tgprobe tool for testing upstream connections with configurable parameters.
2026-08-11 22:00:23 +02:00
Daniel Lavrushin
81f906e500 Add tests for UDP and TCP port filtering in nfq package
- Implemented `setattr_test.go` to test TCP port filtering behavior, ensuring sets scoped to specific TCP ports do not process packets on other ports.
- Implemented `udpgate_test.go` to validate UDP handling for targeted sets, including scenarios with QUIC filtering and IP-based targeting.
- Added various test cases to cover different configurations of UDP sets and their expected verdicts based on packet characteristics.
2026-08-10 22:23:46 +02:00
Daniel Lavrushin
d42e6bc58d feat: add import functionality for byedpi and zapret command line to documentation
Some checks failed
Deploy documentation / build-and-deploy (push) Has been cancelled
2026-08-08 22:16:36 +02:00
Daniel Lavrushin
1f0bfaf8d9 feat: add support for new conversion plan and tool listing in error messages 2026-08-08 22:16:36 +02:00
Daniel Lavrushin
d10095a89b feat: add conversion API and tools support
- Implemented conversion specifications in `src/convert/spec.go` with embedded JSON rules.
- Created HTTP handlers for conversion tools and analysis in `src/http/handler/convert.go`.
- Added unit tests for conversion handlers in `src/http/handler/convert_test.go`.
- Developed TypeScript API client for conversion in `src/http/ui/src/api/convert.ts`.
- Built UI component for importing tools and displaying conversion results in `src/http/ui/src/components/sets/ImportTool.tsx`.
2026-08-08 22:16:36 +02:00
Daniel Lavrushin
3ea48d91f2 fix: enhance flow offloading detection and handling for improved performance and diagnostics 2026-08-08 15:42:30 +02:00
Daniel Lavrushin
04605bdde3 fix: update routing documentation to include SOCKS5 proxy mode and detailed traffic handling options 2026-08-02 00:17:16 +02:00
Daniel Lavrushin
bad1dcc9cf fix: resolve issues with SOCKS5 proxy traffic routing and enhance geodata management 2026-08-02 00:17:16 +02:00
Daniel Lavrushin
ef2e586708 Refactor code structure for improved readability and maintainability 2026-08-02 00:17:16 +02:00
Daniel Lavrushin
e9f3be4a3f feat: add IPv4/IPv6 support in DC Relay and update documentation 2026-08-02 00:17:16 +02:00
Daniel Lavrushin
3d03e3b38b
Refactor code structure for improved readability and maintainability (#285) 2026-07-30 22:14:37 +02:00
Daniel Lavrushin
52f9d8e1f4
1-73-1 (#272)
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-07-30 13:54:39 +02:00
Daniel Lavrushin
dcc0fffa16
feat: implement tunable MTProto connection timeouts and improve sessi… (#269) 2026-07-05 00:12:53 +02:00
Daniel Lavrushin
417e49eb95
feat: add request interceptor for Swagger UI to handle Bearer token a… (#264) 2026-06-28 01:18:07 +02:00
Daniel Lavrushin
3bcf08ae47
fix: improve error logging for TUN state marshalling and streamline e… (#263) 2026-06-28 00:32:36 +02:00
Daniel Lavrushin
12696523f6
fix: improve update process by ensuring proper service stop and relau… (#250)
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-06-10 15:53:03 +02:00
Daniel Lavrushin
df470073ef
Doh set feature (#245) 2026-06-08 20:55:40 +02:00
Daniel Lavrushin
4b9fae47d3
feat(block): implement block routing mode with configurable actions (#238) 2026-06-06 00:02:29 +02:00
Daniel Lavrushin
6be763ce53
fix(docs): update image path in MTProto documentation (#237)
Some checks failed
Deploy documentation / build-and-deploy (push) Has been cancelled
2026-06-02 18:18:17 +02:00
Daniel Lavrushin
c63f5357c1
Refactor code structure for improved readability and maintainability (#232)
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-05-31 20:50:36 +02:00
Daniel Lavrushin
9861339741
feat: implement WebSocket connection pooling and improve MTProto tran… (#229) 2026-05-31 20:36:55 +02:00
Daniel Lavrushin
86e700ffc1
fix: add support for nft_tproxy and nft_socket kernel modules across … (#222)
* fix: add support for nft_tproxy and nft_socket kernel modules across various platform scripts

* Implement WebSocket client in mtproto package with tests

- Added wsdial.go for WebSocket connection handling, including frame reading/writing, connection upgrades, and error handling.
- Introduced wsHandshakeError for managing WebSocket handshake errors.
- Created wsConn struct to manage WebSocket connections with methods for reading, writing, and closing connections.
- Implemented dialWS function to establish a WebSocket connection with optional socket marking.
- Added wsdial_test.go to include unit tests for WebSocket roundtrip communication and error handling for redirects.
- Utilized httptest to create a mock WebSocket server for testing purposes.

* fix: handle error in ensureIPSet when checking for existing sets

* fix: reorder input chain candidates for nft input filter check

* fix: replace boolean closed flag with atomic.Bool for thread safety in wsConn

* fix: simplify WSCustomDomain assignment in handleMTProtoTestWS

* fix: remove unnecessary blank line in localizeFieldError function

* feat: add memory limit configuration and validation, improve logging settings UI

* fix: handle JSON decoding error in handleMTProtoTestWS function

* feat: add ws_fallback_tcp and ws_endpoint_host to MTProto settings

* fix: validate WSEndpointHost format in MTProto settings

* fix: update memory limit help text in English and Russian localization files

* feat: implement msgSplitter for MTProto message handling and enhance FakeTLS error handling

* test: add unit tests for MsgSplitter and FakeTLS handling

* fix: update WSCustomDomain handling and improve related documentation

* fix: ensure proper closure of connections in proxyToMaskingDomain function

* fix: update WSCustomDomain handling and validate upstream mode in handleMTProtoTestWS

* fix: update removeProxyInputAccept to use signature format for mark comparison
2026-05-11 22:00:21 +02:00
Daniel Lavrushin
5b0556cce9
fix: add DNS hijacking and disk wear reduction tips for MikroTik container setup 2026-05-09 15:35:04 +02:00
Daniel Lavrushin
2637d144d4
Refactor code structure for improved readability and maintainability 2026-05-09 11:05:30 +02:00
Daniel Lavrushin
a08aeef0c4
feat: add MTProtoRelayHelpDialog component for DC relay setup instructions 2026-05-07 12:45:50 +02:00
Daniel Lavrushin
d1579691ca
Refactor code structure for improved readability and maintainability 2026-05-02 23:36:10 +02:00
Daniel Lavrushin
a79a2a7300
refactor: update escalation settings and improve tab handling in SetEditorPage 2026-05-02 22:26:17 +02:00
Daniel Lavrushin
e5872f17b0
Implement code changes to enhance functionality and improve performance 2026-05-02 22:10:59 +02:00
Daniel Lavrushin
036de98538
Refactor code structure for improved readability and maintainability 2026-05-02 14:50:56 +02:00
Daniel Lavrushin
5caf321ac8
feat: add SeqOverlapPatternFields component for managing sequence overlap patterns 2026-04-27 15:19:06 +02:00
Daniel Lavrushin
ca4aca6823
Refactor code structure for improved readability and maintainability 2026-04-23 14:10:58 +02:00
Daniel Lavrushin
0aa73d5393
Refactor code structure for improved readability and maintainability 2026-04-18 23:55:45 +02:00
Daniel Lavrushin
5e3d38b0f6
Refactor code structure for improved readability and maintainability 2026-04-18 23:25:34 +02:00
Daniel Lavrushin
ede863a777
chore: clean up empty code change sections in the changes log 2026-04-18 22:31:56 +02:00
Daniel Lavrushin
389887a87f
Refactor code structure for improved readability and maintainability 2026-04-18 22:02:30 +02:00
Daniel Lavrushin
8b68b64295
feat: update installation documentation for various platforms including Docker, Keenetic, ASUS Merlin, MikroTik, OpenWRT, and Linux 2026-04-18 21:50:19 +02:00
Daniel Lavrushin
ef8bedd247
Add Russian documentation for UDP handling, backup settings, core settings, discovery settings, geodata, payloads, security, and domain monitoring
- Created UDP documentation detailing traffic handling and filtering options.
- Added backup settings documentation for configuration backup and restoration.
- Introduced core settings documentation covering service management, packet processing, and logging.
- Added discovery settings documentation for automatic configuration detection.
- Created geodata documentation explaining GeoSite and GeoIP databases and their usage.
- Added payloads documentation for generating and managing TLS payloads for faking.
- Introduced security documentation for web interface authorization and HTTPS setup.
- Added domain monitoring documentation for automatic detection of blocked domains and recovery processes.
- Created footer and navbar localization files for Russian language support.
2026-04-18 21:43:56 +02:00
Daniel Lavrushin
ebd6e1e12c
feat: add /config/reset endpoint to reset configuration to defaults 2026-04-18 20:39:55 +02:00
Daniel Lavrushin
2a069544be
feat(mtproto): add endpoint to refresh MTProto DCs with Bearer authentication [ERROR] MTProto unknown DC 203 from <ip:port>
Fixes #190
2026-04-18 17:59:44 +02:00
Daniel Lavrushin
5711f5056d
Refactor code structure for improved readability and maintainability 2026-04-18 13:22:34 +02:00
Daniel Lavrushin
076ed80206
Refactor code structure for improved readability and maintainability 2026-04-07 23:50:32 +02:00
Daniel Lavrushin
6f34e6a512
Update changelog and UDP documentation to include new ICMP reject mode for improved QUIC handling 2026-04-05 22:18:20 +02:00
Daniel Lavrushin
67ab57b58a
Refactor code structure for improved readability and maintainability 2026-04-04 23:47:03 +02:00
Daniel Lavrushin
3d18fbf8de
Refactor code structure for improved readability and maintainability 2026-04-04 23:33:59 +02:00
Daniel Lavrushin
d7d6933a0b
fix: correct version number in Swagger documentation and enhance config loading with improved JSON parsing 2026-04-01 13:00:18 +02:00
Daniel Lavrushin
7e43b0b8ee
Refactor code structure for improved readability and maintainability 2026-04-01 12:21:26 +02:00
Daniel Lavrushin
a98f29e776
fix(docs): enhance OpenWRT installation guide with kernel module instructions and troubleshooting tips 2026-03-30 12:46:52 +02:00
Daniel Lavrushin
b74e7f4920
fix(docs): update API link in advanced documentation 2026-03-30 12:18:04 +02:00