tailscale/wgengine
Josh Bleecher Snyder 9da4181606 tstime/rate: new package
This is a simplified rate limiter geared for exactly our needs:
A fast, mono.Time-based rate limiter for use in tstun.
It was generated by stripping down the x/time/rate rate limiter
to just our needs and switching it to use mono.Time.

It removes one time.Now call per packet.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
2021-07-29 12:56:58 -07:00
..
bench wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
filter tstime/rate: new package 2021-07-29 12:56:58 -07:00
magicsock wgengine/magicsock: use mono.Time 2021-07-29 12:56:58 -07:00
monitor wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 2021-07-20 15:52:22 -07:00
netstack wgengine/netstack: implement UDP relaying to advertised subnets 2021-07-21 22:32:26 -07:00
router wgengine/{monitor,router}: restore Linux ip rules when systemd deletes them 2021-07-20 15:52:22 -07:00
wgcfg wgcfg: Switch to using mem.RO 2021-07-13 13:45:44 -07:00
wglog wgengine/wglog: match upstream wireguard-go's code for wireguardGoString 2021-06-04 13:06:28 -07:00
winnet wgengine/winnet: don't build on non-windows 2021-02-09 21:09:24 -08:00
mem_ios.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
pendopen.go wgengine/magicsock: use mono.Time 2021-07-29 12:56:58 -07:00
userspace.go wgengine: use mono.Time 2021-07-29 12:56:58 -07:00
userspace_ext_test.go go.mod: upgrade wireguard-windows, de-fork wireguard-go 2021-05-25 13:18:21 -07:00
userspace_test.go wgengine: use mono.Time 2021-07-29 12:56:58 -07:00
watchdog.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00
watchdog_test.go wgengine: extend TestWatchdog timeout on macOS 2021-03-27 09:27:11 -07:00
wgengine.go wgengine: randomize client port if netmap says to 2021-06-23 08:51:37 -07:00