This patch reduces the 127.X IP range restriction to only 127.0.0.0/9, so that 127.128.0.0/9 can be used for external communications. --- linux-2.4.32-ld15.1/include/linux/in.h 2006-02-27 18:34:57.000000000 +0100 +++ linux-2.4.32-ld15.2/include/linux/in.h 2006-02-09 16:32:19.000000000 +0100 @@ -226,7 +226,7 @@ /* Address to loopback in software to local host. */ #define INADDR_LOOPBACK 0x7f000001 /* 127.0.0.1 */ -#define IN_LOOPBACK(a) ((((long int) (a)) & 0xff000000) == 0x7f000000) +#define IN_LOOPBACK(a) ((((long int) (a)) & 0xff800000) == 0x7f000000) /* Defines for Multicast INADDR */ #define INADDR_UNSPEC_GROUP 0xe0000000U /* 224.0.0.0 */ @@ -240,7 +240,7 @@ #ifdef __KERNEL__ /* Some random defines to make it easier in the kernel.. */ -#define LOOPBACK(x) (((x) & htonl(0xff000000)) == htonl(0x7f000000)) +#define LOOPBACK(x) (((x) & htonl(0xff800000)) == htonl(0x7f000000)) #define MULTICAST(x) (((x) & htonl(0xf0000000)) == htonl(0xe0000000)) #define BADCLASS(x) (((x) & htonl(0xf0000000)) == htonl(0xf0000000)) #define ZERONET(x) (((x) & htonl(0xff000000)) == htonl(0x00000000))