Re: error on login

Sanket Desai <[email protected]>
Newsgroups gmane.network.nocat
Message-ID <[email protected]>
Hi,

I think on your webserver directory listing is on. Just turn it off
and webserver will no more give directory listing.

Regarding error on login, don't ever try to execute login script
directly. It should be called with some parameters. So, just turn off
directory listing. I hope this should solve your problem.

regards,

Sanket.

On 8/17/05, PD <[email protected]> wrote:
> Hi all,
> 
> There are several question on Nocat login process.
> 
> The OS uses is FBSD 5.4 and the firewall used is ipfw2.
> 
> >From the client PC, when I try to access to somewhere, the gateway displays
> all files on /usr/local/gateway/htdocs directories; such as :
> 
> --------------------
> Index of /
> 
>  Name                    Last modified       Size  Description
> 
>  Parent Directory        29-May-2005 12:23      -
>  expired.html            29-May-2005 12:23     1k
>  fatal.html              29-May-2005 12:23     1k
>  images/                 29-May-2005 12:23      -
>  login-no-skip.html      29-May-2005 12:23     1k
>  login.html              29-May-2005 12:23     1k
>  login_ok.html           29-May-2005 12:23     1k
>  logout.html             29-May-2005 12:23     1k
>  register.html           29-May-2005 12:23     2k
>  register_ok.html        29-May-2005 12:23     1k
>  renew.html              29-May-2005 12:23     1k
>  renew_pasv.html         29-May-2005 12:23     1k
>  splash.html             29-May-2005 12:23     1k
>  status.html             17-Aug-2005 17:03     1k
>  update.html             29-May-2005 12:23     3k
> 
> Apache/1.3.33 Server at Gateway.mydomain.Net Port 80
> --------------------
> 
> How to solve this problem ?
> 
> but then, when I try to go to https://gateway.mydomain.net/cgi-bin/login, the
> login screen displayed. When I type the username and password, the gateway
> give an error :
> 
> --------------------
> Error
> 
> Your MAC address is undefined. Problem with the gateway?
> --------------------
> 
> Within /usr/local/gateway/nocat.conf, I did configure 'IgnoreMAC 1'
> But, why the gateway still asking for MAC ?
> 
> >From /usr/local/gateway/nocat.log, it said :
> [2005-08-17 17:03:33] Connection to 216.231.38.240 from 202.149.245.194
> [2005-08-17 17:03:33] Can't capture peer  202.149.245.194  without MAC
> [2005-08-17 17:05:04] Gateway running on port 5280.
> [2005-08-17 17:08:54] Gateway running on port 5280.
> [2005-08-17 17:13:49] Gateway running on port 5280.
> [2005-08-17 17:18:59] Gathering stats from firewall with cmd='stats.fw  '.
> [2005-08-17 17:18:59] Can't exec "stats.fw": Permission denied at
> /usr/local/gateway/bin/../lib/NoCat/Firewall.pm line 288, <FILE> line 2.
> 
> What is wrong and how to solve them ?
> 
> Regards
> 
> PD
> 
> _______________________________________________
> NoCat mailing list
> [email protected]
> http://lists.nocat.net/mailman/listinfo/nocat
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.