Marian Buschsieweke
d05d33f636
dist/tools/tapsetup: make compatible with doas
...
`doas` doesn't set `SUDO_USER`, but `DOAS_USER`. This populates
`SUDO_USER` with `DOAS_USER` if it is empty, so the script works with
both doas and sudo.
2024-05-30 09:38:44 +02:00
Benjamin Valentin
4511f3f2a1
tapsetup: add --delay option
2022-11-11 16:54:21 +01:00
Benjamin Valentin
0eaa6edffd
tapsetup: add --loss option
2022-11-11 14:41:15 +01:00
Dmitry K
a3984a529f
tapsetup: fix typo in usage text
2021-04-06 21:44:45 +03:00
Martine Lenders
2ed4b32e54
tapsetup: add support for single, unbridged TUN interface
2020-09-28 12:31:22 +02:00
Martine Lenders
73b8342528
tapsetup: make deleting interfaces a function
2020-09-28 12:31:22 +02:00
Martine Lenders
ff8b7a92d4
tapsetup: fix output for no sub-interfaces with list command
...
To be correct YAML, an empty list must be signified as a `[]`
2020-09-25 12:21:58 +02:00
Martine S. Lenders
5fea5fca65
tapsetup: FreeBSD/OSX: remove member TAPs of bridge explicitly
2020-09-08 13:50:45 +02:00
Martine S. Lenders
29684af116
tapsetup: add capability to add routes to bridge
2020-09-08 13:50:45 +02:00
Martine S. Lenders
dbeb783b13
tapsetup: add capability to add addresses to bridge
2020-09-08 13:50:44 +02:00
Martine S. Lenders
0abe581e3e
tapsetup: add capability to enable forwarding for bridge
2020-09-08 13:50:27 +02:00
Martine S. Lenders
a9722dda71
tapsetup: add capability to list bridges
2020-09-08 13:50:09 +02:00
Martine S. Lenders
de36c400d4
tapsetup: make output easier to parse
...
Distinguish bridge creation from tap creation.
2020-09-02 11:05:13 +02:00
179cf1b8cd
Merge pull request #14882 from aabadie/pr/tools/tapsetup_typo
...
tools/tapsetup: fix typo in function name
2020-08-28 13:58:02 +02:00
15222cf5e9
tools/tapsetup: fix typo in function name
2020-08-28 13:33:27 +02:00
János Brodbeck
e9370a2b81
dist/tools/tapsetup: fix minor typo
2020-08-28 13:24:55 +02:00
Martine S. Lenders
da7d5f7a49
tapsetup: fix for FreeBSD
2020-07-07 20:20:37 +02:00
Martine S. Lenders
e731397bae
dist/tools/tapsetup: fix deletion when UPLINK unset
2020-03-31 18:58:55 +02:00
Benjamin Valentin
ac3e996252
tapsetup: provide --uplink option
...
Add an --uplink option to tapsetup to bridge the tap-network with an
IPv6 enabled uplink interface, providing IPv6-WAN connectivity to native.
2020-03-20 14:12:43 +01:00
Martine S. Lenders
08b11d424d
tapsetup: require to be executed with sudo
2020-01-03 21:00:54 +01:00
smlng
24d79ca11b
tools/tapsetup: try to retrieve user name if not set
2017-12-19 17:56:48 +01:00
Thomas Eichinger
4aaf8dd616
tools/tapsetup: change default bridge name on macOS
...
The default bridge name used by tapsetup `bridge0` is already used
by the macOS. This changes the default to `bridge42`.
2017-02-23 14:57:36 -08:00
Martine Lenders
5760f9042d
native: unify and simplify usage of tapsetup script
2015-08-14 12:05:34 +02:00