ip6addr

 

ip6addr is a command line tool written in Haskell for filtering IPv6 addresses parsed against RFC 4291. By default, ip6addr outputs only validated inputs, i.e. IPv6 addresses. Option -e throws out discarded inputs to stderr, which have to be redirected.

ip6addr is released under the BSD3 license

user@shell ~$ ip6addr 56f5::ad47:145.67.34.10 badinputs 78bb::67c3:6
56f5:ad47:145.67.34.10
78bb::67c3:6
user@shell ~$ ip6addr -e c7b4:78dd:543f::459a badinputs ::1 2> garbage.log
c7b4:78dd:543f::459a
::1
user@shell ~$ cat garbage.log
badinputs

 

With haskell Platform and cabal installed, you just  have to run "cabal install ip6addr".

Downloading the Cabal packages source :

Downloading pre-compiled binaries :

Find all this project on Google Code, included the Mercurial repository.

Feedbacks are wellcome, so feel free to contact us

 

CyberVisible est une marque française déposée | Mentions légales