Monday, 2011-06-06

*** Lake_Lurker (~Just@h20.211.39.162.dynamic.ip.windstream.net) has joined #wikid10:34
*** Lake_Lurker has parted #wikid (None)10:39
*** henry__ (5362f462@gateway/web/freenode/ip.83.98.244.98) has joined #wikid12:13
*** henry__ has quit (Quit: Page closed)12:23
*** Henry__ (5362f462@gateway/web/freenode/ip.83.98.244.98) has joined #wikid13:00
Henry__Hi13:00
Henry__small question is there an newer android client available?13:01
*** Henry__ has quit (Quit: Page closed)14:39
*** nowen (~nowen@adsl-74-176-212-94.asm.bellsouth.net) has joined #wikid15:09
*** vp_ (40b3d246@gateway/web/freenode/ip.64.179.210.70) has joined #wikid15:19
vp_Anyone here?15:19
nowenyes15:19
vp_hey, Nick.15:19
vp_How have you been doing?15:19
nowengood15:19
vp_good stuff.15:20
vp_I just have a quick question to you.15:20
nowenok15:20
vp_I will be migrating our server to a new server.15:20
*** asofrank (~laszlof@wookie.tvog.net) has joined #wikid15:20
vp_and now I am trying to do some test if wikid works with a new server.15:20
nowenok15:21
nowenis it a new ip address?15:21
vp_so basically I have one domain and 2 network clients (current one and another one for a new server)15:21
vp_with same configuration of Protocol Modules15:22
nowenahh - ok - a new network client.  is it radius?15:22
vp_yes15:22
vp_so my question is that this should work theorically, right?15:23
nowenyes15:23
vp_or I have to add a new domain for this testing?15:23
nowendid you restart the server after adding the new network client?15:23
vp_let me check it with another tech guy here, just give me a sec, plz15:24
vp_Nick, you mean shut down and start the server or the wikid server?15:28
nowenjust run wikidctl restart15:29
vp_yes, he told me he did it.15:29
nowenok - so what is happening or not happening? ;)15:29
nowenwhen you try to login, is there anything in the wikid logs after the passcode request?15:32
vp_it seems that gererating a passcode works fine, but it doesn't communicate with a new server.15:32
nowenok, is there anything between the two boxes that would block port 1812 udp?15:32
vp_they are opened for that port.15:33
nowenalso, on the wikid server command line, run 'iptables -L -n' and make sure that the ip of the new server is listed15:34
vp_yes, it is there.15:35
vp_because I changed it accordingly.15:35
vp_so I guess I have to double check with a configuration of a new server.15:35
nowenyeah you can run  tcpdump on the wikid server to see if the packets are getting there15:36
vp_ok, thx, Nick.15:37
asofrankhrm, for some reason, when I click on "Create Intermediate CA" it just throws up a mostly blank page with the header.15:41
nowenasofrank: are you using sun's jdk?15:42
asofrankno, openjdk15:42
nowenhmm15:42
asofrankI had to create a symlink cause I was getting an error when starting wikid15:42
asofrank/opt/WiKID/bin/daemonctl: line 174: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/bin/java: No such file or directory15:42
nowenhmm15:42
asofrankthe actual java executable was in jre/bin15:43
asofranknot just bin15:43
nowenarg15:43
nowenrun 'locate java.security'15:43
asofrank[root@wikid log]# locate java.security15:43
asofrank/etc/java/security/security.d/1000-gnu.java.security.provider.Gnu15:43
asofrank/opt/WiKID/conf/templates/java.security15:43
asofrank/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/lib/security/java.security15:43
nowenthere should be on in /opt/WiKID and one in your java directory.15:43
asofrank/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/security/java.security15:43
nowen'diff /opt/WiKID/conf/templates/java.security /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/security/java.security'15:44
asofrankits weird, I installed this on a VM and it didnt do the same thing15:44
nowenif it returns anything cp the first over the last15:44
nowenhuh15:44
asofrankno difference.15:44
nowenI saw something similar to this but it was only with sun's jdk15:45
nowenis there an error in the WiKIDAdmin logs?15:45
asofrankwhere is that log located?15:45
nowenin the Web UI top left corner you will see a link15:46
asofrankah yes15:46
asofrank2011-06-06 11:43:20.324ERRORorg.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/WiKIDAdmin].[jsp]Servlet.service() for servlet jsp threw exception15:46
nowenand if you click on the bomb icon, the full trace should come up15:46
asofrankjava.net.UnknownHostException: wikid.asmallorange.com: wikid.asmallorange.com15:47
asofrankat java.net.InetAddress.getLocalHost(InetAddress.java:1426)15:47
asofrankat org.apache.jsp.cert1_jsp._jspService(cert1_jsp.java:778)15:47
asofrankat org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)15:47
asofrankat javax.servlet.http.HttpServlet.service(HttpServlet.java:729)15:47
asofrankat org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)15:47
asofrankat org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)15:47
asofrankat org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)15:47
nowenok15:47
asofrankat javax.servlet.http.HttpServlet.service(HttpServlet.java:729)15:47
asofrankat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)15:47
nowenwhat do you have in /etc/hosts?15:47
asofrankat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)15:47
asofrankat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)15:47
asofrankat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)15:47
asofrankat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)15:47
asofrankat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)15:47
asofrankat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)15:47
asofrankat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)15:47
asofrankat com.wikidsystems.catalina.valves.Log4jAccessLogValve.invoke(Log4jAccessLogValve.java:553)15:47
asofrankat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)15:47
asofrankat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:879)15:47
asofrankat org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)15:47
asofrankat org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)15:47
asofrankat org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)15:48
asofrankat org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)15:48
asofrankat java.lang.Thread.run(Thread.java:636)15:48
asofrankprobably no entry for this host name15:48
asofrankyeah, just localhost stuff15:48
asofranki havent setup dns or hostname resolution15:48
asofranklet me fix that15:48
nowenyeah, I bet that is it15:48
asofrankyeah, that fixed it15:48
nowenok15:48
asofrankheres a question. We have an existing radius server that we use to authenticate clients for our fortigate unit.15:49
asofrankis there any way to setup wikid to pass authentication through that first, and then prompt for the OTP15:49
asofrankso basically they would need a username/password (stored in radius) plus a OTP from the token app15:50
nowenyou should be able to pass the auth through the radius server and then have that server pass the cred to wikid after authorization15:50
nowenwhether you can check both the OTP and the password I don't know15:51
asofrankah, ok15:51
nowenin general, we recommend not using the LAN password outside the LAN15:51
nowenyou've got the PIN and the private key embedded in the token, that's two-factors.  best to keep the password for internal use, I think.  but each to his own :)15:55
nowenit's really a question for the fortigate too - can you configure it to request three fields15:56
asofrankwell, they have their own tokens so I suppose its possible15:56
asofrankthey support a challenge response configuration15:57
nowenthat's cool15:57
asofrankfor now, I'm just trying to set this up along side our radius setup so I dont break that functionality while im testing15:57
asofrankwhats limited in the non-paid version?15:58
nowenyou should be able to create a group that is only you15:58
asofrankthat works.15:58
nowenno wireless token client or radius - we use 3rd party libs for that15:58
asofrankhm, so I need to use the desktop token client15:59
asofrankand not use radius15:59
asofrankfor testing, anyways15:59
nowenyou can test with the enterprise version15:59
asofrankyeah, thats what I installed.16:00
asofrankI was just curious if anything was disabled or limited in it16:00
nowenno, it's just that we can't opensource those.  you could write a plugin to freeradius via our api16:02
asofranktheres a good chance we'll be purchasing something within a week or two, just trying to find the best solution for the best price16:03
asofrankmost of the hardware tokens we looked at were at least $35 each16:04
asofrankplus the hardware and middleware software16:04
nowenplease let us know where we stand.  we typically don't discount to get a deal, but we do change prices based on market feedback16:04
nowenour position is software tokens allow you to better balance your info sec budget16:05
nowenso did you get to a total per user?16:07
asofrankwe havent broke it down that much16:09
asofrankbut we were looking at about $55 per user xusing the fortinet tokens16:09
asofranka bit cheaper going with digipass, but still about $4516:09
asofrankwe're looking probably at an initial purchase of 40 users16:10
asofrankthat should cover us for this year anyways16:10
nowenthat's a sweet spot for us, it seems16:10
nowenplus, if there's any issue, you can come over and beat us up16:10
asofrankok, when setting up a domain, what is the "domain name" and device domain name" in reference to.16:11
asofrankyeah, I saw you guys are local16:11
asofrankeven better to support local business16:11
nowen:)16:11
nowenthe domain name is internal to the server -  the device name is what shows up on the token16:11
asofrankah, so it mostly doesnt matter16:11
asofrankits for reference purposes16:12
nowenso, you can have users in multiple domains, but still have 1 set of documents, eg16:12
asofrankand the servercode is for the wikid box, or for the vpn device?16:12
nowenit's the zero-padded ip of the server. it's how the tokens find the server16:12
asofrankgotcha16:13
asofrankdoesnt appear to be authenticating for some reason16:20
asofranktaking a while, it might be having toruble communicating with the wikid server16:20
asofrankyeah, not getting any data over UDP 1812 (radius) on the wikid box16:22
nowendid you run 'wikidctl restart' after adding the network client?16:24
nowenalso, there is a slight delay in the radius listener actually starting16:24
nowen'netstat -anp | grep 1812' will show the listener16:25
asofrankprobably not16:26
asofrankthe listener is running16:26
asofrankstill not seeing any traffic coming from my fortigate unit16:26
asofranklet me make sure its not trying to auth to my other radius server16:26
asofrankdo you know off hand how to enable authentication logging on Fortigate?16:44
nowenno, sorry16:45
nowenvp_: any progress?17:03
asofranki really wish this fortigate unit would give me more detailed logs17:09
asofrankgiving me a "no_matching_policy" error. But logging in with just a regular local user in the same group works fine17:10
nowenhmm17:11
asofranknot seeing any traffic hitting the wikid server either.17:12
nowensounds like you need to specify something to get the policy to kick in17:14
nowena policy condition17:14
asofrankwell thats the weird thing, another user in the exact same group works fine17:17
asofrankthe only difference between the 2 is one hsa the password stored locally, the other grabs it from wikid17:17
asofrankand its not even trying to pull the password17:17
asofrankas far as I can see17:17
asofrank[root@wikid ~]# tcpdump -A -vvv "udp port radius"17:19
asofranktcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes17:19
asofrank0 packets captured17:19
asofrank0 packets received by filter17:19
asofrank0 packets dropped by kernel17:19
asofrankwoah, nevermind17:21
nowenwhat?17:21
asofrankaliased IP address17:21
asofrank[root@wikid ~]# tcpdump -i eth0:0 -A -vvv "udp port radius"17:21
asofranktcpdump: listening on eth0:0, link-type EN10MB (Ethernet), capture size 96 bytes17:21
asofrank13:19:56.257989 IP (tos 0x0, ttl  64, id 40023, offset 0, flags [none], proto: UDP (17), length: 131) 10.10.10.1.XSIP-network > 10.0.3.22.radius: RADIUS, length: 10317:21
asofrankso, its getting it17:21
asofrankbut not authenticating17:21
nowenis that on the wikid server?17:21
asofrankyes17:21
nowenif the IP doesn't match what is in the network client page, then the radius server should reject it17:22
asofrankthats probably it17:22
asofrankI might have used the external IP17:22
asofranklet mee check17:22
asofrankyeah, it had the external IP17:25
asofrankchanged it to the internal one and restarted17:25
asofrankstill no love17:27
nowenok, on the WiKIDAdmin logs / configure loggers, there are 5 loggers listed, set the middle 3 to debug and try again17:27
asofrankdo I need to restart  for that to go into effect?17:28
nowennope17:28
asofrankwhat the hell..17:29
asofranki enable debug logging and it works17:29
asofrankmaybe I fat fingered the OTP17:29
nowenpossible, but I bet that the listener just hadn't started yet.  it needs pseudo random data and it takes awhile on a headless system17:30
asofrankah17:30
asofrankok well, it appears to be working17:30
asofrankslightly slower than our existing setup, but not too bad17:30
asofrankI'll pass the informationover to my boss and see what he thinks. How do I go about getting a quote for a 40 user enterprise license?17:32
asofrankoh nice, you dont even have to add the users into fortinet17:34
asofrankjust add the radius server to the user group and it'll do the lookups for you17:34
nowenI can send you a pdf, or you can look online.  just let me know. http://www.wikidsystems.com/simplecartitem17:40
asofrankwe'll probably need a custom quote for 40 licenses17:44
asofranklet me talk with my employer and I'll shoot you an email17:44
nowennp17:45
asofrankyou should have another price break for like 50 or 100 users17:45
nowenhmm17:45
asofrankit goes from 25 to 500 on the website17:45
asofrankthats a huge gap17:45
asofrank(in my opinion)17:45
nowenyes, I can see that17:46
nowenI think we just copied the competition17:46
asofrankyeah, the price is pretty good.17:46
asofranki actually found you by searching for "2 factor authentication fortinet" on google.17:47
asofranki think you're one of the first hits17:47
noweninteresting. we have that one doc, but that's it17:48
asofrankthe howto you have is a little outdated though, probably from an older fortiOS version17:48
nowenI wonder if the all powerful google knew we were neighbors17:48
asofrankmaybe17:48
nowenyeah, I bet it is quite old17:48
asofrankwhere in atlanta is your office?17:48
asofrankah, peachtree street17:49
asofrankwe're over by the zoo, at least for now17:49
asofrankoff of boulavard17:50
nowenoh, that's cool17:50
asofrankas soon as our lease is up the new CEO is moving to a smaller office in Durham, NC17:50
asofrank99% of us are remote workers17:50
nowenahh17:50
nowenyes, we are very virtual too17:50
nowenso you won't have to move?17:50
asofrankthe office we have is just way too big for what we need, and no one really uses it17:50
asofrankno, we still have a cage at GNAX where most of our servers are17:51
asofrankbut I do mostly development and some security stuff for now, so I rarely need to go anywhere17:51
nowengotcha17:52
nowendid you see our api stuff?17:52
asofranki havent looked at it yet, but I likely will17:52
asofrankwe have some internal systems now that authenticate against our existing radius server17:53
nowenit was created for a multi-tenant environment for user management, etc.17:53
asofrankits a SOAP API right?17:53
nowenessentially.  xml-based. it requires a cert from the server17:54
asofrankah, should be simple to implement17:54
asofrankmost of our systems use PHP, so a quick curl call to handle those requests17:54
nowenyes and we have a php package with examples17:55
asofrankhave a class written for it?17:55
nowenI think so, I don't really know php, but I assume that's what we have.17:56
nowenand there's a sample.php that has all the functions well documented17:56
nowenit might need an update for the latest functionality17:56
asofrankyeah, its juyst like any other xml api17:57
asofrankcept you use a certificate for authentication, which is nice17:57
nowenyes, the 'here's your secret API key' approach is not enough for us17:58
asofrankim impressed with all the mobile clients you offer17:59
asofrankmost venders will do like, iphone, maybe android17:59
asofrankor just blackberry17:59
asofrankheh, even a firefox extension18:00
asofrankyou're missing the chrome extension :P18:00
nowenactually, we're going with the HTML5 token for browsers18:02
nowenthere's a python token that someone else has written too18:02
asofrankah18:03
asofrankwith the API, is there a way to add users?18:14
nowenyes18:14
nowenthey can enter their registration codes18:14
nowenor add a second token, with or without an OTP from the first18:15
nowenand we can also pre-register tokens18:15
asofrankgreat. we have a central management portal that we use, we use that to add users to the radius server for authentication18:15
asofrankif I can modify that to instead add the users to the wikid system using the API, that would be ideal and save a lot of time18:15
noweni guess you could add a step: 'enter your token reg code'18:16
asofrankyeah18:16
asofrankusers are added by existing admins (management), so we can just request that and enter it in the details18:16
asofranknow if I can only figure out how to do that with the fortinet unit18:17
nowendoes the fortinet need users? I would think having them in radius is all you need18:17
asofrankyeah, thats what I thought, but when I completely removed the user it stopped working18:18
asofranki might need to look into it a bit more18:18
asofrankit seems to be that it should work like any other radius server18:18
nowenyeah, that's sound wrong.  it could be that you need to do authorization and authentication18:19
asofrankyour fortinet docs need to be rewritten. :)18:20
asofrankonce I get this all figured out maybe I'll take a look18:21
nowencontributions welcome! :)18:21
asofrankyeah, it does work without the user18:23
asofranki dont know why it didnt the first time18:23
asofrankso that makes things easier18:23
nowencool18:23
asofrankwhere is the full api documentation?18:24
nowenhttp://www.wikidsystems.com/simplecartitem18:24
nowenoops18:24
nowenhttp://www.wikidsystems.com/support/wikid-support-center/manual/wikid-network-client-wclient-api-manual/referencemanual-all-pages18:24
nowensamples: http://www.wikidsystems.com/downloads/network-clients18:25
asofrankyup, has a class. code looks clean and should be easy to implement18:32
*** vp_ has quit (Quit: Page closed)18:49
*** carda (2e2cbe7e@gateway/web/freenode/ip.46.44.190.126) has joined #wikid20:46
cardagood afternoon / evening20:46
cardai'm trying to setup a wikid server, can it authenticate users with a sbs server?20:48
nowenhi21:00
nowendo you want the users to be valid in AD and to use two-factor auth?21:01
nowenso that if the user is deleted in sbs, they do not get access?21:01
cardai think so21:03
cardai've relayed our 2nd router ip to the wikid server @ port 8021:04
nowenis this for VPN access?21:04
cardayes21:04
cardaeuhm, no i mean the token client works over port 80 right?21:05
nowenyes, the token client works over port 8021:05
cardawell, i set up a domain the wikid, i gave it our external ip21:05
cardathen when i try to connect to it with the token client it fails with 'no configuration found'21:06
nowenwhat did you use for your domain identifier?21:06
cardayou mean the domain name?21:08
nowensorry, I mean the Server Code (12-digits):21:09
cardaow ok21:09
carda08207518002021:09
nowenis that the external ip of the wikid server>21:11
nowen>21:11
nowen?21:11
cardayes21:11
cardathe internal ip (which is relayed) is 10.0.0.5221:11
nowenI can't seem to get to it. can you?21:11
cardapling!21:13
cardalightbulb moment21:13
cardaip is wrong...pff21:13
nowenhaha :)21:13
cardagetting in now21:16
cardabtw, there is no other port which i can use to get it working right?21:16
nowenthe token talk to port 80.  You can have wikid listen on a different port and proxy the requests to it21:18
cardaok21:20
cardai have 2 choices i think21:20
cardai have a netgear vpn firewall21:21
cardawhich can use wikid pap or chap21:21
nowenwikid pap21:22
cardaso the router checks if the user is authenticated by the wikid server right?21:23
nowenyes21:26
cardak21:26
cardaanother question, the key i get back is my password to use?21:32
nowenyes21:34
nowenso, you enter your PIN and get back the OTP, which you enter into the password field21:34
cardathe 'passcode'21:34
cardayeah21:34
cardak21:34
cardathen the router prolly isn't correctly configged21:34
nowendid you add the router as a network client on the wikid server?21:35
cardanope :)21:36
cardawAuth or LDAP?21:37
nowenyou need radius21:38
nowenis it enabled?21:38
nowenare you using the enterprise version?21:38
cardayes using the enterprise one21:38
cardaenabling radius then21:38
nowenyou can disable ldap too - it will just use memory21:39
cardaok21:43
cardawill do after it works21:43
cardawhat are the return attributes?21:43
nowenleave them blank21:44
cardak21:44
nowenthey will return radius info to your router if you want21:44
nowenbut I doubt you do :)21:44
cardahehe ok21:45
cardawell21:46
cardado i have to create the user on vpn?21:46
cardaon the router i mean?21:46
nowenI'm not sure21:47
nowenI doubt it21:47
nowenis it not working?21:47
cardanot yet21:47
nowendid you run 'wikidctl restart' after adding the network client21:47
cardaaaaah21:48
cardai did after adding the module though21:48
nowenyou have to do it after adding the nc.  it opens a port on the firewall21:49
cardadamn, auth failed21:50
cardastill21:50
nowencheck the WIKIDAdmin logs21:51
cardalogs say access granted21:54
cardaonly the router says not :(21:54
cardahmm, what else to setup21:56
nowenwell, it could be that you need to add the user to the router or make some change so that you don't have to22:01
cardayeah think so22:06
cardajep22:10
cardalogged in now22:10
cardanow i only need to get these pages to display externally ;)22:10
nowendid you add a user?22:10
cardayes22:10
cardawithout a password22:10
nowenwithout a wikid OTP?22:11
cardano22:11
cardawith22:11
nowenahh, ok. that's better :)22:11
cardabut without creating the user with a password22:11
carda:)22:11
cardanow i'm trying to get the portal to work externally22:12
nowenwhat is 'the portal'?22:12
*** gvidals (479fe031@gateway/web/freenode/ip.71.159.224.49) has joined #wikid22:14
gvidalsnick, what ports does the wikid client on an android use to talk with the wikid server.22:14
nowen8022:14
gvidalsmy client is setting up for the first time on his android and is getting an error "unable to add domain: unable to resolve server code"22:15
gvidalsthe server code is 21624018013522:15
nowencan you add it?22:16
nowenI can't22:16
nowenhttp://216.240.180.135/wikid/servlet/com.wikidsystems.server.InitDevice4AES?a=0&S=216240180135&CT=122:16
nowenchrome also cannot connect :)22:17
cardanowen, thnx for the help, ssl works now22:24
cardavpn ;)22:24
nowencarda: great!22:24
cardak22:30
cardaso we need the enterprise server, time to talk to the boss and demonstrate it :)22:31
nowen:)22:31
carda240 per year isn't that expensive ;)22:32
cardathnx and cya!22:33
*** carda has quit ()22:33
nowenlater!22:33
nowenok - later people.  cya tomorrow23:15
*** nowen has quit (Quit: Leaving.)23:15

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