[Xitami] Block an ip

miplanet xitami@lists.xitami.org
Wed, 7 May 2003 17:35:41 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_000C_01C314BF.14DFB4A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Guys, Guys,

Take a look at this I found in the xitami.cfg, I think this is what I'm
looking for. I have tested it by putting an ! in front of the IP address I
want to block then a comma * to give access to all others. As far as I can
tell it will work. At least it didn't block a friend from connecting. But I
don't know if it will block the IP of the offender yet.

#   Limits the set of clients that can connect to the HTTP server.
#   This provides an easy way of creating an extranet web service -
#   you can put your server on the Internet, but allow access to a
#   fixed set of IP addresses. Use 'webmask=local' to specify just
#   local addresses, or 'webmask=item,item,...' to specify one or more
#   types of access. Each item allows or excludes some IP address(es):
#   '250.12.13.*' allows matching addresses, '!250.12.13.*' excludes
#   matching addresses (but does not allow others). '!250.12.13.*,*'
#   excludes one set of addresses and allows all others.
#   'webmask=@iplist.txt' reads the list of webmasks from a text file.

    webmask=




 -----Original Message-----
From: xitami-admin@lists.xitami.org [mailto:xitami-admin@lists.xitami.org]On
Behalf Of admin@zonacharrua.com
Sent: Wednesday, May 07, 2003 5:28 PM
To: xitami@lists.xitami.org
Subject: [Xitami] Block an ip


  Maybe you can manage blocking the ip just to port 80, asumming that this
is
  the port you use tu run xitami on....

  just a thought.

  As far as I know Xitami it selv canīt deny acces from an ip...

  Luck to you:

  Carlos

------=_NextPart_000_000C_01C314BF.14DFB4A0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><SPAN class=3D834093021-07052003><FONT face=3DArial color=3D#0000ff =
size=3D2>Guys,=20
Guys,</FONT></SPAN></DIV>
<DIV><SPAN class=3D834093021-07052003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D834093021-07052003><FONT face=3DArial color=3D#0000ff =
size=3D2>Take a=20
look at this I found&nbsp;in the xitami.cfg, I think this is what I'm =
looking=20
for. I have tested it by putting an ! in front of the IP address I want =
to block=20
then a comma * to give access to all others. As far as I can tell it =
will work.=20
At least it didn't block a friend from connecting. But I don't know =
if&nbsp;it=20
will block the IP of the offender yet. &nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D834093021-07052003><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D834093021-07052003><FONT face=3DArial =
size=3D2>#&nbsp;&nbsp; Limits=20
the set of clients that can connect to the HTTP server.<BR>#&nbsp;&nbsp; =
This=20
provides an easy way of creating an extranet web service =
-<BR>#&nbsp;&nbsp; you=20
can put your server on the Internet, but allow access to =
a<BR>#&nbsp;&nbsp;=20
fixed set of IP addresses. Use 'webmask=3Dlocal' to specify =
just<BR>#&nbsp;&nbsp;=20
local addresses, or 'webmask=3Ditem,item,...' to specify one or=20
more<BR>#&nbsp;&nbsp; types of access. Each item allows or excludes some =
IP=20
address(es):<BR>#&nbsp;&nbsp; '250.12.13.*' allows matching addresses,=20
'!250.12.13.*' excludes<BR>#&nbsp;&nbsp; matching addresses (but does =
not allow=20
others). '!250.12.13.*,*'<BR>#&nbsp;&nbsp; excludes one set of addresses =
and=20
allows all others.<BR>#&nbsp;&nbsp; <A =
href=3D"mailto:'webmask=3D@iplist.txt'"><FONT=20
color=3D#000000>'webmask=3D@iplist.txt'</FONT></A> reads the list of =
webmasks from a=20
text file.</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><SPAN class=3D834093021-07052003><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
webmask=3D</FONT></SPAN></DIV>
<DIV><SPAN class=3D834093021-07052003></SPAN><FONT face=3DTahoma><FONT =
size=3D2><SPAN=20
class=3D834093021-07052003><FONT face=3DArial=20
color=3D#0000ff>&nbsp;</FONT></SPAN></FONT></FONT></DIV>
<DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20
class=3D834093021-07052003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20
class=3D834093021-07052003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20
class=3D834093021-07052003></SPAN></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=3DTahoma><FONT size=3D2><SPAN=20
class=3D834093021-07052003>&nbsp;</SPAN>-----Original =
Message-----<BR><B>From:</B>=20
xitami-admin@lists.xitami.org =
[mailto:xitami-admin@lists.xitami.org]<B>On Behalf=20
Of </B>admin@zonacharrua.com<BR><B>Sent:</B> Wednesday, May 07, 2003 =
5:28=20
PM<BR><B>To:</B> xitami@lists.xitami.org<BR><B>Subject:</B> [Xitami] =
Block an=20
ip<BR><BR></DIV></FONT></FONT>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV>Maybe you can manage blocking the ip just to port 80, asumming =
that this=20
  is<BR>the port you use tu run xitami on....<BR><BR>just a =
thought.<BR><BR>As=20
  far as I know Xitami it selv can=B4t deny acces from an =
ip...<BR><BR>Luck to=20
  you:<BR><BR>Carlos<BR></DIV></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_000C_01C314BF.14DFB4A0--