init
This commit is contained in:
commit
ba15058f7f
39
.agents/AGENTS.md
Normal file
39
.agents/AGENTS.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Jai Developer Agent Guidelines
|
||||||
|
|
||||||
|
These guidelines apply to any agent working with the Jai programming language.
|
||||||
|
|
||||||
|
## 1. Syntax & Core Idioms
|
||||||
|
- **Declarations**: Use `:=` for type inference, `: Type =` for explicit types, and `::` for compile-time constants (functions, structs, constants).
|
||||||
|
- **Procedures**: Declare procedures as `name :: (params) -> return_type { ... }`. Use `#expand` for macros that compile into the caller's scope and access caller variables using backticks (e.g., `` `x ``).
|
||||||
|
- **Memory Management**: Jai does not have RAII or garbage collection. Memory is managed manually, typically using `defer` to clean up resources right after allocation:
|
||||||
|
```jai
|
||||||
|
data := alloc(size);
|
||||||
|
defer free(data);
|
||||||
|
```
|
||||||
|
- **Context Allocators**: Jai uses an implicit `context` parameter containing the current allocator (`context.allocator`).
|
||||||
|
- Use `context.allocator = temp_allocator;` for temporary/arena allocations that don't need manual freeing (cleared at the end of the frame/loop iteration via `reset_temporary_storage()`).
|
||||||
|
- When writing reusable libraries or procedures, accept an optional allocator parameter or use `context.allocator` by default.
|
||||||
|
|
||||||
|
## 2. Standard Libraries & Imports
|
||||||
|
- **Anonymous Imports**: Use `#import "Basic";` anonymously to bring standard utilities like `print`, `alloc`, `free`, `tprint` directly into the scope.
|
||||||
|
- **Named Imports**: Use named imports `String :: #import "String";` to namespace helper libraries, which keeps the scope clean. Note that operator overloads do not automatically propagate through namespaces.
|
||||||
|
- **No Package Manager**: Since Jai does not have a package manager, vendor any external libraries directly into the project's `modules/` folder or implement them yourself.
|
||||||
|
|
||||||
|
## 3. Platform Bindings & Win32 API
|
||||||
|
- **Windows Bindings**: The standard `Windows` module (`#import "Windows";`) provides native bindings to Win32 APIs.
|
||||||
|
- **Wide Strings**: Many Windows APIs require wide UTF-16 strings (e.g., `LPCWSTR`). Use helper utilities to convert Jai UTF-8 strings (`string`) to UTF-16 wide strings when calling Windows APIs (e.g. using `utf8_to_wide` or similar functions in the runtime or writing a custom converter using `MultiByteToWideChar`).
|
||||||
|
- **Callback Conventions**: When defining callbacks for Win32 API (such as Window Procedures or Thread Procedures), you must mark the procedure with `#c_call` calling convention and usually `#no_context` to prevent context mismatches when called from OS threads:
|
||||||
|
```jai
|
||||||
|
window_proc :: (hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT #c_call {
|
||||||
|
// If context is needed inside the callback, re-push it:
|
||||||
|
ctx: Context; // or get from global/user data
|
||||||
|
push_context ctx {
|
||||||
|
// Jai code here
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## 4. Code Quality & Compilation
|
||||||
|
- **No Compiler Warnings**: Always ensure the code compiles without warnings or errors.
|
||||||
|
- **Compile-Time Execution**: Utilize `#run` blocks to execute code at compile-time for code generation, building lookups, or validating configurations.
|
||||||
|
- **Linting & Safety**: Avoid using uninitialized variables unless performance-critical (explicitly mark as `---` if needed).
|
||||||
10
.agents/skills.json
Normal file
10
.agents/skills.json
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"entries": [
|
||||||
|
{
|
||||||
|
"path": "C:/Sync/Arc/Projects/Jai"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "C:/Sync/Arc/Projects/Jai/jai-language-skill"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
6
.build/.added_strings_w2.jai
Normal file
6
.build/.added_strings_w2.jai
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
// Workspace: Target Program
|
||||||
|
|
||||||
|
//
|
||||||
|
// String added via add_build_string() from C:/Sync/Arc/Projects/Jai/jails/Jails/bin/metaprogram/jails_diagnostics.jai:45.
|
||||||
|
//
|
||||||
|
JAILS_DIAGNOSTICS_BUILD :: true;
|
||||||
BIN
.build/main.exp
Normal file
BIN
.build/main.exp
Normal file
Binary file not shown.
BIN
.build/main.lib
Normal file
BIN
.build/main.lib
Normal file
Binary file not shown.
BIN
.build/main_0_w2.obj
Normal file
BIN
.build/main_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/main_1_w2.obj
Normal file
BIN
.build/main_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/main_2_w2.obj
Normal file
BIN
.build/main_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/main_3_w2.obj
Normal file
BIN
.build/main_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/singbox_tray.exp
Normal file
BIN
.build/singbox_tray.exp
Normal file
Binary file not shown.
BIN
.build/singbox_tray.lib
Normal file
BIN
.build/singbox_tray.lib
Normal file
Binary file not shown.
BIN
.build/singbox_tray_0_w3.obj
Normal file
BIN
.build/singbox_tray_0_w3.obj
Normal file
Binary file not shown.
BIN
.build/singbox_tray_1_w3.obj
Normal file
BIN
.build/singbox_tray_1_w3.obj
Normal file
Binary file not shown.
BIN
.build/singbox_tray_2_w3.obj
Normal file
BIN
.build/singbox_tray_2_w3.obj
Normal file
Binary file not shown.
BIN
.build/singbox_tray_3_w3.obj
Normal file
BIN
.build/singbox_tray_3_w3.obj
Normal file
Binary file not shown.
BIN
.build/test_dialog.exp
Normal file
BIN
.build/test_dialog.exp
Normal file
Binary file not shown.
BIN
.build/test_dialog.lib
Normal file
BIN
.build/test_dialog.lib
Normal file
Binary file not shown.
BIN
.build/test_dialog_0_w2.obj
Normal file
BIN
.build/test_dialog_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_dialog_1_w2.obj
Normal file
BIN
.build/test_dialog_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_dialog_2_w2.obj
Normal file
BIN
.build/test_dialog_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_dialog_3_w2.obj
Normal file
BIN
.build/test_dialog_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_download.exp
Normal file
BIN
.build/test_download.exp
Normal file
Binary file not shown.
BIN
.build/test_download.lib
Normal file
BIN
.build/test_download.lib
Normal file
Binary file not shown.
BIN
.build/test_download_0_w2.obj
Normal file
BIN
.build/test_download_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_download_1_w2.obj
Normal file
BIN
.build/test_download_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_download_2_w2.obj
Normal file
BIN
.build/test_download_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_download_3_w2.obj
Normal file
BIN
.build/test_download_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_file.exp
Normal file
BIN
.build/test_file.exp
Normal file
Binary file not shown.
BIN
.build/test_file.lib
Normal file
BIN
.build/test_file.lib
Normal file
Binary file not shown.
BIN
.build/test_file_0_w2.obj
Normal file
BIN
.build/test_file_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_file_1_w2.obj
Normal file
BIN
.build/test_file_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_file_2_w2.obj
Normal file
BIN
.build/test_file_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_file_3_w2.obj
Normal file
BIN
.build/test_file_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_import.exp
Normal file
BIN
.build/test_import.exp
Normal file
Binary file not shown.
BIN
.build/test_import.lib
Normal file
BIN
.build/test_import.lib
Normal file
Binary file not shown.
BIN
.build/test_import_0_w2.obj
Normal file
BIN
.build/test_import_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_import_1_w2.obj
Normal file
BIN
.build/test_import_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_import_2_w2.obj
Normal file
BIN
.build/test_import_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_import_3_w2.obj
Normal file
BIN
.build/test_import_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_json.exp
Normal file
BIN
.build/test_json.exp
Normal file
Binary file not shown.
BIN
.build/test_json.lib
Normal file
BIN
.build/test_json.lib
Normal file
Binary file not shown.
BIN
.build/test_json_0_w2.obj
Normal file
BIN
.build/test_json_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_json_1_w2.obj
Normal file
BIN
.build/test_json_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_json_2_w2.obj
Normal file
BIN
.build/test_json_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_json_3_w2.obj
Normal file
BIN
.build/test_json_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_shell.exp
Normal file
BIN
.build/test_shell.exp
Normal file
Binary file not shown.
BIN
.build/test_shell.lib
Normal file
BIN
.build/test_shell.lib
Normal file
Binary file not shown.
BIN
.build/test_shell_0_w2.obj
Normal file
BIN
.build/test_shell_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_shell_1_w2.obj
Normal file
BIN
.build/test_shell_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_shell_2_w2.obj
Normal file
BIN
.build/test_shell_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_shell_3_w2.obj
Normal file
BIN
.build/test_shell_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn.exp
Normal file
BIN
.build/test_spawn.exp
Normal file
Binary file not shown.
BIN
.build/test_spawn.lib
Normal file
BIN
.build/test_spawn.lib
Normal file
Binary file not shown.
BIN
.build/test_spawn_0_w2.obj
Normal file
BIN
.build/test_spawn_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn_1_w2.obj
Normal file
BIN
.build/test_spawn_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn_2_w2.obj
Normal file
BIN
.build/test_spawn_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn_3_w2.obj
Normal file
BIN
.build/test_spawn_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn_hidden.exp
Normal file
BIN
.build/test_spawn_hidden.exp
Normal file
Binary file not shown.
BIN
.build/test_spawn_hidden.lib
Normal file
BIN
.build/test_spawn_hidden.lib
Normal file
Binary file not shown.
BIN
.build/test_spawn_hidden_0_w2.obj
Normal file
BIN
.build/test_spawn_hidden_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn_hidden_1_w2.obj
Normal file
BIN
.build/test_spawn_hidden_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn_hidden_2_w2.obj
Normal file
BIN
.build/test_spawn_hidden_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_spawn_hidden_3_w2.obj
Normal file
BIN
.build/test_spawn_hidden_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_trim.exp
Normal file
BIN
.build/test_trim.exp
Normal file
Binary file not shown.
BIN
.build/test_trim.lib
Normal file
BIN
.build/test_trim.lib
Normal file
Binary file not shown.
BIN
.build/test_trim_0_w2.obj
Normal file
BIN
.build/test_trim_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_trim_1_w2.obj
Normal file
BIN
.build/test_trim_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_trim_2_w2.obj
Normal file
BIN
.build/test_trim_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_trim_3_w2.obj
Normal file
BIN
.build/test_trim_3_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_win32.exp
Normal file
BIN
.build/test_win32.exp
Normal file
Binary file not shown.
BIN
.build/test_win32.lib
Normal file
BIN
.build/test_win32.lib
Normal file
Binary file not shown.
BIN
.build/test_win32_0_w2.obj
Normal file
BIN
.build/test_win32_0_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_win32_1_w2.obj
Normal file
BIN
.build/test_win32_1_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_win32_2_w2.obj
Normal file
BIN
.build/test_win32_2_w2.obj
Normal file
Binary file not shown.
BIN
.build/test_win32_3_w2.obj
Normal file
BIN
.build/test_win32_3_w2.obj
Normal file
Binary file not shown.
39
AGENTS.md
Normal file
39
AGENTS.md
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
# Jai Developer Agent Guidelines
|
||||||
|
|
||||||
|
These guidelines apply to any agent working with the Jai programming language.
|
||||||
|
|
||||||
|
## 1. Syntax & Core Idioms
|
||||||
|
- **Declarations**: Use `:=` for type inference, `: Type =` for explicit types, and `::` for compile-time constants (functions, structs, constants).
|
||||||
|
- **Procedures**: Declare procedures as `name :: (params) -> return_type { ... }`. Use `#expand` for macros that compile into the caller's scope and access caller variables using backticks (e.g., `` `x ``).
|
||||||
|
- **Memory Management**: Jai does not have RAII or garbage collection. Memory is managed manually, typically using `defer` to clean up resources right after allocation:
|
||||||
|
```jai
|
||||||
|
data := alloc(size);
|
||||||
|
defer free(data);
|
||||||
|
```
|
||||||
|
- **Context Allocators**: Jai uses an implicit `context` parameter containing the current allocator (`context.allocator`).
|
||||||
|
- Use `context.allocator = temp_allocator;` for temporary/arena allocations that don't need manual freeing (cleared at the end of the frame/loop iteration via `reset_temporary_storage()`).
|
||||||
|
- When writing reusable libraries or procedures, accept an optional allocator parameter or use `context.allocator` by default.
|
||||||
|
|
||||||
|
## 2. Standard Libraries & Imports
|
||||||
|
- **Anonymous Imports**: Use `#import "Basic";` anonymously to bring standard utilities like `print`, `alloc`, `free`, `tprint` directly into the scope.
|
||||||
|
- **Named Imports**: Use named imports `String :: #import "String";` to namespace helper libraries, which keeps the scope clean. Note that operator overloads do not automatically propagate through namespaces.
|
||||||
|
- **No Package Manager**: Since Jai does not have a package manager, vendor any external libraries directly into the project's `modules/` folder or implement them yourself.
|
||||||
|
|
||||||
|
## 3. Platform Bindings & Win32 API
|
||||||
|
- **Windows Bindings**: The standard `Windows` module (`#import "Windows";`) provides native bindings to Win32 APIs.
|
||||||
|
- **Wide Strings**: Many Windows APIs require wide UTF-16 strings (e.g., `LPCWSTR`). Use helper utilities to convert Jai UTF-8 strings (`string`) to UTF-16 wide strings when calling Windows APIs (e.g. using `utf8_to_wide` or similar functions in the runtime or writing a custom converter using `MultiByteToWideChar`).
|
||||||
|
- **Callback Conventions**: When defining callbacks for Win32 API (such as Window Procedures or Thread Procedures), you must mark the procedure with `#c_call` calling convention and usually `#no_context` to prevent context mismatches when called from OS threads:
|
||||||
|
```jai
|
||||||
|
window_proc :: (hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT #c_call {
|
||||||
|
// If context is needed inside the callback, re-push it:
|
||||||
|
ctx: Context; // or get from global/user data
|
||||||
|
push_context ctx {
|
||||||
|
// Jai code here
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
## 4. Code Quality & Compilation
|
||||||
|
- **No Compiler Warnings**: Always ensure the code compiles without warnings or errors.
|
||||||
|
- **Compile-Time Execution**: Utilize `#run` blocks to execute code at compile-time for code generation, building lookups, or validating configurations.
|
||||||
|
- **Linting & Safety**: Avoid using uninitialized variables unless performance-critical (explicitly mark as `---` if needed).
|
||||||
63
build.jai
Normal file
63
build.jai
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#import "Basic";
|
||||||
|
#import "Compiler";
|
||||||
|
#import "File";
|
||||||
|
#import "File_Utilities";
|
||||||
|
|
||||||
|
#run {
|
||||||
|
// Disable output for default workspace immediately
|
||||||
|
build_options: Build_Options_During_Compile;
|
||||||
|
build_options.do_output = false;
|
||||||
|
set_build_options_dc(build_options);
|
||||||
|
|
||||||
|
w := compiler_create_workspace("Target Workspace");
|
||||||
|
if !w return;
|
||||||
|
|
||||||
|
options := get_build_options(w);
|
||||||
|
options.output_executable_name = "singbox_tray";
|
||||||
|
|
||||||
|
// Copy libcurl.dll from compiler modules to output directory
|
||||||
|
for options.import_path {
|
||||||
|
dll_path := tprint("%Curl/windows/lib/libcurl.dll", it);
|
||||||
|
if file_exists(dll_path) {
|
||||||
|
dest_path := "libcurl.dll";
|
||||||
|
if options.output_path {
|
||||||
|
dest_path = tprint("%/libcurl.dll", options.output_path);
|
||||||
|
}
|
||||||
|
if copy_file(dll_path, dest_path) {
|
||||||
|
print("Build: Successfully copied libcurl.dll to %\n", dest_path);
|
||||||
|
} else {
|
||||||
|
print("Build Warning: Could not copy libcurl.dll to %\n", dest_path);
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// options.additional_linker_arguments is a slice, so copy it to a dynamic array, append, and assign back
|
||||||
|
new_args: [..] string;
|
||||||
|
new_args.allocator = temp;
|
||||||
|
|
||||||
|
for options.additional_linker_arguments {
|
||||||
|
array_add(*new_args, it);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set subsystem to Windows so no console window is created/shown.
|
||||||
|
array_add(*new_args, "/SUBSYSTEM:WINDOWS");
|
||||||
|
|
||||||
|
// Route MSVC Windows subsystem entry point to the standard main function.
|
||||||
|
array_add(*new_args, "/ENTRY:mainCRTStartup");
|
||||||
|
|
||||||
|
options.additional_linker_arguments = new_args;
|
||||||
|
|
||||||
|
set_build_options(options, w);
|
||||||
|
|
||||||
|
compiler_begin_intercept(w);
|
||||||
|
add_build_file("main.jai", w);
|
||||||
|
|
||||||
|
while true {
|
||||||
|
message := compiler_wait_for_message();
|
||||||
|
if !message break;
|
||||||
|
if message.workspace != w continue;
|
||||||
|
if message.kind == .COMPLETE break;
|
||||||
|
}
|
||||||
|
compiler_end_intercept(w);
|
||||||
|
}
|
||||||
318
config.json
Normal file
318
config.json
Normal file
File diff suppressed because one or more lines are too long
203
dialog.jai
Normal file
203
dialog.jai
Normal file
@ -0,0 +1,203 @@
|
|||||||
|
#import "Basic";
|
||||||
|
#import "Windows";
|
||||||
|
#import "Windows_Utf8";
|
||||||
|
#import "File";
|
||||||
|
#import "String";
|
||||||
|
|
||||||
|
// Win32 declarations are provided by win32.jai loaded in the main workspace.
|
||||||
|
|
||||||
|
Dialog_State :: struct {
|
||||||
|
edit_hwnd: HWND;
|
||||||
|
ok_hwnd: HWND;
|
||||||
|
cancel_hwnd: HWND;
|
||||||
|
dialog_done: bool;
|
||||||
|
url_saved: bool;
|
||||||
|
}
|
||||||
|
|
||||||
|
dialog_proc :: (hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT #c_call {
|
||||||
|
ctx: #Context;
|
||||||
|
push_context ctx {
|
||||||
|
state := cast(*Dialog_State) GetWindowLongPtrW(hwnd, GWLP_USERDATA);
|
||||||
|
|
||||||
|
if msg == {
|
||||||
|
case WM_CREATE; {
|
||||||
|
create_struct := cast(*CREATESTRUCTW) lparam;
|
||||||
|
state = cast(*Dialog_State) create_struct.lpCreateParams;
|
||||||
|
SetWindowLongPtrW(hwnd, GWLP_USERDATA, cast(LONG_PTR) state);
|
||||||
|
|
||||||
|
hFont := GetStockObject(DEFAULT_GUI_FONT);
|
||||||
|
|
||||||
|
static_label := CreateWindowExW(
|
||||||
|
0,
|
||||||
|
utf8_to_wide("STATIC"),
|
||||||
|
utf8_to_wide("Enter Sing-box Config URL:"),
|
||||||
|
WS_CHILD | WS_VISIBLE | SS_LEFT,
|
||||||
|
20, 20, 410, 20,
|
||||||
|
hwnd,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
SendMessageW(static_label, WM_SETFONT, cast(WPARAM) hFont, TRUE);
|
||||||
|
|
||||||
|
state.edit_hwnd = CreateWindowExW(
|
||||||
|
WS_EX_CLIENTEDGE,
|
||||||
|
utf8_to_wide("EDIT"),
|
||||||
|
utf8_to_wide(""),
|
||||||
|
WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER | ES_AUTOHSCROLL,
|
||||||
|
20, 45, 410, 25,
|
||||||
|
hwnd,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
SendMessageW(state.edit_hwnd, WM_SETFONT, cast(WPARAM) hFont, TRUE);
|
||||||
|
|
||||||
|
// Populate with existing URL if present
|
||||||
|
existing_url, ok := read_entire_file("url.txt");
|
||||||
|
if ok {
|
||||||
|
trimmed := trim(existing_url);
|
||||||
|
wide_url := utf8_to_wide(trimmed);
|
||||||
|
SetWindowTextW(state.edit_hwnd, wide_url);
|
||||||
|
free(existing_url);
|
||||||
|
}
|
||||||
|
|
||||||
|
state.ok_hwnd = CreateWindowExW(
|
||||||
|
0,
|
||||||
|
utf8_to_wide("BUTTON"),
|
||||||
|
utf8_to_wide("OK"),
|
||||||
|
WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_DEFPUSHBUTTON,
|
||||||
|
220, 85, 100, 30,
|
||||||
|
hwnd,
|
||||||
|
cast(HMENU) IDOK,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
SendMessageW(state.ok_hwnd, WM_SETFONT, cast(WPARAM) hFont, TRUE);
|
||||||
|
|
||||||
|
state.cancel_hwnd = CreateWindowExW(
|
||||||
|
0,
|
||||||
|
utf8_to_wide("BUTTON"),
|
||||||
|
utf8_to_wide("Cancel"),
|
||||||
|
WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_PUSHBUTTON,
|
||||||
|
330, 85, 100, 30,
|
||||||
|
hwnd,
|
||||||
|
cast(HMENU) IDCANCEL,
|
||||||
|
null,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
SendMessageW(state.cancel_hwnd, WM_SETFONT, cast(WPARAM) hFont, TRUE);
|
||||||
|
|
||||||
|
SetFocus(state.edit_hwnd);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
case WM_COMMAND; {
|
||||||
|
control_id := LOWORD(wparam);
|
||||||
|
if control_id == IDOK {
|
||||||
|
length := GetWindowTextLengthW(state.edit_hwnd);
|
||||||
|
if length > 0 {
|
||||||
|
buffer := cast(*u16) alloc((length + 1) * size_of(u16));
|
||||||
|
defer free(buffer);
|
||||||
|
|
||||||
|
GetWindowTextW(state.edit_hwnd, buffer, length + 1);
|
||||||
|
url_utf8 := wide_to_utf8(buffer);
|
||||||
|
defer free(url_utf8);
|
||||||
|
|
||||||
|
trimmed_url := trim(url_utf8);
|
||||||
|
if trimmed_url {
|
||||||
|
write_entire_file("url.txt", trimmed_url);
|
||||||
|
state.url_saved = true;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
DeleteFileW(utf8_to_wide("url.txt"));
|
||||||
|
state.url_saved = true;
|
||||||
|
}
|
||||||
|
DestroyWindow(hwnd);
|
||||||
|
return 0;
|
||||||
|
} else if control_id == IDCANCEL {
|
||||||
|
DestroyWindow(hwnd);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case WM_CLOSE; {
|
||||||
|
DestroyWindow(hwnd);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
case WM_DESTROY; {
|
||||||
|
if state {
|
||||||
|
state.dialog_done = true;
|
||||||
|
}
|
||||||
|
PostThreadMessageW(GetCurrentThreadId(), WM_NULL, 0, 0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return DefWindowProcW(hwnd, msg, wparam, lparam);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
show_config_url_dialog :: (parent_hwnd: HWND) -> bool {
|
||||||
|
hInstance := GetModuleHandleW(null);
|
||||||
|
class_name := utf8_to_wide("SingboxConfigUrlDialogClass");
|
||||||
|
|
||||||
|
wclass: WNDCLASSEXW;
|
||||||
|
wclass.cbSize = size_of(WNDCLASSEXW);
|
||||||
|
wclass.style = CS_HREDRAW | CS_VREDRAW;
|
||||||
|
wclass.lpfnWndProc = dialog_proc;
|
||||||
|
wclass.hInstance = hInstance;
|
||||||
|
wclass.hCursor = LoadCursorW(null, IDC_ARROW);
|
||||||
|
wclass.hbrBackground = cast(HBRUSH) (COLOR_WINDOW + 1);
|
||||||
|
wclass.lpszClassName = class_name;
|
||||||
|
|
||||||
|
RegisterClassExW(*wclass);
|
||||||
|
defer UnregisterClassW(class_name, hInstance);
|
||||||
|
|
||||||
|
screen_w := GetSystemMetrics(SM_CXSCREEN);
|
||||||
|
screen_h := GetSystemMetrics(SM_CYSCREEN);
|
||||||
|
dialog_w: s32 = 460;
|
||||||
|
dialog_h: s32 = 170;
|
||||||
|
dialog_x := (screen_w - dialog_w) / 2;
|
||||||
|
dialog_y := (screen_h - dialog_h) / 2;
|
||||||
|
|
||||||
|
state: Dialog_State;
|
||||||
|
|
||||||
|
dialog_hwnd := CreateWindowExW(
|
||||||
|
WS_EX_DLGMODALFRAME,
|
||||||
|
class_name,
|
||||||
|
utf8_to_wide("Configure Sing-box URL"),
|
||||||
|
WS_POPUP | WS_CAPTION | WS_SYSMENU,
|
||||||
|
dialog_x, dialog_y, dialog_w, dialog_h,
|
||||||
|
parent_hwnd,
|
||||||
|
null,
|
||||||
|
hInstance,
|
||||||
|
*state
|
||||||
|
);
|
||||||
|
|
||||||
|
if !dialog_hwnd return false;
|
||||||
|
|
||||||
|
if parent_hwnd {
|
||||||
|
EnableWindow(parent_hwnd, FALSE);
|
||||||
|
}
|
||||||
|
|
||||||
|
ShowWindow(dialog_hwnd, SW_SHOW);
|
||||||
|
UpdateWindow(dialog_hwnd);
|
||||||
|
|
||||||
|
while !state.dialog_done {
|
||||||
|
msg: MSG;
|
||||||
|
if GetMessageW(*msg, null, 0, 0) {
|
||||||
|
if !IsDialogMessageW(dialog_hwnd, *msg) {
|
||||||
|
TranslateMessage(*msg);
|
||||||
|
DispatchMessageW(*msg);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
PostQuitMessage(cast(s32) msg.wParam);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if parent_hwnd {
|
||||||
|
EnableWindow(parent_hwnd, TRUE);
|
||||||
|
SetFocus(parent_hwnd);
|
||||||
|
}
|
||||||
|
|
||||||
|
return state.url_saved;
|
||||||
|
}
|
||||||
BIN
libcurl.dll
Normal file
BIN
libcurl.dll
Normal file
Binary file not shown.
493
main.jai
Normal file
493
main.jai
Normal file
@ -0,0 +1,493 @@
|
|||||||
|
#import "Basic";
|
||||||
|
#import "Windows";
|
||||||
|
#import "Windows_Utf8";
|
||||||
|
#import "Thread";
|
||||||
|
#import "String";
|
||||||
|
|
||||||
|
#load "win32.jai";
|
||||||
|
#load "dialog.jai";
|
||||||
|
#load "updater.jai";
|
||||||
|
|
||||||
|
// Custom constants
|
||||||
|
TIMER_PROCESS_CHECK :: 1;
|
||||||
|
|
||||||
|
IDI_APPLICATION :: cast(*u16) 32512;
|
||||||
|
IDI_SHIELD :: cast(*u16) 32518;
|
||||||
|
|
||||||
|
App_State :: struct {
|
||||||
|
hwnd: HWND;
|
||||||
|
singbox_running: bool;
|
||||||
|
singbox_process_handle: HANDLE;
|
||||||
|
singbox_thread_handle: HANDLE;
|
||||||
|
singbox_job_handle: HANDLE;
|
||||||
|
|
||||||
|
updater_thread: Thread;
|
||||||
|
updater_data: Updater_Thread_Data;
|
||||||
|
use_system_proxy: bool = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Custom log print sending logs to OutputDebugStringW
|
||||||
|
log_print :: (format_string: string, args: .. Any) {
|
||||||
|
formatted := tprint(format_string, .. args);
|
||||||
|
OutputDebugStringW(utf8_to_wide(formatted));
|
||||||
|
}
|
||||||
|
|
||||||
|
file_exists :: (path: string) -> bool {
|
||||||
|
INVALID_FILE_ATTRIBUTES :: 0xFFFFFFFF;
|
||||||
|
wide_path := utf8_to_wide(path);
|
||||||
|
attribs := GetFileAttributesW(wide_path);
|
||||||
|
return attribs != INVALID_FILE_ATTRIBUTES && !(attribs & FILE_ATTRIBUTE_DIRECTORY);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Hidden Process Spawning with Job Object configuration and stdout/stderr redirection
|
||||||
|
create_process_hidden :: (cmd: string, log_file: string = "") -> HANDLE, PROCESS_INFORMATION, bool {
|
||||||
|
startup_info: STARTUPINFOW;
|
||||||
|
startup_info.cb = size_of(STARTUPINFOW);
|
||||||
|
startup_info.dwFlags = STARTF_USESHOWWINDOW;
|
||||||
|
startup_info.wShowWindow = SW_HIDE;
|
||||||
|
|
||||||
|
file_handle: HANDLE = INVALID_HANDLE_VALUE;
|
||||||
|
|
||||||
|
if log_file {
|
||||||
|
sa: SECURITY_ATTRIBUTES;
|
||||||
|
sa.nLength = size_of(SECURITY_ATTRIBUTES);
|
||||||
|
sa.bInheritHandle = 1; // TRUE
|
||||||
|
sa.lpSecurityDescriptor = null;
|
||||||
|
|
||||||
|
wide_log := utf8_to_wide(log_file);
|
||||||
|
|
||||||
|
file_handle = CreateFileW(
|
||||||
|
wide_log,
|
||||||
|
GENERIC_WRITE,
|
||||||
|
FILE_SHARE_READ,
|
||||||
|
*sa,
|
||||||
|
CREATE_ALWAYS,
|
||||||
|
FILE_ATTRIBUTE_NORMAL,
|
||||||
|
null
|
||||||
|
);
|
||||||
|
|
||||||
|
if file_handle != INVALID_HANDLE_VALUE {
|
||||||
|
startup_info.dwFlags |= STARTF_USESTDHANDLES;
|
||||||
|
startup_info.hStdOutput = file_handle;
|
||||||
|
startup_info.hStdError = file_handle;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
process_info: PROCESS_INFORMATION;
|
||||||
|
|
||||||
|
CREATE_NO_WINDOW :: 0x08000000;
|
||||||
|
|
||||||
|
job_handle := CreateJobObjectA(null, null);
|
||||||
|
if job_handle {
|
||||||
|
job_info: JOBOBJECT_EXTENDED_LIMIT_INFORMATION;
|
||||||
|
job_info.BasicLimitInformation.LimitFlags = JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE;
|
||||||
|
SetInformationJobObject(job_handle, .ExtendedLimitInformation, *job_info, size_of(type_of(job_info)));
|
||||||
|
}
|
||||||
|
|
||||||
|
cmd_wide := utf8_to_wide(cmd);
|
||||||
|
|
||||||
|
inherit_handles := ifx file_handle != INVALID_HANDLE_VALUE then cast(BOOL) 1 else cast(BOOL) 0;
|
||||||
|
|
||||||
|
success := CreateProcessW(
|
||||||
|
null,
|
||||||
|
cmd_wide,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
inherit_handles,
|
||||||
|
CREATE_NO_WINDOW,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
*startup_info,
|
||||||
|
*process_info
|
||||||
|
);
|
||||||
|
|
||||||
|
if success && job_handle {
|
||||||
|
AssignProcessToJobObject(job_handle, process_info.hProcess);
|
||||||
|
}
|
||||||
|
|
||||||
|
if file_handle != INVALID_HANDLE_VALUE {
|
||||||
|
CloseHandle(file_handle);
|
||||||
|
}
|
||||||
|
|
||||||
|
return job_handle, process_info, cast(bool) success;
|
||||||
|
}
|
||||||
|
|
||||||
|
set_tray_tip :: (nid: *NOTIFYICONDATAW, text: string) {
|
||||||
|
wide_text := utf8_to_wide(text);
|
||||||
|
i := 0;
|
||||||
|
while wide_text[i] != 0 && i < 127 {
|
||||||
|
nid.szTip[i] = wide_text[i];
|
||||||
|
i += 1;
|
||||||
|
}
|
||||||
|
nid.szTip[i] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
update_tray :: (app: *App_State) {
|
||||||
|
nid: NOTIFYICONDATAW;
|
||||||
|
nid.cbSize = size_of(NOTIFYICONDATAW);
|
||||||
|
nid.hWnd = app.hwnd;
|
||||||
|
nid.uID = 1;
|
||||||
|
nid.uFlags = NIF_ICON | NIF_TIP;
|
||||||
|
|
||||||
|
if app.singbox_running {
|
||||||
|
nid.hIcon = LoadIconW(null, IDI_SHIELD);
|
||||||
|
set_tray_tip(*nid, "Sing-box: Running");
|
||||||
|
} else {
|
||||||
|
nid.hIcon = LoadIconW(null, IDI_APPLICATION);
|
||||||
|
set_tray_tip(*nid, "Sing-box: Stopped");
|
||||||
|
}
|
||||||
|
|
||||||
|
Shell_NotifyIconW(NIM_MODIFY, *nid);
|
||||||
|
}
|
||||||
|
|
||||||
|
start_singbox :: (app: *App_State) -> bool {
|
||||||
|
if app.singbox_running return true;
|
||||||
|
|
||||||
|
if !file_exists("config.json") {
|
||||||
|
if file_exists("url.txt") {
|
||||||
|
changed, success, err_msg := perform_update();
|
||||||
|
if !success {
|
||||||
|
msg := tprint("Could not download configuration.\nError: %", err_msg);
|
||||||
|
MessageBoxW(app.hwnd, utf8_to_wide(msg), utf8_to_wide("Sing-box Tray"), MB_ICONERROR);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
MessageBoxW(app.hwnd, utf8_to_wide("No configuration found. Please configure the Config URL first."), utf8_to_wide("Sing-box Tray"), MB_ICONWARNING);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if file_exists("config.json") {
|
||||||
|
config_data, read_ok := read_entire_file("config.json");
|
||||||
|
if read_ok {
|
||||||
|
modified := modify_config_inbounds(config_data);
|
||||||
|
if modified != config_data {
|
||||||
|
write_entire_file("config.json", modified);
|
||||||
|
log_print("Existing config.json sanitized to use mixed inbound.\n");
|
||||||
|
}
|
||||||
|
free(config_data);
|
||||||
|
free(modified);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
exe_path := "sing-box.exe";
|
||||||
|
// Check if sing-box.exe is not in current folder, check in the sing-box subfolder
|
||||||
|
if !file_exists("sing-box.exe") {
|
||||||
|
if file_exists("sing-box/sing-box.exe") {
|
||||||
|
exe_path = "sing-box\\sing-box.exe";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
cmd := tprint("% run -c config.json", exe_path);
|
||||||
|
job, pi, ok := create_process_hidden(cmd, "sing-box.log");
|
||||||
|
if !ok {
|
||||||
|
msg := tprint("Failed to start %. Please ensure sing-box.exe is in the same folder or in the 'sing-box' subfolder.", exe_path);
|
||||||
|
MessageBoxW(app.hwnd, utf8_to_wide(msg), utf8_to_wide("Sing-box Tray"), MB_ICONERROR);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
app.singbox_process_handle = pi.hProcess;
|
||||||
|
app.singbox_thread_handle = pi.hThread;
|
||||||
|
app.singbox_job_handle = job;
|
||||||
|
app.singbox_running = true;
|
||||||
|
|
||||||
|
if app.use_system_proxy {
|
||||||
|
set_windows_system_proxy(true, "127.0.0.1:20122");
|
||||||
|
log_print("System proxy enabled.\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
update_tray(app);
|
||||||
|
log_print("Sing-box started successfully.\n");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_singbox :: (app: *App_State) {
|
||||||
|
if !app.singbox_running return;
|
||||||
|
|
||||||
|
TerminateProcess(app.singbox_process_handle, 0);
|
||||||
|
CloseHandle(app.singbox_process_handle);
|
||||||
|
CloseHandle(app.singbox_thread_handle);
|
||||||
|
CloseHandle(app.singbox_job_handle);
|
||||||
|
|
||||||
|
app.singbox_process_handle = null;
|
||||||
|
app.singbox_thread_handle = null;
|
||||||
|
app.singbox_job_handle = null;
|
||||||
|
app.singbox_running = false;
|
||||||
|
|
||||||
|
set_windows_system_proxy(false, "");
|
||||||
|
log_print("System proxy disabled.\n");
|
||||||
|
|
||||||
|
update_tray(app);
|
||||||
|
log_print("Sing-box stopped.\n");
|
||||||
|
}
|
||||||
|
|
||||||
|
check_process_status :: (app: *App_State) {
|
||||||
|
if !app.singbox_running return;
|
||||||
|
|
||||||
|
exit_code: u32;
|
||||||
|
success := GetExitCodeProcess(app.singbox_process_handle, *exit_code);
|
||||||
|
STILL_ACTIVE :: 259;
|
||||||
|
if success && exit_code != STILL_ACTIVE {
|
||||||
|
log_print("Sing-box process exited unexpectedly with code %.\n", exit_code);
|
||||||
|
|
||||||
|
CloseHandle(app.singbox_process_handle);
|
||||||
|
CloseHandle(app.singbox_thread_handle);
|
||||||
|
CloseHandle(app.singbox_job_handle);
|
||||||
|
|
||||||
|
app.singbox_process_handle = null;
|
||||||
|
app.singbox_thread_handle = null;
|
||||||
|
app.singbox_job_handle = null;
|
||||||
|
app.singbox_running = false;
|
||||||
|
|
||||||
|
set_windows_system_proxy(false, "");
|
||||||
|
log_print("System proxy disabled due to unexpected exit.\n");
|
||||||
|
|
||||||
|
update_tray(app);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
trigger_immediate_update :: (app: *App_State) {
|
||||||
|
changed, success, err_msg := perform_update();
|
||||||
|
if success {
|
||||||
|
if changed {
|
||||||
|
log_print("Config updated, restarting Sing-box...\n");
|
||||||
|
if app.singbox_running {
|
||||||
|
stop_singbox(app);
|
||||||
|
start_singbox(app);
|
||||||
|
} else {
|
||||||
|
start_singbox(app);
|
||||||
|
}
|
||||||
|
MessageBoxW(app.hwnd, utf8_to_wide("Configuration updated and Sing-box restarted successfully."), utf8_to_wide("Sing-box Tray"), MB_ICONINFORMATION);
|
||||||
|
} else {
|
||||||
|
if !app.singbox_running {
|
||||||
|
start_singbox(app);
|
||||||
|
}
|
||||||
|
MessageBoxW(app.hwnd, utf8_to_wide("Configuration is already up-to-date."), utf8_to_wide("Sing-box Tray"), MB_ICONINFORMATION);
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
msg := tprint("Failed to download configuration.\nError: %", err_msg);
|
||||||
|
MessageBoxW(app.hwnd, utf8_to_wide(msg), utf8_to_wide("Sing-box Tray"), MB_ICONERROR);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
show_context_menu :: (app: *App_State) {
|
||||||
|
hMenu := CreatePopupMenu();
|
||||||
|
if !hMenu return;
|
||||||
|
defer DestroyMenu(hMenu);
|
||||||
|
|
||||||
|
status_str := ifx app.singbox_running then "Sing-box: Running" else "Sing-box: Stopped";
|
||||||
|
AppendMenuW(hMenu, MF_STRING | MF_GRAYED | MF_DISABLED, CMD_STATUS, utf8_to_wide(status_str));
|
||||||
|
|
||||||
|
AppendMenuW(hMenu, MF_SEPARATOR, 0, null);
|
||||||
|
|
||||||
|
toggle_str := ifx app.singbox_running then "Stop Sing-box" else "Start Sing-box";
|
||||||
|
AppendMenuW(hMenu, MF_STRING, CMD_START_STOP, utf8_to_wide(toggle_str));
|
||||||
|
|
||||||
|
AppendMenuW(hMenu, MF_STRING, CMD_SET_URL, utf8_to_wide("Configure URL..."));
|
||||||
|
AppendMenuW(hMenu, MF_STRING, CMD_UPDATE_NOW, utf8_to_wide("Update Config Now"));
|
||||||
|
|
||||||
|
AppendMenuW(hMenu, MF_SEPARATOR, 0, null);
|
||||||
|
|
||||||
|
proxy_flags := MF_STRING;
|
||||||
|
sys_proxy_flags := MF_STRING;
|
||||||
|
if app.use_system_proxy {
|
||||||
|
sys_proxy_flags |= MF_CHECKED;
|
||||||
|
} else {
|
||||||
|
proxy_flags |= MF_CHECKED;
|
||||||
|
}
|
||||||
|
AppendMenuW(hMenu, proxy_flags, CMD_MODE_PROXY, utf8_to_wide("Proxy Mode (Local only)"));
|
||||||
|
AppendMenuW(hMenu, sys_proxy_flags, CMD_MODE_SYS_PROXY, utf8_to_wide("System Proxy Mode"));
|
||||||
|
|
||||||
|
AppendMenuW(hMenu, MF_SEPARATOR, 0, null);
|
||||||
|
|
||||||
|
AppendMenuW(hMenu, MF_STRING, CMD_EXIT, utf8_to_wide("Exit"));
|
||||||
|
|
||||||
|
cursor_pos: POINT;
|
||||||
|
GetCursorPos(*cursor_pos);
|
||||||
|
|
||||||
|
SetForegroundWindow(app.hwnd);
|
||||||
|
|
||||||
|
track_flags := TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD;
|
||||||
|
cmd := TrackPopupMenu(hMenu, track_flags, cursor_pos.x, cursor_pos.y, 0, app.hwnd, null);
|
||||||
|
|
||||||
|
if cmd == {
|
||||||
|
case CMD_START_STOP; {
|
||||||
|
if app.singbox_running {
|
||||||
|
stop_singbox(app);
|
||||||
|
} else {
|
||||||
|
start_singbox(app);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case CMD_SET_URL; {
|
||||||
|
changed := show_config_url_dialog(app.hwnd);
|
||||||
|
if changed {
|
||||||
|
log_print("URL configured, triggering download...\n");
|
||||||
|
trigger_immediate_update(app);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case CMD_UPDATE_NOW; {
|
||||||
|
trigger_immediate_update(app);
|
||||||
|
}
|
||||||
|
case CMD_MODE_PROXY; {
|
||||||
|
if app.use_system_proxy {
|
||||||
|
app.use_system_proxy = false;
|
||||||
|
write_entire_file("mode.txt", "proxy");
|
||||||
|
log_print("Switched to Proxy Mode.\n");
|
||||||
|
if app.singbox_running {
|
||||||
|
set_windows_system_proxy(false, "");
|
||||||
|
log_print("System proxy disabled.\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case CMD_MODE_SYS_PROXY; {
|
||||||
|
if !app.use_system_proxy {
|
||||||
|
app.use_system_proxy = true;
|
||||||
|
write_entire_file("mode.txt", "system_proxy");
|
||||||
|
log_print("Switched to System Proxy Mode.\n");
|
||||||
|
if app.singbox_running {
|
||||||
|
set_windows_system_proxy(true, "127.0.0.1:20122");
|
||||||
|
log_print("System proxy enabled.\n");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
case CMD_EXIT; {
|
||||||
|
DestroyWindow(app.hwnd);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
PostMessageW(app.hwnd, WM_NULL, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
app_wnd_proc :: (hwnd: HWND, msg: u32, wparam: WPARAM, lparam: LPARAM) -> LRESULT #c_call {
|
||||||
|
ctx: #Context;
|
||||||
|
push_context ctx {
|
||||||
|
app := cast(*App_State) GetWindowLongPtrW(hwnd, GWLP_USERDATA);
|
||||||
|
|
||||||
|
if msg == {
|
||||||
|
case WM_CREATE; {
|
||||||
|
create_struct := cast(*CREATESTRUCTW) lparam;
|
||||||
|
app = cast(*App_State) create_struct.lpCreateParams;
|
||||||
|
SetWindowLongPtrW(hwnd, GWLP_USERDATA, cast(LONG_PTR) app);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
case WM_TRAY_CALLBACK; {
|
||||||
|
if lparam == WM_RBUTTONUP || lparam == WM_LBUTTONUP {
|
||||||
|
show_context_menu(app);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
case WM_RESTART_SINGBOX; {
|
||||||
|
log_print("WM_RESTART_SINGBOX received, restarting sing-box...\n");
|
||||||
|
if app.singbox_running {
|
||||||
|
stop_singbox(app);
|
||||||
|
start_singbox(app);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
case WM_TIMER; {
|
||||||
|
if wparam == TIMER_PROCESS_CHECK {
|
||||||
|
check_process_status(app);
|
||||||
|
}
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
case WM_DESTROY; {
|
||||||
|
PostQuitMessage(0);
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return DefWindowProcW(hwnd, msg, wparam, lparam);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
main :: () {
|
||||||
|
hInstance := GetModuleHandleW(null);
|
||||||
|
class_name := utf8_to_wide("SingboxTrayControllerClass");
|
||||||
|
|
||||||
|
wclass: WNDCLASSEXW;
|
||||||
|
wclass.cbSize = size_of(WNDCLASSEXW);
|
||||||
|
wclass.lpfnWndProc = app_wnd_proc;
|
||||||
|
wclass.hInstance = hInstance;
|
||||||
|
wclass.hCursor = LoadCursorW(null, IDC_ARROW);
|
||||||
|
wclass.lpszClassName = class_name;
|
||||||
|
|
||||||
|
RegisterClassExW(*wclass);
|
||||||
|
defer UnregisterClassW(class_name, hInstance);
|
||||||
|
|
||||||
|
app_state: App_State;
|
||||||
|
|
||||||
|
hwnd := CreateWindowExW(
|
||||||
|
0,
|
||||||
|
class_name,
|
||||||
|
utf8_to_wide("Singbox Tray Controller"),
|
||||||
|
0,
|
||||||
|
0, 0, 0, 0,
|
||||||
|
null,
|
||||||
|
null,
|
||||||
|
hInstance,
|
||||||
|
*app_state
|
||||||
|
);
|
||||||
|
|
||||||
|
if !hwnd {
|
||||||
|
log_print("Failed to create hidden window!\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
app_state.hwnd = hwnd;
|
||||||
|
|
||||||
|
// Load persisted mode
|
||||||
|
mode_data, mode_ok := read_entire_file("mode.txt");
|
||||||
|
if mode_ok {
|
||||||
|
mode_str := trim(mode_data);
|
||||||
|
if mode_str == "proxy" {
|
||||||
|
app_state.use_system_proxy = false;
|
||||||
|
}
|
||||||
|
free(mode_data);
|
||||||
|
}
|
||||||
|
|
||||||
|
nid: NOTIFYICONDATAW;
|
||||||
|
nid.cbSize = size_of(NOTIFYICONDATAW);
|
||||||
|
nid.hWnd = hwnd;
|
||||||
|
nid.uID = 1;
|
||||||
|
nid.uFlags = NIF_MESSAGE | NIF_ICON | NIF_TIP;
|
||||||
|
nid.uCallbackMessage = WM_TRAY_CALLBACK;
|
||||||
|
nid.hIcon = LoadIconW(null, IDI_APPLICATION);
|
||||||
|
set_tray_tip(*nid, "Sing-box: Stopped");
|
||||||
|
|
||||||
|
if !Shell_NotifyIconW(NIM_ADD, *nid) {
|
||||||
|
log_print("Failed to register tray icon!\n");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
defer Shell_NotifyIconW(NIM_DELETE, *nid);
|
||||||
|
|
||||||
|
if file_exists("config.json") {
|
||||||
|
start_singbox(*app_state);
|
||||||
|
}
|
||||||
|
|
||||||
|
SetTimer(hwnd, TIMER_PROCESS_CHECK, 1000, null);
|
||||||
|
defer KillTimer(hwnd, TIMER_PROCESS_CHECK);
|
||||||
|
|
||||||
|
app_state.updater_data.hwnd = hwnd;
|
||||||
|
app_state.updater_data.update_interval_seconds = 3600;
|
||||||
|
app_state.updater_data.stop_event = CreateEventW(null, TRUE, FALSE, null);
|
||||||
|
|
||||||
|
thread_init(*app_state.updater_thread, updater_thread_proc);
|
||||||
|
app_state.updater_thread.data = *app_state.updater_data;
|
||||||
|
thread_start(*app_state.updater_thread);
|
||||||
|
|
||||||
|
msg: MSG;
|
||||||
|
while GetMessageW(*msg, null, 0, 0) {
|
||||||
|
TranslateMessage(*msg);
|
||||||
|
DispatchMessageW(*msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
log_print("Exiting application...\n");
|
||||||
|
|
||||||
|
if app_state.updater_data.stop_event {
|
||||||
|
SetEvent(app_state.updater_data.stop_event);
|
||||||
|
thread_is_done(*app_state.updater_thread, -1);
|
||||||
|
thread_deinit(*app_state.updater_thread);
|
||||||
|
CloseHandle(app_state.updater_data.stop_event);
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_singbox(*app_state);
|
||||||
|
}
|
||||||
867
sing-box.log
Normal file
867
sing-box.log
Normal file
@ -0,0 +1,867 @@
|
|||||||
|
[36mINFO[0m[0000] network: updated default interface Беспроводная сеть, index 16
|
||||||
|
[36mINFO[0m[0000] inbound/mixed[0]: tcp server started at 127.0.0.1:20122
|
||||||
|
[36mINFO[0m[0000] sing-box started (0.11s)
|
||||||
|
[36mINFO[0m[0000] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/anytls[FI-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/hysteria2[FI-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/hysteria2[IS-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/anytls[IS-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0000] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m1431904216[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50931
|
||||||
|
[36mINFO[0m[0017] [[38;5;71m2381729591[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50932
|
||||||
|
[36mINFO[0m[0017] [[38;5;176m4260945056[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50934
|
||||||
|
[36mINFO[0m[0017] [[38;5;156m3972403019[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50933
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m2043944415[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50935
|
||||||
|
[36mINFO[0m[0017] [[38;5;103m3820594007[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50936
|
||||||
|
[36mINFO[0m[0017] [[38;5;71m2381729591[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.91:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;186m25346093[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50937
|
||||||
|
[36mINFO[0m[0017] [[38;5;201m1890729401[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50938
|
||||||
|
[36mINFO[0m[0017] [[38;5;224m3241195230[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50939
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m3101946582[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50940
|
||||||
|
[36mINFO[0m[0017] [[38;5;87m4160296336[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50941
|
||||||
|
[36mINFO[0m[0017] [[38;5;50m2907378169[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50942
|
||||||
|
[36mINFO[0m[0017] [[38;5;153m2101235790[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50943
|
||||||
|
[36mINFO[0m[0017] [[38;5;220m3666367243[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50944
|
||||||
|
[36mINFO[0m[0017] [[38;5;152m1701673352[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50945
|
||||||
|
[36mINFO[0m[0017] [[38;5;69m2933851445[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50946
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m1431904216[0m 23ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;120m716605295[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50947
|
||||||
|
[36mINFO[0m[0017] [[38;5;71m2381729591[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;159m3547324047[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50948
|
||||||
|
[36mINFO[0m[0017] [[38;5;71m2381729591[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.91:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;44m4183698931[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50949
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m1431904216[0m 23ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m1431904216[0m 23ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;176m4260945056[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;176m4260945056[0m 3ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;176m4260945056[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;87m4160296336[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;87m4160296336[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;87m4160296336[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;153m2101235790[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;153m2101235790[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;153m2101235790[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;186m25346093[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m3101946582[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;103m3820594007[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;220m3666367243[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;34m468356626[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50950
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m1650635272[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50951
|
||||||
|
[36mINFO[0m[0017] [[38;5;152m1701673352[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;195m1228639268[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50952
|
||||||
|
[36mINFO[0m[0017] [[38;5;83m879273539[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50953
|
||||||
|
[36mINFO[0m[0017] [[38;5;229m3810273493[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50954
|
||||||
|
[36mINFO[0m[0017] [[38;5;45m2326685940[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50955
|
||||||
|
[36mINFO[0m[0017] [[38;5;186m25346093[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;186m25346093[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m3101946582[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;230m3101946582[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;111m1445639775[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50956
|
||||||
|
[36mINFO[0m[0017] [[38;5;103m3820594007[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;103m3820594007[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;220m3666367243[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;220m3666367243[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;152m1701673352[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;152m1701673352[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;82m2644398402[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50957
|
||||||
|
[36mINFO[0m[0017] [[38;5;156m3972403019[0m 10ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;156m3972403019[0m 10ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;156m3972403019[0m 10ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;50m2907378169[0m 10ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;50m2907378169[0m 10ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;50m2907378169[0m 11ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;69m2933851445[0m 11ms] inbound/mixed[0]: inbound connection to 149.154.167.91:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;180m4159241892[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50958
|
||||||
|
[36mINFO[0m[0017] [[38;5;222m3822563278[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50959
|
||||||
|
[36mINFO[0m[0017] [[38;5;69m2933851445[0m 11ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;69m2933851445[0m 11ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.91:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;228m2138999764[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50960
|
||||||
|
[36mINFO[0m[0017] [[38;5;36m3711022827[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50961
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m964833050[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50962
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m2917485338[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50963
|
||||||
|
[36mINFO[0m[0017] [[38;5;214m3810754502[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50964
|
||||||
|
[36mINFO[0m[0017] [[38;5;120m716605295[0m 13ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;120m716605295[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;120m716605295[0m 14ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;224m3241195230[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;41m736709104[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50965
|
||||||
|
[36mINFO[0m[0017] [[38;5;201m1890729401[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;224m3241195230[0m 15ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;224m3241195230[0m 16ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;201m1890729401[0m 16ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;201m1890729401[0m 16ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;159m3547324047[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m2043944415[0m 17ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;159m3547324047[0m 15ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;159m3547324047[0m 15ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m2043944415[0m 18ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m2043944415[0m 18ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;44m4183698931[0m 16ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;44m4183698931[0m 17ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;44m4183698931[0m 17ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m1650635272[0m 13ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m1650635272[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;223m1650635272[0m 14ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;45m2326685940[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;34m468356626[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;229m3810273493[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;83m879273539[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;111m1445639775[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;195m1228639268[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;45m2326685940[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;45m2326685940[0m 14ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;229m3810273493[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;229m3810273493[0m 14ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;180m4159241892[0m 10ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;82m2644398402[0m 13ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;222m3822563278[0m 10ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;34m468356626[0m 15ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;34m468356626[0m 15ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;111m1445639775[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;83m879273539[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;228m2138999764[0m 9ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;111m1445639775[0m 15ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;83m879273539[0m 15ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;195m1228639268[0m 15ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;195m1228639268[0m 15ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m964833050[0m 9ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m2917485338[0m 9ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;222m3822563278[0m 11ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;222m3822563278[0m 12ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;214m3810754502[0m 9ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;82m2644398402[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;82m2644398402[0m 14ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;228m2138999764[0m 10ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;36m3711022827[0m 10ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;228m2138999764[0m 10ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;180m4159241892[0m 12ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m964833050[0m 10ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;41m736709104[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;180m4159241892[0m 12ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m2917485338[0m 10ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m964833050[0m 10ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;42m2917485338[0m 10ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;214m3810754502[0m 9ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;214m3810754502[0m 9ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;36m3711022827[0m 10ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;36m3711022827[0m 10ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0017] [[38;5;41m736709104[0m 9ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0017] [[38;5;41m736709104[0m 9ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0028] [[38;5;108m1832812636[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50980
|
||||||
|
[36mINFO[0m[0028] [[38;5;108m1832812636[0m 1ms] inbound/mixed[0]: inbound connection to antigravity-unleash.goog:443
|
||||||
|
[36mINFO[0m[0028] [[38;5;108m1832812636[0m 2ms] router: found process path: C:\Users\Ixniy\AppData\Local\agy\bin\agy.exe
|
||||||
|
[36mINFO[0m[0028] [[38;5;108m1832812636[0m 2ms] outbound/hysteria2[FI-H]: outbound connection to antigravity-unleash.goog:443
|
||||||
|
[36mINFO[0m[0028] [[38;5;202m1541486522[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50983
|
||||||
|
[36mINFO[0m[0028] [[38;5;202m1541486522[0m 0ms] inbound/mixed[0]: inbound connection to daily-cloudcode-pa.googleapis.com:443
|
||||||
|
[36mINFO[0m[0028] [[38;5;202m1541486522[0m 1ms] router: found process path: C:\Users\Ixniy\AppData\Local\agy\bin\agy.exe
|
||||||
|
[36mINFO[0m[0028] [[38;5;202m1541486522[0m 1ms] outbound/hysteria2[FI-H]: outbound connection to daily-cloudcode-pa.googleapis.com:443
|
||||||
|
[36mINFO[0m[0029] [[38;5;84m1858473875[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:50984
|
||||||
|
[36mINFO[0m[0029] [[38;5;84m1858473875[0m 0ms] inbound/mixed[0]: inbound connection to daily-cloudcode-pa.googleapis.com:443
|
||||||
|
[36mINFO[0m[0029] [[38;5;84m1858473875[0m 0ms] router: found process path: C:\Users\Ixniy\AppData\Local\agy\bin\agy.exe
|
||||||
|
[36mINFO[0m[0029] [[38;5;84m1858473875[0m 0ms] outbound/hysteria2[FI-H]: outbound connection to daily-cloudcode-pa.googleapis.com:443
|
||||||
|
[36mINFO[0m[0062] [[38;5;223m1317510623[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:61567
|
||||||
|
[36mINFO[0m[0062] [[38;5;223m1317510623[0m 0ms] inbound/mixed[0]: inbound connection to sessionserver.mojang.com:443
|
||||||
|
[36mINFO[0m[0062] [[38;5;223m1317510623[0m 0ms] router: found process path: D:\Games\Modrinth App\Modrinth App.exe
|
||||||
|
[36mINFO[0m[0062] [[38;5;223m1317510623[0m 0ms] outbound/hysteria2[FI-H]: outbound connection to sessionserver.mojang.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/hysteria2[IS-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/anytls[IS-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/anytls[FI-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/hysteria2[FI-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0077] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0103] [[38;5;184m1465044136[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57263
|
||||||
|
[36mINFO[0m[0103] [[38;5;184m1465044136[0m 0ms] inbound/mixed[0]: inbound connection to api.modrinth.com:443
|
||||||
|
[36mINFO[0m[0103] [[38;5;184m1465044136[0m 0ms] router: found process path: D:\Games\Modrinth App\Modrinth App.exe
|
||||||
|
[36mINFO[0m[0103] [[38;5;184m1465044136[0m 0ms] outbound/hysteria2[FI-H]: outbound connection to api.modrinth.com:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m1964558877[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57267
|
||||||
|
[36mINFO[0m[0109] [[38;5;49m3489704696[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57268
|
||||||
|
[36mINFO[0m[0109] [[38;5;37m3084507372[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57269
|
||||||
|
[36mINFO[0m[0109] [[38;5;110m1748241758[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57270
|
||||||
|
[36mINFO[0m[0109] [[38;5;157m4242387018[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57271
|
||||||
|
[36mINFO[0m[0109] [[38;5;32m715087632[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57272
|
||||||
|
[36mINFO[0m[0109] [[38;5;49m3489704696[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;49m3489704696[0m 3ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;49m3489704696[0m 3ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;110m1748241758[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m1964558877[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;157m4242387018[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m1964558877[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m1964558877[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;110m1748241758[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;110m1748241758[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;69m2876949557[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57273
|
||||||
|
[36mINFO[0m[0109] [[38;5;157m4242387018[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;157m4242387018[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m4070975005[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57274
|
||||||
|
[36mINFO[0m[0109] [[38;5;32m715087632[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;32m715087632[0m 3ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;32m715087632[0m 3ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;37m3084507372[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;95m1390305871[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57275
|
||||||
|
[36mINFO[0m[0109] [[38;5;137m3517727097[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57276
|
||||||
|
[36mINFO[0m[0109] [[38;5;178m1945303714[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57277
|
||||||
|
[36mINFO[0m[0109] [[38;5;101m1928229461[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57278
|
||||||
|
[36mINFO[0m[0109] [[38;5;71m2746075703[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57279
|
||||||
|
[36mINFO[0m[0109] [[38;5;37m3084507372[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;37m3084507372[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;112m1297021536[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57280
|
||||||
|
[36mINFO[0m[0109] [[38;5;114m1255360610[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57281
|
||||||
|
[36mINFO[0m[0109] [[38;5;99m610130003[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57282
|
||||||
|
[36mINFO[0m[0109] [[38;5;36m1717302292[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57283
|
||||||
|
[36mINFO[0m[0109] [[38;5;133m1571474293[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57284
|
||||||
|
[36mINFO[0m[0109] [[38;5;69m2876949557[0m 2ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;222m3333753609[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57285
|
||||||
|
[36mINFO[0m[0109] [[38;5;198m2184765366[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57286
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m4070975005[0m 1ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;95m1390305871[0m 1ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;69m2876949557[0m 2ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;69m2876949557[0m 2ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;95m1390305871[0m 1ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;95m1390305871[0m 1ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m4070975005[0m 2ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;45m4070975005[0m 2ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;112m1297021536[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;112m1297021536[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;112m1297021536[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;178m1945303714[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;114m1255360610[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;137m3517727097[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;99m610130003[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;133m1571474293[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;137m3517727097[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;178m1945303714[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;36m1717302292[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;178m1945303714[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;114m1255360610[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;137m3517727097[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;99m610130003[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;114m1255360610[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;101m1928229461[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;212m3957594564[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57287
|
||||||
|
[36mINFO[0m[0109] [[38;5;133m1571474293[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;133m1571474293[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;99m610130003[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;198m2184765366[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;192m644915632[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57288
|
||||||
|
[36mINFO[0m[0109] [[38;5;229m3986450649[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57289
|
||||||
|
[36mINFO[0m[0109] [[38;5;222m3333753609[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;215m1147476423[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57290
|
||||||
|
[36mINFO[0m[0109] [[38;5;36m1717302292[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;51m3189919482[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57291
|
||||||
|
[36mINFO[0m[0109] [[38;5;36m1717302292[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;101m1928229461[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;71m2746075703[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;101m1928229461[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;119m3327355495[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57292
|
||||||
|
[36mINFO[0m[0109] [[38;5;227m1493734107[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57293
|
||||||
|
[36mINFO[0m[0109] [[38;5;198m2184765366[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;198m2184765366[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;190m3272003369[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:57294
|
||||||
|
[36mINFO[0m[0109] [[38;5;222m3333753609[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;222m3333753609[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;71m2746075703[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;71m2746075703[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0109] [[38;5;229m3986450649[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;212m3957594564[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;192m644915632[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;215m1147476423[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;51m3189919482[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;229m3986450649[0m 3ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;229m3986450649[0m 3ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;212m3957594564[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;212m3957594564[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;119m3327355495[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;227m1493734107[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;190m3272003369[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;215m1147476423[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;192m644915632[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;215m1147476423[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;51m3189919482[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;51m3189919482[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;192m644915632[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;119m3327355495[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;119m3327355495[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;227m1493734107[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;227m1493734107[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0109] [[38;5;190m3272003369[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0109] [[38;5;190m3272003369[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0137] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0137] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0137] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0137] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0137] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0137] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0137] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0137] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[31mERROR[0m[0152] [[38;5;223m1317510623[0m 1m30s] connection: connection upload closed: stream 160 canceled by remote with error code 0
|
||||||
|
[36mINFO[0m[0197] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/hysteria2[FI-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/anytls[FI-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/hysteria2[IS-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/anytls[IS-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0197] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m4235179894[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59541
|
||||||
|
[36mINFO[0m[0201] [[38;5;108m717510492[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59542
|
||||||
|
[36mINFO[0m[0201] [[38;5;37m658118124[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59543
|
||||||
|
[36mINFO[0m[0201] [[38;5;156m1230053707[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59544
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m1311557284[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59545
|
||||||
|
[36mINFO[0m[0201] [[38;5;76m3836323132[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59546
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m899358462[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59547
|
||||||
|
[36mINFO[0m[0201] [[38;5;193m1874550310[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59549
|
||||||
|
[36mINFO[0m[0201] [[38;5;159m3959861576[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59548
|
||||||
|
[36mINFO[0m[0201] [[38;5;171m1285577883[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59550
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m4274389678[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59551
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m3583255550[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59552
|
||||||
|
[36mINFO[0m[0201] [[38;5;168m171399832[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59553
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m856256676[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59554
|
||||||
|
[36mINFO[0m[0201] [[38;5;159m3959861576[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;159m3959861576[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;159m3959861576[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;156m1230053707[0m 20ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;76m3836323132[0m 20ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;119m3252821095[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59555
|
||||||
|
[36mINFO[0m[0201] [[38;5;171m1285577883[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;225m1532768989[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59556
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m76674422[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59557
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m4235179894[0m 21ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;206m162691262[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59558
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m899358462[0m 20ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m640806574[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59559
|
||||||
|
[36mINFO[0m[0201] [[38;5;152m1026466952[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59560
|
||||||
|
[36mINFO[0m[0201] [[38;5;76m3836323132[0m 20ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m4274389678[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;76m3836323132[0m 21ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;171m1285577883[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;156m1230053707[0m 21ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;171m1285577883[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;193m1874550310[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;156m1230053707[0m 21ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m1311557284[0m 21ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m4235179894[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m4235179894[0m 22ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;65m3211001393[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59561
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m899358462[0m 21ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m899358462[0m 21ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;87m3166760080[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59562
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m3583255550[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m4274389678[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m4274389678[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;193m1874550310[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m856256676[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;193m1874550310[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;71m2721821495[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59563
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m1311557284[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m1311557284[0m 22ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m3583255550[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;117m3155480677[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59564
|
||||||
|
[36mINFO[0m[0201] [[38;5;192m3583255550[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;108m717510492[0m 23ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;101m2590703701[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59565
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m856256676[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;180m856256676[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;99m3573597523[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59566
|
||||||
|
[36mINFO[0m[0201] [[38;5;168m171399832[0m 9ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;108m717510492[0m 24ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;108m717510492[0m 24ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;37m658118124[0m 24ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;168m171399832[0m 10ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;95m876025679[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59567
|
||||||
|
[36mINFO[0m[0201] [[38;5;168m171399832[0m 10ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;121m1114293102[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:59568
|
||||||
|
[36mINFO[0m[0201] [[38;5;37m658118124[0m 25ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;37m658118124[0m 25ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0201] [[38;5;225m1532768989[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;225m1532768989[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;225m1532768989[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;119m3252821095[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;119m3252821095[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;119m3252821095[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m640806574[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m76674422[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;206m162691262[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m76674422[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;134m76674422[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m640806574[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;190m640806574[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;152m1026466952[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;206m162691262[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;206m162691262[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;65m3211001393[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;152m1026466952[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;152m1026466952[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;87m3166760080[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;65m3211001393[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;65m3211001393[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;71m2721821495[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;87m3166760080[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;87m3166760080[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;117m3155480677[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;101m2590703701[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;99m3573597523[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;95m876025679[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;71m2721821495[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;71m2721821495[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;121m1114293102[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;117m3155480677[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;101m2590703701[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;99m3573597523[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;117m3155480677[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;101m2590703701[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;95m876025679[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;99m3573597523[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;95m876025679[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0201] [[38;5;121m1114293102[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0201] [[38;5;121m1114293102[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0240] [[38;5;32m2090199824[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:62702
|
||||||
|
[36mINFO[0m[0240] [[38;5;32m2090199824[0m 0ms] inbound/mixed[0]: inbound connection to api.modrinth.com:443
|
||||||
|
[36mINFO[0m[0240] [[38;5;32m2090199824[0m 0ms] router: found process path: D:\Games\Modrinth App\Modrinth App.exe
|
||||||
|
[36mINFO[0m[0240] [[38;5;32m2090199824[0m 0ms] outbound/hysteria2[FI-H]: outbound connection to api.modrinth.com:443
|
||||||
|
[36mINFO[0m[0244] [[38;5;220m2547779554[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53936
|
||||||
|
[36mINFO[0m[0244] [[38;5;220m2547779554[0m 11ms] inbound/mixed[0]: inbound connection to 149.154.162.123:443
|
||||||
|
[36mINFO[0m[0244] [[38;5;220m2547779554[0m 12ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0244] [[38;5;220m2547779554[0m 12ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.162.123:443
|
||||||
|
[36mINFO[0m[0245] [[38;5;193m1434153766[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53937
|
||||||
|
[36mINFO[0m[0245] [[38;5;193m1434153766[0m 12ms] inbound/mixed[0]: inbound connection to 149.154.162.123:80
|
||||||
|
[36mINFO[0m[0245] [[38;5;193m1434153766[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0245] [[38;5;193m1434153766[0m 14ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.162.123:80
|
||||||
|
[36mINFO[0m[0257] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0257] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0257] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0257] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0257] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0257] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0257] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0257] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[31mERROR[0m[0269] [[38;5;84m1858473875[0m 4m0s] connection: connection upload closed: stream 156 canceled by remote with error code 0
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m2603951190[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53987
|
||||||
|
[36mINFO[0m[0293] [[38;5;155m1825649035[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53988
|
||||||
|
[36mINFO[0m[0293] [[38;5;165m31643797[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53989
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m531155798[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53990
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m490479164[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53991
|
||||||
|
[36mINFO[0m[0293] [[38;5;111m1949955935[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53992
|
||||||
|
[36mINFO[0m[0293] [[38;5;210m2194031042[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53993
|
||||||
|
[36mINFO[0m[0293] [[38;5;192m1852327934[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53994
|
||||||
|
[36mINFO[0m[0293] [[38;5;228m3367105236[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53995
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2108528092[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53996
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2459812306[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53997
|
||||||
|
[36mINFO[0m[0293] [[38;5;158m2048289865[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53998
|
||||||
|
[36mINFO[0m[0293] [[38;5;206m3909865150[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53999
|
||||||
|
[36mINFO[0m[0293] [[38;5;66m518794290[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54000
|
||||||
|
[36mINFO[0m[0293] [[38;5;111m1949955935[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;111m1949955935[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;111m1949955935[0m 14ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m2603951190[0m 16ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;165m31643797[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;210m2194031042[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;165m31643797[0m 15ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;165m31643797[0m 15ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m2603951190[0m 16ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m2603951190[0m 16ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;210m2194031042[0m 15ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;210m2194031042[0m 15ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;155m1825649035[0m 17ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;155m1825649035[0m 17ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;155m1825649035[0m 17ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m490479164[0m 17ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;169m1413355417[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54001
|
||||||
|
[36mINFO[0m[0293] [[38;5;186m709448493[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54002
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m1970450258[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54003
|
||||||
|
[36mINFO[0m[0293] [[38;5;173m1927008157[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54004
|
||||||
|
[36mINFO[0m[0293] [[38;5;152m4095373192[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54005
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m490479164[0m 17ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m2917623634[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54006
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m490479164[0m 17ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;158m2048289865[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;158m2048289865[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;158m2048289865[0m 7ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m531155798[0m 18ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2459812306[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;175m859660703[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54007
|
||||||
|
[36mINFO[0m[0293] [[38;5;192m1852327934[0m 17ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;122m1692439917[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54008
|
||||||
|
[36mINFO[0m[0293] [[38;5;37m872490476[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54009
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2459812306[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2459812306[0m 8ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;206m3909865150[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;143m3738708351[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54010
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m531155798[0m 19ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;102m531155798[0m 19ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;123m3626539883[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54011
|
||||||
|
[36mINFO[0m[0293] [[38;5;192m1852327934[0m 18ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;192m1852327934[0m 18ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;195m1727276467[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54012
|
||||||
|
[36mINFO[0m[0293] [[38;5;66m518794290[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;228m3367105236[0m 18ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;78m2313125694[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54013
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2108528092[0m 17ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;206m3909865150[0m 9ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;206m3909865150[0m 9ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;228m3367105236[0m 18ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;228m3367105236[0m 18ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;66m518794290[0m 9ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;66m518794290[0m 9ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m753379900[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:54014
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2108528092[0m 18ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;226m2108528092[0m 18ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0293] [[38;5;169m1413355417[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;173m1927008157[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m1970450258[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;169m1413355417[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;169m1413355417[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;173m1927008157[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;173m1927008157[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;186m709448493[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m1970450258[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m1970450258[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;152m4095373192[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m2917623634[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;186m709448493[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;186m709448493[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;152m4095373192[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;152m4095373192[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m2917623634[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;98m2917623634[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;122m1692439917[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;122m1692439917[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;122m1692439917[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;37m872490476[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;143m3738708351[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;175m859660703[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;123m3626539883[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;175m859660703[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;195m1727276467[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;78m2313125694[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;143m3738708351[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;123m3626539883[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;123m3626539883[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;37m872490476[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m753379900[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;143m3738708351[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;175m859660703[0m 6ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;37m872490476[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;78m2313125694[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;78m2313125694[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;195m1727276467[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;195m1727276467[0m 5ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m753379900[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0293] [[38;5;76m753379900[0m 4ms] outbound/hysteria2[FI-H]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0317] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/anytls[FI-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/anytls[IS-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/hysteria2[FI-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0317] outbound/hysteria2[IS-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0362] [[38;5;32m1966275856[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58579
|
||||||
|
[36mINFO[0m[0362] [[38;5;32m1966275856[0m 0ms] inbound/mixed[0]: inbound connection to sessionserver.mojang.com:443
|
||||||
|
[36mINFO[0m[0362] [[38;5;32m1966275856[0m 1ms] router: found process path: D:\Games\Modrinth App\Modrinth App.exe
|
||||||
|
[36mINFO[0m[0362] [[38;5;32m1966275856[0m 1ms] outbound/anytls[FI-A]: outbound connection to sessionserver.mojang.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0377] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0380] [[38;5;152m2832783496[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58608
|
||||||
|
[36mINFO[0m[0380] [[38;5;226m4049230546[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58607
|
||||||
|
[36mINFO[0m[0380] [[38;5;157m53552781[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58609
|
||||||
|
[36mINFO[0m[0380] [[38;5;226m4049230546[0m 12ms] inbound/mixed[0]: inbound connection to 149.154.167.255:443
|
||||||
|
[36mINFO[0m[0380] [[38;5;226m4049230546[0m 13ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0380] [[38;5;226m4049230546[0m 13ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.255:443
|
||||||
|
[36mINFO[0m[0380] [[38;5;157m53552781[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.255:443
|
||||||
|
[36mINFO[0m[0380] [[38;5;152m2832783496[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.255:443
|
||||||
|
[36mINFO[0m[0380] [[38;5;229m3565101570[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58610
|
||||||
|
[36mINFO[0m[0380] [[38;5;227m2253209051[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58612
|
||||||
|
[36mINFO[0m[0380] [[38;5;45m892718580[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58613
|
||||||
|
[36mINFO[0m[0380] [[38;5;152m2832783496[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0380] [[38;5;157m53552781[0m 14ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0380] [[38;5;152m2832783496[0m 14ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.255:443
|
||||||
|
[36mINFO[0m[0380] [[38;5;157m53552781[0m 14ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.255:443
|
||||||
|
[36mINFO[0m[0380] [[38;5;227m2253209051[0m 1ms] inbound/mixed[0]: inbound connection to 149.154.167.255:80
|
||||||
|
[36mINFO[0m[0380] [[38;5;229m3565101570[0m 1ms] inbound/mixed[0]: inbound connection to 149.154.167.255:80
|
||||||
|
[36mINFO[0m[0380] [[38;5;227m2253209051[0m 1ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0380] [[38;5;227m2253209051[0m 1ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.255:80
|
||||||
|
[36mINFO[0m[0380] [[38;5;229m3565101570[0m 1ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0380] [[38;5;229m3565101570[0m 1ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.255:80
|
||||||
|
[36mINFO[0m[0380] [[38;5;45m892718580[0m 1ms] inbound/mixed[0]: inbound connection to 149.154.167.255:80
|
||||||
|
[36mINFO[0m[0380] [[38;5;45m892718580[0m 1ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0380] [[38;5;45m892718580[0m 1ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.255:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;138m195032954[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58625
|
||||||
|
[36mINFO[0m[0385] [[38;5;220m4099219148[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58626
|
||||||
|
[36mINFO[0m[0385] [[38;5;76m3720375868[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58627
|
||||||
|
[36mINFO[0m[0385] [[38;5;193m4157402033[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58628
|
||||||
|
[36mINFO[0m[0385] [[38;5;228m811633626[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58629
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m1457204720[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58630
|
||||||
|
[36mINFO[0m[0385] [[38;5;87m3310489488[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58631
|
||||||
|
[36mINFO[0m[0385] [[38;5;204m1292574652[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58632
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m3820360481[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58633
|
||||||
|
[36mINFO[0m[0385] [[38;5;40m3424951791[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58634
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3851692764[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58635
|
||||||
|
[36mINFO[0m[0385] [[38;5;185m3704328105[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58636
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m2062770777[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58637
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m4013259248[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58638
|
||||||
|
[36mINFO[0m[0385] [[38;5;138m195032954[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;138m195032954[0m 16ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;138m195032954[0m 16ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;193m4157402033[0m 14ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;76m3720375868[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3851692764[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;40m3424951791[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;220m4099219148[0m 15ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;204m1292574652[0m 11ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;193m4157402033[0m 15ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;193m4157402033[0m 15ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;76m3720375868[0m 16ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;76m3720375868[0m 16ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3851692764[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3851692764[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;40m3424951791[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;40m3424951791[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;220m4099219148[0m 16ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;220m4099219148[0m 16ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m3820360481[0m 11ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;204m1292574652[0m 12ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;204m1292574652[0m 12ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m3820360481[0m 12ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m3820360481[0m 12ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;208m3918984384[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58643
|
||||||
|
[36mINFO[0m[0385] [[38;5;131m2801507699[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58645
|
||||||
|
[36mINFO[0m[0385] [[38;5;29m2886623716[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58646
|
||||||
|
[36mINFO[0m[0385] [[38;5;231m1617752791[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58648
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3381128156[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58647
|
||||||
|
[36mINFO[0m[0385] [[38;5;87m3310489488[0m 18ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;195m3263818931[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58649
|
||||||
|
[36mINFO[0m[0385] [[38;5;185m3704328105[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;28m468996323[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58650
|
||||||
|
[36mINFO[0m[0385] [[38;5;99m736373075[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58651
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m2062770777[0m 7ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;87m3310489488[0m 18ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;87m3310489488[0m 18ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m1457204720[0m 18ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;185m3704328105[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;185m3704328105[0m 8ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;228m811633626[0m 19ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m2062770777[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m2062770777[0m 8ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m4013259248[0m 8ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m1457204720[0m 19ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m1457204720[0m 19ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;85m2499956037[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58655
|
||||||
|
[36mINFO[0m[0385] [[38;5;222m2169764617[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58656
|
||||||
|
[36mINFO[0m[0385] [[38;5;228m811633626[0m 19ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;228m811633626[0m 19ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m2698791457[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58658
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m4013259248[0m 8ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;41m4013259248[0m 8ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0385] [[38;5;67m3809220915[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58659
|
||||||
|
[36mINFO[0m[0385] [[38;5;95m659473231[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58661
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m1707503449[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58663
|
||||||
|
[36mINFO[0m[0385] [[38;5;208m3918984384[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;208m3918984384[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;208m3918984384[0m 4ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;231m1617752791[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;195m3263818931[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;29m2886623716[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;131m2801507699[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3381128156[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;231m1617752791[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;231m1617752791[0m 4ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;131m2801507699[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;131m2801507699[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;85m2499956037[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;195m3263818931[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;28m468996323[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;99m736373075[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;195m3263818931[0m 4ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3381128156[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;29m2886623716[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;226m3381128156[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;29m2886623716[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m1707503449[0m 2ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;95m659473231[0m 2ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m2698791457[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;222m2169764617[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;67m3809220915[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;85m2499956037[0m 3ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;85m2499956037[0m 3ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;28m468996323[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;28m468996323[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;99m736373075[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;99m736373075[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m1707503449[0m 3ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;105m1707503449[0m 3ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;95m659473231[0m 3ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;95m659473231[0m 3ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m2698791457[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;67m3809220915[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;49m2698791457[0m 4ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;67m3809220915[0m 4ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0385] [[38;5;222m2169764617[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0385] [[38;5;222m2169764617[0m 4ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[31mERROR[0m[0385] [[38;5;220m4099219148[0m 435ms] connection: connection upload closed: raw-read tcp 127.0.0.1:20122->127.0.0.1:58626: An existing connection was forcibly closed by the remote host.
|
||||||
|
[36mINFO[0m[0389] [[38;5;119m3703065968[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:58680
|
||||||
|
[36mINFO[0m[0389] [[38;5;119m3703065968[0m 0ms] inbound/mixed[0]: inbound connection to daily-cloudcode-pa.googleapis.com:443
|
||||||
|
[36mINFO[0m[0389] [[38;5;119m3703065968[0m 1ms] router: found process path: C:\Users\Ixniy\AppData\Local\agy\bin\agy.exe
|
||||||
|
[36mINFO[0m[0389] [[38;5;119m3703065968[0m 1ms] outbound/anytls[FI-A]: outbound connection to daily-cloudcode-pa.googleapis.com:443
|
||||||
|
[36mINFO[0m[0431] [[38;5;67m2250089523[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:60041
|
||||||
|
[36mINFO[0m[0431] [[38;5;67m2250089523[0m 0ms] inbound/mixed[0]: inbound connection to api.minecraftservices.com:443
|
||||||
|
[36mINFO[0m[0431] [[38;5;67m2250089523[0m 1ms] router: found process path: D:\Games\Modrinth App\Modrinth App.exe
|
||||||
|
[36mINFO[0m[0431] [[38;5;67m2250089523[0m 1ms] outbound/anytls[FI-A]: outbound connection to api.minecraftservices.com:443
|
||||||
|
[36mINFO[0m[0431] [[38;5;221m186976993[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:60042
|
||||||
|
[36mINFO[0m[0431] [[38;5;221m186976993[0m 0ms] inbound/mixed[0]: inbound connection to api.minecraftservices.com:443
|
||||||
|
[36mINFO[0m[0431] [[38;5;221m186976993[0m 1ms] router: found process path: D:\Games\Modrinth App\Modrinth App.exe
|
||||||
|
[36mINFO[0m[0431] [[38;5;221m186976993[0m 1ms] outbound/anytls[FI-A]: outbound connection to api.minecraftservices.com:443
|
||||||
|
[36mINFO[0m[0431] [[38;5;230m2984533206[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:60044
|
||||||
|
[36mINFO[0m[0431] [[38;5;230m2984533206[0m 0ms] inbound/mixed[0]: inbound connection to textures.minecraft.net:80
|
||||||
|
[36mINFO[0m[0431] [[38;5;230m2984533206[0m 1ms] router: found process path: D:\Games\Modrinth App\Modrinth App.exe
|
||||||
|
[36mINFO[0m[0431] [[38;5;230m2984533206[0m 1ms] outbound/anytls[FI-A]: outbound connection to textures.minecraft.net:80
|
||||||
|
[36mINFO[0m[0437] outbound/vless[FI-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/vless[NL-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/anytls[FI-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/hysteria2[CZ-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/anytls[NL-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/hysteria2[IS-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/hysteria2[NL-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/vless[IS-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/hysteria2[FI-H]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/anytls[IS-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/vless[CZ-V]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0437] outbound/anytls[CZ-A]: outbound connection to cp.cloudflare.com:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;43m2845713650[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53678
|
||||||
|
[36mINFO[0m[0477] [[38;5;183m880389287[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53679
|
||||||
|
[36mINFO[0m[0477] [[38;5;132m912900468[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53680
|
||||||
|
[36mINFO[0m[0477] [[38;5;157m2891250573[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53681
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m3312914973[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53682
|
||||||
|
[36mINFO[0m[0477] [[38;5;34m1992578322[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53683
|
||||||
|
[36mINFO[0m[0477] [[38;5;135m546359159[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53684
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m438232820[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53685
|
||||||
|
[36mINFO[0m[0477] [[38;5;210m46188226[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53686
|
||||||
|
[36mINFO[0m[0477] [[38;5;195m4231732772[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53687
|
||||||
|
[36mINFO[0m[0477] [[38;5;167m3968586135[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53688
|
||||||
|
[36mINFO[0m[0477] [[38;5;120m576283496[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53689
|
||||||
|
[36mINFO[0m[0477] [[38;5;230m3017438936[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53690
|
||||||
|
[36mINFO[0m[0477] [[38;5;85m4130392210[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53691
|
||||||
|
[36mINFO[0m[0477] [[38;5;167m3968586135[0m 20ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;167m3968586135[0m 20ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;167m3968586135[0m 20ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;135m546359159[0m 21ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;183m880389287[0m 36ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;132m912900468[0m 36ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;131m3830951283[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53692
|
||||||
|
[36mINFO[0m[0477] [[38;5;120m576283496[0m 21ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;34m1992578322[0m 36ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;210m46188226[0m 21ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;157m2891250573[0m 36ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;51m3718907642[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53693
|
||||||
|
[36mINFO[0m[0477] [[38;5;195m4231732772[0m 21ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;43m2845713650[0m 36ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m3312914973[0m 36ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;223m287507464[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53694
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m438232820[0m 22ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;135m546359159[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;135m546359159[0m 22ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;132m912900468[0m 37ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;230m3017438936[0m 21ms] inbound/mixed[0]: inbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;85m4130392210[0m 6ms] inbound/mixed[0]: inbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;183m880389287[0m 37ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;132m912900468[0m 37ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;183m880389287[0m 37ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;34m1992578322[0m 37ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;34m1992578322[0m 37ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;157m2891250573[0m 37ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;120m576283496[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;157m2891250573[0m 37ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;120m576283496[0m 22ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;210m46188226[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;210m46188226[0m 22ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;195m4231732772[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;195m4231732772[0m 22ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;43m2845713650[0m 37ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m3312914973[0m 37ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;43m2845713650[0m 37ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m438232820[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m3312914973[0m 37ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;45m438232820[0m 22ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;230m3017438936[0m 22ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;230m3017438936[0m 22ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;85m4130392210[0m 7ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;85m4130392210[0m 7ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:443
|
||||||
|
[36mINFO[0m[0477] [[38;5;184m2106682024[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53695
|
||||||
|
[36mINFO[0m[0477] [[38;5;136m1519394680[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53696
|
||||||
|
[36mINFO[0m[0477] [[38;5;217m3134230985[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53699
|
||||||
|
[36mINFO[0m[0477] [[38;5;159m2572715919[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53700
|
||||||
|
[36mINFO[0m[0477] [[38;5;101m2368929877[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53701
|
||||||
|
[36mINFO[0m[0477] [[38;5;40m1262976495[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53702
|
||||||
|
[36mINFO[0m[0477] [[38;5;190m385268265[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53703
|
||||||
|
[36mINFO[0m[0477] [[38;5;28m1695365347[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53704
|
||||||
|
[36mINFO[0m[0477] [[38;5;220m2430121676[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53705
|
||||||
|
[36mINFO[0m[0477] [[38;5;117m3387758181[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53706
|
||||||
|
[36mINFO[0m[0477] [[38;5;62m3648335918[0m 0ms] inbound/mixed[0]: inbound connection from 127.0.0.1:53707
|
||||||
|
[36mINFO[0m[0477] [[38;5;131m3830951283[0m 3ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;131m3830951283[0m 4ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;131m3830951283[0m 4ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;51m3718907642[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;51m3718907642[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;51m3718907642[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;223m287507464[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;223m287507464[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;223m287507464[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;184m2106682024[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;217m3134230985[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;136m1519394680[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;101m2368929877[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;159m2572715919[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;184m2106682024[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;184m2106682024[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;40m1262976495[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;28m1695365347[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;217m3134230985[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;136m1519394680[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;136m1519394680[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;190m385268265[0m 4ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;217m3134230985[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;220m2430121676[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;117m3387758181[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;62m3648335918[0m 5ms] inbound/mixed[0]: inbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;159m2572715919[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;101m2368929877[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;159m2572715919[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;101m2368929877[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;40m1262976495[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;40m1262976495[0m 6ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;28m1695365347[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;28m1695365347[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;190m385268265[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;190m385268265[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;220m2430121676[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;220m2430121676[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;117m3387758181[0m 5ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;117m3387758181[0m 5ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.41:80
|
||||||
|
[36mINFO[0m[0477] [[38;5;62m3648335918[0m 6ms] router: found process path: C:\Program Files\Telegram Desktop\Telegram.exe
|
||||||
|
[36mINFO[0m[0477] [[38;5;62m3648335918[0m 6ms] outbound/anytls[FI-A]: outbound connection to 149.154.167.51:80
|
||||||
|
[31mERROR[0m[0477] [[38;5;136m1519394680[0m 214ms] connection: connection upload closed: raw-read tcp 127.0.0.1:20122->127.0.0.1:53696: An established connection was aborted by the software in your host machine.
|
||||||
17
sing-box/LICENSE
Normal file
17
sing-box/LICENSE
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Copyright (C) 2022 by nekohasekai <contact-sagernet@sekai.icu>
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
In addition, no derivative work may use the name or imply association
|
||||||
|
with this application without prior consent.
|
||||||
BIN
sing-box/libcronet.dll
Normal file
BIN
sing-box/libcronet.dll
Normal file
Binary file not shown.
BIN
sing-box/sing-box.exe
Normal file
BIN
sing-box/sing-box.exe
Normal file
Binary file not shown.
BIN
singbox_tray.exe
Normal file
BIN
singbox_tray.exe
Normal file
Binary file not shown.
BIN
singbox_tray.pdb
Normal file
BIN
singbox_tray.pdb
Normal file
Binary file not shown.
58
singbox_tray_plan.md
Normal file
58
singbox_tray_plan.md
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
# Planning: Sing-box Windows Tray Controller in Jai
|
||||||
|
|
||||||
|
We will implement a lightweight, headless Windows tray application in the **Jai** language to control the `sing-box` core.
|
||||||
|
|
||||||
|
## 1. Core Architecture
|
||||||
|
|
||||||
|
The application will run with a hidden/message-only window to remain headless, handling tray interaction, background updates, and process management.
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
graph TD
|
||||||
|
A[Main Loop / Hidden Window] --> B[System Tray Icon]
|
||||||
|
B -->|Right Click| C[Context Menu]
|
||||||
|
C -->|Set URL| D[Custom Edit Dialog]
|
||||||
|
C -->|Start/Stop| E[Process Manager: sing-box.exe]
|
||||||
|
C -->|Update Now| F[Auto-Update Loop: libcurl]
|
||||||
|
C -->|Exit| G[Shutdown & Cleanup]
|
||||||
|
F -->|Timer/Thread| F
|
||||||
|
```
|
||||||
|
|
||||||
|
## 2. Component Design
|
||||||
|
|
||||||
|
### A. Headless Window & System Tray Icon
|
||||||
|
- **Win32 Window**: We register a window class and create a hidden utility window using `CreateWindowExW`. This window serves as the message receiver.
|
||||||
|
- **Tray Icon**: We register a system tray icon via `Shell_NotifyIconW` (using `NOTIFYICONDATAW`).
|
||||||
|
- **Events**: We define a custom window message `WM_TRAY_CALLBACK` (`WM_USER + 1`). When the tray icon receives input (e.g. mouse clicks), Windows sends `WM_TRAY_CALLBACK` to our hidden window.
|
||||||
|
- **Context Menu**: On `WM_RBUTTONUP` (right click) or `WM_LBUTTONUP` (left click) over the tray icon, we load a dynamic popup menu using `CreatePopupMenu`, `AppendMenuW`, and `TrackPopupMenu`.
|
||||||
|
|
||||||
|
### B. Custom Modal Dialog (Set URL)
|
||||||
|
To avoid needing an external resource compiler (`.rc`) or complex UI libraries, we will implement a clean, lightweight modal window:
|
||||||
|
- **Dialog Window**: A popup window using `WS_POPUP | WS_CAPTION | WS_SYSMENU` centered on screen.
|
||||||
|
- **Controls**:
|
||||||
|
- A static label: "Enter Sing-box Config URL:"
|
||||||
|
- An edit control (`EDIT` window class) to input the URL.
|
||||||
|
- An OK button and a Cancel button (`BUTTON` window class).
|
||||||
|
- **Behavior**: Block interactions with other menus, read the edit text on OK, write it to a `url.txt` file, and trigger an immediate config update.
|
||||||
|
|
||||||
|
### C. Config Downloader (Auto-Update Engine)
|
||||||
|
- **Curl Library**: Use the standard `Curl` module to perform HTTP requests.
|
||||||
|
- **Storage**: Save the downloaded JSON content to `config.json` in the same directory as the executable.
|
||||||
|
- **Auto-Update Thread**: Spawn a background thread (using `Thread` module) that sleeps for a set interval (e.g., 1 hour), then downloads the URL. If the file content changes, it updates `config.json` and restarts the `sing-box` process if it was running.
|
||||||
|
|
||||||
|
### D. Process Management (`sing-box.exe`)
|
||||||
|
- **Process Spawning**: Use the standard `Process` module's `create_process` to run:
|
||||||
|
`sing-box.exe run -c config.json`
|
||||||
|
- **Job Object**: Windows processes started via `create_process` will be assigned to a Job Object with `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE`. This ensures `sing-box.exe` automatically shuts down when the controller application is closed.
|
||||||
|
- **Status Checking**: Use `get_process_result` with 0 timeout to check if sing-box is actively running.
|
||||||
|
|
||||||
|
## 3. Implementation Steps
|
||||||
|
|
||||||
|
1. **`main.jai`**: Core application entry point, hidden window loop, tray icon management.
|
||||||
|
2. **`dialog.jai`**: Edit-box dialog for config URL input.
|
||||||
|
3. **`updater.jai`**: Libcurl wrapper and background auto-update thread.
|
||||||
|
4. **`build.jai`**: Jai build script (metaprogram) to compile the app without standard console window popup (using `-subsystem windows`).
|
||||||
|
|
||||||
|
## 4. Key Questions & Decisions
|
||||||
|
|
||||||
|
- **Tray Icon**: Do we need a default/builtin icon? Yes, we will use a standard Windows system icon (like `IDI_APPLICATION` or `IDI_SHIELD`) so that the application works out-of-the-box without requiring an external `.ico` asset.
|
||||||
|
- **sing-box Location**: We will assume `sing-box.exe` is in the same directory as the controller. If not found there, we will search the system PATH.
|
||||||
164
updater.jai
Normal file
164
updater.jai
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
#import "Basic";
|
||||||
|
#import "Curl";
|
||||||
|
#import "File";
|
||||||
|
#import "Thread";
|
||||||
|
#import "Windows";
|
||||||
|
#import "String";
|
||||||
|
|
||||||
|
|
||||||
|
Updater_Thread_Data :: struct {
|
||||||
|
hwnd: HWND;
|
||||||
|
update_interval_seconds: s32 = 3600; // 1 hour
|
||||||
|
stop_event: HANDLE;
|
||||||
|
}
|
||||||
|
|
||||||
|
write_callback :: (ptr: *u8, size: u64, nmemb: u64, userdata: *void) -> u64 #c_call {
|
||||||
|
builder := cast(*String_Builder) userdata;
|
||||||
|
push_context {
|
||||||
|
append(builder, ptr, xx nmemb);
|
||||||
|
}
|
||||||
|
return nmemb;
|
||||||
|
}
|
||||||
|
|
||||||
|
download_url :: (url: string) -> string, bool, string {
|
||||||
|
curl := curl_easy_init();
|
||||||
|
if !curl return "", false, "Failed to initialize Curl";
|
||||||
|
defer curl_easy_cleanup(curl);
|
||||||
|
|
||||||
|
curl_easy_setopt(curl, .URL, temp_c_string(url));
|
||||||
|
curl_easy_setopt(curl, .FOLLOWLOCATION, 1);
|
||||||
|
curl_easy_setopt(curl, .TIMEOUT, 30);
|
||||||
|
|
||||||
|
// Disable SSL verification to prevent issues with missing CA cert bundles on Windows
|
||||||
|
curl_easy_setopt(curl, .SSL_VERIFYPEER, 0);
|
||||||
|
curl_easy_setopt(curl, .SSL_VERIFYHOST, 0);
|
||||||
|
|
||||||
|
builder: String_Builder;
|
||||||
|
defer free_buffers(*builder);
|
||||||
|
|
||||||
|
curl_easy_setopt(curl, .WRITEFUNCTION, write_callback);
|
||||||
|
curl_easy_setopt(curl, .WRITEDATA, *builder);
|
||||||
|
|
||||||
|
curl_code := curl_easy_perform(curl);
|
||||||
|
if curl_code != .OK {
|
||||||
|
err_msg := tprint("Curl perform failed: %", to_string(curl_easy_strerror(curl_code)));
|
||||||
|
return "", false, err_msg;
|
||||||
|
}
|
||||||
|
|
||||||
|
response_code: int;
|
||||||
|
curl_easy_getinfo(curl, .RESPONSE_CODE, *response_code);
|
||||||
|
if response_code != 200 {
|
||||||
|
err_msg := tprint("HTTP request failed with status code %", response_code);
|
||||||
|
return "", false, err_msg;
|
||||||
|
}
|
||||||
|
|
||||||
|
return builder_to_string(*builder), true, "";
|
||||||
|
}
|
||||||
|
|
||||||
|
perform_update :: () -> changed: bool, success: bool, error_msg: string {
|
||||||
|
url_data, ok := read_entire_file("url.txt");
|
||||||
|
if !ok return false, false, "Could not read url.txt. Please configure the Config URL first.";
|
||||||
|
defer free(url_data);
|
||||||
|
|
||||||
|
url := trim(url_data);
|
||||||
|
if !url return false, false, "url.txt is empty. Please configure the Config URL first.";
|
||||||
|
|
||||||
|
downloaded, success, err_msg := download_url(url);
|
||||||
|
if !success return false, false, err_msg;
|
||||||
|
defer free(downloaded);
|
||||||
|
|
||||||
|
modified := modify_config_inbounds(downloaded);
|
||||||
|
defer free(modified);
|
||||||
|
|
||||||
|
config_data, read_ok := read_entire_file("config.json");
|
||||||
|
defer if read_ok free(config_data);
|
||||||
|
|
||||||
|
if read_ok && config_data == modified {
|
||||||
|
return false, true, "";
|
||||||
|
}
|
||||||
|
|
||||||
|
write_ok := write_entire_file("config.json", modified);
|
||||||
|
if !write_ok {
|
||||||
|
return false, false, "Failed to write downloaded content to config.json";
|
||||||
|
}
|
||||||
|
|
||||||
|
return true, true, "";
|
||||||
|
}
|
||||||
|
|
||||||
|
updater_thread_proc :: (thread: *Thread) -> s64 {
|
||||||
|
data := cast(*Updater_Thread_Data) thread.data;
|
||||||
|
if !data return 1;
|
||||||
|
|
||||||
|
while true {
|
||||||
|
// Wait on the stop event for the specified interval.
|
||||||
|
// If the stop event is signaled, wake up immediately and terminate.
|
||||||
|
status := WaitForSingleObject(data.stop_event, cast(DWORD) (data.update_interval_seconds * 1000));
|
||||||
|
if status == WAIT_OBJECT_0 {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
changed, success, err_msg := perform_update();
|
||||||
|
if success && changed {
|
||||||
|
if data.hwnd {
|
||||||
|
PostMessageW(data.hwnd, WM_RESTART_SINGBOX, 0, 0);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
modify_config_inbounds :: (json_content: string) -> string {
|
||||||
|
// Find "inbounds" key
|
||||||
|
idx := find_index_from_left(json_content, "\"inbounds\"");
|
||||||
|
if idx == -1 {
|
||||||
|
first_brace := find_index_from_left(json_content, #char "{");
|
||||||
|
if first_brace == -1 return copy_string(json_content);
|
||||||
|
|
||||||
|
builder: String_Builder;
|
||||||
|
append(*builder, slice(json_content, 0, first_brace + 1));
|
||||||
|
append(*builder, "\n \"inbounds\": [\n {\n \"type\": \"mixed\",\n \"listen\": \"127.0.0.1\",\n \"listen_port\": 20122\n }\n ],");
|
||||||
|
append(*builder, slice(json_content, first_brace + 1, json_content.count - (first_brace + 1)));
|
||||||
|
return builder_to_string(*builder);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Find the opening bracket '[' after "inbounds"
|
||||||
|
search_start := idx + 10;
|
||||||
|
open_bracket_idx := -1;
|
||||||
|
for i: search_start..json_content.count-1 {
|
||||||
|
if json_content[i] == #char "[" {
|
||||||
|
open_bracket_idx = i;
|
||||||
|
break;
|
||||||
|
} else if json_content[i] == #char ":" || is_space(json_content[i]) {
|
||||||
|
continue;
|
||||||
|
} else {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if open_bracket_idx == -1 return copy_string(json_content);
|
||||||
|
|
||||||
|
// Find the matching closing bracket ']'
|
||||||
|
close_bracket_idx := -1;
|
||||||
|
bracket_depth := 0;
|
||||||
|
for i: open_bracket_idx..json_content.count-1 {
|
||||||
|
if json_content[i] == #char "[" {
|
||||||
|
bracket_depth += 1;
|
||||||
|
} else if json_content[i] == #char "]" {
|
||||||
|
bracket_depth -= 1;
|
||||||
|
if bracket_depth == 0 {
|
||||||
|
close_bracket_idx = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if close_bracket_idx == -1 return copy_string(json_content);
|
||||||
|
|
||||||
|
builder: String_Builder;
|
||||||
|
append(*builder, slice(json_content, 0, open_bracket_idx));
|
||||||
|
append(*builder, "[\n {\n \"type\": \"mixed\",\n \"listen\": \"127.0.0.1\",\n \"listen_port\": 20122\n }\n ]");
|
||||||
|
append(*builder, slice(json_content, close_bracket_idx + 1, json_content.count - (close_bracket_idx + 1)));
|
||||||
|
|
||||||
|
return builder_to_string(*builder);
|
||||||
|
}
|
||||||
1
url.txt
Normal file
1
url.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
https://git.ixniy.ru/party/subscriptions/ixniyevonn.json
|
||||||
190
win32.jai
Normal file
190
win32.jai
Normal file
@ -0,0 +1,190 @@
|
|||||||
|
#import "Windows";
|
||||||
|
|
||||||
|
// DLL imports
|
||||||
|
user32 :: #system_library "user32";
|
||||||
|
gdi32 :: #system_library "gdi32";
|
||||||
|
shell32 :: #system_library "shell32";
|
||||||
|
|
||||||
|
// Structs
|
||||||
|
NOTIFYICONDATAW :: struct {
|
||||||
|
cbSize: u32;
|
||||||
|
hWnd: HWND;
|
||||||
|
uID: u32;
|
||||||
|
uFlags: u32;
|
||||||
|
uCallbackMessage: u32;
|
||||||
|
hIcon: HICON;
|
||||||
|
szTip: [128] u16;
|
||||||
|
dwState: u32;
|
||||||
|
dwStateMask: u32;
|
||||||
|
szInfo: [256] u16;
|
||||||
|
uTimeoutOrVersion: u32;
|
||||||
|
szInfoTitle: [64] u16;
|
||||||
|
dwInfoFlags: u32;
|
||||||
|
guidItem: GUID;
|
||||||
|
hBalloonIcon: HICON;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Win32 constants
|
||||||
|
DEFAULT_GUI_FONT :: 17;
|
||||||
|
COLOR_WINDOW :: 5;
|
||||||
|
SS_LEFT :: 0x00000000;
|
||||||
|
ES_AUTOHSCROLL :: 0x0080;
|
||||||
|
BS_DEFPUSHBUTTON :: 0x00000001;
|
||||||
|
BS_PUSHBUTTON :: 0x00000000;
|
||||||
|
GWLP_USERDATA :: -21;
|
||||||
|
WM_SETFONT :: 0x0030;
|
||||||
|
|
||||||
|
STARTF_USESHOWWINDOW : s32 : 0x00000001;
|
||||||
|
|
||||||
|
TPM_LEFTALIGN : u32 : 0x00000000;
|
||||||
|
TPM_RIGHTBUTTON : u32 : 0x00000002;
|
||||||
|
TPM_RETURNCMD : u32 : 0x00000100;
|
||||||
|
|
||||||
|
MF_STRING : u32 : 0x00000000;
|
||||||
|
MF_GRAYED : u32 : 0x00000001;
|
||||||
|
MF_DISABLED : u32 : 0x00000002;
|
||||||
|
MF_SEPARATOR : u32 : 0x00000800;
|
||||||
|
MF_CHECKED : u32 : 0x00000008;
|
||||||
|
|
||||||
|
NIM_ADD : u32 : 0x00000000;
|
||||||
|
NIM_MODIFY : u32 : 0x00000001;
|
||||||
|
NIM_DELETE : u32 : 0x00000002;
|
||||||
|
|
||||||
|
NIF_MESSAGE : u32 : 0x00000001;
|
||||||
|
NIF_ICON : u32 : 0x00000002;
|
||||||
|
NIF_TIP : u32 : 0x00000004;
|
||||||
|
|
||||||
|
// Functions
|
||||||
|
IsDialogMessageW :: (hDlg: HWND, lpMsg: *MSG) -> BOOL #foreign user32;
|
||||||
|
GetWindowLongPtrW :: (hWnd: HWND, nIndex: s32) -> s64 #foreign user32;
|
||||||
|
Shell_NotifyIconW :: (dwMessage: u32, lpData: *NOTIFYICONDATAW) -> BOOL #foreign shell32;
|
||||||
|
|
||||||
|
CreatePopupMenu :: () -> HMENU #foreign user32;
|
||||||
|
DestroyMenu :: (hMenu: HMENU) -> BOOL #foreign user32;
|
||||||
|
AppendMenuW :: (hMenu: HMENU, uFlags: u32, uIDNewItem: s64, lpNewItem: LPCWSTR) -> BOOL #foreign user32;
|
||||||
|
TrackPopupMenu :: (hMenu: HMENU, uFlags: u32, x: s32, y: s32, nReserved: s32, hWnd: HWND, prcRect: *RECT) -> BOOL #foreign user32;
|
||||||
|
SetForegroundWindow :: (hWnd: HWND) -> BOOL #foreign user32;
|
||||||
|
EnableWindow :: (hWnd: HWND, bEnable: BOOL) -> BOOL #foreign user32;
|
||||||
|
PostMessageW :: (hWnd: HWND, Msg: u32, wParam: WPARAM, lParam: LPARAM) -> BOOL #foreign user32;
|
||||||
|
|
||||||
|
// Custom message IDs
|
||||||
|
WM_USER :: 0x0400;
|
||||||
|
WM_TRAY_CALLBACK :: WM_USER + 1;
|
||||||
|
WM_RESTART_SINGBOX :: WM_USER + 2;
|
||||||
|
|
||||||
|
// Context menu command IDs
|
||||||
|
CMD_STATUS :: 1001;
|
||||||
|
CMD_START_STOP :: 1002;
|
||||||
|
CMD_SET_URL :: 1003;
|
||||||
|
CMD_UPDATE_NOW :: 1004;
|
||||||
|
CMD_EXIT :: 1005;
|
||||||
|
CMD_MODE_PROXY :: 1006;
|
||||||
|
CMD_MODE_SYS_PROXY :: 1007;
|
||||||
|
|
||||||
|
// Boolean constants
|
||||||
|
FALSE :: 0;
|
||||||
|
TRUE :: 1;
|
||||||
|
|
||||||
|
// CREATESTRUCTW definition
|
||||||
|
CREATESTRUCTW :: struct {
|
||||||
|
lpCreateParams: *void;
|
||||||
|
hInstance: HINSTANCE;
|
||||||
|
hMenu: HMENU;
|
||||||
|
hwndParent: HWND;
|
||||||
|
cy: s32;
|
||||||
|
cx: s32;
|
||||||
|
y: s32;
|
||||||
|
x: s32;
|
||||||
|
style: s32;
|
||||||
|
lpszName: LPCWSTR;
|
||||||
|
lpszClass: LPCWSTR;
|
||||||
|
dwExStyle: DWORD;
|
||||||
|
}
|
||||||
|
|
||||||
|
kernel32 :: #system_library "kernel32";
|
||||||
|
|
||||||
|
LONG_PTR :: s64;
|
||||||
|
UINT_PTR :: u64;
|
||||||
|
|
||||||
|
// Window and Message Functions
|
||||||
|
GetMessageW :: (lpMsg: *MSG, hWnd: HWND, wMsgFilterMin: u32, wMsgFilterMax: u32) -> BOOL #foreign user32;
|
||||||
|
|
||||||
|
SetTimer :: (hWnd: HWND, nIDEvent: UINT_PTR, uElapse: u32, lpTimerFunc: *void) -> UINT_PTR #foreign user32;
|
||||||
|
KillTimer :: (hWnd: HWND, uIDEvent: UINT_PTR) -> BOOL #foreign user32;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
GetWindowTextW :: (hWnd: HWND, lpString: *u16, nMaxCount: s32) -> s32 #foreign user32;
|
||||||
|
GetWindowTextLengthW :: (hWnd: HWND) -> s32 #foreign user32;
|
||||||
|
|
||||||
|
|
||||||
|
SendMessageW :: (hWnd: HWND, Msg: u32, wParam: WPARAM, lParam: LPARAM) -> LRESULT #foreign user32;
|
||||||
|
SetEvent :: (hEvent: HANDLE) -> BOOL #foreign kernel32;
|
||||||
|
SetFocus :: (hWnd: HWND) -> HWND #foreign user32;
|
||||||
|
|
||||||
|
LOWORD :: (val: WPARAM) -> u16 {
|
||||||
|
return cast(u16) (val & 0xffff);
|
||||||
|
}
|
||||||
|
|
||||||
|
HIWORD :: (val: WPARAM) -> u16 {
|
||||||
|
return cast(u16) ((val >> 16) & 0xffff);
|
||||||
|
}
|
||||||
|
|
||||||
|
PostThreadMessageW :: (idThread: DWORD, Msg: u32, wParam: WPARAM, lParam: LPARAM) -> BOOL #foreign user32;
|
||||||
|
|
||||||
|
advapi32 :: #system_library "advapi32";
|
||||||
|
wininet :: #system_library "wininet";
|
||||||
|
|
||||||
|
LSTATUS :: s32;
|
||||||
|
REGSAM :: u32;
|
||||||
|
|
||||||
|
HKEY_CURRENT_USER :: cast(HKEY) 0x80000001;
|
||||||
|
|
||||||
|
KEY_WRITE :: 0x20006;
|
||||||
|
|
||||||
|
INTERNET_OPTION_SETTINGS_CHANGED :: 39;
|
||||||
|
INTERNET_OPTION_REFRESH :: 37;
|
||||||
|
|
||||||
|
RegOpenKeyExW :: (hKey: HKEY, lpSubKey: LPCWSTR, ulOptions: DWORD, samDesired: REGSAM, phkResult: *HKEY) -> LSTATUS #foreign advapi32;
|
||||||
|
RegSetValueExW :: (hKey: HKEY, lpValueName: LPCWSTR, Reserved: DWORD, dwType: DWORD, lpData: *u8, cbData: DWORD) -> LSTATUS #foreign advapi32;
|
||||||
|
RegCloseKey :: (hKey: HKEY) -> LSTATUS #foreign advapi32;
|
||||||
|
|
||||||
|
InternetSetOptionW :: (hInternet: HANDLE, dwOption: DWORD, lpBuffer: *void, dwBufferLength: DWORD) -> BOOL #foreign wininet;
|
||||||
|
|
||||||
|
wcslen :: (str: *u16) -> int {
|
||||||
|
len := 0;
|
||||||
|
while str[len] != 0 {
|
||||||
|
len += 1;
|
||||||
|
}
|
||||||
|
return len;
|
||||||
|
}
|
||||||
|
|
||||||
|
set_windows_system_proxy :: (enable: bool, server: string) -> bool {
|
||||||
|
hKey: HKEY;
|
||||||
|
subkey := utf8_to_wide("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings");
|
||||||
|
|
||||||
|
status := RegOpenKeyExW(HKEY_CURRENT_USER, subkey, 0, KEY_WRITE, *hKey);
|
||||||
|
if status != 0 {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
defer RegCloseKey(hKey);
|
||||||
|
|
||||||
|
enable_val: u32 = ifx enable then cast(u32) 1 else cast(u32) 0;
|
||||||
|
status = RegSetValueExW(hKey, utf8_to_wide("ProxyEnable"), 0, REG_DWORD, cast(*u8) *enable_val, size_of(u32));
|
||||||
|
if status != 0 return false;
|
||||||
|
|
||||||
|
if enable {
|
||||||
|
wide_server := utf8_to_wide(server);
|
||||||
|
server_len_bytes := cast(u32) ((wcslen(wide_server) + 1) * 2);
|
||||||
|
status = RegSetValueExW(hKey, utf8_to_wide("ProxyServer"), 0, REG_SZ, cast(*u8) wide_server, server_len_bytes);
|
||||||
|
if status != 0 return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
InternetSetOptionW(null, INTERNET_OPTION_SETTINGS_CHANGED, null, 0);
|
||||||
|
InternetSetOptionW(null, INTERNET_OPTION_REFRESH, null, 0);
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user