wiresock / proxifyre

ProxiFyre: SOCKS5 Proxifier for Windows
https://www.ntkernel.com
GNU Affero General Public License v3.0
298 stars 23 forks source link

Error at startup with Server 2003 SP2 #31

Closed Stepman123 closed 5 months ago

Stepman123 commented 7 months ago

Hello. I tried running ProxiFyre on 2003 SP2 32-bit with One Core API. Is it possible to fix this error?

Configuration Result: [Success] Name ProxiFyreService [Success] DisplayName ProxiFyre Service [Success] Description ProxiFyre - SOCKS5 Proxifier Service [Success] ServiceName ProxiFyreService Topshelf v4.3.0.0, .NET Framework 4.8.4526.0 (4.0.30319.42000) Topshelf.Hosts.ConsoleRunHost Error: 0 : An exception occurred, System.Runtime.InteropServices.SEHException (0x80004005): ...

start error.txt

wiresock commented 7 months ago

The Socksify C++/CLI class library, which serves as the foundation for the ProxiFyre service, has been developed using the Visual Studio 2022 platform toolset (v143). Unfortunately, this toolset lacks support for Windows XP/2003. While backporting the project to accommodate Windows XP/2003 is theoretically feasible, it seems unnecessary and potentially impractical to undertake such an effort.

Stepman123 commented 7 months ago

this toolset lacks support for Windows XP/2003

On Windows 7 the error is exactly the same. Maybe it will be possible to run ProxiFyre at least on Windows 7?

w7.txt

wiresock commented 7 months ago

Have you installed Windows Packet Filter?

Stepman123 commented 7 months ago

Thank you. After installing Windows.Packet.Filter.3.4.8.1.exe, ProxiFyre started. The problem is that it does not redirect programs. Browsers work directly. There is an error in the log with IP 1.1.1.1. Is this ProxiFyre DNS? Because I haven't used this anywhere.

logfile_2024-04-09.txt

app-config.json

wiresock commented 7 months ago

IP address 1.1.1.1 is utilized to identify your default internet connection. Upon determining this interface, ProxiFyre initiates filtering and redirects all connections from this interface to the SOCKS proxy. However, if your device lacks a default network connection, this method will not work.

jonm58 commented 7 months ago

default network connection

this? image

Stepman123 commented 7 months ago

However, if your device lacks a default network connection, this method will not work.

Does this mean that if I have one active Internet connection, then this is the “default network connection”? (Internet via USB WiFi) On Windows 7, the same error occurs if the Internet is not connected: Failed to figure out the route to the 1.1.1.1 ::0 If the Internet is connected, then this error does not exist. On Server 2003 there is an error in any case. Why? There are slight differences in route table 2003.

When the Internet is not connected: 7_2003_route

When the Internet is connected: 7_2003_route-connected

wiresock commented 7 months ago

Yes, you're correct. ProxiFyre requires an active Internet connection to function correctly. It operates by intercepting traffic from the Internet-connected interface, and if it's unable to detect such a connection, it won't be able to function as intended.

Stepman123 commented 6 months ago

Socksify doesn't work either, but in a different way. The browser cannot connect - connection timeout. Socksify launches without errors. How to understand what the reason is. Maybe Pkt Filter is not working correctly?

wiresock commented 6 months ago

Windows Packet Filter is widely used in commercial software, so it's unlikely to be the source of the issue. However, tools like Socksify and ProxiFyre transform outgoing packets into incoming ones, which might be blocked by a locally running firewall, including the built-in one. Consider temporarily disabling your firewall to see if this resolves the problem.

jonm58 commented 6 months ago

Socksify doesn't work either, but in a different way. The browser cannot connect - connection timeout. Socksify launches without errors. How to understand what the reason is. Maybe Pkt Filter is not working correctly?

OCAPI broke some app and proxy,like WLM09 can't use proxy

Stepman123 commented 6 months ago

Consider temporarily disabling your firewall to see if this resolves the problem.

Yes, in the case of Socksify, the reason is the Windows firewall. If the firewall is disabled, then Socksify works, but ProxiFyre reports the same error in the log. Additionally, Socksify does not work properly. For example, some sites go directly past Socksify. I think the problem is that different sites are open in different browser tabs. It is likely that different tabs use different processes (thorium.exe) to connect, and Socksify only works with one process. Or Socksify will incorrectly determine which process should receive the incoming packet during the connection.

Above I said that ProxiFyre works in Windows 7, but in fact there was the same problem as in Server2003 with Socksify.

wiresock commented 6 months ago

ProxiFyre is essentially an enhanced version of the socksify demo, resulting in very similar behaviors between the two. Regarding process identification, it's important to run ProxiFyre with administrative privileges. Without admin rights, ProxiFyre will only be able to identify processes that the current user has access to.