Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 May 2007 09:45:01 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Olaf Greve <o.greve@axis.nl>
Cc:        faqfreebsd Questions <freebsd-questions@freebsd.org>, Koos van den Hout <koos@kzdoos.xs4all.nl>
Subject:   Re: How to make Apache (2.2.4) less greedy, or Sendmail less polite? [semi-solved]
Message-ID:  <7E85FDE7-87BA-4A48-B129-1084A6068988@mac.com>
In-Reply-To: <405942B8-7714-4F57-914F-24F12DFB206A@axis.nl>
References:  <2BEB30C2-C9C5-43AB-9DCA-5C9A1B0AC2C0@axis.nl> <20070504111105.GA13599@kzdoos.xs4all.nl> <405942B8-7714-4F57-914F-24F12DFB206A@axis.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On May 8, 2007, at 5:51 AM, Olaf Greve wrote:
[ ... ]
> -Can anyone recommend me proper anti spam authorities to whom I can  
> report the IP addresses that caused the issues on my machine?

Try doing a WHOIS lookup on the IP address, and send a report  
containing sample httpd-access log lines or the message-board spam to  
the abuse contacts, if listed.  In some cases, WHOIS does not return  
useful info-- in which case, doing a traceroute and noting the ISP  
used for the last few hops will probably do.

> -At present, in Apache I have added:
> <Location ~ "store_comments_script.php">
>     Order deny,allow
>     Deny from all
> </Location>
> Can anyone tell me of a good way to only ever allow calls to this  
> script coming from the proper previous script, or should this be  
> handled from PHP itself?  Perhaps this question isn't very clear,  
> but what I'm looking for is a way to block any and all direct calls  
> to this script, that originate from anywhere but from the  
> photography site itself.

Add something like "Allow from localhost" to the Location block  
quoted above?

-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7E85FDE7-87BA-4A48-B129-1084A6068988>