[Openvpn-devel] [PATCH v4] Route: add support for user defined routing table

2024-03-13 Thread gianmarco
From: Gianmarco De Gregori Add the ability for users to specify a custom routing table where routes should be installed in. As of now routes are always installed in the main routing table of the operating system, however, with the new --route-table option it is possibile to specify the ID

[Openvpn-devel] [PATCH v8] Http-proxy: fix bug preventing proxy credentials caching

2024-03-12 Thread gianmarco
From: Gianmarco De Gregori Caching proxy credentials was not working due to the lack of handling already defined creds in get_user_pass(), which prevented the caching from working properly. Fix this issue by getting the value of c->first_time, that indicates if we're at the first iterat

Re: [Openvpn-devel] [S] Change in openvpn[master]: Minor fix to process_ip_header

2024-02-15 Thread Gianmarco De Gregori
6 flags, which are not something we need to test for here (= if only an IPv6 flag is active, why should we enter this branch?). I had the feeling that it was wrong in fact. Thanks for your feedback. Cheers -- Gianmarco De Gregori ___ Openvpn-devel mailing list

[Openvpn-devel] [PATCH v2] Persist-key: enable persist-key option by default.

2023-05-25 Thread Gianmarco De Gregori
This commit changes the default behavior of the OpenVPN configuration to enable the persist-key option by default. This means that all the key file content will be kept in memory throughout the lifetime of the VPN connection. Fixes: Trac #1405 Signed-off-by: Gianmarco De Gregori --- Changes

[Openvpn-devel] [PATCH] Persist-key: enable persist-key option by default.

2023-05-09 Thread Gianmarco De Gregori
This commit changes the default behavior of the OpenVPN configuration to enable the persist-key option by default. This means that all the key file content will be kept in memory throughout the lifetime of the VPN connection. Fixes: Trac #1405 Signed-off-by: Gianmarco De Gregori --- doc/man

[Openvpn-devel] [PATCH v5] Route: add support for user defined routing table

2023-04-20 Thread Gianmarco De Gregori
platforms should be added in related backends. Fixes: Trac #1399 Signed-off-by: Gianmarco De Gregori --- Changes from v1: * Fixed parameters (metric and table_id) order in init_route_list() call in init.c : 1535. Changes from v2: * Add route_default_table_id to show_settings() in options.c

Re: [Openvpn-devel] [PATCH v4] Route: add support for user defined routing table

2023-04-19 Thread gianmarco
ting table > > > Hi, > > > -Original Message- > > From: Frank Lichtenheld > > Sent: mercoledì 19 aprile 2023 11:56 > > To: Gianmarco De Gregori > > Cc: openvpn-devel@lists.sourceforge.net > > Subject: Re: [Openvpn-devel] [PATCH v4] Route: add support for u

Re: [Openvpn-devel] [PATCH v4] Route: add support for user defined routing table

2023-04-19 Thread gianmarco
Hi, > -Original Message- > From: Frank Lichtenheld > Sent: mercoledì 19 aprile 2023 11:56 > To: Gianmarco De Gregori > Cc: openvpn-devel@lists.sourceforge.net > Subject: Re: [Openvpn-devel] [PATCH v4] Route: add support for user defined > routing table > >

[Openvpn-devel] [PATCH v4] Route: add support for user defined routing table

2023-04-18 Thread Gianmarco De Gregori
platforms should be added in related backends. Fixes: Trac #1399 Signed-off-by: Gianmarco De Gregori --- Changes from v1: * Fixed parameters (metric and table_id) order in init_route_list() call in init.c : 1535. Changes from v2: * Add route_default_table_id to show_settings() in options.c

Re: [Openvpn-devel] [PATCH v3] Route: add support for user defined routing table

2023-04-14 Thread gianmarco
Hi, -Original Message- From: Frank Lichtenheld Sent: giovedì 13 aprile 2023 16:19 To: Gert Doering Cc: Gianmarco De Gregori ; openvpn-devel@lists.sourceforge.net Subject: Re: [Openvpn-devel] [PATCH v3] Route: add support for user defined routing table On Thu, Apr 13, 2023 at 04:12

[Openvpn-devel] [PATCH v3] Route: add support for user defined routing table

2023-04-04 Thread Gianmarco De Gregori
platforms should be added in related backends. Signed-off-by: Gianmarco De Gregori --- Changes from v1: * Fixed parameters (metric and table_id) order in init_route_list() call in init.c : 1535. Changes from v2: * Add route_default_table_id to show_settings() in options.c : 1800. doc/man

[Openvpn-devel] [PATCH v2] Route: add support for user defined routing table

2023-04-03 Thread Gianmarco De Gregori
platforms should be added in related backends. Signed-off-by: Gianmarco De Gregori --- Changes from v1: * fixed parameters (metric and table_id) order in init_route_list() call in init.c : 1535. doc/man-sections/vpn-network-options.rst | 16 +++- src/openvpn/helper.c | 1

[Openvpn-devel] [PATCH] Route: add support for user defined routing table

2023-03-29 Thread Gianmarco De Gregori
platforms should be added in related backends. Signed-off-by: Gianmarco De Gregori --- doc/man-sections/vpn-network-options.rst | 16 +++- src/openvpn/helper.c | 1 + src/openvpn/init.c | 15 +++- src/openvpn/options.c| 44