Skip to content

gilsllendo/net-tls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NET-TLS

Features:

  • Convert IPv4/IPv6 string to number.
  • Conver number to IPv4/IPv6.

Getting Started:

Requirements:

  • Go 1.21

Installation

  1. Clone the repository:
git clone https://github.com/gilsllendo/net-tls.git
cd net-tls
  1. Install dependencies:
go mod tidy
  1. Build the project:
make build

Usage:

ATON:

To convert IP to number a user must provider a appropriate flag and valid IP addres. For example, to convert IPv4 the user have to pass -4 flag or -6 for IPv6:

net-tls aton -4 10.0.0.0
net-tls aton -6 ::1

NTOA:

To convert a number to a valid IP address a user have to pass correct flag (define which IP version should number be converted) and number value:

net-tls ntoa -4 1643254
net-tls ntoa -6 3421312412344213

License:

This project is licensed under the MIT License. See the LICENSE file for details.

About

IPv4/IPv6 simple toolset

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors