All Projects → troglobit → netcalc

troglobit / netcalc

Licence: BSD-3-Clause License
Simplified clone of sipcalc with ipcalc looks

Programming Languages

c
50402 projects - #5 most used programming language
shell
77523 projects
Roff
2310 projects
Makefile
30231 projects
M4
1887 projects
awk
318 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to netcalc

ipv6calc
ipv6calc
Stars: ✭ 33 (-8.33%)
Mutual labels:  ipv6, ipv4-calculator
netcalc
Advanced network calculator and address planning helper
Stars: ✭ 20 (-44.44%)
Mutual labels:  ipv6, netcalc
IP2Location-PHP-Module
This module is a PHP module that enables the user to find the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, mobile, usage types, address type, IAB category, etc that any IP address or host name originates from.
Stars: ✭ 154 (+327.78%)
Mutual labels:  ipv6
go-inet
A Go library for reading, formatting, sorting, lookup and converting IP-addresses and IP-blocks
Stars: ✭ 14 (-61.11%)
Mutual labels:  ipv6
freebind
IPv4 and IPv6 address rate limiting evasion tool
Stars: ✭ 88 (+144.44%)
Mutual labels:  ipv6
dhcpkit
A DHCP library and server written in Python
Stars: ✭ 55 (+52.78%)
Mutual labels:  ipv6
go-net-radix
Go bindings for radix tree library for fast subnet (IPv4 and IPv6) lookups
Stars: ✭ 37 (+2.78%)
Mutual labels:  ipv6
bacnet-stack
BACnet Protocol Stack library provides a BACnet application layer, network layer and media access (MAC) layer communications services.
Stars: ✭ 199 (+452.78%)
Mutual labels:  ipv6
cellabox
Air quality modules with Nordic nRF52840. Thread network (OpenThread). TheThingsIO. Sensirion. SPEC Sensors. ST Microelectronics.
Stars: ✭ 27 (-25%)
Mutual labels:  ipv6
whereabouts
An HTTP service for mapping IPv4 and IPv6 addresses to cities, countries & continents
Stars: ✭ 16 (-55.56%)
Mutual labels:  ipv6
tosh
Imagine your SSH server only listens on an IPv6 address, and where the last 6 digits are changing every 30 seconds as a TOTP code...
Stars: ✭ 406 (+1027.78%)
Mutual labels:  ipv6
XDP-Firewall
An XDP firewall that is capable of filtering specific packets based off of filtering rules specified in a config file. IPv6 is supported!
Stars: ✭ 129 (+258.33%)
Mutual labels:  ipv6
ip
Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
Stars: ✭ 212 (+488.89%)
Mutual labels:  ipv6
docker-nginx-certbot
Automatically create and renew website certificates for free using the Let's Encrypt certificate authority.
Stars: ✭ 367 (+919.44%)
Mutual labels:  ipv6
Geolocate-IP-Browser-Extension
A browser extension, which shows you the origin of your IP address.
Stars: ✭ 21 (-41.67%)
Mutual labels:  ipv6
ipv6gen
IPv6 prefix generator
Stars: ✭ 32 (-11.11%)
Mutual labels:  ipv6
CVE-2021-24086
Proof of concept for CVE-2021-24086, a NULL dereference in tcpip.sys triggered remotely.
Stars: ✭ 205 (+469.44%)
Mutual labels:  ipv6
Ip
🌏根据IpV4、IpV6地址获取定位信息的PHP🐘组件 PHP components that obtain location information based on IpV4, IpV6 addresses
Stars: ✭ 23 (-36.11%)
Mutual labels:  ipv6
uC-TCP-IP
A compact, reliable, high-performance TCP/IP protocol stack. Features dual IPv4 and IPv6 support, an SSL/TLS socket option, and support for Ethernet, Wi-Fi, and PHY controllers.
Stars: ✭ 66 (+83.33%)
Mutual labels:  ipv6
ebook
Third edition of the Computer Networking: Principles, Protocols and Practice ebook
Stars: ✭ 64 (+77.78%)
Mutual labels:  ipv6

IP network calculator

License Badge GitHub Status Coverity Status

netcalc is a slimmed down clone of sipcalc, using the output format of ipcalc. It is written in C and only depends on a POSIX compliant C library. Both IPv4 and IPv6 are supported.

Image netcalc example run

Build & Install

Debian/Ubuntu

curl -sS https://deb.troglobit.com/pubkey.gpg | sudo apt-key add -
echo "deb [arch=amd64] https://deb.troglobit.com/debian stable main" | sudo tee /etc/apt/sources.list.d/troglobit.list
sudo apt-get update && sudo apt-get install netcalc

Docker

Automatically built images available here:

A Dockerfile is provided to simplify building and running netcalc.

docker build -t netcalc:latest .
docker run --rm netcalc:latest netcalc 172.16.10.10/16

Building from Source

First download the latest official release from GitHub:

Always use the versioned tarballs, they contain all required files to be able to build.

Configure & Build

The GNU Configure & Build system use /usr/local as the default install prefix. Here we override that to use /usr/, the netcalc binary will then be installed in /usr/bin:

$ ./configure --prefix=/usr
$ make -j5
$ sudo make install-strip

Building from GIT

If you want to contribute, or simply just try out the latest but unreleased features, then you need to know a few things about the [GNU build system][buildsystem]:

  • configure.ac and a per-directory Makefile.am are key files
  • configure and Makefile.in are generated from autogen.sh, they are not stored in GIT but automatically generated for the release tarballs
  • Makefile is generated by configure script

To build from GIT; clone the repository and run the autogen.sh script. This requires the GNU tools automake, autoconf and libtool to be installed on your system. Released tarballs do not require these tools.

$ sudo apt install git automake autoconf

Then you can clone the repository and create the configure script, which is not part of the GIT repo:

git clone https://github.com/troglobit/netcalc.git
cd netcalc/
./autogen.sh
./configure && make

GIT sources are a moving target and are not recommended for production systems, unless you know what you are doing!

Origin & References

The original sipcalc project was created by Simon Ekstrand in 2001. It is no longer actively maintained, but has a lot of features and is available on major Linux distributions and works on *BSD and Solaris.

Use GitHub to file bug reports, questions, feature requests or patches — preferably as pull requests.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].