[NoCat] everytime redirects to the authentication screen(plz help me)
bijayant kumar
bijayant4u at yahoo.com
Sat Apr 7 02:03:07 PDT 2007
I have done all the hit and trial and finally it seems that i am very near of completion. Now i am able to get the small screen indicating that i am login to nocat network, but i am redirected to my authentication screen. I am not able to go anywhere. And onething also i get this screen each and every time whenever i try to open any website. Please help me, i dont want to leave this nice project, infact i want to deploy this in my network.
I am giving my log file details
1) ls -l /usr/local/nocat/gateway/pgp
-rw------- 1 root root 0 Apr 7 13:41 pubring.gpg
-rw------- 1 root root 0 Apr 7 13:41 secring.gpg
-rw-r--r-- 1 apache apache 557 Apr 7 13:09 trustedkeys.gpg
2) ls -l /usr/local/nocat/authserv/pgp/
-rwx--x--x 1 apache apache 1184 Apr 7 13:21 pubring.gpg
-rwx--x--x 1 apache apache 1184 Apr 7 13:21 pubring.gpg~
-rwx--x--x 1 apache apache 600 Apr 7 14:15 random_seed
-rwx--x--x 1 apache apache 1257 Apr 7 13:21 secring.gpg
-rwx--x--x 1 apache apache 1280 Apr 7 13:21 trustdb.gpg
-rwxr-xr-x 1 apache apache 557 Apr 7 13:09 trustedkeys.gpg
3) tail -f /usr/local/nocat/gateway/nocat.log
[2007-04-07 14:17:54] Connection to 192.168.1.116 from 192.168.1.183
[2007-04-07 14:17:54] Spawning child process 18562.
[2007-04-07 14:17:54] Received notify from 192.168.1.183
[2007-04-07 14:17:54] gpg --decrypt --homedir=/usr/local/nocat/gateway/pgp --keyring trustedkeys.gpg --no-tty -o- returned error message:
gpg: WARNING: unsafe ownership on homedir `/usr/local/nocat/gateway/pgp'
gpg: Signature made Sat Apr 7 14:17:49 2007 IST using DSA key ID 4FAA4707
gpg: Can't check signature: public key not found
[2007-04-07 14:17:54] gpg --decrypt --homedir=/usr/local/nocat/gateway/pgp --keyring trustedkeys.gpg --no-tty -o- returned error: ( 2 )
[2007-04-07 14:17:54] Invalid notify from 192.168.1.183
[2007-04-07 14:17:54] Capturing 192.168.1.183 for http://192.168.1.116:5280/?ticket=owE1kr%2bL02AYx%2bsdIgmInIuTINiCOLT50eSSiBy9XhNJf6RNm6TN9ubt2%2bZtk7dpmjSXOt4iTv4DdnC8wU1cFTwQXRwdXZ1cdTOcCM8HvnyfL8%2fyfV7dPiwdHF3Kv94al9qtG18%2f1rySes99Z6IpjhFMKD9JIqVWY2WuyopSla2yrKgInMTUThIMlyh5uso0L%2btuu1lzWM%2b3HdnYyvZxmnejHJKuh3VTGrQi4C7VtRUG%2fGkY6APLMUhs524oGLNYRzMikr6gY3en%2bf5EG%2fleagYg9ArMxEvtIDOGYOwaHoEDsFRTOwxIU1XX0IFDN3Cx7egpsGGfhJFo5kI6JG6F89xz3xmFUQrGRRpopp%2f5yCTR9Wbt47Wmbor7AdD0dG2cJY4frOtR7Gt6ayKko8QzNVuz29ZY5Hssd2bs5gGjQnEyt7h5J6u3ex4%2fNfpwnkO0XQioncYVbgZcc5MJMpkYRaLfsQurXvBMgH1uWwihI6ic5yxajqQGZNloNCr89N9k57hHdwGkGEZhmorKKmJLOeYVVaIbMMErQvVRHOKEtjYopjy8ADkgCd1dTREVrOaY0CMcolWaUCLD0KPVEhGqzJZ5mRNZiRfKzUZuSa1pawzcU60puXi8m29q9IuTw5vXjf%2f%2fgaODC6u0f%2fBIPr67n8DSy97Ph6%2fR1e8fnz6X9vz3b6XZxeTL8yeP3%2btv%2ftzZXn24%2fxc%3d%3dn36h
[2007-04-07 14:17:54] Notifying parent of Capture on peer 00:0C:F1:6E:73:F8
[2007-04-07 14:17:54] Got notification Capture of peer 00:0C:F1:6E:73:F8
[2007-04-07 14:17:54] Child process returned 1
4) tail -f /var/log/apache2/error_log
[Sat Apr 07 14:19:19 2007] [error] [client 192.168.1.183] [2007-04-07 14:19:19] Use of uninitialized value in string eq at /usr/lib64/perl5/site_perl/5.8.8/Net/Netmask.pm line 48, <FILE> line 1., referer: http://192.168.1.116/cgi-bin/login
[Sat Apr 07 14:19:19 2007] [error] [client 192.168.1.183] [2007-04-07 14:19:19] Use of uninitialized value in pattern match (m//) at /usr/lib64/perl5/site_perl/5.8.8/Net/Netmask.pm line 48, <FILE> line 1., referer: http://192.168.1.116/cgi-bin/login
[Sat Apr 07 14:19:19 2007] [error] [client 192.168.1.183] [2007-04-07 14:19:19] Use of uninitialized value in concatenation (.) or string at /usr/lib64/perl5/site_perl/5.8.8/Net/Netmask.pm line 114, <FILE> line 1., referer: http://192.168.1.116/cgi-bin/login
[Sat Apr 07 14:19:19 2007] [error] [client 192.168.1.183] [2007-04-07 14:19:19] could not parse at ../lib//NoCat/AuthService.pm line 77, referer: http://192.168.1.116/cgi-bin/login
[Sat Apr 07 14:19:19 2007] [error] [client 192.168.1.183] [2007-04-07 14:19:19] Use of uninitialized value in numeric eq (==) at /usr/lib64/perl5/site_perl/5.8.8/Net/Netmask.pm line 409, <FILE> line 1., referer: http://192.168.1.116/cgi-bin/login
[Sat Apr 07 14:19:19 2007] [error] [client 192.168.1.183] [2007-04-07 14:19:19] Request from local ip 192.168.1.183, directing to local gateway slm20.kavach.blr., referer: http://192.168.1.116/cgi-bin/login
[Sat Apr 07 14:19:24 2007] [error] [client 192.168.1.183] [2007-04-07 14:19:24] User UNKNOWN from 192.168.1.183 requests form, referer: http://192.168.1.116/cgi-bin/login
[Sat Apr 07 14:19:24 2007] [error] [client 192.168.1.183] File does not exist: /var/www/localhost/htdocs/favicon.ico, referer:
http://192.168.1.116/cgi-bin/login?redirect=http%3a%2f%2f192%2e168%2e1%2e116%3a5280%2f%3fticket%3dowE1U0uL5GQUbWcQqZJGZiGCuLMbXHXn%252bSUpkKE6laRSVUkqqaQqibhI5V2pPDr58vwFggtnobgZcD%252bg%252bAd8LGY3O3fiL%252biV4HY2pgXhLg73Hu69nHvPi8unF0%252bevWL%252b%252fkl5Jbz3zpuH4wX%252f0RcfaL4Xl74LJxGExez2FmWwGxTQN%252bgNioIZidHI7XMYu4kPP89bDk3Ka%252by4QbC51Y2g8sQwFTOx1kU5ZpWNTiL%252bbhff9YwZyasAaHIKdJmpjxAb2TZMKK9ITztTgUSsN8TCy1i6NVCX11vV1FrPtFHX0xWXlehlk%252fXBhr7Ggj7YU942br0lj68bhnDOzD0U0McSWvY7v2IYG4jFKeKl9YJZiff7g4Ud6j4vdmcH68t1KGaSbuiRKJ37iKyrHNmM28C6Rs%252fDQRohvvQyq2%252fsLs3803K1riN8rwulGhMstYeaIYyjhMQC8%252b1GMqKKxIhc2MiWNkhxUoLQwv1s7BKQ3CPx7DuhFTLzUuq4BooLRbCU1lnm3KLiNV1pO9FATRMR%252bYWMsx3lh0UlCEG04nMyEcFKADzNdAPepbyhloKmFXlRjG3JntU15nCEBHVIj3lJzb0F4gmYu7KIoFSgRgkQOP06yWl1kPf1gDG2RS6ryhvPRIbCSc24HlIRuQI17nfENfb7X4EcFG2WKIipxnnmWvtjaLsuKa2kIrE0ZxNUal2azZ0ULtH60MaRCGKX7DvndK8KtnzOZbakGZlJSCpaeq2QCJwdpXm5XqerjeJb%252b70jHiWJK9Vmry2VNQdPVl6cenq%252bSELWQz1d4%252fal4lgIK7n5%252b
eAY7GaBrLd7LhLuh5VNpppsx1qwHgy73jlo4bSDawCkqM2YTjHmnhk%252fryUb8xSMCo0ROsqCBTXyiO%252fEbQmojF7seobaRmBMaahPB9kATKYZ8CMw7c7XN3Tvb%252fHHf2hGBhxsM8NGcYLOvca9MTIcRFPJcScIMkPYGY%252fOADej8BlPT%252bcuHGWbbP0yjeHUqPxycoxPTu9kcCrlnj8552GcTfU49fMaTgCCTPU88bPJFXo1moshEEBctTYFbiJQ3QQeoWKDQ0VHKr%252bdfvX86bv%252f%252bfN%252fwz578sfLi5fvP3xSfvvw%252btcPv%252f7s8OKXt29ef%252fNddPHDyTi0%252f6gXzZdvf%252f7%252bz98%252b%252ffhHeHn5Lw%253d%253d%253dU4kx&timeout=600&gateway=192%2e168%2e1%2e116%3a5280&mac=00%3a0C%3aF1%3a6E%3a73%3aF8&token=%241%2411694064%24wZ76%2eh6s%2efd4Q2za7hb7o%2f
Please Please help me, i am not getting any clue. What should i have to do......
Sameer Verma <sverma at sfsu.edu> wrote: twistedpickles wrote:
> Just actually read ur logs did u create the pgp keys? You need copy them to both gateway and authserv folders.
>
> ::twistedpickles :: :
>
>
> -----Original Message-----
> From: "bijayant kumar"
> To: "twistedpickles"
> Cc: "nocat"
> Sent: 04/05/07 8:14 AM
> Subject: Re: [NoCat] Your MAC address is undefined. Problem with the gateway?
>
> Hi,
> Thanks for your reply. Now i have done some configuration changes rather i have rectified my some silly mistakes. I am able to find the login page . As soon as i type any website address it redirects me to the desired authentication screen. But when i login it shows me the Internal Server Error page. I am getting these errors in my logs. Please have a look, and help me :-
>
> 1) tail -f /usr/local/nocat/gateway/nocat.log
>
> [2007-04-05 18:16:55] Connection to 192.168.1.116 from 192.168.1.183
> [2007-04-05 18:16:55] Capturing 192.168.1.183 for http://www.google.com/url?rand=4d601ba7dc1175778198166&q=http%3A%2F%2Fwww.google.com%2Fimages%2Fcleardot.gif
> [2007-04-05 18:16:55] Spawning child process 16603.
> [2007-04-05 18:16:55] Notifying parent of Capture on peer 00:0C:F1:6E:73:F8
> [2007-04-05 18:16:55] Got notification Capture of peer 00:0C:F1:6E:73:F8
> [2007-04-05 18:16:55] Child process returned 1
>
> 2) tail -f /var/log/apache2/error_log
>
> [Thu Apr 05 18:09:25 2007] [error] [client 192.168.1.183] [2007-04-05 18:09:25] User bijayant from 192.168.1.183 requests form, referer: http://192.168.99.116/cgi-bin/login?redirect=http%3a%2f%2fgoogle%2ecom%2f&timeout=600&
> gateway=192%2e168%2e1%2e116%3a5280
> &mac=00%3a0C%3aF1%3a6E%3a73%3aF8&token=%241%2413506782%24X%2fC2R%2e1bKOQW81C2CnyaJ%2e
>
> [Thu Apr 05 18:09:25 2007] [error] [client 192.168.1.183] [2007-04-05 18:09:25] /usr/bin/gpg --sign --armor --homedir=/usr/local/nocat/cgi-bin/../pgp --keyring trustedkeys.gpg --no-tty -o- returned error message:, referer: http://192.168.99.116/cgi-bin/login?redirect=http%3a%2f%2fgoogle%2ecom%2f&timeout=600&gateway=192%2e168%2e1%2e116%3a5280&mac=00%3a0C%3aF1%3a6E%3a73%3aF8&token=%241%2413506782%24X%2fC2R%2e1bKOQW81C2CnyaJ%2e
> [Thu Apr 05 18:09:25 2007] [error] [client 192.168.1.183] gpg: Sorry, no terminal at all requested - can't get input, referer: http://192.168.99.116/cgi-bin/login?redirect=http%3a%2f%2fgoogle%2ecom%2f&timeout=600&gateway=192%2e168%2e1%2e116%3a5280&mac=00%3a0C%3aF1%3a6E%3a73%3aF8&token=%241%2413506782%24X%2fC2R%2e1bKOQW81C2CnyaJ%2e
> [Thu Apr 05 18:09:25 2007] [error] [client 192.168.1.183] Can't call method "text" on an undefined value at ../lib//NoCat/AuthService.pm line 134., referer: http://192.168.99.116/cgi-bin/login?redirect=http%3a%2f%2fgoogle%2ecom%2f&timeout=600&gateway=192%2e168%2e1%2e116%3a5280&mac=00%3a0C%3aF1%3a6E%3a73%3aF8&token=%241%2413506782%24X%2fC2R%2e1bKOQW81C2CnyaJ%2e
> [Thu Apr 05 18:09:25 2007] [error] [client 192.168.1.183] Premature end of script headers: login, referer: http://192.168.99.116/cgi-bin/login?redirect=http%3a%2f%2fgoogle%2ecom%2f&timeout=600&gateway=192%2e168%2e1%2e116%3a5280&mac=00%3a0C%3aF1%3a6E%3a73%3aF8&token=%241%2413506782%24X%2fC2R%2e1bKOQW81C2CnyaJ%2e
>
>
>
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
>
Look at item 2.4 in http://www.airinter.net/tiki-index.php?page=HOWTO
Make sure you don't pick a a passphrase for the key.
Sameer
--
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
_______________________________________________
NoCat mailing list
NoCat at lists.nocat.net
http://lists.nocat.net/mailman/listinfo/nocat
Bijayant Kumar
Send instant messages to your online friends http://uk.messenger.yahoo.com
More information about the NoCat
mailing list