Package Details: dpitunnel 1.0.3-1

Git Clone URL: https://aur.archlinux.org/dpitunnel.git (read-only, click to copy)
Package Base: dpitunnel
Description: Free, simple and serverless solution against censorship for Linux PCs and routers
Upstream URL: https://github.com/txtsd/DPITunnel
Licenses: GPL-3.0-or-later
Submitter: txtsd
Maintainer: txtsd
Last Packager: txtsd
Votes: 4
Popularity: 0.59
First Submitted: 2024-03-20 12:02 (UTC)
Last Updated: 2024-11-10 06:55 (UTC)

Latest Comments

txtsd commented on 2024-09-15 11:35 (UTC) (edited on 2024-10-20 07:38 (UTC) by txtsd)

Glad to have helped.

The conflicts array is used for when multiple packages package the same files. It's not appropriate in this case.

I'll try to add a version constraint upstream.

natrio commented on 2024-09-15 08:42 (UTC) (edited on 2024-09-15 08:43 (UTC) by natrio)

Thank you for your responsiveness! The problem turned out to be an extra installed package that you didn't have installed. Cmake was not ready for the presence of two versions of libnl in my system and tried to use the oldest one. Just in case, you can add a line to PKGBUILD:

conflicts=('libnl1')

txtsd commented on 2024-09-15 08:14 (UTC)

I checked it out. Nothing obvious stands out. Could you try building with a default /etc/makepkg.conf? Alternatively, try building with pkgctl build but you'll have to provide it a built cpp-httplib (since it's from the AUR) like so pkgctl build -I /path/to/cpp-httplib-0.18.0-1-any.pkg.tar.zst

natrio commented on 2024-09-15 08:06 (UTC)

It is impossible to insert the full log here, I sent it by e-mail.

txtsd commented on 2024-09-15 07:45 (UTC)

@natrio I built this locally yesterday when I did the updates, and it built fine with core/libnl 3.10.0-1. Can you paste a full log from a clean build?

natrio commented on 2024-09-15 07:39 (UTC) (edited on 2024-09-15 07:39 (UTC) by natrio)

The new 1.0.2 version still doesn't want to be built:

dpitunnel/src/DPITunnel-1.0.2/netiface.cpp:328:18: error: «nl_socket_alloc» was not declared in this scope; did you mean «nl_object_alloc»?
  328 |     nl->socket = nl_socket_alloc();

As far as I understand, "nl_socket_alloc" error is caused by new libnl-3.10

txtsd commented on 2024-09-14 14:05 (UTC)

@natrio This is an upstream issue. If you could help make it detect and use versions greater than that specified in CMakeLists.txt, that would be much appreciated.

natrio commented on 2024-09-14 13:59 (UTC) (edited on 2024-09-14 14:01 (UTC) by natrio)

The package requires cpp-httplib from AUR, but does not use it:

CMake Warning at CMakeLists.txt:83 (find_package):
  Could not find a configuration file for package "httplib" that is
  compatible with requested version "0.15.3".
  The following configuration files were considered but not accepted:
    /usr/lib/cmake/httplib/httplibConfig.cmake, version: 0.17.3
    /lib/cmake/httplib/httplibConfig.cmake, version: 0.17.3
-- Using bundled httplib

The package contains old cpp-httplib-0.15.3, but is not built with it:

dpitunnel/src/DPITunnel-1.0.0/netiface.cpp:328:18: error: «nl_socket_alloc» was not declared in this scope; did you mean «nl_object_alloc»?
  328 |     nl->socket = nl_socket_alloc();

What versions of dependencies did you build the package with?

txtsd commented on 2024-09-10 08:50 (UTC)

You should use the systemd service instead.

$ sudo systemctl enable --now dpitunnel.service

radioxoma commented on 2024-09-10 08:47 (UTC) (edited on 2024-09-10 08:47 (UTC) by radioxoma)

Arch autoconfig snippet: echo -ne "youtube.com\n\n/etc/ssl/certs/ca-bundle.crt\n" | sudo dpitunnel --auto