Iplib Versions Save

A library for working with IP addresses and networks in Go

v1.0.7

8 months ago

https://github.com/c-robinson/iplib/compare/v1.0.6...v1.0.7

  • fix index out of bounds in IP4ToARPA function when IP address is nil

v1.0.6

1 year ago

https://github.com/c-robinson/iplib/compare/v1.0.5...v1.0.6

  • exported previously internal function CopyIP() which will create a copy of an IP address
  • Net4 and Net6 now have RandomIP() functions that will return a random address within the given netblock. They both use crypto/rand because that package works gracefully with *big.Int

v1.0.5

1 year ago

https://github.com/c-robinson/iplib/compare/v1.0.4...v1.0.5

  • fix IPv4 NextNext returning the wrong value if the supplied netmask is lower than the current one, by @luisdavim

v1.0.4

1 year ago

https://github.com/c-robinson/iplib/compare/v1.0.3...v1.0.4

  • fix an integer overflow on 32bit CPU's caused by MaxIPv4 being an int instead of uint32 found by @CyrilBrulebois

v1.0.3

2 years ago

https://github.com/c-robinson/iplib/compare/v1.0.2...v1.0.3

  • fix an integer overflow on 32bit CPU's caused by using int, discovered and remediated by @0xd61
  • fix two typos in the README found by @ikanders

Thanks to both for the discovery, and thanks @0xd61 for the fix!

v1.0.2

2 years ago

v1.0.1

2 years ago

https://github.com/c-robinson/iplib/compare/v1.0.0...v1.0.1

Small documentation fix, plus avoid problems caused by a poorly-thought-out git force push.

v1.0.0

2 years ago

https://github.com/c-robinson/iplib/compare/v0.3.1...v1.0.0

Many, many changes

  • iplib.Net is now an interface
  • the original iplib.Net is now iplib.Net4
  • new v6-centric iplib.Net6
  • introducing HostMask for v6 networks, which is like a netmask except it masks bits from the right of the address, excluding them from methods like NextIP, PreviousIP, Enumerate, etc
  • Enumerate now parallelized
  • updated README
  • updated documentation
  • now includes example-tests
  • much fuller test coverage

v0.3.1

4 years ago

https://github.com/c-robinson/iplib/compare/v0.3.0...v0.3.1

Small bugfix release for the iid submodule

v0.3.0

4 years ago

https://github.com/c-robinson/iplib/compare/v0.2.0...v0.3.0

  • add IID submodule for generating IPv6 Interface Identifiers
  • small bugfixes and corrections