-
Notifications
You must be signed in to change notification settings - Fork 237
Add GlobalProtect protocol #158
Comments
Hi @Haldamir82 , thanks for you request. At this time, the GUI app is linked against upstream 'openconnect' project from original author/repo. So, at first, you should trigger a request to merge new protocol functionality made by @dlenski into original upstream openconnect and then we can start working on implementing this into openconnect-gui (I will add this feature into "unlikely to be added..." milestone, but if something change or someone want to contribute to this, we are open to discuss this topic :-) ) |
Hi @horar, there is already some support for other protocols in the official releases of OpenConnect (Juniper Network Connect, However, @dwmw2 requested I add the following, in order to support GUI wrappers and other users of OpenConnect: http://lists.infradead.org/pipermail/openconnect-devel/2016-December/004106.html
I've contributed a set of patches to add this to the API (see http://lists.infradead.org/pipermail/openconnect-devel/2017-January/004163.html), but it hasn't yet been merged upstream. If/when this is merged upstream, it should be straightforward to get a list of the supported protocols and their features using |
Good, I was afraid this feature will stay forked :-) |
@horar, this might be a bit premature, because it hasn't yet been approved for the official OpenConnect release, but I thought you might like the heads-up... I've added support to Basically, you use |
Hi, Any timeline that we can see GlobalProtect support in Network Manager / OpenConnect ?. Manage to sucessfully connect to my company vpn using Dan openconnect with gp protocol. But it a hassel to manage a few VPN connection without a single interface. |
Hi @izauddin , this project is just about Qt GUI app based on of David's openconnect library/tool. May be, @dlenski , do you have more info about actual status? I see some of your work was already accepted into upstream project. If you think the project is ready, I can try to integrate it into this GUI app. And I can make a drop of test packages after new year (January/February?). |
I would be happiest man on earth if openconnect-nm gets GlobalConnect protocol, now my company changes vpn from cisco to palo alto :) |
@horar wrote:
Here's a rough summary:
So if you want to test building |
Is there any news on globalprotect protocol? |
Yeap, it's in plan. I will try put it together with this GUI after 1.5.3 release. |
after quick look; there is no problem to integrate it into GUI on macOS, it may work. But Windows OS i.e. mingw is not supported. There is required some work on porting network stuff to mingw system (winsocks2 etc) ... reported here dlenski/openconnect#90 |
@horar, good point. The problem reported with Windows build looks to be a relatively simple one with choosing the correct header files for the IP/ICMP structures. I hope the reporter can figure it out fairly quickly; |
I would also like to say that I would love to get the GlobalProtect VPN support in the GUI. My company uses GP and I am writing a tutorial on getting connected to their network on Linux. It looks much better to install via apt-get instead of from a forked repo, and is easier for the general user to use a GUI instead of the command line to connect. I really like the work you've done so far, so keep it up! I hope things can get fixed and merged upstream quickly so more users can use these great tools. |
We now have at least one report of a successful Windows build where everything is fully-functional, including ESP. (See this comment and follow-ups by @bhank on dlenski/openconnect#90.) I made a couple subsequent tweaks to allow it to compile cleanly based on @bhank's feedback. @horar, anything else that I should do to ease the integration of GP support into openconnect-gui? |
thanks, just compiled on msys@mingw; I will try to continue with work on GUI in next days and come back with some test version... |
Just a note - you need openconnect library with GP-protocol support i.e. openconnect snapshot build or next release v7.08+) |
Hooray! Could you tell me which commit you are building off of? Did you need to make any additional patches? I should have mentioned this sooner, but my |
By default, the GUI project is building agains last released version of openconnect (v7.08). But it's possible to cheet the build scripts.... (ehm, not yet well documented... it's on my todo list). I see, there is some progress, discussion in mailing list, but for now I made few days ago a build against your globalprotect-win32 build (hash: e401991f). All my demo packages (openconnect 32/64 + gui 64) are located here: http://bit.ly/2D7QEi2 I don't have access to GP server. If you can try it - pls. let me know if something more is needed in GUI, thaks. When I have to move to other branch, pls. let me known... |
Hi Horar, Let me first explain my results while testing on linux (latest git "master" from dlenski on ubuntu 17.10): There I can access some target-hosts only after passing --csd-wrapper=hipreport.sh. Beside from that it is working great. On Windows I see:
I'll be happy to share more details privately, but since the VPN server is not mine I cannot past logs here |
Hi @jmichler , thank you for updates
|
Hi, |
@jmichler , yes, yes, that's clear for me. Short answer - this project is about GUI; can't help you. Long answer: OpenConnect project development is on mentioned site You can check discussion in that mailing list or ask for support there. Building and bundling openconnect.exe to GUI installer is just add-on value that may help us identify the source of issues. |
@jmichler: as @horar says, there is no support whatsoever for running CSD/TNCC/HIP scripts on Windows in any version of Please report issues with the underlying GP protocol support over at dlenski/openconnect.
I just merged the |
@dlenski yes, it's compiling in mingw@msys2 environment. I upload packages here, hash: de11cab4. Testers can use them or install gui v1.5.3-14 and just replace openconnect stuff in installed folder (pls. check about-dlg in GUI). |
@horar - when using your compilation with GP support, after connecting the software crashes on Win10. Tried 32 and 64 bit versions, no immediately evident error in the logs. |
@blastagator thanks for update, this binary build is little-bit old; I will try to assemble fresh build from actual source code for upcomming release on the weekend... |
Hi Dan, Again, let me start of by saying how great this project is. Truly fantastic how we got this opensource client working with the proprietary palo alto global protect vpn. I've been running this now ever since dlenski/openconnect#25 got merged. Never had a single problem with it.
Awesome!
Is there a timeline on this (is there anything that blocking that this merge would happen) ? Because this, again, would be really, really neat.
I've been testing this integration, since running Fedora 27, and it works exactly as one would expect. Is there anything stopping the NetworkManager-team (or whoever who is responsible for the NetworkManager-openconnect-packagin) from mergin this as well (can I help with something here, I've been patching this manually in Fedora 27, 28 and today actually 29 - so I can confirm it works as expected 😄) ? Again, landing the global protect support upstream as well as the enumeration of supported protocols in the networkmanager-openconnect package would be truly, truly awesome. No need for any manual compiling / patching etc. I will say it once more, this work is truly fantastic and this is exactly why I love working with open source. |
Thanks, @patchon! Did you mean to post this on dlenski/openconnect?
GlobalProtect support was merged upstream a couple months ago… but no 8.0 release has been made yet. I suspect that @dwmw2 is waiting for me to stop sending him a trickle of further patches/tweaks, as well as not looking forward to the torrent of downstream bugs that might come up with a new release. I'd guess that the NetworkManager folks and @horar here at openconnect-gui are all waiting for the OpenConnect 8.0 release in order to release their own builds with multi-proto support. (By the way, I also incorporated multi-proto support into the Android port over at dlenski/ics-openconnect… works great 😎) |
Hehe, well maybe I should have - I just posted it here since it had to do with the gui =)
Ah cool, I didn't know (maybe I should have checked more thoroughly).
Gotcha !
Hehe, well I wish I could have said the same. Just tried it and it "forced closed" just after connect. Not sure if you (or who gets the logs) got my logs. Not sure about what kind of data that that is sent here and / if I want to send them ? |
@patchon if you like test last head version of gui with last openconnect; then you can try snapshot build from start of september (v1.5.3-52-devel) |
I also continue to get the force close just after connect (using GP protocol). This is on the latest snapshot. |
Tested v1.5.3-54-devel downloaded from here - it still crashes after entering username and password on Win10. Thank you for working on it! |
Still doesn't work on Android. |
Is there a MacOS test release available? |
@dropsonic hey, android version is out of this repo; please notify relevant maintainer |
…esolve #158) Signed-off-by: Ľubomír Carik <Lubomir.Carik@gmail.com>
Hi, thanks for your work.
It would be great if this could be added to openconnect.
There's already a working project: https://github.com/dlenski/openconnect (It works in Linux)
Thanks.
The text was updated successfully, but these errors were encountered: