what a rabbithole. lots of goodies now.

This commit is contained in:
2021-12-18 04:23:35 -05:00
parent 11b0744e5c
commit 8f582d37f1
24 changed files with 399 additions and 326 deletions

12
.net.UNFINISHED/consts.go Normal file
View File

@@ -0,0 +1,12 @@
package main
const (
// RFC1700 is DEPRECATED.
// Go to https://www.iana.org/protocols for their current database.
// https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
portsUrl = "https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.csv"
// https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml
protosUrl = "https://www.iana.org/assignments/protocol-numbers/protocol-numbers-1.csv"
portsFile = "ports/data.go"
protosFile = "protos/data.go"
)