[Dspace-tech] Blocking an IP from accessing DSpace

2007-02-16 Thread George Kozak
Hi...

I wonder if anyone has successfully blocked an IP from accessing content in 
DSpace.  I usually block IP's in Apache, but my attempts to do so with 
DSpace have not been successful.

Does anyone have any suggestions on how I can restrict an abusive IP ?

***
George Kozak
Coordinator
Web Development and Management
Digital Media Group
504 Olin Library
Cornell University
607-255-8924
***
[EMAIL PROTECTED] 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Blocking an IP from accessing DSpace

2007-02-16 Thread Mark Diggory
There is a remote restriction valve you can place in tomcats  
server.xml to block certain IP. But I'm not so sure its as low level  
as you get out of Apache or Packet Filtering in Linux

Valve className=org.apache.catalina.valves.RemoteAddrValve deny=61 
\.145\.233\.118 /

-Mark

On Feb 16, 2007, at 4:39 PM, George Kozak wrote:

 Hi...

 I wonder if anyone has successfully blocked an IP from accessing  
 content in
 DSpace.  I usually block IP's in Apache, but my attempts to do so with
 DSpace have not been successful.

 Does anyone have any suggestions on how I can restrict an abusive IP ?

 ***
 George Kozak
 Coordinator
 Web Development and Management
 Digital Media Group
 504 Olin Library
 Cornell University
 607-255-8924
 ***
 [EMAIL PROTECTED]


 -- 
 ---
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to  
 share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php? 
 page=join.phpp=sourceforgeCID=DEVDEV
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech

~
Mark R. Diggory - DSpace Systems Manager
MIT Libraries, Systems and Technology Services
Massachusetts Institute of Technology
Office: E25-131
Phone: (617) 253-1096



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Blocking an IP from accessing DSpace

2007-02-16 Thread Graham Triggs
From: George Kozak [EMAIL PROTECTED]
 Does anyone have any suggestions on how I can restrict an abusive IP ?

I don't have any experience in doing this, and how you would go about it 
depends on your situation (choice of application server, whether you want to 
restrict all access to DSpace, or just specific pages, etc.).

But if you are hosting on Tomcat, want to block access across the entire 
DSpace application (or even across the entire host or everything served by 
Tomcat), and haven't done so already, then you ought to start by looking at 
the Remote Address Filter valve

http://tomcat.apache.org/tomcat-5.5-doc/config/valve.html

It's configurable at Engine (whole of Tomcat), Host (domain), or Context 
(single web application) level. If you wish (or can get away with) 
restricting only at the level of the application, then you can do so 
supplying a Context definition in the file /META-INF/context.xml within the 
war.

G 

This email has been scanned by Postini.
For more information please visit http://www.postini.com


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech