Easy enough ;-) - Heiko just beat me to ACKing it.
Have not tested anything!
Your patch has been applied to the master branch.
commit d5315a5d7400a26f1113bbc44766d49dd0c3688f
Author: Antonio Quartulli
Date: Tue Jul 5 11:18:42 2022 +0200
networking: fix doc for net_iface_new() API
S
Hi,
On 05/07/2022 14:31, Heiko Hund wrote:
On Freitag, 24. Juni 2022 10:38:05 CEST Antonio Quartulli wrote:
The current condition checking if the TUN interface was preserved is
dependant on the platform being Android or not. This makes the code
reasonably ugly, especially because uncrustify can
Am 05.07.2022 um 16:53 schrieb Antonio Quartulli:
Hi,
On 05/07/2022 14:31, Heiko Hund wrote:
On Freitag, 24. Juni 2022 10:37:58 CEST Antonio Quartulli wrote:
+ uint8_t *ptr = BPTR(&dco->dco_packet_in);
+ uint8_t op = ptr[0] >> P_OPCODE_SHIFT;
+ if (op == P_DATA_V2 || op == P_DATA_V2)
Hi,
On 05/07/2022 14:31, Heiko Hund wrote:
On Freitag, 24. Juni 2022 10:37:58 CEST Antonio Quartulli wrote:
+uint8_t *ptr = BPTR(&dco->dco_packet_in);
+uint8_t op = ptr[0] >> P_OPCODE_SHIFT;
+if (op == P_DATA_V2 || op == P_DATA_V2)
This looks odd. Seems you wanted to check for a s
Hi,
On 05/07/2022 14:31, Heiko Hund wrote:
On Freitag, 24. Juni 2022 10:37:59 CEST Antonio Quartulli wrote:
+application. Note that DCO will use DATA_V2 packets
in P2P mode, therefore,
+this implies that peers must be running 2.6.0+
in order to have P2P-NCP
+which brings DATA_V2 pac
Hi,
On 05/07/2022 14:32, Heiko Hund wrote:
On Freitag, 24. Juni 2022 10:38:06 CEST Antonio Quartulli wrote:
+int
+dco_del_key(dco_context_t *dco, unsigned int peerid, dco_key_slot_t slot)
+{
+msg(D_DCO, "%s: peer-id %d, slot %d called but ignored", __func__,
peerid, +slot);
+/*
Hi,
On 05/07/2022 14:30, Heiko Hund wrote:
On Freitag, 24. Juni 2022 10:37:57 CEST Antonio Quartulli wrote:
+/* These inet_pton conversion are fatal since options.c already
implements
+ * checks to have only valid addresses when setting the
options */
+if (c->options.ifconfig_ipv6_r
On Dienstag, 5. Juli 2022 11:18:42 CEST Antonio Quartulli wrote:
> Some auto correction must have sneaked in.
> Restore proper wording.
>
> Signed-off-by: Antonio Quartulli
> ---
> src/openvpn/networking.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/src/openvpn/ne
On Freitag, 24. Juni 2022 10:37:46 CEST Antonio Quartulli wrote:
> +/**
> + * Returns whether the current configuration has dco enabled.
> + */
> +static inline bool
> +dco_enabled(const struct options *o)
> +{
> +return !o->tuntap_options.disable_dco;
> +}
I think it would be beneficial if th
On Freitag, 24. Juni 2022 10:37:52 CEST Antonio Quartulli wrote:
> +else if (streq(p[0], "disable-dco") || streq(p[0], "dco-disable"))
Don't think we need to be backwards compatible here, or do we?
___
Openvpn-devel mailing list
Openvpn-devel@li
On Freitag, 24. Juni 2022 10:38:08 CEST Antonio Quartulli wrote:
> +Getting started (Windows)
> +-
> +Getting started under windows is currently for brave people having
> experience
> +with windows development. You need to compile openvpn yourself
> and also need
> +to get
On Freitag, 24. Juni 2022 10:38:07 CEST Antonio Quartulli wrote:
> +if (!is_windco(c->c1.tuntap))
[...]
> +if ((options->windows_driver ==
> WINDOWS_DRIVER_WINTUN || options->windows_driver == WINDOWS_DRIVER_WINDCO)
[...]
> +create_socket_windco(struct context *c, struct link_socket *so
On Freitag, 24. Juni 2022 10:38:05 CEST Antonio Quartulli wrote:
> The current condition checking if the TUN interface was preserved is
> dependant on the platform being Android or not. This makes the code
> reasonably ugly, especially because uncrustify can't indent properly.
>
> On top of that,
On Freitag, 24. Juni 2022 10:37:58 CEST Antonio Quartulli wrote:
> +uint8_t *ptr = BPTR(&dco->dco_packet_in);
> +uint8_t op = ptr[0] >> P_OPCODE_SHIFT;
> +if (op == P_DATA_V2 || op == P_DATA_V2)
This looks odd. Seems you wanted to check for a second opcode, or is it
obsolete?
> +
On Freitag, 24. Juni 2022 10:38:04 CEST Antonio Quartulli wrote:
> Some platforms may have different constraints in terms of incompatible
> opions, therefore we add a function that explicitly checks those.
>
> Also, add generic option check for when ovpn-dco-win is in use.
>
> Signed-off-by: Anto
On Freitag, 24. Juni 2022 10:38:06 CEST Antonio Quartulli wrote:
> +int
> +dco_del_key(dco_context_t *dco, unsigned int peerid, dco_key_slot_t slot)
> +{
> +msg(D_DCO, "%s: peer-id %d, slot %d called but ignored", __func__,
> peerid, +slot);
> +/* FIXME: Implement in driver first */
On Freitag, 24. Juni 2022 10:37:59 CEST Antonio Quartulli wrote:
> +application. Note that DCO will use DATA_V2 packets
> in P2P mode, therefore,
> +this implies that peers must be running 2.6.0+
> in order to have P2P-NCP
> +which brings DATA_V2 packet support.
[...]
> +- OpenVPN 2.4
On Freitag, 24. Juni 2022 10:38:02 CEST Antonio Quartulli wrote:
> Other platforms may need more complex logic to decide whether a cipher
> is supported or not, therefore turn hardcoded list into a function that
> can be implemented by each platform independently.
>
> Signed-off-by: Lev Stipakov
On Freitag, 24. Juni 2022 10:37:57 CEST Antonio Quartulli wrote:
> +/* These inet_pton conversion are fatal since options.c already
> implements
> + * checks to have only valid addresses when setting the
> options */
> +if (c->options.ifconfig_ipv6_remote)
> +{
> +if (inet
We have moved dco-win uapi header to openvpn repo, so we don't have to
checkout ovpn-dco-win repo to get it - this is what this commit does.
But yeah, good point on having dco builds without dco.
ti 5. heinäk. 2022 klo 12.36 Antonio Quartulli (a...@unstable.cc) kirjoitti:
>
> Hi,
>
> On 05/07/2022
Hi,
On 05/07/2022 11:32, Frank Lichtenheld wrote:
I think this commit could use an additional sentence
in the commit message on why exactly you remove this?
Doesn't immediately make sense to me.
To be honest, I am not even sure why we have a build with DCO in the
first place. There is no DCO
I think this commit could use an additional sentence
in the commit message on why exactly you remove this?
Doesn't immediately make sense to me.
On Fri, Jun 24, 2022 at 10:38:09AM +0200, Antonio Quartulli wrote:
> Signed-off-by: Lev Stipakov
> Signed-off-by: Antonio Quartulli
> ---
> .github/w
Some auto correction must have sneaked in.
Restore proper wording.
Signed-off-by: Antonio Quartulli
---
src/openvpn/networking.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/openvpn/networking.h b/src/openvpn/networking.h
index 647718e0..79963756 100644
--- a/src/ope
Hi,
Next community meetings have been scheduled to
- Wed 6th July 2022 at 10:30 CEST
- Wed 13th July 2022 at 10:30 CEST
- Wed 20th July 2022 at 10:30 CEST
- Wed 27th July 2022 at 10:30 CEST
The place is #openvpn-meeting IRC channel at libera.chat Meeting agendas
and summaries are in here:
24 matches
Mail list logo