ip6addr: Commandline tool to generate IPv6 address text representations

[ bsd3, console, network, program ] [ Propose Tags ]

Commandline tool to generate IPv6 address text representations


[Skip to Readme]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.2, 0.3, 0.3.1, 0.3.2, 0.3.3, 0.4.0.0, 0.5.0.0, 0.5.0.1, 0.5.1.0, 0.5.1.2, 0.5.1.3, 0.5.1.4, 0.5.2, 0.5.3, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4 (info)
Dependencies base (>=4.8 && <5), cmdargs (>=0.10.13 && <0.11), IPv6Addr (>=0.6.0.2 && <0.7), text (>=1.2.2 && <1.3) [details]
License BSD-3-Clause
Copyright Copyright (c) 2011-2016 - Michel Boucey
Author Michel Boucey
Maintainer michel.boucey@cybervisible.fr
Revised Revision 1 made by MichelBoucey at 2016-12-29T08:30:49Z
Category Network, Console
Home page https://github.com/MichelBoucey/ip6addr
Source repo head: git clone https://github.com/MichelBoucey/ip6addr.git
Uploaded by MichelBoucey at 2016-12-26T16:46:43Z
Distributions LTSHaskell:1.0.4, NixOS:1.0.4, Stackage:1.0.4
Reverse Dependencies 1 direct, 0 indirect [details]
Executables ip6addr
Downloads 11799 total (60 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2016-12-26 [all 3 reports]

Readme for ip6addr-0.5.2

[back to package description]

ip6addr Build Status

A commandline tool that validates and generates IPv6 address text representations

  • Canonical, in conformation with RFC 5952 (default output)
  • Pure, i.e. rewriting IPv4 address if present
  • Full length
  • Reverse lookup domain name, in conformation with RFC 3596 Section 2.5
  • Windows UNC path name
  • Random generation for test purpose
    [user@box ~]$ ip6addr -a 0:0::FFFF:192.0.2.128  
    ::ffff:192.0.2.128  
    [user@box ~]$ ip6addr -o pure -a 0:0::FFFF:192.0.2.128  
    ::ffff:c000:280  
    [user@box ~]$ ip6addr -o arpa -a 0:0::FFFF:192.0.2.128  
    0.8.2.0.0.0.0.c.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA.  
    [user@box ~]$ ip6addr -o unc -a 2001:db8:85a3:8d3:1319:8a2e:370:7348
    2001-db8-85a3-8d3-1319-8a2e-370-7348.ipv6-literal.net    
    [user@box ~]$ ip6addr -o full -a 0:0::FFFF:192.0.2.128  
    0000:0000:0000:0000:0000:ffff:c000:0280  
    [user@box ~]$ ip6addr -o random  
    ca18::654a:57ab:2ed7  
    [user@box ~]$ ip6addr -o random -q 4  
    488:f7f3:7f7e::6ffd  
    5b8b:8ab4::f0b8  
    f191:ecc9:8193:8a2:104c:fec1:0:8c4d  
    af3b:3ffd:8302:6c56::8623:26  
    [user@box ~]$ ip6addr -o random -q 3 -p 1234:1ab2::  
    1234:1a2b::cda6:cf2a:bb1d:d70b  
    1234:1a2b::362c:8295:f546:a43a  
    1234:1a2b::1121:ca16:ab5:688a