Package Details: netvirt-agent-git v2.0.2b-1

Git Clone URL: https://aur.archlinux.org/netvirt-agent-git.git (read-only)
Package Base: netvirt-agent-git
Description: NetVirt is an open source network virtualization platform (NVP).
Upstream URL: http://netvirt.org
Licenses: GPLv3
Submitter: somekool
Maintainer: somekool
Last Packager: somekool
Votes: 4
Popularity: 0.000041
First Submitted: 2015-06-08 11:14
Last Updated: 2019-01-10 02:59

Pinned Comments

somekool commented on 2019-01-10 03:08

This package was just updated to the latest version.

You can create a free account on this site. https://my.dynvpn.com/

Note, this will replace the old client with the new. if you need to keep the old netvirt-agent running, install the beta package instead. They are both installing the same version at the moment, it only allows you to have two different version installed.

https://aur.archlinux.org/packages/netvirt-agent-beta-git/

once installed,

configure your network using the seeding key

sudo netvirt-agent2 -k "nv:...."

give your network a name

then

sudo netvirt-agent2 -c network_name

to connect

Note the systemctl config needs to be updated with the network name of your choice.

Latest Comments

somekool commented on 2019-01-10 03:22

you can add the "-c networkname" to /usr/lib/systemd/system/netvirt-agent2.service for using systemctl

somekool commented on 2019-01-10 03:08

This package was just updated to the latest version.

You can create a free account on this site. https://my.dynvpn.com/

Note, this will replace the old client with the new. if you need to keep the old netvirt-agent running, install the beta package instead. They are both installing the same version at the moment, it only allows you to have two different version installed.

https://aur.archlinux.org/packages/netvirt-agent-beta-git/

once installed,

configure your network using the seeding key

sudo netvirt-agent2 -k "nv:...."

give your network a name

then

sudo netvirt-agent2 -c network_name

to connect

Note the systemctl config needs to be updated with the network name of your choice.

somekool commented on 2018-01-30 14:35

There is a new beta version of this package.

https://aur.archlinux.org/packages/netvirt-agent-beta-git/

the whole protocol has been reworked and improved. client also support openssl 1.1

I created a new project, so it is possible for people to use it as a migration path. both can work side by side.

so you can use current netvirt network to connect to node, install new clients, test new network, run both side by side for a while and finally phase out the old one.

eventually, this repo will be updated to the newest and beta will simply be a development version.

somekool commented on 2017-06-06 10:32

@Keridos, the output you pasted does not contain the error.
but no worries.

the agent is broken upstream with openssl 1.1

I tried to add the cmake flag as described there to use openssl-1.0 but without success https://www.archlinux.org/todo/openssl-110-rebuild/

the team is working on a fix for openssl 1.1 but it is not yet ready
if you can manage to compile this against openssl 1.0 you should be good

Fedora 26 and Ubuntu 17.04 are affected with same problem.

Keridos commented on 2017-04-27 13:22

Fails to build for me:

In file included from /usr/include/openssl/ui.h:13:0,
from /usr/include/openssl/engine.h:29,
from /build/netvirt-agent-git/src/netvirt-agent-git/libnvcore/src/crypto.c:26:
/usr/include/openssl/err.h:247:1: note: declared here
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
^
make[2]: *** [libnvcore/src/CMakeFiles/nvcore.dir/build.make:231: libnvcore/src/CMakeFiles/nvcore.
dir/crypto.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:109: libnvcore/src/CMakeFiles/nvcore.dir/all] Error 2
make: *** [Makefile:161: all] Error 2
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Build failed, check /home/nico/chroot/nico/build
makechrootpkg -c -r $CHROOT 30.01s user 1.86s system 63% cpu 50.027 total

somekool commented on 2016-08-14 20:28

Thanks to fenexomega, he submitted a pull request and its working again.

happy netvirting

somekool commented on 2016-05-20 18:22


very sad to hear AUR building system keeps changing their PKGBUILD format without allowing previously working packages to not break under their previous API.

i made this out of good will and because I needed it.
it worked for me. if ArchLinux can't offer a stable AUR build system, or a versioned one at the very least. I can't keep up with it.

pull requests are welcome

https://github.com/mathieujobin/netvirt-agent-git

andros705 commented on 2016-05-14 12:10

You will have to update the PKGBUILD script.
It contains many errors.
==> ERROR: license should be an array
==> ERROR: source should be an array
==> ERROR: url should not be an array

Additionally after you repair them:
fatal: Not a git repository (or any of the parent directories): .git
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:

I managed to compile mine by removing pkgver() function and solving problems with arrays, I think you should do something about this.

Yours sincerely

somekool commented on 2015-11-18 03:15

package has been updated with a systemd service.

you first need to connect your node once as root.

netvirt-agent -k HASH_KEY

then enable and start the service.

systemctl enable netvirt-agent
systemctl start netvirt-agent

in combinaison with chmod'ing /dev/net/tun and using setcap you could setup the service to run as a different user than root.

cheers,

somekool commented on 2015-09-11 19:38

you can run the following two commands to allow regular users to use netvirt-agent...

sudo chmod 666 /dev/net/tun
sudo setcap cap_net_bind_service,cap_net_admin=ep /usr/bin/netvirt-agent