You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lyndsay Roger
28c68c9ab6
|
9 years ago | |
---|---|---|
.gitignore | 9 years ago | |
LICENSE | 9 years ago | |
README.md | 9 years ago | |
main.go | 9 years ago |
README.md
nonstd
Go Language utility to encode/decode ip addresses for the Twister Network
This is a toool I created for the dns seeder for the Twister P2P network
This tool allows you to test a DNS server and check it is returning the correct information.
NOTE: This repository is under ongoing development and is likely to break over time. Use at your own risk.
Installing
Simply use go get to download the code:
$ go get github.com/gombadi/nonstd
Usage
$ nonstd -h <dns server to test>
$ nonstd -i ipaddress -p port // to see an encoded ip for a real ip & port
$ nonstd -t1 ipaddress -t2 ipaddress // check if these two ip addresses are associated and if so display the port
Command line Options:
Usage of nonstd:
-h string
DNS host to query for addresses
-i string
Real ip to encode
-p string
Port encode
-t1 string
Single ip to test. Also needs -t2
-t2 string
Single ip to test. Also needs -t1
-v Display additional information