ProxyBridge icon indicating copy to clipboard operation
ProxyBridge copied to clipboard

Can the rule of domain name+port be supported,

Open subeoy1 opened this issue 1 year ago • 9 comments

Can the rule of domain name+port be supported, Currently, only IP+ports are supported Some domain names have dynamic IP addresses

subeoy1 avatar Dec 02 '25 12:12 subeoy1

This is not possible directly. it works at wfp kernel network stack at network level all packets are IP only not domain name.

Anof-cyber avatar Dec 02 '25 13:12 Anof-cyber

Thank you, I already know how to handle domain names. Thank you, because I haven't understood the working principle of WINdrv yet. It is built on the network layer Thank you for your answer. Looking forward to seeing you again next time

subeoy1 avatar Dec 02 '25 14:12 subeoy1

UINT32 resolved_ip = resolve_hostname(pattern);

You can call IP resolution inside to accomplish this project

subeoy1 avatar Dec 02 '25 14:12 subeoy1

I know this can implement with this but its not a valid with the core logic of the ProxyBridge. It can be implemented as workaround but not test best option and comes with alot of issues that can drop the packets unintentionally.

Anof-cyber avatar Dec 02 '25 14:12 Anof-cyber

Using domain names in adding rules, after adding them, only one time is needed to automatically analyze the IP address of the domain name and record them one by one This will not result in any loss of performance expenses

subeoy1 avatar Dec 02 '25 16:12 subeoy1

Using domain names in adding rules, after adding them, only one time is needed to automatically analyze the IP address of the domain name and record them one by one This will not result in any loss of performance expenses

Of course, it does not support dynamic changes, but for individual domain names that change IP addresses regularly, this is obviously very friendly

subeoy1 avatar Dec 02 '25 16:12 subeoy1

Its something useful i will figure out and if possible then will add in the next release. As of now its not an priority and have no new release planned for December.

Anof-cyber avatar Dec 02 '25 17:12 Anof-cyber

This is added in the latest beta version

Anof-cyber avatar Jul 03 '26 16:07 Anof-cyber

Hi. The solution here is not perfect I think. Can't we just start a timer background and resolve the domain that has been set every per sometimes? This solves dynamic ip problem. For example, in the first loop we found out that example.com resolves to 1.2.3.4, so we proxy the 1.2.3.4. And the second loop comes. We found out that example.com now resolves to 1.2.3.5. So we proxy the 1.2.3.5. That is easy. Why not do that?

And, this is why I use proxifier instead of proxybridge. This feature is so important.

Kevin-O-Hsu avatar Sep 29 '26 18:09 Kevin-O-Hsu