[More appropriate on IIU or technobabble...]
> exactly how bad is this?
>> it's ugly, but is it bad?
IMHO, yes. Remember that the private address that
you leak could be in use within the network of the machine
that sees it. So, say for example, you advertise 192.168.1.1
to the world. A machine in Ugabu Inc in Botswandu also has
this address. Another machine in Ugabu, for some reason, tries
to connect to your 192.168.1.1 (for, say, a DNS or HTTP request),
but instead gets Ugabu's own 192.168.1.1 machine. At best, the
error message (if present) will be confusing to the user and the
Ugabu sysadmin may be scratching his head for a while. At worst,
you could, theoretically, cause much more damage. I'll leave
the elaboration of this for the guys on vuln-dev or Bugtraq :-)
Basically don't do it.
...and I'll tell Kevin if you do :-)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!