Comments (6)
@wannaliang Ensure you are using LibOpenConnect v8.06+ or newer. I did a bunch of bugfixes to the ciphersuite library functions, in particular in https://gitlab.com/openconnect/openconnect/-/commit/dd4693b6058f674671c1f705b55333e5a6c6c8d5 and a few subsequent commits.
from ics-openconnect.
I can go through ipinfo.DTLSOptions Access to x-dtls and other information
Don't do this. The CSTPOptions
and DTLSOptions
are Cisco-specific and even verison-of-Cisco-server-specific and will break if you're using any other protocol supported by OpenConnect.
(They really shouldn't be in the publicly-visible API at all.)
I did not find an effective way to obtain the protocol and other information
If you're looking for compression and cipher information, then https://gitlab.com/openconnect/openconnect/-/blob/master/java/src/org/infradead/libopenconnect/LibOpenConnect.java#L164-167
from ics-openconnect.
Thank you very much for your answer. But I really need that information.I have also looked at libopenconnect.java. But I didn't find a valid way to call such a method as getCSTPCipher, as if the method had no method in the JAR package to call the value. I saw a display of the log information, but I couldn't find where it came from
from ics-openconnect.
Can you call mOC.getCSTPCipher()
? It should work the same way as the other JNI methods.
I saw a display of the log information
Most of the log messages are generated internally by the C code in libopenconnect, so they can potentially contain information that isn't accessible through the Java bindings. If there is something that's important for the caller to have, the upstream openconnect project might accept library API changes (I had to add a bunch of new APIs to support the Android port).
from ics-openconnect.
I've tried using moc.getCstpcipher to get this value, but I've got nothing. I've also tried calling this method in OpenConnectManagementThread.java but it's still empty, and I'm not sure if I can't get the value or if there's something wrong with my calling method
from ics-openconnect.
Ok, I will update the latest version and try, thank you very much for your help
from ics-openconnect.
Related Issues (20)
- compile fail HOT 1
- OpenConnect Removed from play strore HOT 7
- openconnect not working android 10 HOT 3
- please help whenever I try to compile with nettle 3.4.1 and gnutls 3.6.8 HOT 1
- Can't build package missing using in Windows 10
- Update binary components with fixes for android 10 crash HOT 1
- Integration with Client
- App crash in all android version HOT 1
- import org.stoken.LibStoken not found HOT 1
- DNS!
- cannot connect to vpn server hosted by cisco vpn with error message "tls fatal alert has been received" HOT 3
- Error building make external HOT 1
- why is the project not developing? HOT 2
- library "libopenconnect.so" not found
- Openconnect APK 1119 does not work on Amazon Fire TV
- Hello This error occurs when we click on the server HOT 2
- apk download link? HOT 4
- undefined reference from libz.so and libm.so how to fix it help plz
- it does not work for android 12 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ics-openconnect.