bijayant kumar | 5 Apr 11:57 2007
Picon

Your MAC address is undefined. Problem with the gateway?

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

(Continue reading)

twistedpickles | 5 Apr 14:51 2007
Picon

Re: Your MAC address is undefined. Problem with the gateway?

On 4/5/07, bijayant kumar <bijayant4u <at> yahoo.com> 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
(Continue reading)

bijayant kumar | 5 Apr 15:14 2007
Picon

Re: 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,
(Continue reading)

bijayant kumar | 5 Apr 15:14 2007
Picon

Re: 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,
(Continue reading)

bijayant kumar | 5 Apr 15:15 2007
Picon

Re: 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,
(Continue reading)

bijayant kumar | 5 Apr 15:15 2007
Picon

Re: 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,
(Continue reading)

bijayant kumar | 5 Apr 15:14 2007
Picon

Re: 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,
(Continue reading)

bijayant kumar | 5 Apr 15:18 2007
Picon

sorry for the repeated mails

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 
twistedpickles | 5 Apr 21:37 2007
Picon

Re: Your MAC address is undefined. Problem with the gateway?

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" <bijayant4u <at> yahoo.com>
To: "twistedpickles" <twistedpickles <at> gmail.com>
Cc: "nocat" <nocat <at> lists.nocat.net>
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&
(Continue reading)

Sameer Verma | 5 Apr 22:07 2007

Re: Your MAC address is undefined. Problem with the gateway?

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" <bijayant4u <at> yahoo.com>
> To: "twistedpickles" <twistedpickles <at> gmail.com>
> Cc: "nocat" <nocat <at> lists.nocat.net>
> 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
>
(Continue reading)


Gmane