Daniel Lavrushin
050e40c67a
Merge pull request #215 from DanielLavrushin/1-61-0-fixes
2026-05-09 13:23:39 +02:00
Daniel Lavrushin
d1020ce38b
fix: update port validation logic for Socks5 and MTProto configurations
2026-05-09 13:14:49 +02:00
Daniel Lavrushin
016c950e2b
fix: resolve backup file selection issue in Safari and improve error handling in TLS validation
2026-05-09 13:10:16 +02:00
Daniel Lavrushin
e15826fc01
fix: resolve routing issues with interface names containing dashes and improve error messages for SOCKS5 and MTProto server startup
2026-05-09 12:58:50 +02:00
Daniel Lavrushin
e59cc67b74
feat: simplify FieldError validation logic in apiClient and enhance preflightConfig checks
2026-05-09 12:50:27 +02:00
Daniel Lavrushin
ebedc43092
feat: enhance UDP settings UI with evasion techniques and connection packets limit
2026-05-09 12:39:59 +02:00
Daniel Lavrushin
9cf6c2878c
feat: enhance validation and error handling in configuration
...
- Implemented a new validation system in the config package to check for various conditions, including port collisions, TLS certificate requirements, and routing mode validity.
- Added detailed error messages for validation failures, including specific field errors for better debugging.
- Introduced API error handling to return structured error responses for invalid configurations.
- Updated the SnackbarProvider to handle multiple snackbar messages in a queue.
- Refactored useSets hook to simplify error handling by removing unnecessary ApiError checks.
- Added localization for error messages in the UI, improving user experience.
- Created utility functions for error localization and reporting.
- Added tests for validation logic to ensure robustness and correctness.
2026-05-09 12:17:30 +02:00
Daniel Lavrushin
2637d144d4
Refactor code structure for improved readability and maintainability
2026-05-09 11:05:30 +02:00
Daniel Lavrushin
86462ffed5
Merge pull request #214 from DanielLavrushin/1-61-0-updates
Deploy documentation / build-and-deploy (push) Has been cancelled
2026-05-08 00:18:24 +02:00
Daniel Lavrushin
9b707849be
feat: enhance BuildFakeUDPFromOriginalV4 and BuildFakeUDPFromOriginalV6 to validate UDP protocol type
2026-05-08 00:13:34 +02:00
Daniel Lavrushin
93425a0e3a
feat: update BuildQUICInitial to enforce size limits and add test for size validation
2026-05-08 00:08:17 +02:00
Daniel Lavrushin
a1c901be70
feat: enhance FakePayloadFile description to clarify usage of presets and QUIC initial generation
2026-05-07 23:56:29 +02:00
Daniel Lavrushin
1aeea54c83
refactor: optimize handleFileChange to use functional state updates and improve protocol detection logic
2026-05-07 23:55:49 +02:00
Daniel Lavrushin
0d95fe62ee
feat: add tests for BuildQUICInitial function to validate packet structure and randomness
2026-05-07 23:54:36 +02:00
Daniel Lavrushin
1074b02c79
feat: update IP header version for fake UDP packets in BuildFakeUDPFromOriginalV4 and IPv4FragmentUDP functions
2026-05-07 23:48:48 +02:00
Daniel Lavrushin
cd613022c0
feat: add safeCapturePath function for validating capture file paths and improve payload handling in UDP methods
2026-05-07 23:40:32 +02:00
Daniel Lavrushin
e8f05d4f34
feat: add QUIC payload presets and enhance UDP fake packet handling
2026-05-07 23:32:56 +02:00
Daniel Lavrushin
ca5148a1c7
feat: implement auto-generated QUIC Initial payload and update related settings
2026-05-07 22:41:03 +02:00
Daniel Lavrushin
02db9bc26a
feat: add QUIC Initial faking strategy and related payload handling
2026-05-07 22:37:35 +02:00
Daniel Lavrushin
fc1150e7db
feat: add support for custom UDP fake packet payloads and related settings
2026-05-07 22:30:03 +02:00
Daniel Lavrushin
2330dcd561
feat: add API endpoints for managing AI models and secrets
2026-05-07 22:11:37 +02:00
Daniel Lavrushin
47b9d40a9c
Merge pull request #212 from DanielLavrushin/quic-fix
2026-05-07 21:48:20 +02:00
Daniel Lavrushin
a3f99a83b8
Merge branch 'main' into quic-fix
2026-05-07 21:48:10 +02:00
Daniel Lavrushin
4e9458aa60
Merge pull request #211 from DanielLavrushin/ai-assistant
2026-05-07 21:43:59 +02:00
Daniel Lavrushin
c365d22c81
refactor: improve code readability and structure across multiple components and hooks
...
- Simplified destructuring and formatting in various components for better readability.
- Updated API client error handling to use more concise syntax.
- Refactored asynchronous functions to enhance clarity and maintainability.
- Improved handling of state updates and effects in hooks for better performance.
- Cleaned up imports and removed unused variables to streamline code.
2026-05-07 21:43:33 +02:00
Daniel Lavrushin
acced6adf8
feat: add interfaceShareCount function to count shared interfaces for routing rules
2026-05-07 21:22:59 +02:00
Daniel Lavrushin
0bd4ca3f23
refactor: update proxyTable function to return a constant value and simplify route cleanup logic
2026-05-07 21:20:57 +02:00
Daniel Lavrushin
a9953234b9
refactor: move reader initialization inside try block in streamAi function
2026-05-07 21:10:56 +02:00
Daniel Lavrushin
c3fdfcaa13
feat: add tests for BuildSeqOverlapSegmentV6 with various scenarios
2026-05-07 21:09:48 +02:00
Daniel Lavrushin
5dc9bb0df5
refactor: format useAiStatus destructuring for improved readability
2026-05-07 21:06:04 +02:00
Daniel Lavrushin
dbbffbc5db
fix: change Temperature field to pointer in AI request structs for better nil handling
2026-05-07 20:59:34 +02:00
Daniel Lavrushin
fdf7cc5445
feat: implement secret reference management in AISection for improved key handling
2026-05-07 20:56:54 +02:00
Daniel Lavrushin
67d4b996c6
feat: add aria-label for accessibility in B4AiExplain component
2026-05-07 20:54:40 +02:00
Daniel Lavrushin
2374d0dbaf
fix: enhance error handling in Stream method for clearer error messages
2026-05-07 20:52:43 +02:00
Daniel Lavrushin
383e3b21d9
feat: update ProviderFor method to include apiKeyRef and adjust related tests and UI components for unsaved changes indication
2026-05-07 20:49:50 +02:00
Daniel Lavrushin
b3d30f8438
refactor: improve save and set methods in SecretStore for better data handling
2026-05-07 20:42:21 +02:00
Daniel Lavrushin
77914ac14d
fix: reset AI model on provider change to ensure correct configuration
2026-05-07 20:39:47 +02:00
Daniel Lavrushin
554460bdee
fix: update refresh function to return AIStatus or null for better type handling
2026-05-07 20:36:28 +02:00
Daniel Lavrushin
051af91dff
feat: add experimental AI field explanations for enhanced user guidance
2026-05-07 20:30:06 +02:00
Daniel Lavrushin
a08aeef0c4
feat: add MTProtoRelayHelpDialog component for DC relay setup instructions
2026-05-07 12:45:50 +02:00
Daniel Lavrushin
e8a7517f4f
feat: add single-instance enforcement to prevent multiple b4 processes from running simultaneously
2026-05-07 10:53:23 +02:00
Daniel Lavrushin
7b15b083ab
fix: adjust proxy table calculation for improved routing accuracy
2026-05-07 09:53:55 +02:00
Daniel Lavrushin
d4db415373
feat: enhance HTTP client with custom transport settings for improved performance
2026-05-06 08:51:54 +02:00
Daniel Lavrushin
ab5c4a25dd
feat: enhance TcpFaking component with AI topic integration for faking strategies and parameters
2026-05-05 00:46:12 +02:00
Daniel Lavrushin
09a6218f03
feat: add sequence overlap length for fragmentation strategies, including combo and disorder
2026-05-05 00:27:45 +02:00
Daniel Lavrushin
1aea7d7660
feat: add fragmentation options for combo and disorder strategies, including seq_overlap_length and AI context integration
2026-05-05 00:10:35 +02:00
Daniel Lavrushin
8645e4e811
feat: enhance TCP options descriptions for clarity and precision
2026-05-04 23:24:59 +02:00
Daniel Lavrushin
aab7f53ca5
feat: add authoritative B4-specific facts for AI explanations and update prompt handling
2026-05-04 23:19:01 +02:00
Daniel Lavrushin
3d17af1a2b
feat: integrate AI explanation feature into various components and enhance context handling
2026-05-04 22:53:23 +02:00
Daniel Lavrushin
dc1f6fee3b
refactor: simplify AI status handling by using context and removing local state management
2026-05-04 16:41:24 +02:00