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
vpnc(musl version) cannot connect #26798
Comments
Is this still an issue? |
Yes. This issue still present. |
I'm currently lacking a cisco endpoint where I can verify this behavior. |
No need cisco endpoint for verify: 2.set config to: 3.and just run: vpnc or strace vpnc |
And You will see the following: |
Okay, let's try that. |
I have an idea what's happening. Dang. |
@void-linux/pkg-committers Okay, we need to discuss this. vpnc is basicly foobar on musl. There's a fork of vpnc here. This fork is used by alpine for example. Unfortunately, parts of the build (vpnc-script) is only accessibly from a git-only repository and not part of vpnc itself anymore. Should we switch to the new upstream? There are no releases yet. Also the template will become messy as we need to git-clone the vpnc-script repository. |
We don't need to clone, github allows us to pull a specific commit as an archive. |
In https://davidepucci.it/doc/vpnc/ , it mentions that the repository isn't for active development, but mostly for security and bug fixes (and new features others implement, but idk how common those are). In any case, if we switch to it, which seems reasonable, I'd suggest updating to the git tip whenever it gets security fixes. |
@ericonr The repository I was speaking of is not on github and does not allow downloading tarballs: https://git.infradead.org/users/dwmw2/vpnc-scripts.git/ |
@ericonr Yea, it's still better than our current upstream as the last release was >10y ago. |
This seems to work for a snapshot of a specific hash:
|
@Gottox Ah, I see. Hmm, https://git.infradead.org/users/dwmw2/vpnc-scripts.git/commit/3885f8bbc4ae03fd6da0ada6de12f7223a59595c seems to work. I grabbed it by clicking "snapshot" in https://git.infradead.org/users/dwmw2/vpnc-scripts.git/commit/3885f8bbc4ae03fd6da0ada6de12f7223a59595c |
fixes void-linux#26798. * Changes upstream to https://github.com/streambinder/vpnc/. That's a fork that's a fork which is at least used in alpine. * Depends on vpnc-scripts. New upstream doesn't ship those files anymore * Add wrapper script to stay backwards compatible
fixes void-linux#26798. * Changes upstream to https://github.com/streambinder/vpnc/. That's a fork that's a fork which is at least used in alpine. * Depends on vpnc-scripts. New upstream doesn't ship those files anymore * Add wrapper script to stay backwards compatible * Switch to build_style=gnu-makefile instead of manually calling make.
fixes void-linux#26798. * Changes upstream to https://github.com/streambinder/vpnc/. That's a fork that's a fork which is at least used in alpine. * Depends on vpnc-scripts. New upstream doesn't ship those files anymore * Add wrapper script to stay backwards compatible * Switch to build_style=gnu-makefile instead of manually calling make.
fixes void-linux#26798. * Changes upstream to https://github.com/streambinder/vpnc/. That's a fork that's a fork which is at least used in alpine. * Depends on vpnc-scripts. New upstream doesn't ship those files anymore * Add wrapper script to stay backwards compatible * Switch to build_style=gnu-makefile instead of manually calling make.
fixes void-linux#26798. * Changes upstream to https://github.com/streambinder/vpnc/. That's a fork that's a fork which is at least used in alpine. * Depends on vpnc-scripts. New upstream doesn't ship those files anymore * Add wrapper script to stay backwards compatible * Switch to build_style=gnu-makefile instead of manually calling make.
fixes #26798. * Changes upstream to https://github.com/streambinder/vpnc/. That's a fork that's a fork which is at least used in alpine. * Depends on vpnc-scripts. New upstream doesn't ship those files anymore * Add wrapper script to stay backwards compatible * Switch to build_style=gnu-makefile instead of manually calling make.
fixes void-linux#26798. * Changes upstream to https://github.com/streambinder/vpnc/. That's a fork that's a fork which is at least used in alpine. * Depends on vpnc-scripts. New upstream doesn't ship those files anymore * Add wrapper script to stay backwards compatible * Switch to build_style=gnu-makefile instead of manually calling make.
System: x86_64 (musl version)
Package: vpnc version 0.5.3
vpnc cannot connect:
When run it says: "can't initialise tunnel interface: No such file or directory".
/dev/net/tun present in system, but vpnc try find /dev/tun0-254 devices
The text was updated successfully, but these errors were encountered: