bepass-org / bepass

A simple DPI bypass tool written in go
MIT License
342 stars 71 forks source link

Unable to use SDNS stamp #24

Open radiumatic opened 11 months ago

radiumatic commented 11 months ago

I'm trying to use a SDNS stamp from dnscrypt-proxy serverlist, needless to say, it probably is valid

But in the logs:

socksLogger2023/08/09 20:45:06 2023-08-09 20:45:06 [E]: server: illegal base64 data at input byte 123

Using termux and proot to run linux armv7 build

uoosef commented 11 months ago

please send your config.json i will look into it

radiumatic commented 11 months ago

please send your config.json i will look into it

It's pretty much the defaults except for the DNS.

I tried multiple SDNS stamps (dnscrypt protocol) from this link: https://dnscrypt.info/public-servers/

Works if I use a plainly-defined DoH

uoosef commented 11 months ago

Yes i tested it its clearly a bug i will fix it within a day

uoosef commented 10 months ago

unfortunately official sdns v2 library doesnt support custom dialer in golang. so i need help to resolve this issue

radiumatic commented 10 months ago

unfortunately official sdns v2 library doesnt support custom dialer in golang. so i need help to resolve this issue

I'm not familiar with golang, but assuming "hacking around" the library internal APIs is not a suitable solution, isn't it just better at this point to create an issue in sdns repository?

DanielcoderX commented 10 months ago

unfortunately official sdns v2 library doesnt support custom dialer in golang. so i need help to resolve this issue

which one do you mean dnscrypt-proxy or sdns ? both are based on Go and they are accessible for future improvement.