SixXS::Sunset 2017-06-06

IPv6 tools command line interface
[il] Shadow Hawkins on Thursday, 12 August 2004 10:36:14
I've written a python script with some useful IPv6 functions Give it a try and tell me what you think :) Download the script at www.jackknife.tv/omri/ipv6.py
$ python -u ipv6.py type help for a list of commands ipv6# help IPv6 tools v0.1 by omri(omri@magniv.org) subnet <subnet>/<prefixlen> prints out information about a subnet, such as begin IP, end IP and subnet length ipv6 <address> prints out the IPv6 address in its long form ptr <address> [arpa\int] prints the PTR address of a given IPv6 address exit\quit exit the program :( ipv6# subnet 2000::/3 2000:0000:0000:0000:0000:0000:0000:0000 - 3FFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF (42535295865117307932921825928971026432 IPs total) ipv6# ipv6 2001:6f8:900:2ed::2 2001:06F8:0900:02ED:0000:0000:0000:0002 ipv6# ptr 2001:6f8:900:2ed::2 2001:06F8:0900:02ED:0000:0000:0000:0002 PTR address 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.e.2.0.0.0.9.0.8.f.6.0.1.0.0.2.ip6.int ipv6# ptr 2001:6f8:900:2ed::2 arpa 2001:06F8:0900:02ED:0000:0000:0000:0002 PTR address 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.d.e.2.0.0.0.9.0.8.f.6.0.1.0.0.2.ip6.arpa ipv6# exit bye :(
IPv6 tools command line interface
[nl] Shadow Hawkins on Saturday, 21 August 2004 14:56:03
Handy script for generating PTR records, helps against making typo's :). I suggest adding '#!/usr/local/bin/python -u' as the first line (obviously, people have to correct the path to their python executable in their environment) for easier usage. Another suggestion, incorporate extensive traceroute, ping, dns, multicast and snmp functions to make it a true ipv6 toolkit :).

Please note Posting is only allowed when you are logged in.

Static Sunset Edition of SixXS
©2001-2017 SixXS - IPv6 Deployment & Tunnel Broker