PPPD n VPNS: Preventing simultaneous logins

2003-08-30 Thread Koba
	I've installed a poptop based VPN and now I need some way to prevent that 
the same account can be used to establish simultaneous connections (VPN 
sessions) to the server. Using fixed addresses is not an option, it's not 
possible.

	The first thing I thought was grepping the 'ps axuw' command inside ip-up 
scripts to see if this account is already running pppd, but it's not 
possible since: 1. pppd runs suid root so I cannot differentiate between 
different running pppds, 2. ip-up scripts doesn't get login information, 
just enough to set up some routes. And even if it worked it wouldn't be an 
elegant solution.

	Searching the web I found that radius has ways to prevent this (apt-cache 
show yardradius). But before getting inside this I thought that it'd 
better to get some advice.

	Should I use radius, ldap or another authentication mecanism? Which one? 
and, Is there another way to achieve this?

	Thanks in advance to everyone and sorry for the yes or no questions, my 
english is not that good. :)

--
Claudio M.

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: [G] can't get mysqld to acceppt connections ..

2003-05-19 Thread Koba
When you create a user on mysql you have to specify where he is connecting 
from.
Try creating the user again adding a @% (any host) or @196.7.39.241 to its 
username ([EMAIL PROTECTED]).

Warning: Host '196.7.39.241' is not allowed to connect to this MySQL
server in /home/web/linuxpro.co.za/www/htdocs/dev/index.php on line 7
Warning: MySQL Connection Failed: Host '196.7.39.241' is not allowed to
connect to this MySQL server in
/home/web/linuxpro.co.za/www/htdocs/dev/index.php on line 7
couldn't connect to sever




Re: Apache Dynamic Hosts Logs Stats

2003-05-07 Thread Koba
On Wed, 7 May 2003 10:19:52 -0700, Victor Yoalli Dominguez Torres 
<[EMAIL PROTECTED]> wrote:

Hi all,
I am about to set up apache with dynamic virtual hosts.
What I need to do later is to provide my clients with weblog statistics, 
and with this configuration I only get one vcommon type log file, then I 
need to split them in a format that I can later give to webalizer or 
analog.

Have some one knows a good solution for this?
Thanks.

You can use the TransferLog directive withing the virtualhost context to 
specify where you want those logs.

--
Koba



Re: Which webmail do you prefer? Why?

2003-05-07 Thread Koba
On Wed, 7 May 2003 11:48:24 -0400, Joey Hess <[EMAIL PROTECTED]> wrote:
I looked at SquirrelMail, but php4 is not supported with apache2.
Yes it does. I'm testing the Apache/2.0.45 PHP/4.3.1 combination and it 
works like a charm. You'll notice a huge speedup in php scripts if you are 
upgrading from apache 1.x.

squirrelmail.org does not recommend using apache2 with it, but I didn't 
have any problem so far.

--
Koba