[patch] checking loopback ip address for ipv4?

Stefan (metze) Metzmacher metze at samba.org
Thu Sep 4 18:46:21 GMT 2008


boyang schrieb:
> Hi, everybody:
>       First I am quite sorry that I didn't realize the format to send
> email. I am quite sorry for the inconvenience.
>      
>       According to RFC3330 and RFC1700, 127.0.0.0/8 is used for loopback
> address. Therefore, it is not enough just to check 127.0.0.1, any
> address resides in 127.0.0.0/8 is loopback address. The issue appears in
> net ads dns register, somebody has configured 127.0.0.2 to loopback
> interface, and it is registered with dns, which is not right.
>       It is true that 127.0.0.1 is the popular way that is used by
> loopback interface, but there is always exceptions that somebody uses
> other address in 127.0.0.0/8 as loopback address.
>       patch for v3-[023]-test and v3-devel arrive in attachment, please
> review it.

Hi,

are you sure this doesn't break 'make test'?

We may need some more magic...

metze


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20080904/2277fc84/signature.bin


More information about the samba-technical mailing list