Skip to content

Commit

Permalink
net-proxy/byedpi: fix current DPI bypass
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Zavertkin <[email protected]>
  • Loading branch information
ProMix0 committed Sep 19, 2024
1 parent bdb9cc8 commit acf2646
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion net-proxy/byedpi/byedpi-0.14.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ src_install() {

newinitd "${FILESDIR}"/byedpi.initd byedpi
newconfd "${FILESDIR}"/byedpi.confd byedpi
systemd_dounit dist/linux/byedpi.service
# Replace distributed service file with working one
# systemd_dounit dist/linux/byedpi.service
systemd_dounit "${FILESDIR}/${PN}.service"
}
4 changes: 3 additions & 1 deletion net-proxy/byedpi/byedpi-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,7 @@ src_install() {

newinitd "${FILESDIR}"/byedpi.initd byedpi
newconfd "${FILESDIR}"/byedpi.confd byedpi
systemd_dounit dist/linux/byedpi.service
# Replace distributed service file with working one
# systemd_dounit dist/linux/byedpi.service
systemd_dounit "${FILESDIR}/${PN}.service"
}
2 changes: 1 addition & 1 deletion net-proxy/byedpi/files/byedpi.confd
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#BYEDPI_BIND_PORT=1080

# Additional command-line options for ciadpi
#BYEDPI_OPTS="--disorder 1 --auto=torst --tlsrec 1+s"
#BYEDPI_OPTS="--disorder 5 --auto=torst --tlsrec 6+s"
2 changes: 1 addition & 1 deletion net-proxy/byedpi/files/byedpi.initd
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

: "${BYEDPI_BIND_IP:=0.0.0.0}"
: "${BYEDPI_BIND_PORT:=1080}"
: "${BYEDPI_OPTS:=--disorder 1 --auto=torst --tlsrec 1+s}"
: "${BYEDPI_OPTS:=--disorder 5 --auto=torst --tlsrec 6+s}"

command="/usr/bin/ciadpi"
command_args="--ip ${BYEDPI_BIND_IP} --port ${BYEDPI_BIND_PORT} ${BYEDPI_OPTS}"
Expand Down
2 changes: 1 addition & 1 deletion net-proxy/byedpi/files/byedpi.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Documentation=https://github.com/hufrea/byedpi/blob/main/readme.txt
After=network-online.target

[Service]
ExecStart=/usr/bin/ciadpi --disorder 1 --auto=torst --tlsrec 1+s
ExecStart=/usr/bin/ciadpi --disorder 5 --auto=torst --tlsrec 6+s

[Install]
WantedBy=multi-user.target

0 comments on commit acf2646

Please sign in to comment.