netaddr icon indicating copy to clipboard operation
netaddr copied to clipboard

Network address types

Results 19 netaddr issues
Sort by recently updated
recently updated
newest added

@terinjokes brought up a good point today on my Twitch stream (hi chat!): Will package `netaddr` be updated to use type aliases for `net/netip` as of Go 1.18? Perhaps we...

I'd like to introduce netaddr in an application at work that uses a big trie full of routes using net.IP and net.IPNet. I suspect there could be some serious performance/memory...

Hello, I think it would be useful to be able to get the number of IP addresses in ranges, prefixes and sets. That could take the form of `Count()` or...

We'd like to start exploring getting netaddr into the Go standard library. As part of that, I started looking whose code might not be able to get upstream into Go....

@Xe requested that IPSet be a fmt.Stringer. It's not obvious what a good representation would be, but having something to look at would be better than nothing. One option might...

I'm using PostgreSQL to store IP address information and would like to be able to use these types with `database/sql`. Would you be open to implementing the [`Scanner`](https://pkg.go.dev/database/sql#Scanner) and [`Valuer`](https://pkg.go.dev/database/sql/driver#Valuer)...

We serialize a lot of IP addresses, and rather than converting the internal uint64 pair to byte arrays and then back to uint64s, it would be great if we could...

I keep find myself wanting a netaddr CLI tool.

The intent is to find discrepancies between netaddr.IP and net.IP. These don't necessarily indicate a bug (in either), but it's better to find them and explicitly document/exclude them.

I currently have a bogon checker based on the net.IP package (https://github.com/mellowdrifter/bogons/blob/main/bogons.go#L46) Is this something I could add into netaddr, or would it be considered a moving target considering new...