Commit graph

72 commits

Author SHA1 Message Date
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
Daniel Lavrushin
100c5cef3b
Refactor code structure for improved readability and maintainability 2026-03-30 11:20:39 +02:00
Daniel Lavrushin
137c356b28
Refactor flowchart for IP set processing: streamline connections and enhance clarity 2026-03-26 23:15:50 +01:00
Daniel Lavrushin
346713bf32
Refactor code structure for improved readability and maintainability 2026-03-26 23:10:26 +01:00
Daniel Lavrushin
29fccbd4de
Enhance routing documentation: improve clarity and detail in DNS redirect and traffic routing sections 2026-03-26 23:03:56 +01:00
Daniel Lavrushin
9c405cdd39
Add new image for splitting documentation
This commit introduces a new PNG image file to the documentation related to the splitting feature. The image captures the relevant visual information needed to enhance the understanding of the feature.
2026-03-23 23:17:44 +01:00
Daniel Lavrushin
ca37ea794a
Refactor code structure for improved readability and maintainability 2026-03-23 22:06:12 +01:00
Daniel Lavrushin
52c6554499
docs rework 2026-03-23 21:46:22 +01:00
Daniel Lavrushin
e1b8c7e74e
Remove unused SVG file, optimize TLS record writing, and clean up MTProto logging
- Deleted the unused SVG file `undraw_docusaurus_tree.svg` from the documentation assets.
- Refactored the `Write` method in `faketls.go` to optimize the TLS record writing process by reducing the number of write calls.
- Removed unnecessary verification logging in `obfuscated2.go` to streamline the handshake process.
- Updated logging in `server.go` to simplify the output when a new MTProto secret is generated and saved.
2026-03-23 21:45:55 +01:00
Daniel Lavrushin
043e7d7f6c
Refactor code structure for improved readability and maintainability 2026-03-22 13:52:17 +01:00
Daniel Lavrushin
d6851ca8b7
feat: update Swagger documentation and API endpoints for device alias management 2026-03-21 03:24:57 +01:00
Daniel Lavrushin
d9bd7b250e
Refactor code structure for improved readability and maintainability 2026-03-21 03:13:47 +01:00
Daniel Lavrushin
0dfc487c0c
feat(i18n): add multilingual support for TargetSettings component and update translations in English and Russian 2026-03-13 22:59:34 +01:00
Daniel Lavrushin
175efed2a4
feat(geodat): Add file upload functionality for GeoIP/GeoSite files and update documentation 2026-03-07 21:53:34 +01:00
Daniel Lavrushin
8feec3a5c1
feat(installer): Update installation commands and improve help option usage 2026-03-07 15:32:39 +01:00