Message ID | 7339e232f9d6a9dbd94473d7f647f51061a188b6-HTML@gerrit.openvpn.net |
---|---|
State | New |
Headers | show
Return-Path: <openvpn-devel-bounces@lists.sourceforge.net> Delivered-To: patchwork@openvpn.net Received: by 2002:a05:7000:948d:b0:5e7:b9eb:58e8 with SMTP id g13csp888010mal; Wed, 12 Feb 2025 03:53:47 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUYwHi3EkI9KpNEV89FNTV3AhXfbnHAhEloHNdt9rSXzsfF2A6CtrY6/7i5hKMPToR5EpYynjRx8hk=@openvpn.net X-Google-Smtp-Source: AGHT+IFdCU89hG0AB5lI5GbDjc5LghbJ6PROowK1VfYA8F+qwuUg7UQCunSXyMLYZ2VknHuS/roq X-Received: by 2002:a05:6870:4690:b0:29d:c85f:bc8c with SMTP id 586e51a60fabf-2b8daf92f46mr1366832fac.36.1739361226945; Wed, 12 Feb 2025 03:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739361226; cv=none; d=google.com; s=arc-20240605; b=JCQKcGAFQUafB0L74CaeK9wbCilRsKDLLOaSQfYkZsTuxDUt3A7Eqa3K0zy3LVsPeB nezJwftL6Bzi+yuVCKDnDb8RRByXpBKpzbNNoMHxMZGvEAo6Xqzagow5h1xrZj6enNsx GONSfCxinv4Rp40LedeAx7tNGGC8Q9I3EjuMuhda7+NoiIWWs+bt0YfNpKCZEHYge+8G ak5ftF8PtLFthuX7Yj9uCq6p4ZlKuDuT3WIQZbmRweU5H0y9OwPC+pvpDjZg6MHZSwvJ ylMVxWuAO1alkMpO1ph8g36aQMtCZJPeUbxnepnw8NLzF27Re9LINTBFWy0U99v/O2q8 AEMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=errors-to:cc:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:user-agent :mime-version:message-id:references:auto-submitted:to:date:from :dkim-signature:dkim-signature:dkim-signature; bh=jLsHGaVad4beGubcAhM5lMkMgP0z2LS32hrCyBEk7VA=; fh=lm0MLPW7DntlrDqRECIiC9JlE1uPxhepE0URYHIf+eE=; b=P//z9HAbPvSVFx10Dwdkafvpkesdx1j1fNzK/2MH9HgMKD7QNj8XNjCA1UWbS5jKFj KS4+7y8XemEgXkMCU7vej9j7dq9gBmLnSM7RSqrr0QZG1fA2gWFCyqGx/zsmP7q2MmTP bzQuZaQ3pEdv46VNyL7yFjfsaxEAjOvYF9oWz9K/9CxVHLXz3G3AYwlCC3phMzJeoBcA tMIKwgnQK+H9BBXsQu05LQ2QH6jTQS6CL+FwyvSDyy/AwfFTP+jPaRWze/g11qCDMhaf 3zfTUcGOJlu657NsGejJZqopIwXFQzB26IA2plFDtCIsnnhEuzpXFr3w6JEMb0U8vs2s g47g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=lKGj9h0L; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=UuEHIHlk; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=XaGkFFfy; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openvpn.net; dara=fail header.i=@openvpn.net Received: from lists.sourceforge.net (lists.sourceforge.net. [216.105.38.7]) by mx.google.com with ESMTPS id 586e51a60fabf-2b865744ba8si7211839fac.119.2025.02.12.03.53.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Feb 2025 03:53:46 -0800 (PST) Received-SPF: pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) client-ip=216.105.38.7; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@sourceforge.net header.s=x header.b=lKGj9h0L; dkim=neutral (body hash did not verify) header.i=@sf.net header.s=x header.b=UuEHIHlk; dkim=neutral (body hash did not verify) header.i=@openvpn.net header.s=google header.b=XaGkFFfy; spf=pass (google.com: domain of openvpn-devel-bounces@lists.sourceforge.net designates 216.105.38.7 as permitted sender) smtp.mailfrom=openvpn-devel-bounces@lists.sourceforge.net; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=openvpn.net; dara=fail header.i=@openvpn.net Received: from [127.0.0.1] (helo=sfs-ml-3.v29.lw.sourceforge.com) by sfs-ml-3.v29.lw.sourceforge.com with esmtp (Exim 4.95) (envelope-from <openvpn-devel-bounces@lists.sourceforge.net>) id 1tiBJI-0007BM-Hg; Wed, 12 Feb 2025 11:53:43 +0000 Received: from [172.30.29.66] (helo=mx.sourceforge.net) by sfs-ml-3.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from <gerrit@openvpn.net>) id 1tiBJF-0007BC-Jd for openvpn-devel@lists.sourceforge.net; Wed, 12 Feb 2025 11:53:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:Content-Transfer-Encoding:MIME-Version :Message-ID:Reply-To:References:Subject:List-Unsubscribe:List-Id:Cc:To:Date: From:Sender:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TJBhjWmE6iPCpsLF4jFPJFt/ARTjT37efwzt9o/Dx/A=; b=lKGj9h0LeZzqZ+jNDQhFTPpBzD ZTokFE+kdtjPcb6VhoXDBm1iaiU1vBjxP5AmbODUNnbyyPt6ax937h4gkMvUAsW2oIsxeMi3b0NHT 9U43XAZPy+GrxK6sRkzHnLnmihIygW16O6XSWdyWPplP3HATYjkgO3rXgi/uDH/FHU5A=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:Content-Transfer-Encoding:MIME-Version:Message-ID:Reply-To: References:Subject:List-Unsubscribe:List-Id:Cc:To:Date:From:Sender:Content-ID :Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To: Resent-Cc:Resent-Message-ID:In-Reply-To:List-Help:List-Subscribe:List-Post: List-Owner:List-Archive; bh=TJBhjWmE6iPCpsLF4jFPJFt/ARTjT37efwzt9o/Dx/A=; b=U uEHIHlknGpONzal7fAnMNTFqhpg7Rc7mJ6K+ZBH8Idn6WEZYeQKuskGUBjfPt0qZUk1gwTKZ0PoUf cvZqRBVDqrwSTGoZAOXLayhi/2DQBar/s2hpx/z5y6ONC0xr3PEFNTzNtndLgNOcpODhOIqNuIIPG ZNmqG+edpox073HA=; Received: from mail-wm1-f46.google.com ([209.85.128.46]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.95) id 1tiBJE-0004Kr-79 for openvpn-devel@lists.sourceforge.net; Wed, 12 Feb 2025 11:53:40 +0000 Received: by mail-wm1-f46.google.com with SMTP id 5b1f17b1804b1-4362bae4d7dso44516125e9.1 for <openvpn-devel@lists.sourceforge.net>; Wed, 12 Feb 2025 03:53:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=openvpn.net; s=google; t=1739361213; x=1739966013; darn=lists.sourceforge.net; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from:from:to:cc :subject:date:message-id:reply-to; bh=TJBhjWmE6iPCpsLF4jFPJFt/ARTjT37efwzt9o/Dx/A=; b=XaGkFFfy0+wQ6KqkIHNWuYQoyFy4hbiMXG460t6k8GCPmvD8X9zsyjyeaBYWCkP4FH uJRRpAM4yKzAof1GRx+nygivWdIAO9gLTAjKI08GFfVLxI9mL8kxd9ryqSPzrCdzAI4/ vTl+LIh3TQenKfT2QE/b22KprcN9xYFldEMLBGpCznRr4npVxVfsVqm/7uMkRjgvv5XG V5aP0de3bp8k50w8fvpWAfHnO9Y9YW84m2LkKNRcLzgLKnmZzqLzew9RDBjwUA74h46j XDkOcFT3iAQqMeCTvNsg0k06HB83mSdjkJ1xsWr85N13Ds4jteHR6fIdGpZ7tz4kAEbX r3yQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739361213; x=1739966013; h=user-agent:content-disposition:content-transfer-encoding :mime-version:message-id:reply-to:references:subject :list-unsubscribe:list-id:auto-submitted:cc:to:date:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=TJBhjWmE6iPCpsLF4jFPJFt/ARTjT37efwzt9o/Dx/A=; b=UovPRczC+2wcul0B3qjTqd6MyyUbQVkjBLV4Ggf1QPUcP5JHEhNmImOxzHdzg2rRsi E5YWNHbALTOQDDskQk1LrKNwQZMrl4Ykrrj4Y5uTipY2pfWAOJKcdpZWczVS0E5bVSW6 npJ2OVSuHyGUB3Fh3YbeILhE5251/z/T4N8FQ33YRpmERvydbGJ8BKFbaIoeqdSZnUn5 DzBaEKl3GABX+ocAnJ9r6VzW29ig8DqYSZBjiVeevQ/fakPBwVI9I8wZy4f7/2l3uajT nugOeHqJP+6lFB+GuNmX3517oicKYiuKubIf8tJ7boXAGIWYIMFmPeVDTdPdaMsLSdOX H0yA== X-Gm-Message-State: AOJu0YwgwZ6p807I264Qx6fvrZX88x4qSAAW2le4aEFtT35+TbDFqzuR S+qFePr7UoHLOKSB8DxuPjcOutdbiR1H0ChS0hcRzlPhJL1oes5zgO3o4F1HsnKpQeslJruOVIn k X-Gm-Gg: ASbGncuoPl987x49XsPkABVG2D8Y/E+7VYNmLt2Hs8JuSbvIoRJ2ZYt6IGbeiDzapU0 Q4dsCkG4i+dREWaq/yEY9nQu8PEt0poc8dhVgkgvcMN0fi4s4oi+nxAtdDH3RMAjiKW6tqmOIQZ SSI0CSxJkU0mSzM/tcMBorDFpTNkk5KzxI5QTehEPJuUW/haAIZQtmOYxtSktt3Q9zZr5DcGT14 yP4T5lV7lhm+8JissAHDPj/y+w0Docp2R+2h4I/ihY/uWkavRdxWTx0bXXBEQI+MzSjcCIG+Lp6 QQr9BVBuVKLueqUHA+6u0yvEmLFdt+FLpo8l98QkY+RADN3NoTQ4PBf0PNzJpeWInKCPzR8EnWG IW1Vh0E8= X-Received: by 2002:a5d:64ef:0:b0:38d:d69e:12fc with SMTP id ffacd0b85a97d-38dea256551mr2675255f8f.10.1739361213384; Wed, 12 Feb 2025 03:53:33 -0800 (PST) Received: from gerrit.openvpn.in (ec2-18-159-0-78.eu-central-1.compute.amazonaws.com. [18.159.0.78]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-439507518dfsm21878925e9.1.2025.02.12.03.53.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Feb 2025 03:53:33 -0800 (PST) From: "plaisthos (Code Review)" <gerrit@openvpn.net> X-Google-Original-From: "plaisthos (Code Review)" <gerrit@gerrit.openvpn.in> X-Gerrit-PatchSet: 1 Date: Wed, 12 Feb 2025 11:53:32 +0000 To: flichtenheld <frank@lichtenheld.com> Auto-Submitted: auto-generated X-Gerrit-MessageType: newchange X-Gerrit-Change-Id: I22e4b73e744c765a43bdb29f6e18813d103ea757 X-Gerrit-Change-Number: 890 X-Gerrit-Project: openvpn X-Gerrit-ChangeURL: <http://gerrit.openvpn.net/c/openvpn/+/890?usp=email> X-Gerrit-Commit: 4cec0bb3dc6f0d6402040ef8bec74a7c81a12903 References: <gerrit.1739361204000.I22e4b73e744c765a43bdb29f6e18813d103ea757@gerrit.openvpn.net> Message-ID: <7339e232f9d6a9dbd94473d7f647f51061a188b6-HTML@gerrit.openvpn.net> MIME-Version: 1.0 User-Agent: Gerrit/3.8.2 X-Spam-Score: -0.2 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-2.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit Content analysis details: (-0.2 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.46 listed in sa-accredit.habeas.com] 0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. [209.85.128.46 listed in bl.score.senderscore.com] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.128.46 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.128.46 listed in list.dnswl.org] 0.0 WEIRD_PORT URI: Uses non-standard port number for HTTP 0.0 HTML_MESSAGE BODY: HTML included in message -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.0 T_KAM_HTML_FONT_INVALID Test for Invalidly Named or Formatted Colors in HTML X-Headers-End: 1tiBJE-0004Kr-79 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Always use a 0.0.0.0/0 default on Android instead of def1 X-BeenThere: openvpn-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: <openvpn-devel.lists.sourceforge.net> List-Unsubscribe: <https://lists.sourceforge.net/lists/options/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=unsubscribe> List-Archive: <http://sourceforge.net/mailarchive/forum.php?forum_name=openvpn-devel> List-Post: <mailto:openvpn-devel@lists.sourceforge.net> List-Help: <mailto:openvpn-devel-request@lists.sourceforge.net?subject=help> List-Subscribe: <https://lists.sourceforge.net/lists/listinfo/openvpn-devel>, <mailto:openvpn-devel-request@lists.sourceforge.net?subject=subscribe> Reply-To: arne-openvpn@rfc2549.org, openvpn-devel@lists.sourceforge.net, frank@lichtenheld.com Cc: openvpn-devel <openvpn-devel@lists.sourceforge.net> Content-Type: multipart/mixed; boundary="===============6182482983805378308==" Errors-To: openvpn-devel-bounces@lists.sourceforge.net X-getmail-retrieved-from-mailbox: Inbox X-GMAIL-THRID: =?utf-8?q?1823852438229154782?= X-GMAIL-MSGID: =?utf-8?q?1823852438229154782?= X-getmail-filter-classifier: gerrit message type newchange |
Series |
[Openvpn-devel,S] Change in openvpn[master]: Always use a 0.0.0.0/0 default on Android instead of def1
|
expand
|
diff --git a/src/openvpn/route.c b/src/openvpn/route.c index d895e1c..71a0bbc9 100644 --- a/src/openvpn/route.c +++ b/src/openvpn/route.c @@ -1078,6 +1078,17 @@ if (rl->flags & RG_REROUTE_GW) { +#ifdef TARGET_ANDROID + add_route3(0, + 0, + rl->spec.remote_endpoint, + tt, + flags, + &rl->rgi, + es, + ctx); + +#else /* ifdef TARGET_ANDROID */ if (rl->flags & RG_DEF1) { /* add new default route (1st component) */ @@ -1102,6 +1113,7 @@ ret = add_route3(0, 0, rl->spec.remote_endpoint, tt, flags, &rl->rgi, es, ctx) && ret; } +#endif /* ifdef TARGET_ANDROID */ } /* set a flag so we can undo later */
Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/890?usp=email to review the following change. Change subject: Always use a 0.0.0.0/0 default on Android instead of def1 ...................................................................... Always use a 0.0.0.0/0 default on Android instead of def1 Certain handset manufactures (like Samsung iirc) are handling 0.0.0.0/0 different from the split /1 routes, so push the 0.0.0.0/0 route to the OS. Change-Id: I22e4b73e744c765a43bdb29f6e18813d103ea757 Signed-off-by: Arne Schwabe <arne@rfc2549.org> --- M src/openvpn/route.c 1 file changed, 12 insertions(+), 0 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/90/890/1