From bijayant4u at yahoo.com Thu Apr 5 02:57:33 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Thu, 5 Apr 2007 10:57:33 +0100 (BST)
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
Message-ID: <595593.83080.qm@web32704.mail.mud.yahoo.com>
Hello to all,
I am trying to configure NoCat gateway and NoCat authserver on the same machine. I work on gentoo-linux. But i am not able to do so. I need support from you people. I have a small network. And my machine is behind the firewall gateway. I want to configure NoCat gateway on my machine, and want to test it with other system making that machine's gateway of mine. I am giving my whole configuration file here :-
1) vi /usr/local/nocat/nocat.conf
Verbosity 10
GatewayName Bijayant Gateway
GatewayMode Passive
GatewayLog /usr/local/nocat/nocat.log
LoginTimeout 600
HomePage http://localhost/cgi-bin/login
DocumentRoot /usr/local/nocat/htdocs
SplashForm splash.html
StatusForm status.html
TrustedGroups Any
AuthServiceAddr 192.168.1.183
AuthServiceURL http://$AuthServiceAddr/cgi-bin/login
LogoutURL http://$AuthServiceAddr/logout.html
InternalDevice eth0
LocalNetwork 192.168.99.0/24
IncludePorts 22 80 443
ExcludePorts 25
GatewayPort 5280
PGPKeyPath /usr/local/nocat/pgp
GpgvPath /usr/bin/gpgv
2) vi /usr/local/nocat/authserv/nocat.conf
PGPKeyPath /usr/local/nocat/authserv/pgp
HomePage http://localhost/cgi-bin/login
DocumentRoot /usr/local/nocat/authserv/htdocs/
DataSource LDAP
LDAP_Host bijayant.kavach.blr
LDAP_Base dc=kavach,dc=blr
LDAP_Admin_User cn=Manager,dc=kavach,dc=blr
LDAP_Admin_PW secret
LDAP_Hash_Passwords Yes
LDAP_Search_as_Admin Yes
LDAP_Filter username
UserTable member
UserIDField login
UserPasswdField pass
UserAuthField status
UserStampField created
GroupTable network
GroupIDField network
GroupAdminField admin
GpgPath /usr/bin/gpg
LocalGateway bijayant.kavach.blr
3) vi /etc/apache2/httpd.conf
ScriptAlias /cgi-bin/ /usr/local/nocat/authserv/cgi-bin/
Options ExecCGI
SetEnv PERL5LIB /usr/local/nocat/authserv/lib
SetEnv NOCAT /usr/local/nocat/authserv/nocat.conf
Order allow,deny
Allow from all
Alias /images/ /usr/local/nocat/authserv/htdocs/images/
Alias /nocat/ /usr/local/nocat/authserv/htdocs/
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
When i run /usr/local/nocat/bin/gateway i got all the messages as described in various documents. When i type http://192.168.99.183:5280/status in the browser i got the status page also like
Gateway Up SinceThu Apr 5 14:51:33 2007
TotalConnections 0
GatewayVersion 0.81.20020808
GatewayMode Passive
LoginTimeout 600
IdleTimeout 300
HomePage http://localhost/cgi-bin/login
LastConnectionTime none
ConnectionCount 0
I dont get any authentication page while opening any websites,and my default page is remains the apache page. When i type in the browser http://localhost/cgi-bin/login, i get the login page but when i supplied all information there i got error
Your MAC address is undefined. Problem with the gateway?
And from another system when i open any other site it just opens without any authentication.
I want to ask that where i am doing wrong. Please help me.
Bijayant Kumar
Send instant messages to your online friends http://uk.messenger.yahoo.com
From twistedpickles at gmail.com Thu Apr 5 05:51:13 2007
From: twistedpickles at gmail.com (twistedpickles)
Date: Thu, 5 Apr 2007 07:51:13 -0500
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To: <595593.83080.qm@web32704.mail.mud.yahoo.com>
References: <595593.83080.qm@web32704.mail.mud.yahoo.com>
Message-ID:
On 4/5/07, bijayant kumar wrote:
> Hello to all,
> I am trying to configure NoCat gateway and NoCat authserver on the same machine. I work on gentoo-linux. But i am not able to do so. I need support from you people. I have a small network. And my machine is behind the firewall gateway. I want to configure NoCat gateway on my machine, and want to test it with other system making that machine's gateway of mine. I am giving my whole configuration file here :-
>
> 1) vi /usr/local/nocat/nocat.conf
> Verbosity 10
> GatewayName Bijayant Gateway
> GatewayMode Passive
> GatewayLog /usr/local/nocat/nocat.log
> LoginTimeout 600
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/htdocs
> SplashForm splash.html
> StatusForm status.html
> TrustedGroups Any
> AuthServiceAddr 192.168.1.183
> AuthServiceURL http://$AuthServiceAddr/cgi-bin/login
> LogoutURL http://$AuthServiceAddr/logout.html
> InternalDevice eth0
> LocalNetwork 192.168.99.0/24
> IncludePorts 22 80 443
> ExcludePorts 25
> GatewayPort 5280
> PGPKeyPath /usr/local/nocat/pgp
> GpgvPath /usr/bin/gpgv
>
> 2) vi /usr/local/nocat/authserv/nocat.conf
>
> PGPKeyPath /usr/local/nocat/authserv/pgp
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/authserv/htdocs/
> DataSource LDAP
> LDAP_Host bijayant.kavach.blr
> LDAP_Base dc=kavach,dc=blr
> LDAP_Admin_User cn=Manager,dc=kavach,dc=blr
> LDAP_Admin_PW secret
> LDAP_Hash_Passwords Yes
> LDAP_Search_as_Admin Yes
> LDAP_Filter username
> UserTable member
> UserIDField login
> UserPasswdField pass
> UserAuthField status
> UserStampField created
>
> GroupTable network
> GroupIDField network
> GroupAdminField admin
> GpgPath /usr/bin/gpg
> LocalGateway bijayant.kavach.blr
>
> 3) vi /etc/apache2/httpd.conf
>
> ScriptAlias /cgi-bin/ /usr/local/nocat/authserv/cgi-bin/
>
> Options ExecCGI
> SetEnv PERL5LIB /usr/local/nocat/authserv/lib
> SetEnv NOCAT /usr/local/nocat/authserv/nocat.conf
> Order allow,deny
> Allow from all
>
> Alias /images/ /usr/local/nocat/authserv/htdocs/images/
> Alias /nocat/ /usr/local/nocat/authserv/htdocs/
>
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
>
> Order allow,deny
> Allow from all
>
>
>
> When i run /usr/local/nocat/bin/gateway i got all the messages as described in various documents. When i type http://192.168.99.183:5280/status in the browser i got the status page also like
>
> Gateway Up SinceThu Apr 5 14:51:33 2007
> TotalConnections 0
> GatewayVersion 0.81.20020808
> GatewayMode Passive
> LoginTimeout 600
> IdleTimeout 300
> HomePage http://localhost/cgi-bin/login
> LastConnectionTime none
> ConnectionCount 0
>
> I dont get any authentication page while opening any websites,and my default page is remains the apache page. When i type in the browser http://localhost/cgi-bin/login, i get the login page but when i supplied all information there i got error
> Your MAC address is undefined. Problem with the gateway?
>
> And from another system when i open any other site it just opens without any authentication.
> I want to ask that where i am doing wrong. Please help me.
>
>
>
> Bijayant Kumar
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
>
You must install Net::Netmask if your running both on the same machine.
You must define "LocalGateway" in your authserv nocat.conf file. The
local gateway should be the ip address that is running both your
gateway and authserv.
Also not that it matters because I'm sure your're running in passive
mode but "HomePage" should be defined as your public IP address or
your FQDN and not as localhost. This is feature is used only in open
mode and redirects your customer or end user to the website you list
here after the splash. It doesn't necessarily need to be the IP of
your gateway but it shouldn't be http://gatewayIP/cgi-bin/login. This
will force the user into a loop and not allow them to login or gain
access to the Internet.
--
::twistedPickles:: :
From bijayant4u at yahoo.com Thu Apr 5 06:14:15 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Thu, 5 Apr 2007 14:14:15 +0100 (BST)
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To:
Message-ID: <265821.68667.qm@web32707.mail.mud.yahoo.com>
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
I have already installed Net::Netmask module. I think i am very near to run NoCat. Now please help me. I am desperate to use this wonderful service.
Thanks
twistedpickles wrote: On 4/5/07, bijayant kumar wrote:
> Hello to all,
> I am trying to configure NoCat gateway and NoCat authserver on the same machine. I work on gentoo-linux. But i am not able to do so. I need support from you people. I have a small network. And my machine is behind the firewall gateway. I want to configure NoCat gateway on my machine, and want to test it with other system making that machine's gateway of mine. I am giving my whole configuration file here :-
>
> 1) vi /usr/local/nocat/nocat.conf
> Verbosity 10
> GatewayName Bijayant Gateway
> GatewayMode Passive
> GatewayLog /usr/local/nocat/nocat.log
> LoginTimeout 600
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/htdocs
> SplashForm splash.html
> StatusForm status.html
> TrustedGroups Any
> AuthServiceAddr 192.168.1.183
> AuthServiceURL http://$AuthServiceAddr/cgi-bin/login
> LogoutURL http://$AuthServiceAddr/logout.html
> InternalDevice eth0
> LocalNetwork 192.168.99.0/24
> IncludePorts 22 80 443
> ExcludePorts 25
> GatewayPort 5280
> PGPKeyPath /usr/local/nocat/pgp
> GpgvPath /usr/bin/gpgv
>
> 2) vi /usr/local/nocat/authserv/nocat.conf
>
> PGPKeyPath /usr/local/nocat/authserv/pgp
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/authserv/htdocs/
> DataSource LDAP
> LDAP_Host bijayant.kavach.blr
> LDAP_Base dc=kavach,dc=blr
> LDAP_Admin_User cn=Manager,dc=kavach,dc=blr
> LDAP_Admin_PW secret
> LDAP_Hash_Passwords Yes
> LDAP_Search_as_Admin Yes
> LDAP_Filter username
> UserTable member
> UserIDField login
> UserPasswdField pass
> UserAuthField status
> UserStampField created
>
> GroupTable network
> GroupIDField network
> GroupAdminField admin
> GpgPath /usr/bin/gpg
> LocalGateway bijayant.kavach.blr
>
> 3) vi /etc/apache2/httpd.conf
>
> ScriptAlias /cgi-bin/ /usr/local/nocat/authserv/cgi-bin/
>
> Options ExecCGI
> SetEnv PERL5LIB /usr/local/nocat/authserv/lib
> SetEnv NOCAT /usr/local/nocat/authserv/nocat.conf
> Order allow,deny
> Allow from all
>
> Alias /images/ /usr/local/nocat/authserv/htdocs/images/
> Alias /nocat/ /usr/local/nocat/authserv/htdocs/
>
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
>
> Order allow,deny
> Allow from all
>
>
>
> When i run /usr/local/nocat/bin/gateway i got all the messages as described in various documents. When i type http://192.168.99.183:5280/status in the browser i got the status page also like
>
> Gateway Up SinceThu Apr 5 14:51:33 2007
> TotalConnections 0
> GatewayVersion 0.81.20020808
> GatewayMode Passive
> LoginTimeout 600
> IdleTimeout 300
> HomePage http://localhost/cgi-bin/login
> LastConnectionTime none
> ConnectionCount 0
>
> I dont get any authentication page while opening any websites,and my default page is remains the apache page. When i type in the browser http://localhost/cgi-bin/login, i get the login page but when i supplied all information there i got error
> Your MAC address is undefined. Problem with the gateway?
>
> And from another system when i open any other site it just opens without any authentication.
> I want to ask that where i am doing wrong. Please help me.
>
>
>
> Bijayant Kumar
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
>
You must install Net::Netmask if your running both on the same machine.
You must define "LocalGateway" in your authserv nocat.conf file. The
local gateway should be the ip address that is running both your
gateway and authserv.
Also not that it matters because I'm sure your're running in passive
mode but "HomePage" should be defined as your public IP address or
your FQDN and not as localhost. This is feature is used only in open
mode and redirects your customer or end user to the website you list
here after the splash. It doesn't necessarily need to be the IP of
your gateway but it shouldn't be http://gatewayIP/cgi-bin/login. This
will force the user into a loop and not allow them to login or gain
access to the Internet.
--
::twistedPickles:: :
_______________________________________________
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
From bijayant4u at yahoo.com Thu Apr 5 06:14:49 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Thu, 5 Apr 2007 14:14:49 +0100 (BST)
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To:
Message-ID: <463529.45494.qm@web32704.mail.mud.yahoo.com>
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
I have already installed Net::Netmask module. I think i am very near to run NoCat. Now please help me. I am desperate to use this wonderful service.
Thanks
twistedpickles wrote: On 4/5/07, bijayant kumar wrote:
> Hello to all,
> I am trying to configure NoCat gateway and NoCat authserver on the same machine. I work on gentoo-linux. But i am not able to do so. I need support from you people. I have a small network. And my machine is behind the firewall gateway. I want to configure NoCat gateway on my machine, and want to test it with other system making that machine's gateway of mine. I am giving my whole configuration file here :-
>
> 1) vi /usr/local/nocat/nocat.conf
> Verbosity 10
> GatewayName Bijayant Gateway
> GatewayMode Passive
> GatewayLog /usr/local/nocat/nocat.log
> LoginTimeout 600
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/htdocs
> SplashForm splash.html
> StatusForm status.html
> TrustedGroups Any
> AuthServiceAddr 192.168.1.183
> AuthServiceURL http://$AuthServiceAddr/cgi-bin/login
> LogoutURL http://$AuthServiceAddr/logout.html
> InternalDevice eth0
> LocalNetwork 192.168.99.0/24
> IncludePorts 22 80 443
> ExcludePorts 25
> GatewayPort 5280
> PGPKeyPath /usr/local/nocat/pgp
> GpgvPath /usr/bin/gpgv
>
> 2) vi /usr/local/nocat/authserv/nocat.conf
>
> PGPKeyPath /usr/local/nocat/authserv/pgp
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/authserv/htdocs/
> DataSource LDAP
> LDAP_Host bijayant.kavach.blr
> LDAP_Base dc=kavach,dc=blr
> LDAP_Admin_User cn=Manager,dc=kavach,dc=blr
> LDAP_Admin_PW secret
> LDAP_Hash_Passwords Yes
> LDAP_Search_as_Admin Yes
> LDAP_Filter username
> UserTable member
> UserIDField login
> UserPasswdField pass
> UserAuthField status
> UserStampField created
>
> GroupTable network
> GroupIDField network
> GroupAdminField admin
> GpgPath /usr/bin/gpg
> LocalGateway bijayant.kavach.blr
>
> 3) vi /etc/apache2/httpd.conf
>
> ScriptAlias /cgi-bin/ /usr/local/nocat/authserv/cgi-bin/
>
> Options ExecCGI
> SetEnv PERL5LIB /usr/local/nocat/authserv/lib
> SetEnv NOCAT /usr/local/nocat/authserv/nocat.conf
> Order allow,deny
> Allow from all
>
> Alias /images/ /usr/local/nocat/authserv/htdocs/images/
> Alias /nocat/ /usr/local/nocat/authserv/htdocs/
>
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
>
> Order allow,deny
> Allow from all
>
>
>
> When i run /usr/local/nocat/bin/gateway i got all the messages as described in various documents. When i type http://192.168.99.183:5280/status in the browser i got the status page also like
>
> Gateway Up SinceThu Apr 5 14:51:33 2007
> TotalConnections 0
> GatewayVersion 0.81.20020808
> GatewayMode Passive
> LoginTimeout 600
> IdleTimeout 300
> HomePage http://localhost/cgi-bin/login
> LastConnectionTime none
> ConnectionCount 0
>
> I dont get any authentication page while opening any websites,and my default page is remains the apache page. When i type in the browser http://localhost/cgi-bin/login, i get the login page but when i supplied all information there i got error
> Your MAC address is undefined. Problem with the gateway?
>
> And from another system when i open any other site it just opens without any authentication.
> I want to ask that where i am doing wrong. Please help me.
>
>
>
> Bijayant Kumar
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
>
You must install Net::Netmask if your running both on the same machine.
You must define "LocalGateway" in your authserv nocat.conf file. The
local gateway should be the ip address that is running both your
gateway and authserv.
Also not that it matters because I'm sure your're running in passive
mode but "HomePage" should be defined as your public IP address or
your FQDN and not as localhost. This is feature is used only in open
mode and redirects your customer or end user to the website you list
here after the splash. It doesn't necessarily need to be the IP of
your gateway but it shouldn't be http://gatewayIP/cgi-bin/login. This
will force the user into a loop and not allow them to login or gain
access to the Internet.
--
::twistedPickles:: :
_______________________________________________
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
From bijayant4u at yahoo.com Thu Apr 5 06:14:56 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Thu, 5 Apr 2007 14:14:56 +0100 (BST)
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To:
Message-ID: <429441.49020.qm@web32709.mail.mud.yahoo.com>
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
I have already installed Net::Netmask module. I think i am very near to run NoCat. Now please help me. I am desperate to use this wonderful service.
Thanks
twistedpickles wrote: On 4/5/07, bijayant kumar wrote:
> Hello to all,
> I am trying to configure NoCat gateway and NoCat authserver on the same machine. I work on gentoo-linux. But i am not able to do so. I need support from you people. I have a small network. And my machine is behind the firewall gateway. I want to configure NoCat gateway on my machine, and want to test it with other system making that machine's gateway of mine. I am giving my whole configuration file here :-
>
> 1) vi /usr/local/nocat/nocat.conf
> Verbosity 10
> GatewayName Bijayant Gateway
> GatewayMode Passive
> GatewayLog /usr/local/nocat/nocat.log
> LoginTimeout 600
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/htdocs
> SplashForm splash.html
> StatusForm status.html
> TrustedGroups Any
> AuthServiceAddr 192.168.1.183
> AuthServiceURL http://$AuthServiceAddr/cgi-bin/login
> LogoutURL http://$AuthServiceAddr/logout.html
> InternalDevice eth0
> LocalNetwork 192.168.99.0/24
> IncludePorts 22 80 443
> ExcludePorts 25
> GatewayPort 5280
> PGPKeyPath /usr/local/nocat/pgp
> GpgvPath /usr/bin/gpgv
>
> 2) vi /usr/local/nocat/authserv/nocat.conf
>
> PGPKeyPath /usr/local/nocat/authserv/pgp
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/authserv/htdocs/
> DataSource LDAP
> LDAP_Host bijayant.kavach.blr
> LDAP_Base dc=kavach,dc=blr
> LDAP_Admin_User cn=Manager,dc=kavach,dc=blr
> LDAP_Admin_PW secret
> LDAP_Hash_Passwords Yes
> LDAP_Search_as_Admin Yes
> LDAP_Filter username
> UserTable member
> UserIDField login
> UserPasswdField pass
> UserAuthField status
> UserStampField created
>
> GroupTable network
> GroupIDField network
> GroupAdminField admin
> GpgPath /usr/bin/gpg
> LocalGateway bijayant.kavach.blr
>
> 3) vi /etc/apache2/httpd.conf
>
> ScriptAlias /cgi-bin/ /usr/local/nocat/authserv/cgi-bin/
>
> Options ExecCGI
> SetEnv PERL5LIB /usr/local/nocat/authserv/lib
> SetEnv NOCAT /usr/local/nocat/authserv/nocat.conf
> Order allow,deny
> Allow from all
>
> Alias /images/ /usr/local/nocat/authserv/htdocs/images/
> Alias /nocat/ /usr/local/nocat/authserv/htdocs/
>
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
>
> Order allow,deny
> Allow from all
>
>
>
> When i run /usr/local/nocat/bin/gateway i got all the messages as described in various documents. When i type http://192.168.99.183:5280/status in the browser i got the status page also like
>
> Gateway Up SinceThu Apr 5 14:51:33 2007
> TotalConnections 0
> GatewayVersion 0.81.20020808
> GatewayMode Passive
> LoginTimeout 600
> IdleTimeout 300
> HomePage http://localhost/cgi-bin/login
> LastConnectionTime none
> ConnectionCount 0
>
> I dont get any authentication page while opening any websites,and my default page is remains the apache page. When i type in the browser http://localhost/cgi-bin/login, i get the login page but when i supplied all information there i got error
> Your MAC address is undefined. Problem with the gateway?
>
> And from another system when i open any other site it just opens without any authentication.
> I want to ask that where i am doing wrong. Please help me.
>
>
>
> Bijayant Kumar
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
>
You must install Net::Netmask if your running both on the same machine.
You must define "LocalGateway" in your authserv nocat.conf file. The
local gateway should be the ip address that is running both your
gateway and authserv.
Also not that it matters because I'm sure your're running in passive
mode but "HomePage" should be defined as your public IP address or
your FQDN and not as localhost. This is feature is used only in open
mode and redirects your customer or end user to the website you list
here after the splash. It doesn't necessarily need to be the IP of
your gateway but it shouldn't be http://gatewayIP/cgi-bin/login. This
will force the user into a loop and not allow them to login or gain
access to the Internet.
--
::twistedPickles:: :
_______________________________________________
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
From bijayant4u at yahoo.com Thu Apr 5 06:15:04 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Thu, 5 Apr 2007 14:15:04 +0100 (BST)
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To:
Message-ID: <276741.32069.qm@web32715.mail.mud.yahoo.com>
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
I have already installed Net::Netmask module. I think i am very near to run NoCat. Now please help me. I am desperate to use this wonderful service.
Thanks
twistedpickles wrote: On 4/5/07, bijayant kumar wrote:
> Hello to all,
> I am trying to configure NoCat gateway and NoCat authserver on the same machine. I work on gentoo-linux. But i am not able to do so. I need support from you people. I have a small network. And my machine is behind the firewall gateway. I want to configure NoCat gateway on my machine, and want to test it with other system making that machine's gateway of mine. I am giving my whole configuration file here :-
>
> 1) vi /usr/local/nocat/nocat.conf
> Verbosity 10
> GatewayName Bijayant Gateway
> GatewayMode Passive
> GatewayLog /usr/local/nocat/nocat.log
> LoginTimeout 600
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/htdocs
> SplashForm splash.html
> StatusForm status.html
> TrustedGroups Any
> AuthServiceAddr 192.168.1.183
> AuthServiceURL http://$AuthServiceAddr/cgi-bin/login
> LogoutURL http://$AuthServiceAddr/logout.html
> InternalDevice eth0
> LocalNetwork 192.168.99.0/24
> IncludePorts 22 80 443
> ExcludePorts 25
> GatewayPort 5280
> PGPKeyPath /usr/local/nocat/pgp
> GpgvPath /usr/bin/gpgv
>
> 2) vi /usr/local/nocat/authserv/nocat.conf
>
> PGPKeyPath /usr/local/nocat/authserv/pgp
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/authserv/htdocs/
> DataSource LDAP
> LDAP_Host bijayant.kavach.blr
> LDAP_Base dc=kavach,dc=blr
> LDAP_Admin_User cn=Manager,dc=kavach,dc=blr
> LDAP_Admin_PW secret
> LDAP_Hash_Passwords Yes
> LDAP_Search_as_Admin Yes
> LDAP_Filter username
> UserTable member
> UserIDField login
> UserPasswdField pass
> UserAuthField status
> UserStampField created
>
> GroupTable network
> GroupIDField network
> GroupAdminField admin
> GpgPath /usr/bin/gpg
> LocalGateway bijayant.kavach.blr
>
> 3) vi /etc/apache2/httpd.conf
>
> ScriptAlias /cgi-bin/ /usr/local/nocat/authserv/cgi-bin/
>
> Options ExecCGI
> SetEnv PERL5LIB /usr/local/nocat/authserv/lib
> SetEnv NOCAT /usr/local/nocat/authserv/nocat.conf
> Order allow,deny
> Allow from all
>
> Alias /images/ /usr/local/nocat/authserv/htdocs/images/
> Alias /nocat/ /usr/local/nocat/authserv/htdocs/
>
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
>
> Order allow,deny
> Allow from all
>
>
>
> When i run /usr/local/nocat/bin/gateway i got all the messages as described in various documents. When i type http://192.168.99.183:5280/status in the browser i got the status page also like
>
> Gateway Up SinceThu Apr 5 14:51:33 2007
> TotalConnections 0
> GatewayVersion 0.81.20020808
> GatewayMode Passive
> LoginTimeout 600
> IdleTimeout 300
> HomePage http://localhost/cgi-bin/login
> LastConnectionTime none
> ConnectionCount 0
>
> I dont get any authentication page while opening any websites,and my default page is remains the apache page. When i type in the browser http://localhost/cgi-bin/login, i get the login page but when i supplied all information there i got error
> Your MAC address is undefined. Problem with the gateway?
>
> And from another system when i open any other site it just opens without any authentication.
> I want to ask that where i am doing wrong. Please help me.
>
>
>
> Bijayant Kumar
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
>
You must install Net::Netmask if your running both on the same machine.
You must define "LocalGateway" in your authserv nocat.conf file. The
local gateway should be the ip address that is running both your
gateway and authserv.
Also not that it matters because I'm sure your're running in passive
mode but "HomePage" should be defined as your public IP address or
your FQDN and not as localhost. This is feature is used only in open
mode and redirects your customer or end user to the website you list
here after the splash. It doesn't necessarily need to be the IP of
your gateway but it shouldn't be http://gatewayIP/cgi-bin/login. This
will force the user into a loop and not allow them to login or gain
access to the Internet.
--
::twistedPickles:: :
_______________________________________________
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
From bijayant4u at yahoo.com Thu Apr 5 06:15:14 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Thu, 5 Apr 2007 14:15:14 +0100 (BST)
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To:
Message-ID: <218463.57737.qm@web32706.mail.mud.yahoo.com>
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
I have already installed Net::Netmask module. I think i am very near to run NoCat. Now please help me. I am desperate to use this wonderful service.
Thanks
twistedpickles wrote: On 4/5/07, bijayant kumar wrote:
> Hello to all,
> I am trying to configure NoCat gateway and NoCat authserver on the same machine. I work on gentoo-linux. But i am not able to do so. I need support from you people. I have a small network. And my machine is behind the firewall gateway. I want to configure NoCat gateway on my machine, and want to test it with other system making that machine's gateway of mine. I am giving my whole configuration file here :-
>
> 1) vi /usr/local/nocat/nocat.conf
> Verbosity 10
> GatewayName Bijayant Gateway
> GatewayMode Passive
> GatewayLog /usr/local/nocat/nocat.log
> LoginTimeout 600
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/htdocs
> SplashForm splash.html
> StatusForm status.html
> TrustedGroups Any
> AuthServiceAddr 192.168.1.183
> AuthServiceURL http://$AuthServiceAddr/cgi-bin/login
> LogoutURL http://$AuthServiceAddr/logout.html
> InternalDevice eth0
> LocalNetwork 192.168.99.0/24
> IncludePorts 22 80 443
> ExcludePorts 25
> GatewayPort 5280
> PGPKeyPath /usr/local/nocat/pgp
> GpgvPath /usr/bin/gpgv
>
> 2) vi /usr/local/nocat/authserv/nocat.conf
>
> PGPKeyPath /usr/local/nocat/authserv/pgp
> HomePage http://localhost/cgi-bin/login
> DocumentRoot /usr/local/nocat/authserv/htdocs/
> DataSource LDAP
> LDAP_Host bijayant.kavach.blr
> LDAP_Base dc=kavach,dc=blr
> LDAP_Admin_User cn=Manager,dc=kavach,dc=blr
> LDAP_Admin_PW secret
> LDAP_Hash_Passwords Yes
> LDAP_Search_as_Admin Yes
> LDAP_Filter username
> UserTable member
> UserIDField login
> UserPasswdField pass
> UserAuthField status
> UserStampField created
>
> GroupTable network
> GroupIDField network
> GroupAdminField admin
> GpgPath /usr/bin/gpg
> LocalGateway bijayant.kavach.blr
>
> 3) vi /etc/apache2/httpd.conf
>
> ScriptAlias /cgi-bin/ /usr/local/nocat/authserv/cgi-bin/
>
> Options ExecCGI
> SetEnv PERL5LIB /usr/local/nocat/authserv/lib
> SetEnv NOCAT /usr/local/nocat/authserv/nocat.conf
> Order allow,deny
> Allow from all
>
> Alias /images/ /usr/local/nocat/authserv/htdocs/images/
> Alias /nocat/ /usr/local/nocat/authserv/htdocs/
>
> Options -Indexes FollowSymLinks MultiViews
> AllowOverride All
>
> Order allow,deny
> Allow from all
>
>
>
> When i run /usr/local/nocat/bin/gateway i got all the messages as described in various documents. When i type http://192.168.99.183:5280/status in the browser i got the status page also like
>
> Gateway Up SinceThu Apr 5 14:51:33 2007
> TotalConnections 0
> GatewayVersion 0.81.20020808
> GatewayMode Passive
> LoginTimeout 600
> IdleTimeout 300
> HomePage http://localhost/cgi-bin/login
> LastConnectionTime none
> ConnectionCount 0
>
> I dont get any authentication page while opening any websites,and my default page is remains the apache page. When i type in the browser http://localhost/cgi-bin/login, i get the login page but when i supplied all information there i got error
> Your MAC address is undefined. Problem with the gateway?
>
> And from another system when i open any other site it just opens without any authentication.
> I want to ask that where i am doing wrong. Please help me.
>
>
>
> Bijayant Kumar
> Send instant messages to your online friends http://uk.messenger.yahoo.com
> _______________________________________________
> NoCat mailing list
> NoCat at lists.nocat.net
> http://lists.nocat.net/mailman/listinfo/nocat
>
You must install Net::Netmask if your running both on the same machine.
You must define "LocalGateway" in your authserv nocat.conf file. The
local gateway should be the ip address that is running both your
gateway and authserv.
Also not that it matters because I'm sure your're running in passive
mode but "HomePage" should be defined as your public IP address or
your FQDN and not as localhost. This is feature is used only in open
mode and redirects your customer or end user to the website you list
here after the splash. It doesn't necessarily need to be the IP of
your gateway but it shouldn't be http://gatewayIP/cgi-bin/login. This
will force the user into a loop and not allow them to login or gain
access to the Internet.
--
::twistedPickles:: :
_______________________________________________
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
From bijayant4u at yahoo.com Thu Apr 5 06:18:22 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Thu, 5 Apr 2007 14:18:22 +0100 (BST)
Subject: [NoCat] sorry for the repeated mails
Message-ID: <264860.51998.qm@web32701.mail.mud.yahoo.com>
Hi to all,
I am really very sorry that my same mail has gone for 5 times. At that time there was a problem in my yahoomail thats why it happens.
I am really very sorry for your inconvenience
Bijayant Kumar
Send instant messages to your online friends http://uk.messenger.yahoo.com
From twistedpickles at gmail.com Thu Apr 5 12:37:47 2007
From: twistedpickles at gmail.com (twistedpickles)
Date: Thu, 5 Apr 2007 14:37:47 -0500
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
Message-ID: <46154f96.2073aa61.1e36.ffff9bfa@mx.google.com>
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
From sverma at sfsu.edu Thu Apr 5 13:07:17 2007
From: sverma at sfsu.edu (Sameer Verma)
Date: Thu, 05 Apr 2007 13:07:17 -0700
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To: <46154f96.2073aa61.1e36.ffff9bfa@mx.google.com>
References: <46154f96.2073aa61.1e36.ffff9bfa@mx.google.com>
Message-ID: <461556F5.2060307@sfsu.edu>
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/
From bijayant4u at yahoo.com Fri Apr 6 21:25:03 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Sat, 7 Apr 2007 05:25:03 +0100 (BST)
Subject: [NoCat] Your MAC address is undefined. Problem with the gateway?
In-Reply-To: <46154f96.2073aa61.1e36.ffff9bfa@mx.google.com>
Message-ID: <295764.93350.qm@web32714.mail.mud.yahoo.com>
I have created the pgp keys from tje command make pgpkey and then after i copied them to both gateway and authserv folders.
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
Bijayant Kumar
Send instant messages to your online friends http://uk.messenger.yahoo.com
From bijayant4u at yahoo.com Sat Apr 7 02:03:07 2007
From: bijayant4u at yahoo.com (bijayant kumar)
Date: Sat, 7 Apr 2007 10:03:07 +0100 (BST)
Subject: [NoCat] everytime redirects to the authentication screen(plz help
me)
In-Reply-To: <461556F5.2060307@sfsu.edu>
Message-ID: <453442.37413.qm@web32701.mail.mud.yahoo.com>
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, 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, 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, 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, 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 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
From fcb at fredbenenson.com Sat Apr 7 16:16:36 2007
From: fcb at fredbenenson.com (Fred Benenson)
Date: Sat, 7 Apr 2007 19:16:36 -0400
Subject: [NoCat] Hacking NoCat
Message-ID: <8e447b720704071616n58dfeddeidfae809ac5528ab3@mail.gmail.com>
Hi,
New to the list. I just installed and setup NoCatAuth. First, thanks for
all your hard work. Second, I have some questions about extending and
modifying NoCatAuth, so I figured this would be a good place to start.
I'm working on a bit of an art project that involves public wifi. The
central concept of the project depends on my firewall (Kubuntu running DHCP
and NoCatAut with a Linksys AP) dynamically allowing users on and off the
network. That is, some information will be sent to the firewall from outside
the network, and the firewall will make a decision about which users to keep
or release from the network. Is there a way to dynamically add/remove MAC
addresses (and therefore machines) from NoCat's auth/ban list? Maybe using
iptables? Or should I control this by modifying the MySQL database on the
fly?
Thanks,
Fred
--
The content of this email message is licensed under a Creative Commons
Attribution-ShareAlike 2.5 License, Some Rights Reserved.
http://creativecommons.org/licenses/by-sa/2.5/
From jbduran at gmail.com Wed Apr 11 05:41:01 2007
From: jbduran at gmail.com (jb durand)
Date: Wed, 11 Apr 2007 14:41:01 +0200
Subject: [NoCat] Accounting
Message-ID:
Hi,
Does Nocat allow to recover a public address in logs if we use SNAT ?
Thx! jb
From hieudt84 at gmail.com Mon Apr 16 13:06:51 2007
From: hieudt84 at gmail.com (Dang Trung Hieu)
Date: Tue, 17 Apr 2007 03:06:51 +0700
Subject: [NoCat] Multi Gateway in Captive Mode
In-Reply-To:
Message-ID: <4623d759.3864f649.2a19.038a@mx.google.com>
Since the IP of the LocalGateway is fixed in the config file, so is it true
that's we can't use more than 1 gateway in the Captive Mode ??
From tsweeney at csc.com Mon Apr 16 13:58:03 2007
From: tsweeney at csc.com (Timothy M Sweeney)
Date: Mon, 16 Apr 2007 16:58:03 -0400
Subject: [NoCat] redirection in open mode ?
Message-ID:
running NoCatAuth in Open mode on redhat (E3)
everything is fine except the redirection does not work-
you can go to the redirected page manually after login - but you are not
automatically directed there -
you just go to your default homepage.
the line from nocat.conf reads -
HomePage http://www.google.com
is there a known issue with redirect and open mode ?
Thanks
Timothy Sweeney
Senior Network Engineer
Ascension Health
office 518-770-7524
cell 203-895-1478
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
From twistedpickles at gmail.com Mon Apr 16 15:36:29 2007
From: twistedpickles at gmail.com (twistedpickles)
Date: Mon, 16 Apr 2007 17:36:29 -0500
Subject: [NoCat] FW: redirection in open mode ?
Message-ID: <4623f9f1.67afc679.0b4c.36a6@mx.google.com>
I've never used NoCat in open mode but I once had to modify Nocat in passive mode and force every user to a particular website. Try modifying "value=$redirect" in splash.html to "value=http://yourwebsite". I can't remember if it was that easy or not. Hope it helps.
::twistedpickles :: :
Message sent from mobile
-----Original Message-----
From: "Timothy M Sweeney"
To: "nocat"
Sent: 04/16/07 3:58 PM
Subject: [NoCat] redirection in open mode ?
running NoCatAuth in Open mode on redhat (E3)
everything is fine except the redirection does not work-
you can go to the redirected page manually after login - but you are not
automatically directed there -
you just go to your default homepage.
the line from nocat.conf reads -
HomePage http://www.google.com
is there a known issue with redirect and open mode ?
Thanks
Timothy Sweeney
Senior Network Engineer
Ascension Health
office 518-770-7524
cell 203-895-1478
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery. NOTE: Regardless of content, this e-mail shall not operate to
bind CSC to any order or other contract unless pursuant to explicit written
agreement or government initiative expressly permitting the use of e-mail
for such purpose.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
_______________________________________________
NoCat mailing list
NoCat at lists.nocat.net
http://lists.nocat.net/mailman/listinfo/nocat