Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to use in Ubuntu system? #12

Closed
rr1231234 opened this issue Jun 22, 2024 · 6 comments
Closed

Possible to use in Ubuntu system? #12

rr1231234 opened this issue Jun 22, 2024 · 6 comments

Comments

@rr1231234
Copy link

No description provided.

@hufrea
Copy link
Owner

hufrea commented Jun 22, 2024

Yes.

Download and run:

wget https://github.com/hufrea/byedpi/releases/download/v0.11/byedpi-11-x86_64.tar.gz
tar -xzf byedpi-11-x86_64.tar.gz

./ciadpi-x86_64 --disorder 3 --ip 127.0.0.1

Set as system proxy (if your DE is Gnome);

gsettings set org.gnome.system.proxy mode manual
gsettings set org.gnome.system.proxy.socks host '127.0.0.1'
gsettings set org.gnome.system.proxy.socks port 1080

If you want enable autostart:

mv ciadpi-x86_64 /usr/bin/ciadpi

Write this to /etc/systemd/user/byedpi.service

[Unit]
Description=ByeDPI

[Service]
ExecStart=ciadpi --disorder 3 --ip 127.0.0.1

[Install]
WantedBy=default.target

And run:

systemctl --user enable byedpi
systemctl --user start byedpi

@rr1231234
Copy link
Author

Thank you very much, I did everything exactly as written but still can't access to the blocked sites. It's strange because on Windows 11 I made it working successfully.

@hufrea
Copy link
Owner

hufrea commented Jun 22, 2024

Try using other parameters, replace --disorder 3 with --auto=torst --tlsrec 1+s, for example.
And check if the proxy is working, add the --debug 1 parameter and look at the logs.

@rr1231234
Copy link
Author

So the log says: byedpi.service: Failed with result 'exit-code'

@hufrea
Copy link
Owner

hufrea commented Jun 23, 2024

Then just run it without using the service and send the result:

./ciadpi-x86_64 --debug 2

@lufog
Copy link
Contributor

lufog commented Jun 23, 2024

@rr1231234, I use it on both Windows 11 and Arch Linux. It works, the main thing is not to forget to specify it in the proxy settings.

For example, I use:

  • ciadpi.exe --auto --timeout 3 --disorder 1 --fake -1 --ttl 3 for Windows
  • ciadpi-x86_64 --auto --timeout 3 --fake -1 --ttl 3 for Arch

--ttl - time to live of the fake packet should be such that it reaches the DPI, but does not reach the site itself (3 in my case).
--auto --timeout 3 - just tries to connect directly, if it fails, it uses the parameters following it (--fake ... in my case).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants