Yeah, but this is the same with any X strikes solution on any other
platform. It's a tradeoff. One would assume that if a DoS were being
played, that other information would be gathered about the person doing a
DoS.
According to that theory, one would also assume securID cards are not safe
from D
On Thu, 6 Apr 2000, Gunther Birznieks wrote:
> Vivek,
>
> Is it possible that a special auth handler could be written that stores the number
> of bad authorizations for a userid and the last time of the hit in a DBM file for
> quick lookup? Then, configure an environment or server variable if th
Rusty and Kee,
The dual VirtualHost configuration is exactly the solution I will take! It
will also apply it to the main domain as well - thinkstock.com, .org, and
.net. That will solve my problem, as well as any future ones, and I can
just be done with this stupid cookie problem! You just made m
mod_perl probaly have memory leakage during rereading configs (e.g. on
the apachectl graceful)
My system:
RH 6.1,
linux-2.2.15pre17
glibc-2.1
apache-1.3.12
mod_ssl-2.6.2
russian patches (ftp.lexa.ru/pub/apache-rus/) PL29.4
mm-1.0.12
mod_perl-1.22
With mod_perl module enabled in httpd.conf ever
It may be a "stupid" benchmark. But no one seems to have commented on the CPU
rates. Why was PerlEx 100% and PerlScript 45% on the same machine, same
ActiveState Perl (presumable), same CPU config. And yet took the same amount of
time to complete.
I find that interesting. I suspect that it is a t
Vivek,
Is it possible that a special auth handler could be written that stores the number
of bad authorizations for a userid and the last time of the hit in a DBM file for
quick lookup? Then, configure an environment or server variable if the auth screwed
up more than 3 times within the last hour
okay, i'll bite. . .
###
package IPO::Shareable
use IPO::BuzzWords qw(:xml :b2b :asp :wha);
use Angel::Investor
use Location::PaloAlto qw(:noMatterWhatItCosts)
sub hype {
my ($self, $company) = @_;
my $product;
die "penniless" unless $self->{sold};
if ($company-
Hi, I have isolated the problem, but it just made me more puzzled. The
problem is not in that file itself, but in "homepage.htm" which is also an
ASP file, in which I tried to open a MySQL connection. When I call
DBI->connect("DBI:mysql:database=...;host=...","myusername","mypasswd"),
it will gene
I've run into a configuration problem and was wondering if anyone had any
advice.
I need to be able to run the same sets of pages in several different
environments (basically just different environment variables). The problem
is that once a process is initiated in a certain environment it can't
>Why would you have form variables on the first time they hit the
>site? (And they'd have to be POST variables for it to matter, right?)
Because not all people come in the front door - such as banner ads that
implement a search, etc...
Not only that, but you would want to identify where they
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
At 4:09 PM -0700 4/6/00, Christopher Taranto wrote:
>Hi Drew,
>
>My site has several domains that lead into it and I had the same problem
>with cookies that I fixed this way.
>
>Here's how I ended up doing the redirections using mod_rewrite and a perl
> At 05:29 PM 04/06/00 -0400, you wrote:
> >Kee,
> >
> >I'm about to that point. What is the easiest way to do this? I have one
> >IP for the domain. Should I have my scripts check SERVER_NAME & do a
> >redirect? BTW, I have complete control over the box so I can do what I
> >want. :-)
> >
I thin
Hi Drew,
My site has several domains that lead into it and I had the same problem
with cookies that I fixed this way.
Here's how I ended up doing the redirections using mod_rewrite and a perl
script (which needed to be portable in my case). This could have probably
been done simpler and more ef
On Thu, 6 Apr 2000, Perrin Harkins wrote:
> On Thu, 6 Apr 2000, Drew Taylor wrote:
> > I have a site which uses cookies for user tracking. If you go to
> > http://cloudstock.com/, the server is sending the cookie but the browser
> > is not accepting it ("warn before accepting cookie" is on). If I
Hi Jeff,
Well, this is my personal hack to generate an id based on some code by
Randal Schwartz.
sub generate_id {
my $id_letter_count= 4;
my $id_digit_count = 4;
#my $timeout = 100;
# excluded ASCII characters [91-96]
my @lett
Kee,
I'm about to that point. What is the easiest way to do this? I have one
IP for the domain. Should I have my scripts check SERVER_NAME & do a
redirect? BTW, I have complete control over the box so I can do what I
want. :-)
Kee Hinckley wrote:
> As a complete aside to your aside, I recommend
On Thu, 6 Apr 2000, Perrin Harkins wrote:
> On Thu, 6 Apr 2000, Niral Trivedi wrote:
> > This book has a topic in it in which it has given an example using a
> > module called 'IPO::Shareable' which is available from CPAN site..
>
> =head1 NAME
>
> IPO::Shareable - Perl extension to get rich qu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
As a complete aside to your aside, I recommend against having two
domains point to the same site. Make the non-www one redirect to the
correct one. Otherwise you are going to get indexed twice by the
search engines (and twice as often) which make
You failed to mention that this module requires:
IPO::BuzzWords qw(:xml :b2b :asp :wha)
Angel::Investor
and
Location::PaloAlto qw(:noMatterWhatItCosts)
Thanks Perrin
Tobias
At 03:15 PM 4/6/00 -0700, Perrin Harkins wrote:
>=head1 NAME
>
>IPO::Shareable - Perl extens
On Thu, 6 Apr 2000, Niral Trivedi wrote:
> This book has a topic in it in which it has given an example using a
> module called 'IPO::Shareable' which is available from CPAN site..
=head1 NAME
IPO::Shareable - Perl extension to get rich quick
=head1 SYNOPSIS
use IPO::Shareable qw(:NYSE);
I tested this from my end also.
I see the cookies being properly set when I do:
lwp-request -e 'http://cloudstock.com'
I get a cookie warning from Netscape
when i get them via 'http://www.cloudstock.com'.
no cookie warning from netscape and no cookies in cookie.txt
when i access via 'http://clo
The easiest way to do a crypt with plain vanilla 4 funtion math is to turn
the string into a number, then divide the number by a large prime number.
Then take the decimal part of the answer, and truncate to the desired
length.
Marshall
"Martin A. Langhoff" wrote:
> hi list!
>
> I'm guilty o
> "GJ" == Gram, Jim <[EMAIL PROTECTED]> writes:
GJ> This is more an Apache question, but here goes. Is there any way to
GJ> modify the "Authorization Required" page received after three failed
GJ> attempts to login in using Basic Authentication (or insert a custom page) ?
GJ> Also, can
Drew Taylor wrote:
>
> Perrin Harkins wrote:
> >
> > Does your Set-Cookie header include a path setting? Some browsers require
> > that.
> Yes, it sets the path to '/'. I'm sitting here scratching my head. I'm
> doing everything I know to do and it's not working... :-(
>
> Here's the relevant c
All,
I am not sure whether this is the right group to post this question.. I
have found this thing in book "Writing Apache Modules with PERL and C"
from O'Reilly..
This book has a topic in it in which it has given an example using a
module called 'IPO::Shareable' which is available from CPAN sit
> Stas Bekman wrote:
>
> > mod_perl guide is your friend:
> > http://perl.apache.org/guide/rel/config.html#A_Script_From_One_Virtual_Host_C
Oops, sorry. I've used the URL one from my local machine. This is the
right one:
http://perl.apache.org/guide/config.html#A_Script_From_One_Virtual_Host_C
Perrin Harkins wrote:
>
> Does your Set-Cookie header include a path setting? Some browsers require
> that.
Yes, it sets the path to '/'. I'm sitting here scratching my head. I'm
doing everything I know to do and it's not working... :-(
Here's the relevant code: ($domain is 'cloudstock')
my $co
Stas Bekman wrote:
> mod_perl guide is your friend:
> http://perl.apache.org/guide/rel/config.html#A_Script_From_One_Virtual_Host_C
Apparently not.
--
Not Found
The requested URL /guide/rel/config.html was not found on this server.
Apache/1.3.9 Server at perl.apache.org
Well as another self-made programmer the idea occurs to me to grab the
modules Crypt::DES or Crypt::IDEA from CPAN might provide either a fix, or
at least insite into possible resolutions.
Jeff
CN=Jeff [EMAIL PROTECTED]> on 04/06/2000 03:02:38 PM
Sent by: "Martin A. Langhoff" <[EMAIL PRO
On Thu, 6 Apr 2000, Marshall Dudley wrote:
> We have had banners servers running on 2 different boxes for years under
> mod_perl without any problems. Recently we moved two banner servers
> onto the same box, each under a different virtual domain.
>
> Now I cannot get them to run reliably. It
On Thu, 6 Apr 2000, Drew Taylor wrote:
> I have a site which uses cookies for user tracking. If you go to
> http://cloudstock.com/, the server is sending the cookie but the browser
> is not accepting it ("warn before accepting cookie" is on). If I go to
> http://www.cloudstock.com/ the cookie is s
Dear Mod_perlers,
This is more an Apache question, but here goes. Is there any way to
modify the "Authorization Required" page received after three failed
attempts to login in using Basic Authentication (or insert a custom page) ?
Also, can the number of attempts before failure be modified?
Cliff,
I thought about that, but according to the CGI.pm docs (and the netscape
cookie specs too), you have to have at least two(2) dots so that you
can't match things like .edu or .com. The .domain.com is supposed to
match all hosts containing domain.com. Argh! Thanks for the thought,
I'll look
The domain in the Set-Cookie header is '.cloudstock.com'. According
to
every spec I've read, this should work properly. I telnetted to
just a guess here but,
'cloudstock.com' does not match '.cloudstock.com'
when you set the domain as '.cloudstock.com' you are saying
that the domain should e
hi list!
I'm guilty of being a self taught programmer, and so, from time to
time, I find myself asking silly questions. Hope you don't mind too
much.
[if you do, flame me privately, please ... lets keep my shame
between the two of us]
ok, what I'm looking for is a poor man's crypt()
Hi all,
This post is a little off topic, but since I'm using mod_perl... here
goes. :-)
I have a site which uses cookies for user tracking. If you go to
http://cloudstock.com/, the server is sending the cookie but the browser
is not accepting it ("warn before accepting cookie" is on). If I go to
>From: Nicolas MONNET <[EMAIL PROTECTED]>
>To: Valter Mazzola <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: NT/IIS/PerlEx vs ASP : stupid benckmark
>Date: Thu, 6 Apr 2000 20:35:00 +0200 (CEST)
>
>On Thu, 6 Apr 2000, Valter Mazzola wrote:
>|i've made a stupid unscientific benckmark:
>|
I was writing a debugging routine and came across an issue I have not been
able to resolve. Basically, I have a reference and I would like to get the
identifier of the variable to which it refers.
For example:
my $foo = 5;
debugDisplay(\$foo);
sub debugDisplay
{
my ($var_ref) = @_;
Does anybody know how to track down what is causing this error. It seems that
Apache::Registry is trying to undefine some handler,
but I don't know what handler or where. Any ideas?
[Thu Apr 6 11:06:26 2000] [error] Can't undef active subroutine at
/usr/lib/perl5/site_perl/5.005/i386-linux/
does anybody know where is the mailling list
for any of followings?
apache
inn news server
sendmail
Unix Admin
thanks,
Gordon Wu
It should be easy enough --:
tow different virtual domain in one Unix box should
have no problem at all (even over hundereds).
Solution: for each v-host, use seperate cgi-bin dir
this is setup inside your apache web server:
httpd.conf file,
in the V-host block.
Gordon Wu
> -Origina
We have had banners servers running on 2 different boxes for years under
mod_perl without any problems. Recently we moved two banner servers
onto the same box, each under a different virtual domain.
Now I cannot get them to run reliably. It appears that since the
banners in each are run as /cgi
On Thu, 6 Apr 2000, Valter Mazzola wrote:
|i've made a stupid unscientific benckmark:
|
|the program loops 100 and print a series of "a ", PerlEx takes the same
|time as ASP (same NT machine) , BUT processor goes 100% with PerlEx, 45%
|with ASP.
|
|Can someone benchmark mod_perl under Win32,
I got this msg.
Gordon Wu
> -Original Message-
> From: J. Horner [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 06, 2000 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: test
>
>
> Is the mailing list down?
>
> 2000/04/06 13:14 (GMT -05:00)
>
> J. J. Horner
> Linux, Apache, Perl, Unix
Is the mailing list down?
2000/04/06 13:14 (GMT -05:00)
J. J. Horner
Linux, Apache, Perl, Unix, Stronghold
[EMAIL PROTECTED] http://www.knoxlug.org
System has been up: 5 days.
Why not make a benckmark between ASP, PerlEX, mod_perl under Win32 ?
Using the same hardware and same (ported to asp) simple scripts.
CAn be useful to have a small script that connects to an access db and
performs some simple query.
thank you,
valter
__
>From: Gunther Birznieks <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>CC: [EMAIL PROTECTED]
>Subject: Re: mod_perl compat on win32? RE: mod_perl weaknesses? help me
>build a case
>Date: Thu, 06 Apr 2000 13:40:51 +0800
>
>
>
>Soulhuntre wrote:
>
> > Hiya :)
> >
> > > -Original Message
Yeah...
http://perl.apache.org/guide/strategy.html#One_Plain_Apache_and_One_mod_per
Soulhuntre wrote:
> Hiya :)
>
> OK... mod_perl embeds an instance of Perl inside the Apache system, and with
> Apache::ASP allows us to mix perl/html. Good :)
>
> The problem is that these processes are 'heavy'.
Soulhuntre wrote:
> Hiya :)
>
> > -Original Message-
> > From: Gunther Birznieks [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 06, 2000 6:56 AM
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Win32/Linux cross dev... closing in :) Last comments?
> >
> >
> > Writing Apache::Registry an
I don't understand how to do that. Let's say that I have an Intranet
HTML-file at "intranethost1" with three links (anchors):
http://intranethost1/index.html>
http://intranethost2/index.html>
http://www.sunet.se/index.html>
These should be sent to the client as
https://gatewayserver/virtualhos
Hiya :)
> -Original Message-
> From: Gunther Birznieks [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 06, 2000 6:56 AM
> Cc: [EMAIL PROTECTED]
> Subject: Re: Win32/Linux cross dev... closing in :) Last comments?
>
>
> Writing Apache::Registry and then moving to PerlEx will have greate
Hiya :)
OK... mod_perl embeds an instance of Perl inside the Apache system, and with
Apache::ASP allows us to mix perl/html. Good :)
The problem is that these processes are 'heavy'.
Is there any way to simulate the actions of "Velocigen" in that we could
have a few (configurable number) of perl
Writing Apache::Registry and then moving to PerlEx will have greater performance
than writing Apache::ASP and moving to PerlScript Pages on IIS. However, the
performance difference is probably not that great compared to using CGI on both
platforms.
Later,
Gunther
Soulhuntre wrote:
> Hiya :)
>
Hiya :)
Thanks for all the help so far, it has proved VERY valuable.
We have narrowed our architecture down a lot over the last few days.
We will work with mod_perl/Apache/Apache::ASP under Linux. And we will use
Activestate's PerlScript under Win32. We will avoid as many "ASPisms" as we
can, a
54 matches
Mail list logo