logo       

Re: How to ban an IP Address to access my Server: msg#00095

java.jetty.support

Subject: Re: How to ban an IP Address to access my Server


Such a handler is provided with Jetty:

src/org/mortbay/http/handler/IPAccessHandler.java

Althought Eoins comments about this not being a real firewall hold true.

cheers


Eoin Woods wrote:> You normally wouldn't use an HTTP server to implement a
firewall. A
> firewall is normally a piece of hardware which you configure to permit
> or deny access to certain types of traffic or alternatively you can get
> software firewalls which perform the same job in the OS's network
> layer. The advantage of this approach is that you stop the traffic
> getting into your network at all.
>
> Having said that, you could create a Jetty handler or servlet filter
> which checked the client address and rejected it if it didn't like it.
> However, in this case you're relying much more on the security of your
> operating system and Jetty than in the firewall case.
>
> Eoin.
>
> -----Original Message-----
> *From:* ratan <ratan_njit@xxxxxxxxx> [mailto:ratan_njit@xxxxxxxxx]
> *Sent:* 09 December 2002 09:40
> *To:* jetty-support@xxxxxxxxxxxxxxx
> *Subject:* [jetty-support] How to ban an IP Address to access my Server
>
> Hello,
> I am implementing a firewall for HTTP server.once i start my Jetty
> HTTP server then anyone can access my server with ipaddress followed
> by :8080.I think iam right so far.
>
> now I want to block a machine to access my HTTP server,which is
> blocking a specific IP address to access the server.
> how can I do that.please help me with that.
>
> Please reply asap.
> Thank You.
> Regards.
> Ratan
>
>
>
> For the latest information about Jetty, please see
> http://jetty.mortbay.org
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/>.
>
>
> *Yahoo! Groups Sponsor*
> ADVERTISEMENT
> <http://rd.yahoo.com/M=234081.2711418.4084139.1925585/D=egroupweb/S=1705375618:HM/A=1328027/R=0/*http://ad.doubleclick.net/clk;4870030;7586687;u?http://www.ameriquestmortgage.com/welcome.html?ad=Yahoo01>
>
>
> For the latest information about Jetty, please see http://jetty.mortbay.org
>
>
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/>.



--
Greg Wilkins<gregw@xxxxxxxxxxx> Phone/fax: +44 7092063462
Mort Bay Consulting Australia and UK. http://www.mortbay.com


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/CefplB/TM
---------------------------------------------------------------------~->

For the latest information about Jetty, please see http://jetty.mortbay.org



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise