Re: Option for endpoint.anyconnect.deviceuniqueid of Cisco/ASA DAP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/17/20 7:45 PM, yesi wrote:

On 4/17/20 6:11 PM, David Woodhouse wrote:
I think you can set at least the unique ID with the
openconnect_set_mobile_info() function, which isn't exposed on the
command line. Do you want to try using that and let us know if it does
what you expect?

There was a patch at
http://lists.infradead.org/pipermail/openconnect-devel/2016-July/003808.html
which attempted to add support for it for non-mobile platforms but it
needed a little more work. We should probably revisit that.

Hi,

Finally, i've give a try with success.

The aim is to use OpenConnect and to disguise the Linux as a Windows Client.
Si, i apply the patch from Raph with the GIT clone repo (SHA of the last commit : 52bf0e97c8f6de9e057562a83e645075ffb98c2e) and i changed :
- the conditional option from --os=linux-64 to --os=win
- i gave the parameters handly into env.sh :  OC_DEVICE_TYPE, OC_PLATFORM_VERSION, OC_MAC_ADDRESS

for the ASA attributs :
Session Attribute endpoint.anyconnect.devicetype
Session Attribute endpoint.anyconnect.platformversion
Session Attribute endpoint.anyconnect.deviceuniqueid
Session Attribute endpoint.anyconnect.macaddress["0"]
Session Attribute endpoint.anyconnect.publicmacaddress

Here are the options given to the CLI : --os=win --local-hostname --useragent --version-string

But i got an error after connecting :
"unknown reason 'attempt-reconnect'. Maybe vpnc-script is out of date"
Then i lost my connection to a local server.

But, the patch does work fine.
It would be nice to add it. :)

Peace.


_______________________________________________
openconnect-devel mailing list
openconnect-devel@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/openconnect-devel




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux