Re: Add rtable capability to login.conf

2022-02-24 Thread Matthew Martin
On Fri, Feb 18, 2022 at 03:25:51PM -0500, Ted Unangst wrote: > On 2022-02-06, Ted Unangst wrote: > > On 2022-02-05, Matthew Martin wrote: > > > On Sat, Jan 29, 2022 at 06:25:32PM -0600, Matthew Martin wrote: > > > > On Sat, Jan 29, 2022 at 07:10:00PM -0500, Ted Unangst wrote: > > > > > I believe

Re: Add rtable capability to login.conf

2022-02-18 Thread Ted Unangst
On 2022-02-06, Ted Unangst wrote: > On 2022-02-05, Matthew Martin wrote: > > On Sat, Jan 29, 2022 at 06:25:32PM -0600, Matthew Martin wrote: > > > On Sat, Jan 29, 2022 at 07:10:00PM -0500, Ted Unangst wrote: > > > > I believe it would be better to add setrtable to id pledge. > > > > ping > > > >

Re: Add rtable capability to login.conf

2022-02-06 Thread Ted Unangst
On 2022-02-05, Matthew Martin wrote: > On Sat, Jan 29, 2022 at 06:25:32PM -0600, Matthew Martin wrote: > > On Sat, Jan 29, 2022 at 07:10:00PM -0500, Ted Unangst wrote: > > > I believe it would be better to add setrtable to id pledge. > > ping > > Also are there any opinions on adding

Re: Add rtable capability to login.conf

2022-02-05 Thread Matthew Martin
On Sat, Jan 29, 2022 at 06:25:32PM -0600, Matthew Martin wrote: > On Sat, Jan 29, 2022 at 07:10:00PM -0500, Ted Unangst wrote: > > I believe it would be better to add setrtable to id pledge. ping Also are there any opinions on adding LOGIN_SETRTABLE to doas? diff --git include/login_cap.h

Re: Add rtable capability to login.conf

2022-01-29 Thread Matthew Martin
On Sat, Jan 29, 2022 at 07:10:00PM -0500, Ted Unangst wrote: > I believe it would be better to add setrtable to id pledge. Makes the diff quite a bit shorter too. diff --git include/login_cap.h include/login_cap.h index d9a4c2c349c..1e831b6471a 100644 --- include/login_cap.h +++

Re: Add rtable capability to login.conf

2022-01-29 Thread Theo de Raadt
> I believe it would be better to add setrtable to id pledge. That's right.

Re: Add rtable capability to login.conf

2022-01-29 Thread Ted Unangst
I believe it would be better to add setrtable to id pledge. On 2022-01-29, Matthew Martin wrote: > It would be nice to have the ability to set a user's rtable upon login. > This would be useful both for road warrior VPN setups (put both the VPN > interface and user in an rdomain other than 0) and

Add rtable capability to login.conf

2022-01-29 Thread Matthew Martin
It would be nice to have the ability to set a user's rtable upon login. This would be useful both for road warrior VPN setups (put both the VPN interface and user in an rdomain other than 0) and to differentiate users in firewall rules on the gateway or unbound views on a resolver. The below patch