sii / sipcalc Goto Github PK
View Code? Open in Web Editor NEWSipcalc is an advanced ip calculator supporting both IPv4 and IPv6.
Home Page: http://www.routemeister.net/
License: Other
Sipcalc is an advanced ip calculator supporting both IPv4 and IPv6.
Home Page: http://www.routemeister.net/
License: Other
I'm using sipcalc
for automated DNSxL updates/maintenance, so I wrote a SlackBuild script for Slackware Linux users, available here: http://slackbuilds.org/repository/14.1/network/sipcalc/
This is a very useful tool. Could upgrade to support subnet from /64 to /127 ?
When using sipcalc to split a network, the output does not show any of the resulting subnets in CIDR format. Instead, the section headers confusingly prints out the CIDR provided on the cmdline. For example:
$ sipcalc -s /17 -u 192.168.0.0/16 | grep /
-[ipv4 : 192.168.0.0/16] - 0
-[ipv4 : 192.168.0.0/16] - 0
-[ipv4 : 192.168.0.0/16] - 0
I see two potential ways to fix this:
print_cidr_info_v4
-[ipv4 : 192.168.0.0/17] - 0
-[ipv4 : 192.168.0.128/17] - 0
I can supply a PR with either or both of these changes if you can share which you'd prefer.
sipcalc 2001:dead:beaf:dead:beaf:dead:beaf::/128
cause an error
-[ERR : Unable to retrieve interface information]
in my point of view it should at least interpreted as
sipcalc 2001:dead:beaf:dead:beaf:dead:beaf:0/128
which resolve fine.
Because why not? Sometimes pathological software stores them that way, and it'd be handy to be able to convert quickly and do the usual sipcalc maths on them.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.