All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] Use more secure HTTPS URLs
@ 2020-05-28 14:52 Paul Menzel
  2020-06-05 15:17 ` Jes Sorensen
  2020-06-12 14:50 ` Jes Sorensen
  0 siblings, 2 replies; 6+ messages in thread
From: Paul Menzel @ 2020-05-28 14:52 UTC (permalink / raw
  To: Jes Sorensen; +Cc: Paul Menzel, linux-raid

All URLs in the source are available over HTTPS, so convert all URLs to
HTTPS with the command below.

    git grep -l 'http://' | xargs sed -i 's,http://,https://,g'

Revert the changes to announcement files `ANNOUNCE-*` as requested by
the maintainer.

Cc: linux-raid@vger.kernel.org
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
 external-reshape-design.txt      | 2 +-
 mdadm.8.in                       | 6 +++---
 mdadm.spec                       | 4 ++--
 raid6check.8                     | 2 +-
 restripe.c                       | 2 +-
 udev-md-raid-safe-timeouts.rules | 2 +-
 6 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/external-reshape-design.txt b/external-reshape-design.txt
index 10c57cc..e4cf4e1 100644
--- a/external-reshape-design.txt
+++ b/external-reshape-design.txt
@@ -277,4 +277,4 @@ sync_action
 
 ...
 
-[1]: Linux kernel design patterns - part 3, Neil Brown http://lwn.net/Articles/336262/
+[1]: Linux kernel design patterns - part 3, Neil Brown https://lwn.net/Articles/336262/
diff --git a/mdadm.8.in b/mdadm.8.in
index 9e7cb96..7f32762 100644
--- a/mdadm.8.in
+++ b/mdadm.8.in
@@ -367,7 +367,7 @@ Use the Intel(R) Matrix Storage Manager metadata format.  This creates a
 which is managed in a similar manner to DDF, and is supported by an
 option-rom on some platforms:
 .IP
-.B http://www.intel.com/design/chipsets/matrixstorage_sb.htm
+.B https://www.intel.com/design/chipsets/matrixstorage_sb.htm
 .PP
 .RE
 
@@ -3407,7 +3407,7 @@ was previously known as
 For further information on mdadm usage, MD and the various levels of
 RAID, see:
 .IP
-.B http://raid.wiki.kernel.org/
+.B https://raid.wiki.kernel.org/
 .PP
 (based upon Jakob \(/Ostergaard's Software\-RAID.HOWTO)
 .PP
@@ -3415,7 +3415,7 @@ The latest version of
 .I mdadm
 should always be available from
 .IP
-.B http://www.kernel.org/pub/linux/utils/raid/mdadm/
+.B https://www.kernel.org/pub/linux/utils/raid/mdadm/
 .PP
 Related man pages:
 .PP
diff --git a/mdadm.spec b/mdadm.spec
index 1c66894..506ea33 100644
--- a/mdadm.spec
+++ b/mdadm.spec
@@ -2,8 +2,8 @@ Summary:     mdadm is used for controlling Linux md devices (aka RAID arrays)
 Name:        mdadm
 Version:     4.1
 Release:     1
-Source:      http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.gz
-URL:         http://neil.brown.name/blog/mdadm
+Source:      https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.gz
+URL:         https://neil.brown.name/blog/mdadm
 License:     GPL
 Group:       Utilities/System
 BuildRoot:   %{_tmppath}/%{name}-root
diff --git a/raid6check.8 b/raid6check.8
index 5003343..8999ca8 100644
--- a/raid6check.8
+++ b/raid6check.8
@@ -86,7 +86,7 @@ The latest version of
 .I raid6check
 should always be available from
 .IP
-.B http://www.kernel.org/pub/linux/utils/raid/mdadm/
+.B https://www.kernel.org/pub/linux/utils/raid/mdadm/
 .PP
 Related man pages:
 .PP
diff --git a/restripe.c b/restripe.c
index 31b07e8..2aecdb8 100644
--- a/restripe.c
+++ b/restripe.c
@@ -333,7 +333,7 @@ void make_tables(void)
 
 	/* Compute log and inverse log */
 	/* Modified code from:
-	 *    http://web.eecs.utk.edu/~plank/plank/papers/CS-96-332.html
+	 *    https://web.eecs.utk.edu/~plank/plank/papers/CS-96-332.html
 	 */
 	b = 1;
 	raid6_gflog[0] = 0;
diff --git a/udev-md-raid-safe-timeouts.rules b/udev-md-raid-safe-timeouts.rules
index 13c23d8..12bdcaa 100644
--- a/udev-md-raid-safe-timeouts.rules
+++ b/udev-md-raid-safe-timeouts.rules
@@ -13,7 +13,7 @@
 #
 # You should have received a copy of the GNU General Public License
 # along with mdraid-safe-timeouts.  If not, see
-# <http://www.gnu.org/licenses/>.
+# <https://www.gnu.org/licenses/>.
 
 # This file causes block devices with Linux RAID (mdadm) signatures to
 # attempt to set safe timeouts for the drives involved
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] Use more secure HTTPS URLs
  2020-05-28 14:52 [PATCH v2] Use more secure HTTPS URLs Paul Menzel
@ 2020-06-05 15:17 ` Jes Sorensen
  2020-06-05 18:23   ` Paul Menzel
  2020-06-12 14:50 ` Jes Sorensen
  1 sibling, 1 reply; 6+ messages in thread
From: Jes Sorensen @ 2020-06-05 15:17 UTC (permalink / raw
  To: Paul Menzel, Mariusz Tkaczyk; +Cc: linux-raid, Pawel Baldysiak, Kinga Tanska

On 5/28/20 10:52 AM, Paul Menzel wrote:
> All URLs in the source are available over HTTPS, so convert all URLs to
> HTTPS with the command below.
> 
>     git grep -l 'http://' | xargs sed -i 's,http://,https://,g'
> 
> Revert the changes to announcement files `ANNOUNCE-*` as requested by
> the maintainer.
> 
> Cc: linux-raid@vger.kernel.org
> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
> ---
>  external-reshape-design.txt      | 2 +-
>  mdadm.8.in                       | 6 +++---
>  mdadm.spec                       | 4 ++--
>  raid6check.8                     | 2 +-
>  restripe.c                       | 2 +-
>  udev-md-raid-safe-timeouts.rules | 2 +-
>  6 files changed, 9 insertions(+), 9 deletions(-)
> 
> diff --git a/external-reshape-design.txt b/external-reshape-design.txt
> index 10c57cc..e4cf4e1 100644
> --- a/external-reshape-design.txt
> +++ b/external-reshape-design.txt
> @@ -277,4 +277,4 @@ sync_action
>  
>  ...
>  
> -[1]: Linux kernel design patterns - part 3, Neil Brown http://lwn.net/Articles/336262/
> +[1]: Linux kernel design patterns - part 3, Neil Brown https://lwn.net/Articles/336262/
> diff --git a/mdadm.8.in b/mdadm.8.in
> index 9e7cb96..7f32762 100644
> --- a/mdadm.8.in
> +++ b/mdadm.8.in
> @@ -367,7 +367,7 @@ Use the Intel(R) Matrix Storage Manager metadata format.  This creates a
>  which is managed in a similar manner to DDF, and is supported by an
>  option-rom on some platforms:
>  .IP
> -.B http://www.intel.com/design/chipsets/matrixstorage_sb.htm
> +.B https://www.intel.com/design/chipsets/matrixstorage_sb.htm

Sorry for being a pain, but this link isn't actually valid.

Does someone from Intel know what to point at?

Cheers,
Jes

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] Use more secure HTTPS URLs
  2020-06-05 15:17 ` Jes Sorensen
@ 2020-06-05 18:23   ` Paul Menzel
  2020-06-09  9:15     ` Tkaczyk, Mariusz
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Menzel @ 2020-06-05 18:23 UTC (permalink / raw
  To: Jes Sorensen, Mariusz Tkaczyk; +Cc: linux-raid, Pawel Baldysiak, Kinga Tanska

Dear Jes,


Am 05.06.20 um 17:17 schrieb Jes Sorensen:
> On 5/28/20 10:52 AM, Paul Menzel wrote:
>> All URLs in the source are available over HTTPS, so convert all URLs to
>> HTTPS with the command below.
>>
>>      git grep -l 'http://' | xargs sed -i 's,http://,https://,g'
>>
>> Revert the changes to announcement files `ANNOUNCE-*` as requested by
>> the maintainer.
>>
>> Cc: linux-raid@vger.kernel.org
>> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
>> ---
>>   external-reshape-design.txt      | 2 +-
>>   mdadm.8.in                       | 6 +++---
>>   mdadm.spec                       | 4 ++--
>>   raid6check.8                     | 2 +-
>>   restripe.c                       | 2 +-
>>   udev-md-raid-safe-timeouts.rules | 2 +-
>>   6 files changed, 9 insertions(+), 9 deletions(-)
>>
>> diff --git a/external-reshape-design.txt b/external-reshape-design.txt
>> index 10c57cc..e4cf4e1 100644
>> --- a/external-reshape-design.txt
>> +++ b/external-reshape-design.txt
>> @@ -277,4 +277,4 @@ sync_action
>>   
>>   ...
>>   
>> -[1]: Linux kernel design patterns - part 3, Neil Brown http://lwn.net/Articles/336262/
>> +[1]: Linux kernel design patterns - part 3, Neil Brown https://lwn.net/Articles/336262/
>> diff --git a/mdadm.8.in b/mdadm.8.in
>> index 9e7cb96..7f32762 100644
>> --- a/mdadm.8.in
>> +++ b/mdadm.8.in
>> @@ -367,7 +367,7 @@ Use the Intel(R) Matrix Storage Manager metadata format.  This creates a
>>   which is managed in a similar manner to DDF, and is supported by an
>>   option-rom on some platforms:
>>   .IP
>> -.B http://www.intel.com/design/chipsets/matrixstorage_sb.htm
>> +.B https://www.intel.com/design/chipsets/matrixstorage_sb.htm
> 
> Sorry for being a pain, but this link isn't actually valid.

Sorry, for not mentioning that in the commit message. Indeed the 
original page is gone, but the plain HTTP URL gets redirected to HTTPS, 
so it doesn’t change the behavior from before.

```
$ curl -I http://www.intel.com/design/chipsets/matrixstorage_sb.htm
HTTP/1.1 301 Moved Permanently
Server: AkamaiGHost
Content-Length: 0
Location: https://www.intel.com/design/chipsets/matrixstorage_sb.htm
Date: Fri, 05 Jun 2020 18:20:43 GMT
Connection: keep-alive
Set-Cookie: detected_bandwidth=LOW; path=/; domain=.intel.com; secure; 
HttpOnly
Set-Cookie: src_countrycode=DE; path=/; domain=.intel.com; secure; HttpOnly
Access-Control-Allow-Origin: *
X-Content-Type-Options: nosniff

```

So, maybe take this patch, and the outdated URL can be fixed in a 
follow-up once it’s known.

> Does someone from Intel know what to point at?

That’d be great.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: [PATCH v2] Use more secure HTTPS URLs
  2020-06-05 18:23   ` Paul Menzel
@ 2020-06-09  9:15     ` Tkaczyk, Mariusz
  2020-06-12 14:47       ` Jes Sorensen
  0 siblings, 1 reply; 6+ messages in thread
From: Tkaczyk, Mariusz @ 2020-06-09  9:15 UTC (permalink / raw
  To: Paul Menzel, Jes Sorensen
  Cc: linux-raid@vger.kernel.org, Baldysiak, Pawel, Tanska, Kinga

Hi,
I'm recommending this link:
https://www.intel.com/content/www/us/en/support/products/122484/memory-and-storage/ssd-software/intel-virtual-raid-on-cpu-intel-vroc.html

Currently we don't have any online superblock description, redirecting to the VROC support page is the best we can do.
Previous link is permanently dead.

Thanks,
Mariusz

-----Original Message-----
From: linux-raid-owner@vger.kernel.org <linux-raid-owner@vger.kernel.org> On Behalf Of Paul Menzel
Sent: Friday, June 5, 2020 8:23 PM
To: Jes Sorensen <jes@trained-monkey.org>; Tkaczyk, Mariusz <mariusz.tkaczyk@intel.com>
Cc: linux-raid@vger.kernel.org; Baldysiak, Pawel <pawel.baldysiak@intel.com>; Tanska, Kinga <kinga.tanska@intel.com>
Subject: Re: [PATCH v2] Use more secure HTTPS URLs

Dear Jes,


Am 05.06.20 um 17:17 schrieb Jes Sorensen:
> On 5/28/20 10:52 AM, Paul Menzel wrote:
>> All URLs in the source are available over HTTPS, so convert all URLs 
>> to HTTPS with the command below.
>>
>>      git grep -l 'http://' | xargs sed -i 's,http://,https://,g'
>>
>> Revert the changes to announcement files `ANNOUNCE-*` as requested by 
>> the maintainer.
>>
>> Cc: linux-raid@vger.kernel.org
>> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
>> ---
>>   external-reshape-design.txt      | 2 +-
>>   mdadm.8.in                       | 6 +++---
>>   mdadm.spec                       | 4 ++--
>>   raid6check.8                     | 2 +-
>>   restripe.c                       | 2 +-
>>   udev-md-raid-safe-timeouts.rules | 2 +-
>>   6 files changed, 9 insertions(+), 9 deletions(-)
>>
>> diff --git a/external-reshape-design.txt 
>> b/external-reshape-design.txt index 10c57cc..e4cf4e1 100644
>> --- a/external-reshape-design.txt
>> +++ b/external-reshape-design.txt
>> @@ -277,4 +277,4 @@ sync_action
>>   
>>   ...
>>   
>> -[1]: Linux kernel design patterns - part 3, Neil Brown 
>> http://lwn.net/Articles/336262/
>> +[1]: Linux kernel design patterns - part 3, Neil Brown 
>> +https://lwn.net/Articles/336262/
>> diff --git a/mdadm.8.in b/mdadm.8.in
>> index 9e7cb96..7f32762 100644
>> --- a/mdadm.8.in
>> +++ b/mdadm.8.in
>> @@ -367,7 +367,7 @@ Use the Intel(R) Matrix Storage Manager metadata format.  This creates a
>>   which is managed in a similar manner to DDF, and is supported by an
>>   option-rom on some platforms:
>>   .IP
>> -.B http://www.intel.com/design/chipsets/matrixstorage_sb.htm
>> +.B https://www.intel.com/design/chipsets/matrixstorage_sb.htm
> 
> Sorry for being a pain, but this link isn't actually valid.

Sorry, for not mentioning that in the commit message. Indeed the original page is gone, but the plain HTTP URL gets redirected to HTTPS, so it doesn’t change the behavior from before.

```
$ curl -I http://www.intel.com/design/chipsets/matrixstorage_sb.htm
HTTP/1.1 301 Moved Permanently
Server: AkamaiGHost
Content-Length: 0
Location: https://www.intel.com/design/chipsets/matrixstorage_sb.htm
Date: Fri, 05 Jun 2020 18:20:43 GMT
Connection: keep-alive
Set-Cookie: detected_bandwidth=LOW; path=/; domain=.intel.com; secure; HttpOnly
Set-Cookie: src_countrycode=DE; path=/; domain=.intel.com; secure; HttpOnly
Access-Control-Allow-Origin: *
X-Content-Type-Options: nosniff

```

So, maybe take this patch, and the outdated URL can be fixed in a follow-up once it’s known.

> Does someone from Intel know what to point at?

That’d be great.


Kind regards,

Paul

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] Use more secure HTTPS URLs
  2020-06-09  9:15     ` Tkaczyk, Mariusz
@ 2020-06-12 14:47       ` Jes Sorensen
  0 siblings, 0 replies; 6+ messages in thread
From: Jes Sorensen @ 2020-06-12 14:47 UTC (permalink / raw
  To: Tkaczyk, Mariusz, Paul Menzel
  Cc: linux-raid@vger.kernel.org, Baldysiak, Pawel, Tanska, Kinga

Hi Mariusz,

Thanks for the pointer. Lets update the man page to point to this, it's
better than nothing.

Cheers,
Jes

On 6/9/20 5:15 AM, Tkaczyk, Mariusz wrote:
> Hi,
> I'm recommending this link:
> https://www.intel.com/content/www/us/en/support/products/122484/memory-and-storage/ssd-software/intel-virtual-raid-on-cpu-intel-vroc.html
> 
> Currently we don't have any online superblock description, redirecting to the VROC support page is the best we can do.
> Previous link is permanently dead.
> 
> Thanks,
> Mariusz
> 
> -----Original Message-----
> From: linux-raid-owner@vger.kernel.org <linux-raid-owner@vger.kernel.org> On Behalf Of Paul Menzel
> Sent: Friday, June 5, 2020 8:23 PM
> To: Jes Sorensen <jes@trained-monkey.org>; Tkaczyk, Mariusz <mariusz.tkaczyk@intel.com>
> Cc: linux-raid@vger.kernel.org; Baldysiak, Pawel <pawel.baldysiak@intel.com>; Tanska, Kinga <kinga.tanska@intel.com>
> Subject: Re: [PATCH v2] Use more secure HTTPS URLs
> 
> Dear Jes,
> 
> 
> Am 05.06.20 um 17:17 schrieb Jes Sorensen:
>> On 5/28/20 10:52 AM, Paul Menzel wrote:
>>> All URLs in the source are available over HTTPS, so convert all URLs 
>>> to HTTPS with the command below.
>>>
>>>      git grep -l 'http://' | xargs sed -i 's,http://,https://,g'
>>>
>>> Revert the changes to announcement files `ANNOUNCE-*` as requested by 
>>> the maintainer.
>>>
>>> Cc: linux-raid@vger.kernel.org
>>> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
>>> ---
>>>   external-reshape-design.txt      | 2 +-
>>>   mdadm.8.in                       | 6 +++---
>>>   mdadm.spec                       | 4 ++--
>>>   raid6check.8                     | 2 +-
>>>   restripe.c                       | 2 +-
>>>   udev-md-raid-safe-timeouts.rules | 2 +-
>>>   6 files changed, 9 insertions(+), 9 deletions(-)
>>>
>>> diff --git a/external-reshape-design.txt 
>>> b/external-reshape-design.txt index 10c57cc..e4cf4e1 100644
>>> --- a/external-reshape-design.txt
>>> +++ b/external-reshape-design.txt
>>> @@ -277,4 +277,4 @@ sync_action
>>>   
>>>   ...
>>>   
>>> -[1]: Linux kernel design patterns - part 3, Neil Brown 
>>> http://lwn.net/Articles/336262/
>>> +[1]: Linux kernel design patterns - part 3, Neil Brown 
>>> +https://lwn.net/Articles/336262/
>>> diff --git a/mdadm.8.in b/mdadm.8.in
>>> index 9e7cb96..7f32762 100644
>>> --- a/mdadm.8.in
>>> +++ b/mdadm.8.in
>>> @@ -367,7 +367,7 @@ Use the Intel(R) Matrix Storage Manager metadata format.  This creates a
>>>   which is managed in a similar manner to DDF, and is supported by an
>>>   option-rom on some platforms:
>>>   .IP
>>> -.B http://www.intel.com/design/chipsets/matrixstorage_sb.htm
>>> +.B https://www.intel.com/design/chipsets/matrixstorage_sb.htm
>>
>> Sorry for being a pain, but this link isn't actually valid.
> 
> Sorry, for not mentioning that in the commit message. Indeed the original page is gone, but the plain HTTP URL gets redirected to HTTPS, so it doesn’t change the behavior from before.
> 
> ```
> $ curl -I http://www.intel.com/design/chipsets/matrixstorage_sb.htm
> HTTP/1.1 301 Moved Permanently
> Server: AkamaiGHost
> Content-Length: 0
> Location: https://www.intel.com/design/chipsets/matrixstorage_sb.htm
> Date: Fri, 05 Jun 2020 18:20:43 GMT
> Connection: keep-alive
> Set-Cookie: detected_bandwidth=LOW; path=/; domain=.intel.com; secure; HttpOnly
> Set-Cookie: src_countrycode=DE; path=/; domain=.intel.com; secure; HttpOnly
> Access-Control-Allow-Origin: *
> X-Content-Type-Options: nosniff
> 
> ```
> 
> So, maybe take this patch, and the outdated URL can be fixed in a follow-up once it’s known.
> 
>> Does someone from Intel know what to point at?
> 
> That’d be great.
> 
> 
> Kind regards,
> 
> Paul
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2] Use more secure HTTPS URLs
  2020-05-28 14:52 [PATCH v2] Use more secure HTTPS URLs Paul Menzel
  2020-06-05 15:17 ` Jes Sorensen
@ 2020-06-12 14:50 ` Jes Sorensen
  1 sibling, 0 replies; 6+ messages in thread
From: Jes Sorensen @ 2020-06-12 14:50 UTC (permalink / raw
  To: Paul Menzel, Mariusz Tkaczyk; +Cc: linux-raid

On 5/28/20 10:52 AM, Paul Menzel wrote:
> All URLs in the source are available over HTTPS, so convert all URLs to
> HTTPS with the command below.
> 
>     git grep -l 'http://' | xargs sed -i 's,http://,https://,g'
> 
> Revert the changes to announcement files `ANNOUNCE-*` as requested by
> the maintainer.
> 
> Cc: linux-raid@vger.kernel.org
> Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
> ---
>  external-reshape-design.txt      | 2 +-
>  mdadm.8.in                       | 6 +++---
>  mdadm.spec                       | 4 ++--
>  raid6check.8                     | 2 +-
>  restripe.c                       | 2 +-
>  udev-md-raid-safe-timeouts.rules | 2 +-
>  6 files changed, 9 insertions(+), 9 deletions(-)
I applied this and then applied a follow-on patch to fix the Intel link
to the one Mariusz provided.

Thanks,
Jes

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-06-12 14:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-28 14:52 [PATCH v2] Use more secure HTTPS URLs Paul Menzel
2020-06-05 15:17 ` Jes Sorensen
2020-06-05 18:23   ` Paul Menzel
2020-06-09  9:15     ` Tkaczyk, Mariusz
2020-06-12 14:47       ` Jes Sorensen
2020-06-12 14:50 ` Jes Sorensen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.