summaryrefslogtreecommitdiffhomepage
path: root/wgengine/filter/filter_test.go
AgeCommit message (Expand)AuthorFilesLines
2025-01-24wgengine/filter: add check for unknown protoKristoffer Dalby1-1/+2
2025-01-24wgengine/filter: return drop reason for metricsKristoffer Dalby1-15/+17
2025-01-04Fix various linting, vet & static check issuesMarc Paquette1-4/+4
2025-01-03util/slicesx: add MapKeys and MapValues from golang.org/x/exp/mapsBrad Fitzpatrick1-2/+2
2024-06-20wgengine/filter: support FilterRules matching on srcIP node caps [capver 100]Brad Fitzpatrick1-12/+66
2024-06-18tailcfg, wgengine/filter: remove most FilterRule.SrcBits codeBrad Fitzpatrick1-22/+11
2024-06-18net/flowtrack: optimize Tuple type for use as map keyBrad Fitzpatrick1-5/+4
2024-06-18wgengine/filter/filtertype: make Match.IPProto a viewBrad Fitzpatrick1-9/+5
2024-06-16wgengine/filter: add UDP flow benchmarkBrad Fitzpatrick1-5/+31
2024-06-16net/ipset, wgengine/filter/filtertype: add split-out packagesBrad Fitzpatrick1-3/+5
2024-06-16wgengine/filter: split local+logging lookups by IPv4-vs-IPv6Brad Fitzpatrick1-1/+2
2024-06-16wgengine/filter: add TCP non-SYN benchmarksBrad Fitzpatrick1-3/+35
2024-06-16wgengine/filter: fix copy/pasteo in new benchmark's v6 CIDRBrad Fitzpatrick1-1/+1
2024-06-15wgengine/filter: add more benchmarks, make names more explicitBrad Fitzpatrick1-7/+38
2024-06-15wgengine/filter: use NewContainsIPFunc for Srcs matchesBrad Fitzpatrick1-12/+16
2024-06-15wgengine/filter: add filter benchmarkBrad Fitzpatrick1-0/+51
2024-04-16all: use Go 1.22 range-over-intBrad Fitzpatrick1-1/+1
2023-09-17tailcfg: define a type for NodeCapabilityMaisem Ali1-1/+1
2023-08-17all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps"Brad Fitzpatrick1-2/+2
2023-08-17all: use Go 1.21 slices, maps instead of x/exp/{slices,maps}Brad Fitzpatrick1-1/+1
2023-07-25tailcfg,ipn/ipnlocal,wgengine: add values to PeerCapabilitiesMaisem Ali1-12/+15
2023-03-04all: use tstest.Replace moreMaisem Ali1-8/+2
2023-01-27all: update copyright and license headersWill Norris1-3/+2
2022-09-29all: fix spelling mistakesJosh Soref1-2/+2
2022-07-25all: convert more code to use net/netip directlyBrad Fitzpatrick1-22/+21
2022-07-25all: use various net/netip parse funcs directlyBrad Fitzpatrick1-19/+20
2022-07-25net/netaddr: start migrating to net/netip via new netaddr adapter packageBrad Fitzpatrick1-9/+10
2022-05-13wgengine/filter: preallocate some hot slices in MatchesFromFilterRules (#4672)Tom1-2/+7
2022-04-17all: add arbitrary capability supportBrad Fitzpatrick1-0/+80
2022-03-19all: use strings.Cut even moreBrad Fitzpatrick1-1/+1
2022-03-17all: use any instead of interface{}Josh Bleecher Snyder1-1/+1
2021-12-05wgengine/filter: let unknown IPProto match if IP okay & match allows all portsBrad Fitzpatrick1-18/+65
2021-11-29wgengine/filter: fix, test NewAllowAllForTestBrad Fitzpatrick1-0/+10
2021-10-28all: use testingutil.MinAllocsPerRunJosh Bleecher Snyder1-15/+13
2021-07-29tstime/rate: new packageJosh Bleecher Snyder1-1/+1
2021-06-02go.mod: update netaddrBrad Fitzpatrick1-2/+5
2021-05-16all: adapt to opaque netaddr typesJosh Bleecher Snyder1-12/+12
2021-03-20net/packet, wgengine{,/filter}: remove net/packet IPProto forwarding constsBrad Fitzpatrick1-72/+72
2021-03-20net/packet, wgengine/filter: support SCTPBrad Fitzpatrick1-9/+16
2021-03-19tailcfg: add FilterRule.IPProtoBrad Fitzpatrick1-8/+108
2021-03-09wgengine/filter: only log packets to/from non-default routes.David Anderson1-2/+138
2021-02-22wgengine/filter: use IPSet for localNets instead of prefixes.David Anderson1-2/+5
2021-01-11net/packet: add TCPFlag type and some more constantsBrad Fitzpatrick1-2/+2
2020-12-22net/packet: remove the custom IP4/IP6 types in favor of netaddr.IP.David Anderson1-18/+16
2020-12-15wgengine/filter, tailcfg: support CIDRs+ranges in PacketFilter (mapver 7)Brad Fitzpatrick1-9/+19
2020-11-12wgengine/filter: add test cases for len(dsts) > 1.David Anderson1-0/+5
2020-11-12wgengine/filter: twiddle bits to optimizeJosh Bleecher Snyder1-4/+5
2020-11-12wgengine/filter: treat * as both a v4 and v6 wildcard.David Anderson1-15/+18
2020-11-12wgengine/filter: add full IPv6 support.David Anderson1-253/+335
2020-11-10net/packet: remove NewIP, offer only a netaddr constructor.David Anderson1-4/+11