CISCO AnyConnect avec Safari sous Mac

415 x served & 213 x viewed

J’ai donc les deux configurations suivantes :

  • Configuration n°1 :
    • OS X El Captain : 10.11.6
    • Safari : 9.1.2
    • Cisco AnyConnect 3.1.09013
    • Java 8 Update 10
    • AnyConnect Secure Mobility Client 3.1.09013
  • Configuration n°1 : (sur le même PC)
    • OS X El Captain : 10.11.6
    • Firefox : 30.0.5
    • Cisco AnyConnect 3.1.09013
    • Java 8 Update 10
    • AnyConnect Secure Mobility Client 3.1.09013

Avec Firefox je n’ai aucun problème :

Capture d’écran 2016-08-30 à 10.39.27

Avec Safari, impossible pour lui de voir que j’ai installé le client :

Capture d’écran 2016-08-30 à 10.32.37

Si je fais un tail -f sur /var/log/system.log :

 --- last message repeated 1 time ---

java[1871]: LaunchServices: disconnect event received for service com.apple.lsd.mapdb

java[1871]: LaunchServices: received XPC_ERROR_CONNECTION_INVALID trying to map database

kernel[0]: Sandbox: java(1871) deny(1) mach-lookup com.apple.dock.fullscreen

kernel[0]: Sandbox: jspawnhelper(1872) deny(1) process-exec* /bin/sh

kernel[0]: Sandbox: java(1871) deny(1) file-read-data /Users/XXXXXX/Library/Preferences/com.apple.AppleMultitouchTrackpad.plist

kernel[0]: Sandbox: java(1869) deny(1) mach-lookup com.apple.dock.fullscreen

kernel[0]: Sandbox: java(1869) deny(1) mach-lookup com.apple.lsd.mapdb

Sep  1 09:15:25 --- last message repeated 1 time ---

java[1869]: LaunchServices: received XPC_ERROR_CONNECTION_INVALID trying to map database

java[1869]: LaunchServices: disconnect event received for service com.apple.lsd.mapdb

ava[1869]: LaunchServices: received XPC_ERROR_CONNECTION_INVALID trying to map database

Sep  1 09:15:25 --- last message repeated 1 time ---

java[1869]: LaunchServices: disconnect event received for service com.apple.lsd.mapdb

java[1869]: LaunchServices: received XPC_ERROR_CONNECTION_INVALID trying to map database

kernel[0]: Sandbox: java(1869) deny(1) mach-lookup com.apple.lsd.mapdb

java[1869]: LaunchServices: received XPC_ERROR_CONNECTION_INVALID trying to map database

java[1869]: LaunchServices: disconnect event received for service com.apple.lsd.mapdb

java[1869]: LaunchServices: received XPC_ERROR_CONNECTION_INVALID trying to map database

kernel[0]: Sandbox: java(1869) deny(1) mach-lookup com.apple.dock.fullscreen

java[653]: java.lang.NullPointerException

    at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1090)

    at sun.awt.SunToolkit.getSystemEventQueueImplPP(SunToolkit.java:1085)

    at sun.awt.SunToolkit.getSystemEventQueueImpl(SunToolkit.java:1080)

    at java.awt.Toolkit.getEventQueue(Toolkit.java:1734)

    at java.awt.EventQueue.invokeLater(EventQueue.java:1266)

    at sun.plugin2.main.client.MacOSXKeyHandler.notifyFlagsChangedFromNative(Unknown Source)

J’ai donc l’impression que c’est un problème de droit sur l’execution de la commande système. J’ai essayé un dtrace et un dtruss sur le PID de java et de Safari mais je n’ai pas eu plus d’information :

sh-3.2# dtrace -p 1227

dtrace: failed to grab pid 1227: the current security restriction (rootless enabled) prevent dtrace from attaching to an executable not signed with the [com.apple.security.get-task-allow] entitlement

Les versions :

Capture d’écran 2016-08-31 à 10.56.02 Capture d’écran 2016-08-31 à 10.55.48 Capture d’écran 2016-08-30 à 10.40.20 Capture d’écran 2016-08-31 à 10.55.25

Capture d’écran 2016-08-30 à 10.33.22 Capture d’écran 2016-08-30 à 10.36.53

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Time limit is exhausted. Please reload CAPTCHA.