Tuesday, 2013-07-16

*** WiKIDLogBot (~WiKIDLogB@ec2-174-129-6-100.compute-1.amazonaws.com) has joined #wikid13:33
morgan.freenode.netTopic for #wikid is: #wikid WiKID's IRC support channel.  Logs are here: http://www.wikidsystems.com/webdemo/irclogs/index.html.  If no one is here use the forums: http://www.wikidsystems.com/support/support/wikid-forums13:33
morgan.freenode.netUsers on #wikid: WiKIDLogBot @nowen coolacid mitzip joevano13:33
*** datawire (42f18379@gateway/web/freenode/ip.66.241.131.121) has joined #wikid13:40
*** datawire has quit (Quit: Page closed)16:55
*** datawire (42f18379@gateway/web/freenode/ip.66.241.131.121) has joined #wikid16:55
datawirenick you around today?17:07
nowenyes17:07
datawirenew fun issue, driving me batty17:07
nowenok - what's going on?17:07
datawirePeer <name> failed CHAP authentication17:08
nowenis that from the WiKID logs?17:08
datawirefrom /var/log/messages17:08
nowenare you using pam radius?17:09
datawirehmm dont think so.. did see that as a requirement17:10
datawiredidnt*17:10
nowenare you saying that that message is in /var/log/messages on the WiKID server?17:10
datawireyes17:10
nowenwe don't write to that file17:11
datawireif I disable wikid and just use the ultra secure secret file I auth, obviously not what I'm after :)17:11
nowenwhat are you trying to login into?17:12
datawiresimple ppp17:12
nowenbut you're not trying to login to the WiKID server, correct?17:12
datawireI have created my token and it worked correctly, if I turn off wikid and just use poptop with the secret I am able to auth and grab my ip, once I enable the radius plugins again the above error is in messages17:14
nowenok - is poptop running on the WiKID server?17:14
datawireyes17:15
nowenwhat error messages do you see in the WiKIDAdmin logs?17:15
datawireno "error" listed17:19
nowendo you see the rejection?17:19
datawireno this is what I have for the last 2 entries17:19
datawire2013-07-16 17:14:50.637DEBUGcom.mchange.v2.resourcepool.BasicResourcePooltrace com.mchange.v2.resourcepool.BasicResourcePool@3804dd1b [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@42143753)  2013-07-16 17:14:50.636INFOcom.wikidsystems.server.DeviceTransactionExecIssued passcode to device -600578077159367814517:19
nowenok17:20
nowenif the last thing you see is the passcode being issued, the radius request is not getting to WiKID17:20
nowenwhat is the IP address of the network client you created?17:20
datawirethe private lan?17:20
nowenit should be listed under the Network Client tab17:21
datawireahh 127.0.0.117:21
nowenok - you need to delete that and use the private ip of the WiKID server.17:22
nowenthe radius listener is using the localhost, so you can't use that17:22
datawirethink I was already down this rouad but I'm willing to play :)17:22
nowenafter you make the change, you need to restart wikdi17:23
datawirepppd[15180]: Peer <name> failed CHAP authentication17:28
nowenok - what is the wikidadmin log message?17:29
datawire2013-07-16 17:28:01.179DEBUGcom.mchange.v2.resourcepool.BasicResourcePooltrace com.mchange.v2.resourcepool.BasicResourcePool@4d3af084 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@5675b3ee)  2013-07-16 17:28:01.177INFOcom.wikidsystems.server.DeviceTransactionExecIssued passcode to device -600578077159367814517:29
nowenstill no radius request getting to wikid.  what IP are you using to point ppp to wikid?17:30
datawirefrom my radiusclient conf -> authserver      10.7.1.14:181217:32
datawireacctserver      10.7.1.14:181217:32
nowenis that private ip of the WiKID server?17:33
datawirecorrect17:34
nowenis this the latest version that you just setup?17:34
datawirewikid-server-enterprise-3.5.0.b1438-1.noarch.rpm17:35
datawireya its been a bit of a learning curve from the last version I setup a year or so ago17:36
nowenwill stop wikid and then run 'netstat -anp | grep 1812' and make sure radius has stopped17:36
nowenit is much easier and more secure to do ppp on a different box.17:36
nowenwe highly recommend you not run anything else on the box17:36
datawire:) noted I needed a cheap and fast "DR" vpn portal to satisfy certain powers that dont agree things take time :)17:38
nowenlol17:40
datawirestopped and radius server down17:40
nowenyou can see the radius transactions by running 'tcpdump -i lo port radius'17:41
datawiresorry about that, thought I was onto something and tried a couple of things. still nothing over radius from tcpdump17:50
nowenso you don't see ppp making a radius request to WiKID?17:53
datawirenot at all17:56
nowenwell, that would be a problem17:57
datawireI'm still seeing this in my message logs17:58
datawireJul 16 17:56:33 servername pptpd[20090]: CTRL: Starting call (launching pppd, opening GRE) Jul 16 17:56:33 servername pppd[20091]: Plugin radius.so loaded. Jul 16 17:56:33 servername pppd[20091]: RADIUS plugin initialized. Jul 16 17:56:33 servername pppd[20091]: Plugin radattr.so loaded. Jul 16 17:56:33 servername pppd[20091]: RADATTR plugin initialized. Jul 16 17:56:33 servername pppd[20091]: Plugin /usr/lib64/pptpd/pptpd-logwtmp.s17:58
datawireJul 16 17:56:33 servername pppd[20091]: pppd 2.4.5 started by user, uid 0 Jul 16 17:56:33 servername pppd[20091]: Using interface ppp0 Jul 16 17:56:33 servername pppd[20091]: Connect: ppp0 <--> /dev/pts/4 Jul 16 17:56:36 servername pptpd[20090]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Jul 16 17:56:36 servername pppd[20091]: rc_avpair_new: unknown attribute 6 Jul 16 17:56:36 servername pppd[20091]: rc_avpair_new: unknow17:59
nowenit's been a while since I did anything with poptop17:59
datawirei'm wondering if the radisu plugins are bad in this version.. scratching my head18:00
nowenI don't know.18:00
nowenis there a changelog for it?18:00
datawireNothing about radius in the readme since 2.4.3 I'm using 2.4.518:04
nowenare you following this doc: http://www.howtoforge.com/security-issues-and-poptop-pptp18:05
datawireI pretty much copied from the working host (different versions and ips) to this one I'll take a gander give me a moment18:10
nowenbiab, phone call18:47
*** nowen has quit (Read error: Connection reset by peer)18:51
*** nowen (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid18:51
*** nowen has quit (Quit: Leaving.)19:01
*** nowen (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid19:02
*** nowen has quit (Client Quit)19:04
*** nowen (~nowen@99-174-93-102.lightspeed.tukrga.sbcglobal.net) has joined #wikid19:05
datawireok progress maybe..19:05
datawire2013-07-16 19:03:11.233 INFO    com.wikidsystems.radius.access.WikidAccess4     Access denied for USER, domain code: 069046100092 client: /10.7.1.14    2013-07-16 19:03:11.233 INFO    com.wikidsystems.radius.log.DBSvrLogImpl        <238> Access-Request(1) LEN=69 10.7.1.14:28610 Access-Request by USER Failed: AccessRejectException: Access Denied19:05
nowenthere we go19:11
nowenis the user enabled? check the user tab19:12
datawirehe is, I also just removed and recreated the user again19:13
datawiresame thing19:13
nowenhttp://www.wikidsystems.com/support/wikid-support-center/troubleshooting-faq/how-can-i-set-radius-logging-to-debug-how-can-i-see-if-wikid-is-getting-the-radius-requests19:13
nowenset logging to debug and you will get more info on why19:13
datawirenothing jumping off the page as to the failure cause19:22
nowendid you set the logging to debug?19:27
datawireI did19:31
datawire013-07-16 19:28:17.808 DEBUG   com.wikidsystems.radius.log.DBDbgLogImpl        <247> Access-Request(1) LEN=66 10.7.1.14:25954 Access-Request by USER Failed: AccessRejectException: Access Denied 2013-07-16 19:28:17.807 DEBUG   com.wikidsystems.radius.access.WikidAccess4     PAP Request       2013-07-16 19:28:17.807 DEBUG   com.wikidsystems.radius.access.WikidAccess4     NASip is '10.7.1.1419:31
nowenthere should be a lot more messages, including one on the reason, if you have debugging setup as per that page19:38
datawirecom.wikidsystems.wauth isnt in my drop down however com.wikidsystems.server.wAuth was populated I set it to debug the other I already had at debug19:43
datawirehere is the full spam error19:43
nowenyou might need to post it to pastebin19:44
datawirewas going to email it but can find your address19:48
datawirealso your http://www.wikidsystems.com/contact-us/contact has some "interesting" budget-priced ed pills stuff on it19:50
nowendamn19:51
nowenpost it to pastebin.com. then, post the url back here19:51
datawirehttp://pastebin.com/s4u1AVGa19:52
nowenall that has is the packet arriving19:57
datawirethats all the log has in it19:58
nowen you're looking at the WiKIDAdmin logs?19:59
datawirecorrect19:59
nowenhmm20:00
nowenyou have com.wikidsystems.radius.log.DBSvrLogImpl set to debug?20:00
datawirebad install maybe?   Also the radius "fix" was a tab between server name and secret20:00
nowenwhat do you mean radius fix?20:00
datawireI was running back though all my changes and the ppp talking to radius came down to the server file not being tab delimited20:01
nowenall20:02
nowenahh20:02
datawirelike I said very odd, the server is all but a copy of the one I set up last year just newer binaries20:02
datawirethink I'm just going to scrap it and start clean, we're both spending way too much time on this :)20:19
nowenlet's run through some things first20:19
datawiresure20:19
nowenok20:20
nowenon the configure loggers page, do you have 4 loggers set to debug?20:21
datawireI have the following set to debug20:21
datawireHTTP Access Logger com.wikidsystems com.wikidsystems.client.wClient com.wikidsystems.radius.access.WikidAccess4 com.wikidsystems.radius.log.DBSvrLogImpl com.wikidsystems.server.wAuth org.apache20:21
nowenok - set http access and org.apache to warn.20:22
nowenthen get an OTP and try to login again20:24
datawirehttp://pastebin.com/FxBV2i8720:26
nowenthere's only one domain on this box?20:28
datawiresplit horizon datawire.net external .dw internal20:29
datawirebut they are on different interfaces20:29
nowenwikid domain, that is.06904610009220:29
nowenand iber is listed as enabled on the user page currently?20:30
datawireyes20:33
nowensomething a bit odd about that request20:35
nowenI'm testing20:40
datawireok20:44
nowendo you now see the otp in the logs?20:45
nowens/now/not20:46
datawireNew device7028543067963798156 added to server.20:47
nowenthat was probably me20:47
datawirethere is a cert payload etc20:48
noweni didn't set the pin, just checking that the domain worked20:48
datawireok20:48
nowenand this is a supposed to be a pap request?20:49
datawireno chap-v220:50
nowenwell, the logs show it as a pap20:50
datawirethats one of the things that struck me as odd20:50
nowenI think your ppp is misconfigured20:50
nowenyou should see: RADIUS client supplied passcode is `?y?L?O?ICT44i1q?^?,h?P?aB??L?20:51
nowenand:This is a CHAP Request20:51
datawirethe config has the following  refuse-pap refuse-eap refuse-chap refuse-mschap require-mschap-v220:51
noweni don't know20:54
datawireHence why I finally came loking for help, this is just odd20:55
nowendoes the other server use chapv2?20:58
datawireyes20:58
nowenhmm - i seem to recall an issue with the dictionaries21:05
nowencan you check your dictionary.microsoft on both servers - maybe run a diff on them21:05
datawirethats where I was leaning21:08
nowendoes you dictionary have the word octet in it?21:16
datawiregood lord... fixed21:19
nowenwhat was it?21:19
datawireadded to the end of the following file /usr/share/radiusclient-ng/dictionary21:19
datawireINCLUDE /usr/share/radiusclient-ng/dictionary.microsoft21:20
datawiremoved my ms dict to that folder... all problems went away21:20
datawire serious /facepalm I even made a note in the dictionary folder on the other vpn server because the http://www.howtoforge.com/security-issues-and-poptop-pptp ln-s symlink didnt work for me last time21:22
nowenthat makes sense21:22
datawireonly after you suggested the ms dict file that I started diffing everything.. and sure enough my note was there21:22
nowenlol21:22
datawireahem... you can update your doc :)21:23
nowenmaybe.  we're not exactly encouraging people to use chap-v2 ;-)21:23
datawireI hear that, baby steps around here. Much thanks for the assist over the couple of sessions21:25
nowennp21:25
datawiremaybe I'll give ya my "people kept locking their accounts out so I made a auto unlock and notify account unlock" script :)21:26
nowenwe created a new parameter called :reEnableHours21:27
nowencreate a New Parameter called 'reEnableHours'.   Set the number of hours in the Value field and give it a description such as 'Renable users after X hours'.  Leave Class empty.21:27
datawirebut wheres the notification? :)21:28
nowentrue, true!21:28
datawirehttp://pastebin.com/csVqXj9j keep use destroy as you see fit, I need a way to audit the users obviously it hasnt been tested with the newest versions21:30
nowenthx21:38
datawireanytime21:39
nowenok - later guys22:00
*** nowen has quit (Quit: Leaving.)22:00
*** joevano has quit (*.net *.split)22:43
*** coolacid has quit (*.net *.split)22:43
*** mitzip has quit (*.net *.split)22:43
*** datawire has quit (*.net *.split)22:43
*** datawire (42f18379@gateway/web/freenode/ip.66.241.131.121) has joined #wikid22:44
*** joevano (~joevano@bzflag/developer/JoeVano) has joined #wikid22:44
*** mitzip (~mitzip@96-8-190-240.block0.gvtc.com) has joined #wikid22:44
*** coolacid (~CoolAcid@unaffiliated/coolacid) has joined #wikid22:44

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