File

teal-src/util/net.d.tl @ 12126:0d8e6646ce42

mod_admin_shell: Log creation of incoming s2s connections during ping The 's2s-created' fires just after accepting the TCP connection, before the addresses are known, so this can have some false positives.
author Kim Alvefur <zash@zash.se>
date Mon, 27 Dec 2021 17:04:33 +0100
parent 11577:60bee6822d79
line wrap: on
line source


local enum type_strings
	"both"
	"ipv4"
	"ipv6"
end

local record lib
	local_addresses : function (type_strings, boolean) : { string }
	pton : function (string):string
	ntop : function (string):string
end
return lib