b4/docs
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
..
docs fix: add DNS hijacking and disk wear reduction tips for MikroTik container setup 2026-05-09 15:35:04 +02:00
i18n/ru fix: add DNS hijacking and disk wear reduction tips for MikroTik container setup 2026-05-09 15:35:04 +02:00
src Add Russian documentation for UDP handling, backup settings, core settings, discovery settings, geodata, payloads, security, and domain monitoring 2026-04-18 21:43:56 +02:00
static fix: add support for nft_tproxy and nft_socket kernel modules across … (#222) 2026-05-11 22:00:21 +02:00
.gitignore Add SVG illustration and TypeScript configuration file 2025-11-12 16:55:16 +01:00
docusaurus.config.ts Add Russian documentation for UDP handling, backup settings, core settings, discovery settings, geodata, payloads, security, and domain monitoring 2026-04-18 21:43:56 +02:00
package.json Add Russian documentation for UDP handling, backup settings, core settings, discovery settings, geodata, payloads, security, and domain monitoring 2026-04-18 21:43:56 +02:00
pnpm-lock.yaml Refactor code structure for improved readability and maintainability 2026-03-30 11:20:39 +02:00
sidebars.ts Add SVG illustration and TypeScript configuration file 2025-11-12 16:55:16 +01:00
tsconfig.json Add SVG illustration and TypeScript configuration file 2025-11-12 16:55:16 +01:00