Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-12-02 Thread Antonio Quartulli
On 26/11/2024 09:17, Antonio Quartulli wrote: [...] It wasn't suggested to destroy the interface in case of interface becoming non-operational. I apologize if something I wrote earlier sounded like that. The interface existence stays unquestionable. It's going to be solid persistent. Back to

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-26 Thread Antonio Quartulli
On 25/11/2024 22:32, Sergey Ryazanov wrote: [...] FTR, here is the text in the manpage:     --persist-tun    Don't close and reopen TUN/TAP device or run up/down scripts across SIGUSR1 or --ping-restart restarts.    SIGUSR1 is a restart signal similar to SIGHUP, bu

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-25 Thread Sergey Ryazanov
On 25.11.2024 15:07, Antonio Quartulli wrote: On 25/11/2024 03:26, Sergey Ryazanov wrote: OpenVPN (userspace) will tear down the P2P interface upon disconnection, assuming the --persist-tun option was not specified by the user. So the interface is gone in any case. By keeping the netcarrier

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-25 Thread Antonio Quartulli
On 25/11/2024 03:26, Sergey Ryazanov wrote: OpenVPN (userspace) will tear down the P2P interface upon disconnection, assuming the --persist-tun option was not specified by the user. So the interface is gone in any case. By keeping the netcarrier on we are just ensuring that, if the user want

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-24 Thread Sergey Ryazanov
On 24.11.2024 00:52, Antonio Quartulli wrote: On 23/11/2024 23:25, Sergey Ryazanov wrote: On 21.11.2024 23:17, Antonio Quartulli wrote: On 20/11/2024 23:56, Sergey Ryazanov wrote: On 15.11.2024 16:13, Antonio Quartulli wrote: On 09/11/2024 02:11, Sergey Ryazanov wrote: On 29.10.2024 12:47, A

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-23 Thread Antonio Quartulli
On 23/11/2024 23:25, Sergey Ryazanov wrote: On 21.11.2024 23:17, Antonio Quartulli wrote: On 20/11/2024 23:56, Sergey Ryazanov wrote: On 15.11.2024 16:13, Antonio Quartulli wrote: On 09/11/2024 02:11, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn interface will

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-23 Thread Sergey Ryazanov
On 21.11.2024 23:17, Antonio Quartulli wrote: On 20/11/2024 23:56, Sergey Ryazanov wrote: On 15.11.2024 16:13, Antonio Quartulli wrote: On 09/11/2024 02:11, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn interface will keep carrier always on and let the user deci

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-21 Thread Antonio Quartulli
On 20/11/2024 23:56, Sergey Ryazanov wrote: On 15.11.2024 16:13, Antonio Quartulli wrote: On 09/11/2024 02:11, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn interface will keep carrier always on and let the user decide when an interface should be considered disco

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-20 Thread Sergey Ryazanov
On 15.11.2024 16:13, Antonio Quartulli wrote: On 09/11/2024 02:11, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn interface will keep carrier always on and let the user decide when an interface should be considered disconnected. This way, even if an ovpn interface

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-15 Thread Antonio Quartulli
On 09/11/2024 02:11, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn interface will keep carrier always on and let the user decide when an interface should be considered disconnected. This way, even if an ovpn interface is not connected to any peer, it can still ret

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-08 Thread Sergey Ryazanov
On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn interface will keep carrier always on and let the user decide when an interface should be considered disconnected. This way, even if an ovpn interface is not connected to any peer, it can still retain all IPs and routes and thus prevent any d

[PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-10-29 Thread Antonio Quartulli
An ovpn interface will keep carrier always on and let the user decide when an interface should be considered disconnected. This way, even if an ovpn interface is not connected to any peer, it can still retain all IPs and routes and thus prevent any data leak. Signed-off-by: Antonio Quartulli Rev