You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/ipn
Avery Pennarun 34c30eaea0 router_linux: use only baseline 'ip rule' features that exist in old kernels.
This removes the use of suppress_ifgroup and fwmark "x/y" notation,
which are, among other things, not available in busybox and centos6.

We also use the return codes from the 'ip' program instead of trying to
parse its output.

I also had to remove the previous hack that routed all of 100.64.0.0/10
by default, because that would add the /10 route into the 'main' route
table instead of the new table 88, which is no good. It was a terrible
hack anyway; if we wanted to capture that route, we should have
captured it explicitly as a subnet route, not as part of the addr. Note
however that this change affects all platforms, so hopefully there
won't be any surprises elsewhere.

Fixes #405
Updates #320, #144

Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
4 years ago
..
ipnserver ipnserver and logpolicy: configure zstd with low-memory settings. 4 years ago
ipnstate ipn/ipnstate: improve HTML output 4 years ago
policy ipn, ipn/policy: filter portlist to a short list of "interesting" ports 4 years ago
backend.go ipn: Resolve some resource leaks in test. 4 years ago
doc.go Move Linux client & common packages into a public repo. 4 years ago
fake_test.go ipn, wgengine/filter: remove exported type aliases 4 years ago
handle.go ipn, wgengine/filter: remove exported type aliases 4 years ago
local.go router_linux: use only baseline 'ip rule' features that exist in old kernels. 4 years ago
message.go ipn: add AllowVersionSkew bool to Notify & Message 4 years ago
message_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago
prefs.go ipn: plumb NetfilterMode all the way out to the CLI. 4 years ago
prefs_test.go ipn: plumb NetfilterMode all the way out to the CLI. 4 years ago
store.go ipn: have NewFileStore try to create directories as needed 4 years ago
store_test.go Add tstest.PanicOnLog(), and fix various problems detected by this. 4 years ago