according to the doco, you have it correct.
The order is not relevant, the last parameter is the order. Highest has
precedence (see doco)
I would use 127.0.0.1 255.255.255.255 though.
I use that here with a php/web interface to ctrl server.

I am using w2k sp3/xmail 1.15
Just tested using ctrlclnt and it failed when I specified the server ip on
the cmd line.
I added my local ip address to the ctrl.ipmap.tab with all 255's mask, and
it worked.
I then tested specifying 127.0.0.1 on the cmd line and removed the local ip
from the ctrl.ipmap.tab, leaving just the 0.0.0.0 deny and the 127.0.0.1
allow (as per your example) and it works.

Rob :-)

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Michael Harrington
> Sent: Thursday, July 17, 2003 4:52 PM
> To: [EMAIL PROTECTED]
> Subject: [xmail] Re: ctrl.ipmap and localhost question
>
>
>
> I could be wrong, but try reversing it... setup your allows before your
> denies.  Just a thought.
>
> -Mike
>
> ----- Original Message -----
> From: "Nepomucky Radek" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 16, 2003 11:33 PM
> Subject: [xmail] ctrl.ipmap and localhost question
>
>
> >
> > Hi everybody,
> >
> > I'm new to XMail and I have a small problem.
> > I'm trying to secure access to CtrlCntl Xmail administration - I want to
> > restrict access to specific set of IP addresses. I think I
> understand the
> > format of ctrl.ipmap.tab file and I'm able to configure
> everything I want
> > except the access from localhost using loopback IP address 127.0.0.1.
> >
> > I'm running xmail v 1.16 on Windows 2000 Workstation SP4. On the same
> > computer I'm trying to open telnet connection to xmail. It is succesful
> > using computer name or real IP address of the computer. But using
> > "localhost" or IP address "127.0.0.1" I'm getting following response:
> >
> > -00140 Server does not like Your IP
> >
> > Connection to host lost.
> >
> > My ctrl.ipmap.tab file looks like:
> >
> > "0.0.0.0"[TAB]"0.0.0.0"[TAB]"DENY"[TAB]1
> > "192.168.0.0"[TAB]"255.255.255.0"[TAB]"ALLOW"[TAB]2
> > "127.0.0.1"[TAB]"255.255.255.0"[TAB]"ALLOW"[TAB]2
> >
> > Of course [TAB] is replaced by real tab character. I was
> frustrated and I
> > tried all following combinations of ip addresses and subnet masks (no
> mather
> > if they are correct or no) in one file, still no luck:
> > 127.0.0.0/255.255.255.0
> > 127.0.0.1/255.255.255.0
> > 127.0.0.0/255.255.255.255
> > 127.0.0.1/255.255.255.255
> > 127.0.0.0/0.0.0.0
> > 127.0.0.1/0.0.0.0
> >
> > Can anyone help please? Thanks
> >
> > Radek
> >
> > PS: Sorry for my english but I hope you will understand my question.
> > ---
> > Odchozí zpráva neobsahuje viry.
> > Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
> > Verze: 6.0.501 / Virová báze: 299 - datum vydání: 14.7. 2003
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe xmail" in
> > the body of a message to [EMAIL PROTECTED]
> > For general help: send the line "help" in the body of a message to
> > [EMAIL PROTECTED]
> >
>
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
>
>

-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to