Commit graph

1250 commits

Author SHA1 Message Date
Daniel Lavrushin
283f265cfc
chore: update version number to 1.60.1 in changelog 2026-05-02 23:43:14 +02:00
Daniel Lavrushin
d1579691ca
Refactor code structure for improved readability and maintainability 2026-05-02 23:36:10 +02:00
Daniel Lavrushin
3debc72fae
Merge pull request #209 from DanielLavrushin/set-escalation-feature
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-05-02 22:26:29 +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
4ea513ccd1
refactor: enhance logging in sanitizeEscalation for better traceability 2026-05-02 22:02:49 +02:00
Daniel Lavrushin
c300746249
feat: implement B4TabPanel component and refactor tab handling in various components 2026-05-02 22:00:51 +02:00
Daniel Lavrushin
19418d1865
refactor: improve layout and styling of escalation indicators in SetCard component 2026-05-02 21:47:30 +02:00
Daniel Lavrushin
0b27c30e42
fix: update escalation logic to handle cache expiry and chain restarts 2026-05-02 21:43:49 +02:00
Daniel Lavrushin
59277c7ed8
Refactor IP blocking and escalation handling
- Renamed `ipBlockTracker` to `destStateTracker` for clarity.
- Updated methods to use `host` instead of `dstIPPort` for escalation and blocking logic.
- Introduced TTL for escalation entries and updated related methods to handle expiration.
- Enhanced RST kill tracking with configurable thresholds and windows.
- Added new UI components for displaying escalations in the dashboard.
- Updated tests to reflect changes in the escalation handling logic.
- Modified connection handling to integrate the new escalation and blocking mechanisms.
2026-05-02 21:28:08 +02:00
Daniel Lavrushin
7b0f6d928c
Refactor: Replace B4Alert with B4Hint for improved UI consistency
- Updated TrafficRouting component to use B4Hint instead of B4Alert for informational messages.
- Modified TcpFaking component to replace B4Alert with B4Hint for alerts and helper texts.
- Changed TcpGeneral component to utilize B4Hint for alerts instead of B4Alert.
- Refactored TcpSplitting component to use B4Hint for displaying information.
- Adjusted TcpTabContainer component for consistent tab styling.
- Updated Api, Backup, Devices, Feature, MSSClamping, and MTProto settings components to replace B4Alert with B4Hint where applicable.
- Added new B4Hint component for displaying hints and information with an icon.
- Updated translations to include new hint descriptions.
2026-05-02 19:59:57 +02:00
Daniel Lavrushin
3036bae17f
feat: add escalation selection to SetEditorPage and refactor TargetSettings 2026-05-02 16:47:16 +02:00
Daniel Lavrushin
890b143341
chore: update changelog for version 1.60.0 2026-05-02 16:27:52 +02:00
Daniel Lavrushin
2b7757ffeb
feat: add per-set strategy escalation feature
- Introduced a new "Escalate to" dropdown in the Targets tab, allowing users to select another set for escalation if the current set's bypass fails.
- Implemented logic to sanitize escalation settings, ensuring no self-references or references to disabled sets.
- Enhanced the connection handling to support escalation based on RST injection and stuck handshakes.
- Updated the UI to include the new escalation options and added relevant translations for English and Russian.
- Added tests to verify the functionality of the escalation feature, including cycle detection and expiration of escalations.
2026-05-02 16:13:15 +02:00
Daniel Lavrushin
64037529db
Merge pull request #208 from DanielLavrushin/ipv6-traffiic-fix
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-05-02 15:04:09 +02:00
Daniel Lavrushin
036de98538
Refactor code structure for improved readability and maintainability 2026-05-02 14:50:56 +02:00
Daniel Lavrushin
c74d41f6d9
Merge pull request #207 from DanielLavrushin/update-npm-packs 2026-05-02 13:30:38 +02:00
Daniel Lavrushin
4624325416
Refactor code structure for improved readability and maintainability 2026-05-02 13:26:30 +02:00
Daniel Lavrushin
12a146cde9
Merge pull request #206 from DanielLavrushin/install-copy-fixes 2026-05-02 13:23:30 +02:00
Daniel Lavrushin
f56a77afed
fix: remove settings.json and update backup exclusion logic; adjust copy button handler 2026-05-02 13:23:16 +02:00
Daniel Lavrushin
14282c272a
feat: implement clipboard copy utility and refactor copy functionality across components
fix: update changelog for recent fixes and enhancements
2026-05-02 13:13:56 +02:00
Daniel Lavrushin
08011e1d27
Merge pull request #205 from DanielLavrushin/ipset-fix 2026-05-02 12:16:17 +02:00
Daniel Lavrushin
b17e53f199
fix: update ipset checks to improve compatibility with nftables 2026-05-02 12:16:07 +02:00
Daniel Lavrushin
71c5ff7acf
feat: add ipset checks and improve startup stability on routers without ipset 2026-05-02 11:57:48 +02:00
Daniel Lavrushin
bd61959c56
Merge pull request #204 from DanielLavrushin/mtproto-share-qr 2026-05-02 11:33:13 +02:00
Daniel Lavrushin
2352c5c74f
feat: enhance clipboard copy functionality with fallback for legacy browsers 2026-05-02 11:33:03 +02:00
Daniel Lavrushin
a3a74261bf
feat: add MTProto connection sharing feature with QR code support
- Added `qrcode.react` dependency for QR code generation.
- Enhanced MTProto settings component to include sharing functionality.
- Implemented share link generation based on server address and secret.
- Added buttons for copying the share link and sharing via native share.
- Included a dialog for sharing MTProto connection details with QR code display.
- Updated translations for new share-related texts in English and Russian.
2026-05-02 11:24:16 +02:00
Daniel Lavrushin
e61d17f480
Merge pull request #203 from DanielLavrushin/1-50-1-fix
Some checks failed
Deploy documentation / build-and-deploy (push) Has been cancelled
2026-04-30 00:01:10 +02:00
Daniel Lavrushin
b630bb7ced
refactor: simplify test cases for MarkForSet and enhance bypass bit checks 2026-04-30 00:00:48 +02:00
Daniel Lavrushin
0cfe189953
refactor: remove unused hooks and clean up WebSocketProvider logic 2026-04-29 23:45:24 +02:00
Daniel Lavrushin
3f40acfcac
feat: enhance validation for Queue.Mark and add corresponding unit tests; refactor bypass mark application in dialers 2026-04-29 23:26:35 +02:00
Daniel Lavrushin
a775b6d957
feat: update layout and styling for ActiveSets and MetricsCards components; improve localization for metrics 2026-04-29 22:49:14 +02:00
Daniel Lavrushin
78c55fe813
feat: conditionally render DeviceActivity component based on available device domains in DashboardPage 2026-04-29 22:39:13 +02:00
Daniel Lavrushin
a772245f5d
feat: rename "Connections" page to "Traffic" for clarity; update navigation and localization 2026-04-29 22:35:27 +02:00
Daniel Lavrushin
4fb74f7c16
feat: refactor ConnectionsPage to use RawView and optimize log parsing; add unit tests for MarkForSet function 2026-04-29 22:22:25 +02:00
Daniel Lavrushin
a6942efdcd
feat: improve error logging by retaining history across restarts and filtering specific TLS errors 2026-04-29 21:51:47 +02:00
Daniel Lavrushin
c97ad95fee
feat: enhance Version component with accessibility features and update modal interaction 2026-04-29 16:41:41 +02:00
Daniel Lavrushin
3e8975ca07
feat: implement markedDialer for bypass mark handling in TCP connections 2026-04-29 16:23:09 +02:00
Daniel Lavrushin
f81aeaa528
feat: enhance WebSocket connections handling and improve logging for connection events 2026-04-29 16:06:34 +02:00
Daniel Lavrushin
28da074dea
feat: add support for bypassing routing rules with BypassMark in SOCKS5 client 2026-04-29 15:14:29 +02:00
Daniel Lavrushin
c4d46bd2b3
Merge pull request #201 from DanielLavrushin/socks5-client
Some checks failed
Deploy documentation / build-and-deploy (push) Has been cancelled
2026-04-27 23:32:44 +02:00
Daniel Lavrushin
21e96fd242
feat: add upstream SOCKS5 routing and enhance listener for IPv4/IPv6 support 2026-04-27 23:26:07 +02:00
Daniel Lavrushin
e9cab35ba2
feat: set default upstream host to 127.0.0.1 in routing configuration 2026-04-27 22:47:47 +02:00
Daniel Lavrushin
163e093b32
feat: enhance socket options for IP_TRANSPARENT support in Listener 2026-04-27 22:36:16 +02:00
Daniel Lavrushin
ac5a27698f
feat: add upstream proxy configuration and routing mode selection in TrafficRouting component 2026-04-27 22:06:29 +02:00
Daniel Lavrushin
f91938e2c3
feat: add routing mode and upstream proxy configuration
- Introduced RoutingModeInterface and RoutingModeProxy constants to manage routing modes.
- Enhanced RoutingConfig struct to include UpstreamProxyConfig with domain usage.
- Updated DefaultSetConfig to initialize routing mode and upstream proxy settings.
- Implemented validation for upstream proxy configuration in the Validate method.
- Added migration logic to handle the transition to the new routing configuration.
- Created a new Listener and Manager for handling tproxy connections with upstream proxies.
- Implemented SOCKS5 client for upstream connections, including authentication handling.
- Enhanced routing logic to support proxy rules and cleanup for both interface and proxy modes.
- Added necessary tests and documentation for the new features.
2026-04-27 21:19:25 +02:00
Daniel Lavrushin
fc58f6f9b8
Merge pull request #199 from DanielLavrushin/b4-design-system
Some checks are pending
Deploy documentation / build-and-deploy (push) Waiting to run
2026-04-27 20:04:56 +02:00
Daniel Lavrushin
3cf9bea6a3
feat: enhance SeqOverlapPatternFields with custom mode detection and improved preset handling 2026-04-27 20:04:46 +02:00
Daniel Lavrushin
4650cdac3f
refactor: simplify alert component usage in DnsSettings, ComboSettings, and TcpGeneral 2026-04-27 16:28:59 +02:00
Daniel Lavrushin
355ca7d893
feat: normalize byte format in SeqOverlapPatternFields and update presets 2026-04-27 16:14:50 +02:00