Friday, 2012-04-20

*** Terho has quit (Ping timeout: 245 seconds)00:57
*** Terho (d58473c2@gateway/web/freenode/ip.213.132.115.194) has joined #wikid01:31
TerhoStill problem with certificates. I am now not sure probably we need wAuth01:32
Terho2012-04-20 04:20:55.341ERRORcom.wikidsystems.server.wAuthCouldn't validate the client certificate. Verify the validity and dates of the client cert.01:32
TerhoWAUTH is enabled. We had a firewall update some time ago.01:35
*** Terho has quit (Ping timeout: 245 seconds)02:17
*** nowen (~nowen@adsl-74-176-163-56.asm.bellsouth.net) has joined #wikid12:55
*** Tom___ has quit (Ping timeout: 245 seconds)16:08
joevanonowen: is there a way to have the WiKID service start without having to supply the passphrase? ie have it cached in sowe way I am not sure I want a cert with a bsank passphrase19:40
nowenyes, you can put it into a file:  /etc/WiKID/security19:41
nowenone line:  WAUTH_PASSPHRASE='yourpassphrase'19:41
nowenthere is a start-up script in /opt/WiKID/conf iirc.19:41
joevanooh and by the way the copying of the directories over to move the server didn't work so we just rebuilt it ( all of aout 10 minutes)19:42
nowenhmm19:42
*** Troy__ (4b47ae94@gateway/web/freenode/ip.75.71.174.148) has joined #wikid19:46
Troy__@nowen - Hi Nick.. I have a quick question if you have a few min19:48
nowenok19:48
Troy__we have a master -> slave server setup.. if I enable a new protocol (Radius) on the master, would the change also apply to the slave if I sync?19:50
Troy__@nowen or would I need to set them as stand-alone and enable Radius on both separately?19:50
nowenyou should not have to sync. the changes should be replicated to the slave automatically19:51
nowenthe only changes that require sync would be something to do with the certificates19:51
Troy__ok19:51
Troy__thank you Nick19:51
nowennp19:54
*** Troy__ has parted #wikid (None)21:05
*** Tom___ (42969c01@gateway/web/freenode/ip.66.150.156.1) has joined #wikid21:25
Tom___hello nowen.21:26
nowenhi21:26
Tom___i'm back, with a Q21:26
nowenok21:26
Tom___so i setup second auth on the asa as i mentioned yesterday21:26
Tom___but looking at the logs the cisco firewall is unable to communicate via radius to wikid server21:26
Tom___so i checked a few things21:26
Tom___thinking it might be iptables21:27
Tom___or something funky21:27
nowendid you restart wikid after adding the network client?21:27
Tom___anyhow, with the rpm install of wikid, iptables isnt opened for radius21:27
Tom___yeah, i did21:27
Tom___the rub is.  it doesnt look like the radius service is listening on 181221:27
nowendid you check udp?21:27
Tom___i see in the services details when i restart wikid that it successfully restarts radius21:28
nowenwhat does 'netstat -anp | grep 1812' show?21:28
Tom___udp        0      0 :::1812                     :::*21:29
nowenso the listener is up21:29
nowenwhat is the last thing you see in the WiKIDAdmin logs? set the log level to debug21:29
Tom___yeah, did that too21:31
Tom___i dont see squat.21:31
Tom___hang on...ill dump a copy of what i see21:31
nowenthe cisco is setup as a network client right?21:31
nowentry this:21:31
nowenwikidctl stop21:32
nowenkillall -9 java21:32
nowenwikidctl start21:32
Tom___yeah, its setup as a network client21:32
Tom___using radius prot21:32
Tom___ok21:33
Tom___restarted21:33
Tom___let me try to reestablish a connect.21:33
nowenradius might need some time to get started.  run the netstat command to make sure it is up21:33
Tom___ya21:38
Tom___its up21:38
Tom___trace com.mchange.v2.resourcepool.BasicResourcePool@19518cc [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@1955970)21:38
Tom___this is the only debug msg i see21:38
Tom___in the last 5 minutes or so21:38
Tom___and during this time i tried to send over a bogus auth21:38
nowenget an new OTP and try again.  is the user enabled?21:38
Tom___yes...the user is enabled.21:39
Tom___on the cisco logs i see21:39
Tom___send pkt 172.16.10.255/164521:39
nowenwrong port21:39
Tom___RADIUS_SENT:server response timeout21:39
nowenshould be 181221:39
Tom___hmm21:39
Tom___just a moment21:39
Tom___cool21:43
Tom___layer 8 issue.21:43
Tom___thanks for spotting the obv.21:44
Tom___let me see if i can get this to work with a proper token21:44
Tom___okay21:45
Tom___so now...21:45
Tom___wikid logs say...21:46
Tom___RADIUS client supplied passcode is 50424921:46
Tom___Checking [username]:504249:17201601025521:46
Tom___Server returns passcode: -121:46
Tom___so the code is getting thru to the server, but server is sending back access-reject.21:47
Tom___any suggestions?21:47
nowenhmm - what loggers do you have set to debug?21:48
Tom___com.wikidsystems21:48
Tom___com.wikidsystems.radius.log.DBSvrLogImpl21:48
nowenset com.wikidsystems.server.wAuth to debug too21:49
nowenthat should tell you why21:49
Tom___okay. will do.  meanwhile, I have another Q -- what kind of connectivity does the wikid server need?  does it need access to the internet or can i cut off internet access altogether?21:51
Tom___im trying to assess what kind of dependency the on-premise wikid server has to your systems, over there.21:52
nowenno dependency to us21:55
nowenthe tokens must communicate with the server though21:55
nowenyou can NAT the external ip and use a proxy if you like21:55
Tom___i see... thanks21:55
Tom___btw,  the extra debug doesnt seem to give me any more color as to whats going on.21:56
nowenhmm21:56
Tom___Server returns passcode: -121:56
Tom___Check returned false21:56
nowenis that domain the only one?21:56
Tom___yes21:56
Tom___i dont have multiple21:56
Tom___oh.21:57
Tom___hmm21:57
Tom___the server code should be the expanded ip address of the device, and not of the wikid server.21:57
Tom___right?21:57
Tom___i may have fudged this.21:57
Tom___let me look at the docs again. just a moment21:58
nowenall you need really is the two you had, now that i review the docs too21:59
nowenthe server code is the IP of the WiKID server.22:00
nowenit is how the token finds the server22:00
Tom___ah22:00
Tom___okay. just verified that too22:00
Tom___so whats the problem22:00
Tom___hmm22:00
Tom___ya22:01
Tom___i dont see it.22:01
Tom___radius packet arrives.22:01
Tom___it says, checking pin22:02
Tom___then the only next item is server returns passcode -122:02
Tom___im hoping there is a debug flag i didnt set still22:02
nowenoh - so this is on the token22:02
Tom___well...22:03
nowen?22:03
Tom___so on the token client for blackberry, i obtain a pin after punching in the passcode22:03
Tom___that works just fine.22:03
Tom___then i take the pin and try to use it on the asa for vpn authentication22:03
Tom___the cisco asa submits the req to the wikid server on 181222:03
Tom___wikid server receives the request22:04
Tom___and the logs im pulling out right now are out of the admin gui22:04
Tom___with debug enabled22:04
Tom___com.wikidsystems22:04
Tom___m.wikidsystems.radius.log.DBSvrLogImpl22:04
Tom___com.wikidsystems.server.wAuth22:05
Tom___all on debug.22:05
nowenand the "server returns passcode -1" is in the WiKIDAdmin logs?22:06
Tom___yes22:06
Tom___2012-04-20 14:54:54.713 DEBUG com.wikidsystems.radius.access.WikidAccess4 Server returns passcode: -122:06
nowenbut you see it in plain text in the logs, and it matches?22:07
Tom___which logs am i comparing this to22:08
Tom___the only logs im looking at right now are the ones in the web UI22:08
nowenyeah, that's right.22:08
nowendo you see the Checking [username]:504249:17201601025522:08
Tom___yes!22:08
Tom___i do22:08
nowenand that domain id is correct?22:09
Tom___2012-04-20 14:54:54.707 DEBUG com.wikidsystems.radius.access.WikidAccess4 Checking [username]:393003:17201601025522:09
Tom___yes22:09
Tom___thats the right domain ID22:09
Tom___it matches the ID in the only domain i have.22:09
nowenhmm22:10
Tom___if you'd like i'd be more than happy to send you the logs so you dont think im FOS22:12
Tom___but i dont see much to go on here22:12
nowenhmm22:12
nowensetting up a test server22:13
Tom___okay22:13
nowendo you see a log entry like22:18
nowener-Name (1), Length: 7, Data: [nowen], 0x6E6F77656E Acct-Session-Id (44), Length: 17, Data: [1334960261D6ebi], 0x313333343936303236314436656269 NAS-IP-Address (4), Length: 6, Data: [IP 127.0.0.1], 0x7F000001 NAS-Identifier (32), Length: 11, Data: [Localhost], 0x4C6F63616C686F7374 NAS-Port (5), Length: 6, Data: [# 0], 0x00000000 Calling-Station-Id (31), Length: 12, Data: [1115551212], 0x31313135353531323132 User-Password (2), Length: 18, Da22:18
nowenodd, my logs say "Server returns passcode: 132410"22:18
Tom___User-Name (1), Length: 7, Data: [ttsai], 0x7474736169 User-Password (2), Length: 18, Data: 0x2BB9AB389127D8244E59ACF60F08671C NAS-Port (5), Length: 6, Data: [# 86016], 0x00015000 Called-Station-Id (30), Length: 15,22:19
Tom___yes i see that22:19
nowenso, the radius plugin is getting the data correctly, and the server is mangling it somehow22:20
nowendo you have "RADIUS client supplied passcode is 132410"22:21
Tom___RADIUS client supplied passcode is 12455322:21
Tom___aye22:21
Tom___Checking ttsai:124553:17201601025522:21
Tom___Server returns passcode: -122:21
Tom___Check returned false22:21
nowenwhat kind of request is it?  mine is pap22:22
Tom___PAP Request22:22
Tom___mine is pap too22:22
nowenand the user is enabled? double check on the user page22:22
Tom___yep!22:22
Tom___user is enabled.22:22
nowendid you configure the example.jsp page?22:22
Tom___erm22:23
Tom___no.22:23
Tom___i needed to do this?22:23
nowenwell, you don't have to22:23
nowenbut we can use to check a login without radius22:23
Tom___so you are suggesting not using radius?22:24
nowenjust to check22:24
nowenthis issue seems to be after radius22:24
Tom___okay.  let me know what to do22:24
Tom___i'll do it22:24
Tom___or if you got a page with the instructions22:24
Tom___ill do that too22:24
nowenhttp://www.wikidsystems.com/support/wikid-support-center/troubleshooting-faq/how-can-i-test-if-the-server-is-working-correctly22:24
Tom___k22:28
Tom___so i punched in the local privatekey22:28
nowendoes the page come up?22:28
Tom___yes22:28
nowentry to login22:28
Tom___This page demonstrates the general usage of the wClient component.22:28
Tom___online login?22:28
nowenyep22:29
Tom___oh22:29
Tom___wait a second.22:29
Tom___does my username22:29
Tom___username thats passed via radius22:29
Tom___need to match the userid22:29
nowenhas to match what is in wikid22:29
Tom___for "users"22:29
Tom___ah ok then there is the issue22:29
Tom___let me make that chance.22:30
Tom___change*22:30
Tom___in the video it says that one userid can have multiple devices/tokens22:30
nowenin [username]:504249:172016010255,  [username] must exactly match what is listed under the WiKID users22:30
Tom___but in the actual user menu it doesnt allow me to duplicate userid22:30
nowenyes, the can22:30
Tom___let me test this out real quick22:31
nowenlook on example.jsp for 'Add a device without a passcode'22:31
nowenyou can do it there22:31
Tom___okay22:32
Tom___cool22:32
Tom___so that worked22:32
Tom___but so like22:32
Tom___i got a userID ttsai22:33
Tom___its associated with a blackberry right now22:33
Tom___lets say i have a iphone token as well22:33
Tom___the only way to add it is thru that example.jsp?22:33
Tom___assuming that the userID needs to be the same.22:33
nowenit is limited to the API so that it is limited to the network client. it was a requirement of a customer22:34
nowenyou can also let users add themselves and 2nd tokens via ADRegister.jsp22:34
nowenor write your own script22:34
Tom___im not even too worried about automation at this point.22:34
Tom___im just saying for my small test case22:35
Tom___so like22:35
Tom___if i download a client22:35
Tom___and want to register that token client on the server via the "manually validate a user" link22:35
Tom___it wont let me punch in a userId thats already existing22:36
nowencorrect22:36
Tom___okay, so how do i get around this using example.jsp22:36
Tom___oh22:36
Tom___Add device without passcode:22:36
Tom___would let me dupe?22:36
Tom___let me try that.22:37
nowenyes22:37
Tom___thank you for entertaining my stupidity22:37
nowenhehe, no problem22:37
nowenall will be equal if you share your two step auth ASA instructions!  ;)22:38
Tom___oh yes.  i will22:38
Tom___you got an email address i can ship this to?22:38
Tom___im not going to paste it in a web irc client22:38
Tom___:-D22:38
nowensur22:38
nowene22:38
nowennowen at wikidsystems.com22:38
Tom___okay22:40
Tom___i'll send across the config thats needed on the cisco  asa22:40
nowennice!22:40
nowendid the radius login work?22:41
nowen'cause it's is gin o'clock here22:43
nowenalright - I'm signing out.  btw, I'll be scarce Tues, Wens & Thurs. the forums may be the best option or email22:47
*** nowen has quit (Quit: Leaving.)22:47
*** perestrelka has quit (*.net *.split)23:05
*** perestrelka (~vladdy@194.242.5.47) has joined #wikid23:11

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!