Re: [exim] Problem relaying from local subnet

Página Inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
Para: exim-users, Chris Edwards
CC: 
Assunto: Re: [exim] Problem relaying from local subnet
On Mon, 12 Dec 2005, Jakob Hirsch wrote:

> I plea for keeping the syntax requirement of 4 components, but raising an
> error if it contains only digits (and is not an IP address).


That's what I plan to do.

> | (a) 192.168.1/24   presumably means  192.168.1.0/24  (otherwise what's 
> |     the point of the 1?)

>
>
> That seems to depend - e.g:
>
>   nmap 192.168.1/24 actually scans 192.168.0.0/24
>                                            ^


Oho! So it is expanding the IP address according to the "original
rules", getting 192.168.0.1, and then applying the mask.

> I don't know what's the point of the 1 - it seems to be ignored. At
> least, on Linux. Trying the same on Solaris the 1 *is* obeyed - ie. it
> scans 192.168.1.0/24 !


This is more evidence that convinces me that the best thing is to insist
on 4 components and give an error for anything else.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book