Hurricane Electric's IPv6 Tunnel Broker Forums

General IPv6 Topics => IPv6 Basics & Questions & General Chatter => Topic started by: cconn on March 22, 2011, 12:20:56 PM

Title: Clever IP addressing
Post by: cconn on March 22, 2011, 12:20:56 PM
So likely everyone has seen facebook's clever IP;

2620:0:1cfe:face:b00c::3

and I have seen a couple of :b00b:babe. 

Sprint has won the prize for shortest and geekiest address to date (good IP to use on your cert testing, btw);

www.sprint.net.         3102    IN      AAAA    2600::

2600:: , who can forget that?  Phreaky  8)

Anyone got any other clever IPs I could use in my network??  :P
Title: Re: Clever IP addressing
Post by: jgeorge on March 22, 2011, 01:11:08 PM
I remember that Sun boxes mark uninitialized memory as 0xDEADBEEF so you can see it in a dump.

A little bit of searching your local system's spelling dictionary would result in a lot of possibilities of varying usefulness (coffee, cafe babe, doodad, face, and food are probably useful, "fabaceae" less so :)

This works for me on a Mac, and should wok on most Unix systems as well:

#/usr/bin/ruby
File.readlines('/usr/share/dict/words').map {|l| l.rstrip.downcase}.find_all{|w| (w.split('').sort.uniq - ["a","b","c","d","e","f","o"]).size == 0 }.uniq.each{|w| puts w.gsub("o","0") if w.size > 1}


I don't remember where I saw this little code snippet, I think it was someone else here that posted it, kudos to whoever it was, it's certainly not my code. Ruby makes my spleen hurt. :)

Cheers,

Joe
Title: Re: Clever IP addressing
Post by: snarked on March 23, 2011, 11:43:33 AM
Look up "spam.snarked.net" - I'm claiming the prize!

Quote; <<>> DiG 9.8.0 <<>> spam.snarked.net aaaa
...
;; ANSWER SECTION:
spam.snarked.net.       172800  IN      AAAA    2001:db8:c001:bad:dead:beef:cafe:babe
...And it even makes sense too!
Title: Re: Clever IP addressing
Post by: packetmail on March 24, 2011, 05:55:23 PM
I had 'feed:babe:dead:beef' at one time, just for grins.
Title: Re: Clever IP addressing
Post by: kirbini on March 25, 2011, 01:57:32 PM
@jgeorge:  I tried that code on my Snow Leopard Mac and it throws an error.  Unfortunately while I can hack my way through most scripting languages I'm at a loss here...

line 2: syntax error near unexpected token `'/usr/share/dict/words''
Title: Re: Clever IP addressing
Post by: jgeorge on March 28, 2011, 10:21:16 AM
Quote from: kirbini on March 25, 2011, 01:57:32 PM
@jgeorge:  I tried that code on my Snow Leopard Mac and it throws an error.  Unfortunately while I can hack my way through most scripting languages I'm at a loss here...

line 2: syntax error near unexpected token `'/usr/share/dict/words''

Copy and paste those 2 lines into a shell script and then run it:

vi /tmp/hexwords
(paste stuff into vi and save it)
chmod a+x /tmp/hexwords
/tmp/hexwords
....[output]
Title: Re: Clever IP addressing
Post by: Mierdin on March 31, 2011, 05:58:16 PM
I was showing some IPv6 configs for a thesis project and I accidentally showed:

dead:deaf:babe

in an address