Project

General

Profile

Issue #3470

libvici client install on Ubuntu VM

Added by Mohan Kumar 2 months ago. Updated 2 months ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Category:
vici
Affected version:
5.8.0
Resolution:

Description

I have installed Davici/Strongswan on a Ubuntu VM by cloning it from the GitHub repo. When i try to compile the code from the davici directory using ./configure,
the following is displayed:
-bash: ./configure: No such file or directory
Not sure if any packages are missing in the original code as i cannot find any config modules within the davici directory.

Also, would like to check regarding REST API capabilities provided in davici C/C++ libraries, if these API's are readily available in this library or specific methods have to be enabled to expose REST API's to external applications.
Basically I am trying to configure Strongswan IPsec(Site2SiteIPsec using IKEv1/v2)from a Web UI built on AngularJS, instead of manually entering the ipsec.conf files on the CLI.

Thanks and Regards,
Mohan

History

#1 Updated by Tobias Brunner 2 months ago

  • Status changed from New to Feedback
  • Priority changed from High to Normal

I have installed Davici/Strongswan on a Ubuntu VM by cloning it from the GitHub repo. When i try to compile the code from the davici directory using ./configure,
the following is displayed:
-bash: ./configure: No such file or directory

So create it (e.g. with autoreconf -i).

Not sure if any packages are missing in the original code as i cannot find any config modules within the davici directory.

You'll need autoconf/automake/libtool (you need these and more for strongSwan anyway, see source:HACKING).

Also, would like to check regarding REST API capabilities provided in davici C/C++ libraries, if these API's are readily available in this library or specific methods have to be enabled to expose REST API's to external applications.

What gave the impression davici provides any REST APIs? Please read the documentation of the library and perhaps vici in general.

Basically I am trying to configure Strongswan IPsec(Site2SiteIPsec using IKEv1/v2)from a Web UI built on AngularJS, instead of manually entering the ipsec.conf files on the CLI.

Not sure that's the right track you're on then. Did you have a look at strongMan, though?

#2 Updated by Mohan Kumar 2 months ago

Thanks, Tobias for the quick response.

Did you have a look at strongMan, though?

No havent looks at this yet, seems like a good option, but will be another UI, so what you are saying is that ipsec.conf configs is not controllable from a third party frontend via the vici plugin?

I will install the tools you have mentioned and try again.

Thanks and Regards.

#3 Updated by Tobias Brunner 2 months ago

so what you are saying is that ipsec.conf configs is not controllable from a third party frontend via the vici plugin?

Well, ipsec.conf is deprecated and has nothing directly to do with vici, but no that's not what I was saying. You want to really study the documentation to understand what each component does.

#4 Updated by Mohan Kumar 2 months ago

Ok, sure will read through the documentation as i am new to this vici plugin.
Idea was to build a wrapper which will just call the c functions ( or maybe Python) and get return data.

Also available in: Atom PDF