diff mbox

[03/11] iptables: add hash

Message ID 1410963609-18128-3-git-send-email-gustavo@zacarias.com.ar
State Superseded
Headers show

Commit Message

Gustavo Zacarias Sept. 17, 2014, 2:20 p.m. UTC
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/iptables/iptables.hash | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 package/iptables/iptables.hash

Comments

Yann E. MORIN Sept. 17, 2014, 8:12 p.m. UTC | #1
Gustavo, All,

On 2014-09-17 11:20 -0300, Gustavo Zacarias spake thusly:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

There is also a sha1sum available:
    ftp://ftp.netfilter.org/pub/iptables/iptables-1.4.21.tar.bz2.sha1sum

Since md5 is really so 20th century, it'd be good to use a stronger
hash, especially since upstream provides it.

Regards,
Yann E. MORIN.

> ---
>  package/iptables/iptables.hash | 2 ++
>  1 file changed, 2 insertions(+)
>  create mode 100644 package/iptables/iptables.hash
> 
> diff --git a/package/iptables/iptables.hash b/package/iptables/iptables.hash
> new file mode 100644
> index 0000000..61b9d3d
> --- /dev/null
> +++ b/package/iptables/iptables.hash
> @@ -0,0 +1,2 @@
> +# From http://www.netfilter.org/projects/iptables/downloads.html#iptables-1.4.21
> +md5	536d048c8e8eeebcd9757d0863ebb0c0 	iptables-1.4.21.tar.bz2
> -- 
> 1.8.5.5
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
Gustavo Zacarias Sept. 17, 2014, 8:15 p.m. UTC | #2
On 09/17/2014 05:12 PM, Yann E. MORIN wrote:

> Gustavo, All,
> 
> On 2014-09-17 11:20 -0300, Gustavo Zacarias spake thusly:
>> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> 
> There is also a sha1sum available:
>     ftp://ftp.netfilter.org/pub/iptables/iptables-1.4.21.tar.bz2.sha1sum
> 
> Since md5 is really so 20th century, it'd be good to use a stronger
> hash, especially since upstream provides it.
> 
> Regards,
> Yann E. MORIN.

I regret to inform you that SHA-1 is pretty much 20th century as well :)
But yeah, two sucky hashes are better than one.
Regards.
diff mbox

Patch

diff --git a/package/iptables/iptables.hash b/package/iptables/iptables.hash
new file mode 100644
index 0000000..61b9d3d
--- /dev/null
+++ b/package/iptables/iptables.hash
@@ -0,0 +1,2 @@ 
+# From http://www.netfilter.org/projects/iptables/downloads.html#iptables-1.4.21
+md5	536d048c8e8eeebcd9757d0863ebb0c0 	iptables-1.4.21.tar.bz2