Package Details: byedpi 0.15-2

Git Clone URL: https://aur.archlinux.org/byedpi.git (read-only, click to copy)
Package Base: byedpi
Description: A simple and fast software designed to bypass Deep Packet Inspection
Upstream URL: https://github.com/hufrea/byedpi
Keywords: anticensorship dpi socks
Licenses: MIT
Submitter: artemklevtsov
Maintainer: artemklevtsov (Nebulosa)
Last Packager: Nebulosa
Votes: 10
Popularity: 2.46
First Submitted: 2024-08-07 17:15 (UTC)
Last Updated: 2024-10-29 18:48 (UTC)

Pinned Comments

Nebulosa commented on 2024-10-03 15:43 (UTC) (edited on 2024-10-03 15:48 (UTC) by Nebulosa)

To bring back dynamic user functionality:

$ sudo EDITOR=micro systemctl edit byedpi --drop-in=dynuser

[Service]
DynamicUser=yes
NoNewPrivileges=yes
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN

Info: https://github.com/hufrea/byedpi/issues/149#issuecomment-2380019206

Latest Comments

1 2 Next › Last »

Dlani commented on 2024-10-23 22:52 (UTC)

Download config and service files not from main:

diff --git a/PKGBUILD b/PKGBUILD
index 9927fd3..4f0f78f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ depends=(glibc)
 options=(!debug)
 backup=(etc/$pkgname.conf)
 source=(
-  $url/raw/main/dist/linux/$pkgname.{conf,service}
+  $url/raw/dca3b5693a8fbdaafec12267d587022fd1174562/dist/linux/$pkgname.{conf,service}
   $url/archive/v$pkgver/$pkgname-$pkgver.tar.gz
 )
 b2sums=('a00ad63914d0af3a6e44a968e8dba9af7051db841a4db913f2534d45b5122ade8974444ccdc612e0562d3bf3a9cb9fb868f453db29c8c6cc6a770793c826cc3f'

Nebulosa commented on 2024-10-03 15:43 (UTC) (edited on 2024-10-03 15:48 (UTC) by Nebulosa)

To bring back dynamic user functionality:

$ sudo EDITOR=micro systemctl edit byedpi --drop-in=dynuser

[Service]
DynamicUser=yes
NoNewPrivileges=yes
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN

Info: https://github.com/hufrea/byedpi/issues/149#issuecomment-2380019206

radioxoma commented on 2024-09-22 11:32 (UTC) (edited on 2024-11-04 00:25 (UTC) by radioxoma)

Drop-in.

$ sudo systemctl edit byedpi

[Service]
EnvironmentFile=-/home/user/Dropbox/byedpi.conf

byedpi.conf (example)

BYEDPI_OPTIONS="-a3 -o1 -o23+s -T3 -At"

Nebulosa commented on 2024-09-20 18:45 (UTC) (edited on 2024-09-20 18:47 (UTC) by Nebulosa)

@radioxoma I think the right way will be make an issue on @hufrea's Github.

When there was no service file, we had to create our own. Now I just synchronized the file with the original one, but left the extra functionality. I'm gonna make a PR to add this later.

For now you could make an drop-in file with working for you options. https://wiki.archlinux.org/title/Systemd#Examples

radioxoma commented on 2024-09-19 03:36 (UTC) (edited on 2024-09-22 11:34 (UTC) by radioxoma)

Oh no! --port 1080 --split 1 --disorder 3+s --mod-http=h,d --auto=torst --tlsrec 1+s should be defined in byedpi.conf, not byedpi.service, as all arguments must be editable by user. @hufrea's default arguments from dist/linux/byedpi.service, dist/windows/byedpi.bat doesn't work for all ISP.

/usr/lib/systemd/system/byedpi.service

ExecStart=ciadpi $ARGS

/etc/byedpi.conf # For my ISP this would be just ARGS="--ip 127.0.0.1 --disorder 1".

ARGS="--ip 127.0.0.1 --split 1 --disorder 3+s --mod-http=h,d --auto=torst --tlsrec 1+s"

Nebulosa commented on 2024-09-17 20:45 (UTC) (edited on 2024-09-17 21:32 (UTC) by Nebulosa)

Done. Enjoy!

Since 0.14 ip and port should be optional

radioxoma commented on 2024-09-10 08:13 (UTC) (edited on 2024-09-14 17:26 (UTC) by radioxoma)

Please add default parameters from dist/windows/byedpi.bat to byedpi.conf.

ARGS=--split 1 --disorder 3+s --mod-http=h,d --auto=torst --tlsrec 1+s

Timur1324 commented on 2024-08-19 03:47 (UTC)

Dynamic user feature

New service file:

[Unit]
Description=Bypass DPI service
Documentation=https://github.com/hufrea/byedpi/blob/main/readme.txt
Wants=network-online.target
After=network-online.target nss-lookup.target

[Service]
DynamicUser=yes
NoNewPrivileges=yes
AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN
EnvironmentFile=/etc/byedpi.conf
ExecStart=/usr/bin/ciadpi \
  --ip ${IP} \
  --port ${PORT} \
  $ARGS

[Install]
WantedBy=multi-user.target

Changes:

--- a/byedpi.service
+++ b/byedpi.service
@@ -5,6 +5,9 @@
 After=network-online.target nss-lookup.target

 [Service]
+DynamicUser=yes
+NoNewPrivileges=yes
+AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_NET_ADMIN
 EnvironmentFile=/etc/byedpi.conf
 ExecStart=/usr/bin/ciadpi \
   --ip ${IP} \