07-27-2015 10:08 AM
Hi,
I'm running the session subscribe samples in both C and Java based SDK.
For the Java based SDK, I get a notification when I stimulate the login via RadiusSimulator.jar.
./session_subscribe.sh -keystoreFilename iseSample1.jks -keystorePassword cisco123 -truststoreFilename rootSample.jks -truststorePassword cisco123 -hostname 10.32.0.51 -username pxclient
------- properties -------
version=1.0.0.10
hostnames=10.32.0.51
username=pxclient
keystoreFilename=iseSample1.jks
keystorePassword=cisco123
truststoreFilename=rootSample.jks
truststorePassword=cisco123
filter=null
--------------------------
connecting...
press <enter> to disconnect...
connected.
session notification :
session (ip=10.32.3.94, Audit Session Id=1001, User Name=user1, AD User DNS Domain=null, AD Host DNS Domain=null, AD User NetBIOS Name=null, AD Host NETBIOS Name=null, Calling station id=11:11:11:11:11:11, Session state= STARTED, Epsstatus=null, Security Group=null, Endpoint Profile=Unknown, NAS IP=10.32.3.94, RADIUSAVPairs=[ Acct-Session-Id=101], Posture Status=null, Posture Timestamp=, Session Last Update Time=Mon Jul 27 06:07:32 PDT 2015 )
session notification :
session (ip=10.32.3.94, Audit Session Id=1001, User Name=user1, AD User DNS Domain=null, AD Host DNS Domain=null, AD User NetBIOS Name=null, AD Host NETBIOS Name=null, Calling station id=11:11:11:11:11:11, Session state= DISCONNECTED, Epsstatus=null, Security Group=null, Endpoint Profile=Unknown, NAS IP=10.32.3.94, RADIUSAVPairs=[ Acct-Session-Id=101], Posture Status=null, Posture Timestamp=, Session Last Update Time=Mon Jul 27 06:08:10 PDT 2015 )
However, for the C based subsribe, looks like the session is set up correctly but I don't get any notifications.
./session_subscriber -a 10.32.0.51 -u pxgrid -c clientSample1.crt -k clientSample1.key -p cisco123 -s rootSample.crt
2015-07-27T06:06:42 [ INFO]: connecting to host 10.32.0.51 .......
2015-07-27T06:06:43 [ INFO]: stream opened
_user_ssl_ctx_cb calling
2015-07-27T06:06:44 [ INFO]: EXTERNAL authentication complete
2015-07-27T06:06:44 [ INFO]: authenticated successfully (sasl mechanism: EXTERNAL)
2015-07-27T06:06:46 [ INFO]: connected to host: 10.32.0.51 .......
wow connected!!!
2015-07-27T06:06:47 [ INFO]: successfully subscribed
And nothing after this.
Can someone help me figure out why I'm not getting any notifications using the C SDK?
Thanks,
Sonal
09-01-2015 03:26 AM
i haven't noticed this issue. but there can be only few reason to for this failure and one of them is end point ip address is not updated in session directory. can you try executing Java and C subscribe on same ISE.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide