Thursday, 2011-07-07

*** Lake_Lurker (~Just@h50.15.30.71.dynamic.ip.windstream.net) has joined #wikid10:45
*** Lake_Lurker has parted #wikid (None)10:45
*** micah_ has quit (Quit: Page closed)12:52
*** nowen (~nowen@adsl-98-66-165-16.asm.bellsouth.net) has joined #wikid13:07
*** PC__ (480ca40a@gateway/web/freenode/ip.72.12.164.10) has joined #wikid14:38
PC__Good Day Folks..14:39
PC__I have a quick question about the Wikid Database.14:41
nowenok14:49
PC__Is there a way to access its database via MySQL Workbench?14:49
nowennot sure, it is postgres14:50
PC__ohhh ok so not MySQL then..14:50
nowenwhat do you need to do?14:50
PC__bare with me I'm going back and forth between you and our DBAdmin here to find out what data he is trying to pull from it.14:51
*** micah (4a5590fd@gateway/web/freenode/ip.74.85.144.253) has joined #wikid14:51
PC__He is trying to programmatically access the data in order to pull stats about which users are setup in the system.14:53
nowenhas he seen the API?14:53
PC__Nope I don't think so.14:53
nowenor the WiKIDAdmin webui?14:53
PC__Yes he has connected to the Wikid Webui but14:54
PC__he is trying to find a programatic way to extract data from the Wikid Database and put it into his SQL database14:55
PC__for internal reporting of our corporate environment.14:55
PC__So he just needs to get some kind of hook into it, are their some API tools I can provide?14:55
nowenwhat programming language does he like?14:55
PC__VB.net and ASP.14:56
nowenhttp://www.wikidsystems.com/downloads/network-clients14:56
nowenhmm, actually, there is an update for that that I need to post14:59
PC__I was wondering as these API's are mainly for developing custom web applications for two factor15:00
nowenyes, that's true. He might prefer to use a postgresql tool15:00
PC__authentication, while we are using a custom web AP we are not looking at adding two factor authentication to it but simply15:00
PC__to pull data from the database.15:00
nowenhttp://wiki.postgresql.org/wiki/Community_Guide_to_PostgreSQL_GUI_Tools15:04
PC__Thank you, for access would we use the WikidAdmin WebGUI account or the Centos Root account?15:06
nowencentos root15:09
nowenyou might also need to change the trust settings in postgres.  not sure that this is a great idea security wise15:11
PC__I know.. I will inform them, I figured that we would simply need to great another15:13
PC__PostgreSQL account with just read access for this, don't like the idea of the root account being used when all we need15:13
PC__is simply read rights to the database.15:13
PC__Does Postgres have something like PhPMyAdmin that allowed for creating basic accounts in the database?15:14
nowenI'm not sure if phpMyAdmin supports postgres, but I highly recommend against installing it on the WiKID server15:16
PC__okay..15:16
PC__so basically there is no way of creating a basic database account to be used by postgres tools for read access to the db?15:17
nowenyou can add a user to the /var/lib/pgsql/data/pg_hba.conf and a network to trust15:21
nowenso, a line like: host    wikid   username     192.169.0.124    trust15:29
nowenwhere the ip is the the dba's ip15:29
PC__Ok thank you for your help.15:29
nowenPC__: let me know what info you want and we can put in a feature request15:49
*** alamarca (404c9302@gateway/web/freenode/ip.64.76.147.2) has joined #wikid16:03
Seamus_Hello16:05
nowenhello Seamus_16:05
nowenSeamus_: will you run  'tcpdump -n tcp port radius' on your wikid box and try to auth.  I want to make sure that the radius packets are getting to your wikid server and that they are coming from the expected ip16:07
Seamus_wow you read my mind was just going to do that they are, but here.16:08
nowenwhat IP address do you have for the network client?16:11
Seamus_tcpdump: verbose output suppressed, use -v or -vv for full protocol decode listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes 09:11:10.084185 IP 172.20.8.19.tdp-suite > 172.20.8.18.radius: RADIUS, Access Request (1), id: 0x4b length: 10016:11
Seamus_192.168.123.15716:12
Seamus_Also I put 172.20.8.19 in there for a client too16:13
Seamus_so iptables is allowing it16:13
nowendelete the 192.168.123.157 or use that network. I suspect the wikid server is confused by the networking16:13
Seamus_ok16:14
nowenand restart wikid16:15
Seamus_Ok I only have one network client 172.20.8.19 which is the natted ip of the freeradius server16:19
Seamus_still getting this Marking home server 172.20.8.18 port 1812 as zombie (it looks like it is dead).16:20
Seamus_could it be freeradius thats the problem?16:20
nowenit might take some time for the listener to come up16:20
Seamus_k16:20
nowenwhat does netstat show?16:20
Seamus_hm16:22
Seamus_ERROR: Failed to find live home server for realm NULL There was no response configured: rejecting request 2 Using Post-Auth-Type Reject +- entering group REJECT {...} [attr_filter.access_reject] expand: %{User-Name} -> scranley  attr_filter: Matched entry DEFAULT at line 11 ++[attr_filter.access_reject] returns updated Delaying reject of request 2 for 1 seconds Going to the next request Waking up in 0.9 seconds. Sending delayed reje16:22
Seamus_heres netstat16:22
Seamus_[root@wikid ~]# netstat -an | grep 1812 udp        0      0 :::1812                     :::*16:22
Seamus_sorry for being a pain16:22
nowenok, so netstat is listening.  is there anything in the WiKIDAdmin logs?16:23
Seamus_what directory is that16:23
nowenit is the web ui16:23
Seamus_ah ok16:24
Seamus_hm still trying to load those logs hold on16:26
Seamus_2011-07-07 09:17:47.087ERRORcom.wikidsystems.client.wClientERROR: java.net.ConnectException: Connection refused16:26
Seamus_Theres two of those in there16:28
Seamus_Should I just reinstall wikid?16:30
nowenno16:30
nowenon the configure loggers page, can you set the three middle loggers to debug16:31
nowenoh, also on that error message, there should be a little bomb icon.  click it for the full stack trace16:32
nowenlet me know what is in that trace.  post it to http://pastebin.com if you like16:40
Seamus_http://pastebin.com/mBtkWisG16:55
Seamus_the logger seems to stop logging, I see the connection come in16:55
Seamus_maybe it's just dead and not getting anything, ah who knows16:55
Seamus_It's still listening on the port though16:56
nowenok - next to the " com.wikidsystems.radius.accounting.PlainAccountingImpl  Accounting logs set up.  2011-07-07 09:41:58.333 ERROR "   do you see a little bomb icon?16:56
Seamus_no but I'll try it on a different computer, im on a whack computer its ubuntu on powerpc it's screws java sometimes16:57
Seamus_Ok im still not seeing the little bomb icon, just filter icons.17:01
nowenhmm17:01
nowenok - did you set the loggers to debug?17:01
Seamus_yes17:01
Seamus_There's debug info there17:01
Seamus_checking loggers again17:01
*** PC__ has quit (Quit: Page closed)17:02
Seamus_yeah all three of the middle ones are set to debug17:02
nowenok, run a request again17:02
Seamus_ok I ran the request again, i'm not getting much in the logs17:27
Seamus_2011-07-07 10:20:55.701DEBUGcom.wikidsystems.log.CentralLoggerListening for logging client connections...  2011-07-07 10:20:55.691DEBUGcom.wikidsystems.log.CentralLoggerGot log client connection from:/127.0.0.1:/127.0.0.1:5214617:27
Seamus_I restarted wikid and I got that in the logs17:27
Seamus_I been running the requests but nothing comes up now17:27
nowendo you see the OTP request?17:27
nowensomething like: Issued passcode to device -700390827075518951817:29
Seamus_Maybe I should use a different computer17:33
Seamus_for wikid17:33
nowendo you not see a log entry when you get an OTP?17:33
Seamus_I don't see anything17:33
Seamus_no OTP requests17:33
Seamus_These are the last two entries17:34
nowenok,well17:34
Seamus_2011-07-07 10:20:55.701DEBUGcom.wikidsystems.log.CentralLoggerListening for logging client connections...  2011-07-07 10:20:55.691DEBUGcom.wikidsystems.log.CentralLoggerGot log client connection from:/127.0.0.1:/127.0.0.1:5214617:34
nowenmaybe it is best to start over. not sure what is doing on17:35
Seamus_k17:35
nowengoing17:35
Seamus_I'll reinstall it17:35
Seamus_whats the newest version?17:35
nowen3.4.87-b83917:35
Seamus_ok thanks17:36
nowenis that what you have?17:36
Seamus_I have wikid-server-enterprise-3.4.0-b311517:36
nowenhmm17:37
nowenmaybe you can just update via the RPM17:37
Seamus_ok I'll try it17:37
nowenhttp://wikidsystems-dl.com/wikid-server-enterprise-3.4.87.b839-1.noarch.rpm17:37
Seamus_ok its upgraded trying it ou17:43
Seamus_ah the bombs are there now17:45
nowenwell, I guess that is progress17:45
Seamus_ah lol their on apache though.17:46
Seamus_org.apache.catalina.session.ManagerBase17:46
Seamus_I'll try to do a radius request17:46
nowenyeah, you should see the OTP request in the logs18:09
Seamus_ah well it's not working out, i'll try some different hardware.18:19
Seamus_I don't see any OTP requests18:20
nowenbut you get the passcode on the token with no problem?18:20
Seamus_yes18:21
Seamus_that works great18:21
nowendo you have the 'log level' set to debug?18:21
Seamus_yep18:21
Seamus_on the admin interface the log level is set to debug18:21
Seamus_on the three middle things18:22
nowendid you install from the iso?18:22
Seamus_yeah18:23
Seamus_these are set to debug18:23
Seamus_com.wikidsystems com.wikidsystems.client.wClient com.wikidsystems.server.wAuth18:23
nowenodd18:23
nowenok, want the link for the latest iso?18:23
Seamus_sure thanks18:24
nowenhttp://wikidsystems-dl.com/wikid-enterprise-3.4.87-b839-install.iso18:25
*** Ken_ (a5bd4b01@gateway/web/freenode/ip.165.189.75.1) has joined #wikid19:10
Ken_Greetings Owen19:10
nowenhi19:11
nowenwelcome back19:11
Ken_Thanks,19:11
Ken_Any updates of late?19:11
nowenhmm.  some additions to the wauth api19:12
Ken_We are still piloting and things are not moving very fast here.19:12
nowenlol19:12
nowenare you having any issues?19:12
nowenwith wikid or otherwise19:12
Ken_Not really.  There is one bug with the Android client where when you first enroll you cannot get to the PIN entry screen until you open the app and enter the password for the local database19:14
nowenandroid client is going to be re-written, hopefully real soon19:14
Ken_Excellent.  We are running 3.4.62-b445 is this the latest build?19:15
nowennot quite, there is an update19:15
nowenhttp://www.wikidsystems.com/downloads/changelogs/enterprise-changelog19:16
Ken_Is there a delta or do I need to install the full version19:17
nowenjust grab the rpms and 'rpm -Uvh wikid-server...'  it will update you19:19
Ken_Went well.  Best regards Owen19:50
nowenexcellent19:50
*** Ken_ has quit (Quit: Page closed)19:51
*** GregM (42bab28c@gateway/web/freenode/ip.66.186.178.140) has joined #wikid20:12
nowenwelcome GregM20:13
GregMHi Thanks20:13
GregMI'm going to install the ISO in a VM on ESXi, any particular Linux disto I should select for the VM?20:13
nowenredhat 32 is best20:14
nowenalso, just responded to your email20:15
GregMyep got it, thanks20:16
GregMso 1 proc, 1 GB of RAM and 2 nics should do it?20:16
nowenyes, more than enough, I suspect20:16
GregMsorry for all these hardware questions but I could find the requirements20:17
nowenhmm20:17
GregMhow much drive space do I need?20:18
nowennot much, I would say 20 gigs20:18
nowenthe only thing that can take up space is the logs20:18
GregMgotcha20:19
GregMis there config settings for log rotation?20:20
nowenno, but there is an archive option20:20
GregMthat works, are people outputting logs to a syslog server? It would be nice to send them to my SIEM20:22
nowenyes that is doable20:22
GregMnice, thanks for your help, install is running...20:23
nowenoh - yes. you have to type 'install' at the boot prompt.20:23
nowenI forget why, but I think it has to do with our aborted attempt at a live cd20:24
GregMhmm partitioning failed?20:25
nowenreally?20:25
GregMyeah says not enough space left to create partition for /20:28
nowendid you type 'install' at the boot prompt?20:29
GregMI did20:30
nowenhmm20:33
GregMstrange, let me blow away the VM and start over20:33
nowenyeah20:34
nowenodd20:34
GregMgot20:37
GregMit20:37
nowengreat20:38
GregMI selected CentOS instead of RHEL and I defaults to a different SCSI controller20:38
GregMRHEL defaults to the paravirtual Cent to the LSI, that must have been the issue20:38
GregMI'm out, thanks for your help :-)20:44
nowenok - later :)20:45
*** GregM has quit (Quit: Page closed)20:45
*** micah has quit (Quit: Page closed)21:00
Seamus_ok nick it's working now21:32
nowenhaha nice21:32
Seamus_Guess the reinstall fixed whatever it was21:32
Seamus_:P21:32
nowensometimes it is good to start fresh21:32
Seamus_yeah21:33
Seamus_that problem was a bugger.21:33
Seamus_The radius is logging all pretty and stuff21:33
nowenlol. good and it's authenticating too?21:34
Seamus_While I have you here, was wondering just for SnG how big of a load can wikid handle like requests per second21:34
Seamus_Yeah its Authenticating too21:34
nowen~20-30 depending the hardare21:34
Seamus_ah so I couldn't setup some kinda mmorpg authenication setup eh21:35
nowenhehe, yes21:35
Seamus_like where thousands of people are using two-factor21:35
Seamus_How does blizzard do it then21:35
nowencertainly21:35
nowennot sure.  bigger hardware probably21:36
Seamus_k21:36
Seamus_but I can load balance wikid though right?21:36
nowenyou could via HA and a virtual IP address.  or you can segment users across servers without their knowledge21:37
Seamus_ah ok nice21:37
nowenour next product will support global load balancing via web services21:37
Seamus_cool man21:38
Seamus_talk to you later21:38
nowenlater21:39
Seamus_Gotta go get some food21:39
*** Seamus_ has quit (Quit: Page closed)21:39
*** nowen has parted #wikid (None)22:12
*** jason (18a6507b@gateway/web/freenode/ip.24.166.80.123) has joined #wikid23:13
*** jason is now known as Guest8054623:13
Guest80546Hi, my wikid server had a hard shutdown today, and now the network connectivity is hosed. I can sometimes ping servers, sometimes not, nothing can ping the wikid box23:13
Guest80546is there a way to do a repair installation?23:14
Guest80546I've tried another NIC, same issue. Different cords as well23:14
*** Guest80546 has quit (Quit: Page closed)23:25

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