Skip to content

Commit

Permalink
Update tailscale.com/net/portmapper for fixes and enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
rod-hynes committed Sep 18, 2024
1 parent 5cda1fa commit db831cc
Show file tree
Hide file tree
Showing 399 changed files with 59,960 additions and 3,707 deletions.
30 changes: 19 additions & 11 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ require (
github.com/google/gopacket v1.1.19
github.com/grafov/m3u8 v0.0.0-20171211212457-6ab8f28ed427
github.com/marusama/semaphore v0.0.0-20171214154724-565ffd8e868a
github.com/miekg/dns v1.1.44-0.20210804161652-ab67aa642300
github.com/miekg/dns v1.1.56
github.com/mitchellh/panicwrap v0.0.0-20170106182340-fce601fe5557
github.com/oschwald/maxminddb-golang v1.12.0
github.com/patrickmn/go-cache v2.1.0+incompatible
Expand All @@ -80,40 +80,43 @@ require (
github.com/wlynxg/anet v0.0.1
golang.org/x/crypto v0.22.0
golang.org/x/net v0.24.0
golang.org/x/sync v0.3.0
golang.org/x/sync v0.5.0
golang.org/x/sys v0.20.0
golang.org/x/term v0.19.0
golang.org/x/time v0.5.0
golang.zx2c4.com/wireguard v0.0.0-20230325221338-052af4a8072b
tailscale.com v1.40.0
tailscale.com v1.58.2
)

require (
filippo.io/bigmod v0.0.1 // indirect
filippo.io/keygen v0.0.0-20230306160926-5201437acf8e // indirect
github.com/AndreasBriese/bbloom v0.0.0-20190825152654-46b345b51c96 // indirect
github.com/alexbrainman/sspi v0.0.0-20210105120005-909beea2cc74 // indirect
github.com/alexbrainman/sspi v0.0.0-20231016080023-1a75b4708caa // indirect
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/bits-and-blooms/bitset v1.10.0 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/coreos/go-iptables v0.7.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dblohm7/wingoes v0.0.0-20230929194252-e994401fc077 // indirect
github.com/dchest/siphash v1.2.3 // indirect
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect
github.com/gaukas/godicttls v0.0.4 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/nftables v0.1.1-0.20230115205135-9aa6fdf5a28c // indirect
github.com/google/pprof v0.0.0-20211214055906-6f57359322fd // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/josharian/native v1.1.1-0.20230202152459-5c7d0dd6ab86 // indirect
github.com/jsimonetti/rtnetlink v1.1.2-0.20220408201609-d380b505068b // indirect
github.com/jsimonetti/rtnetlink v1.3.5 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/klauspost/compress v1.17.4 // indirect
github.com/libp2p/go-reuseport v0.4.0 // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/mdlayher/netlink v1.7.1 // indirect
github.com/mdlayher/socket v0.4.0 // indirect
github.com/mdlayher/netlink v1.7.2 // indirect
github.com/mdlayher/socket v0.5.0 // indirect
github.com/mroth/weightedrand v1.0.0 // indirect
github.com/onsi/ginkgo/v2 v2.12.0 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
Expand All @@ -134,16 +137,21 @@ require (
github.com/sergeyfrolov/bsbuffer v0.0.0-20180903213811-94e85abb8507 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/tailscale/goupnp v1.0.1-0.20210804011211-c64d0f06ea05 // indirect
github.com/tailscale/netlink v1.1.1-0.20211101221916-cabfb018fe85 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/vishvananda/netlink v1.2.1-beta.2 // indirect
github.com/vishvananda/netns v0.0.4 // indirect
github.com/x448/float16 v0.8.4 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/goptlib v1.5.0 // indirect
go.uber.org/mock v0.4.0 // indirect
go4.org/mem v0.0.0-20210711025021-927187094b94 // indirect
golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect
go4.org/mem v0.0.0-20220726221520-4f986261bf13 // indirect
go4.org/netipx v0.0.0-20230824141953-6213f710f925 // indirect
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/tools v0.12.0 // indirect
golang.org/x/tools v0.15.0 // indirect
golang.zx2c4.com/wireguard/windows v0.5.3 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
Expand Down
96 changes: 47 additions & 49 deletions go.sum

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions psiphon/common/inproxy/portmapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func newPortMapper(
// GetCachedMappingOrStartCreatingOne call in portMapper.start; and so
// the p.client reference within callback will be valid.

client := portmapper.NewClient(portMappingLogger, nil, nil, func() {
client := portmapper.NewClient(portMappingLogger, nil, nil, nil, func() {
p.havePortMappingOnce.Do(func() {
address, ok := p.client.GetCachedMappingOrStartCreatingOne()
if ok {
Expand Down Expand Up @@ -165,7 +165,7 @@ func probePortMapping(
"port mapping probe: " + formatPortMappingLog(format, args...))
}

client := portmapper.NewClient(portMappingLogger, nil, nil, nil)
client := portmapper.NewClient(portMappingLogger, nil, nil, nil, nil)
defer client.Close()

result, err := client.Probe(ctx)
Expand Down
56 changes: 47 additions & 9 deletions vendor/github.com/alexbrainman/sspi/negotiate/negotiate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit db831cc

Please sign in to comment.