Well for the IP Adress you can use a DNS Query on the Url.. For the Mac address you need to query the Server directly, but most are set not to answer this type of query...

Gremmy..