Commit Graph

48 Commits

Author SHA1 Message Date
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Michael Tremer
7cdd550577 dhcpcd: Allow freely setting MTU
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-23 15:46:45 +00:00
Michael Tremer
9c68992498 dhcpcd: Remove old MTU setting script
This is being replaced by adding the MTU option to any routes that
dhcpcd installs.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-23 15:46:45 +00:00
Matthias Fischer
f48544ef43 dhcpcd: Update to 9.4.1
For details see:
https://roy.marples.name/git/dhcpcd/shortlog/refs/heads/dhcpcd-9

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
2021-11-24 09:41:00 +00:00
Arne Fitzenreiter
8d54184970 Revert "Revert "dhcpcd: Update to 9.4.0""
This reverts commit c1b356d20d.
2021-07-05 07:42:37 +02:00
Arne Fitzenreiter
63e0d451db Revert "Revert "dhcpcd: Update to 9.3.4""
This reverts commit 7c6a4babf8.
2021-07-05 07:42:37 +02:00
Michael Tremer
7c6a4babf8 Revert "dhcpcd: Update to 9.3.4"
This reverts commit d96d979e2a.

Arne requested to revert this commit as well since dhcpcd still does not
run without any problems on i586 systems.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-16 11:50:16 +00:00
Michael Tremer
c1b356d20d Revert "dhcpcd: Update to 9.4.0"
This reverts commit 15194c7c52.

This version still fails to run on i586 without this patch.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-02-05 17:01:29 +00:00
Matthias Fischer
15194c7c52 dhcpcd: Update to 9.4.0
For details see:
https://roy.marples.name/archives/dhcpcd-discuss/0003420.html

Former patch for Bug #12552 is now included.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-01-03 11:12:55 +00:00
Matthias Fischer
d96d979e2a dhcpcd: Update to 9.3.4
For details see:
https://roy.marples.name/archives/dhcpcd-discuss/0003334.html

This version contains the official fix from here:
https://roy.marples.name/cgit/dhcpcd.git/commit/?id=12cdb2be46e25e1ab99df18324b787ad8749dff7

This should fix Bug #12552 (dhcpcd-9.3.4 crash with bad system call)
on 32bit/i686 systems.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-24 11:57:17 +00:00
Michael Tremer
8e3c15e687 Revert "dhcpcd: Update to 9.3.4"
This reverts commit 64dfe75142.

This version does not run in i686 as reported in #12552.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-18 16:57:29 +00:00
Matthias Fischer
64dfe75142 dhcpcd: Update to 9.3.4
For details see:
https://roy.marples.name/blog/dhcpcd-9-3-4-released.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-10 13:01:05 +00:00
Matthias Fischer
6611ea82af dhcpcd: Update to 9.1.4
For details (9.1.2 => 9.1.3 => 9.1.4) see:

https://roy.marples.name/blog/dhcpcd-9-1-3-released.html

        "configure: Fix fallout with disabling embedded config
        inet6: Add support for reporting Mobile IPv6 RA's
        inet6: Report RA Proxy flag if set
        BSD: Allow non NetBSD and OpenBSD to set IN6_IFF_AUTOCONF
        privsep: Don't handle any signals meant for the main process
        eloop: Try and survive a signal storm
        configure: add --with-eghook=foo
        dhcpcd: Add an option to poll the interface carrier state
        script: Make visible some link level parameters to lease dumping
        Linux: ignore unsupported interfaces by default, such as sit0
        Linux: support aarch64 for reading cpu info
        Linux: keep the generic netlink socket around to get ssid with privsep
        Linux: restore fix when no address is returned by getifaddrs(3)
        inet6: Don't regen temp addresses we didn't add
        privsep: Don't limit file writes if logging to a file
        DHCP6: Fix lease timings with nodelay option"

https://roy.marples.name/blog/dhcpcd-9-1-4-released.html

    "Fix SMALL builds
    Ensure DBDIR exists at startup"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-09-24 17:36:37 +00:00
Matthias Fischer
f84b8d7aae dhcpcd: Update to 9.1.2
For details see:
https://roy.marples.name/blog/dhcpcd-9-1-2-released.html

    "Fix installing dhcpcd-definitions.conf rather than embedding it
    NetBSD: free ARP state once IPv4LL address announced
    Linux: fix compile for older distros
    udev: disable plugin for non Linux OS's
    BSD: Mark RA dervied addresses as AUTOCONF on NetBSD-current
    BSD: Only mark static routes from dhcpcd.conf as static
    DHCP6: Ensure requested addresses are requested
    DHCP6: Fix prefix length calculation when no prefix specified
    privsep: Implement a resource limited sandbox [1]
    privsep: Remove inet and dns pledges from master process
    privsep: call getifaddrs when the BSD lacks SIOCGIFALIAS
    privsep: free getifaddrs the right way if from privsep or not

[1] You will see a control proxy process now. This is for the resource
limited sandbox so that we can isolate requests over the control socket.
For NetBSD, FreeBSD and derivatives such as DragonFlyBSD this is
a massive win as these OS now enjoy a similar level of protection
as Capsicum or Pledge, but without the syscall filtering."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-06-19 17:14:59 +00:00
Matthias Fischer
b481754aa3 dhcpcd: Update to 9.0.2
For details see:
https://roy.marples.name/archives/dhcpcd-discuss/0002941.html

"* Control sockets are not opened in test mode
* privsep: no longer aborts if protocol not available
* inet6: Don't regen temporary addresses without a state
* inet6: Reduce RA log spam
* dhcp6: Don't log when things consitently fail
* inet6: Add temporary directive to slaac option [1]
* Ensure current interface flags persist when setting a flag
* DHCP via BPF is now aligned correctly
* CMSG buffers are now aligned correctly
* hostnames are no longer clobbered when being forced and a RA is recieved"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-04-21 19:11:34 +00:00
Matthias Fischer
03e4f8d60e dhcpcd: Update to 9.0.1
For details see:
https://roy.marples.name/archives/dhcpcd-discuss/0002921.html

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-04-16 05:42:58 +00:00
Arne Fitzenreiter
b3e2c3ce26 dhcpcd: update to 9.00
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-04-12 08:16:28 +02:00
Arne Fitzenreiter
a2c2c4c74c Revert "dhcpcd: Update to 8.0.2"
This reverts commit 0184e5806d.
2019-10-15 07:50:12 +00:00
Arne Fitzenreiter
3cbed67644 Revert "dhcpcd: Update to 8.0.3"
This reverts commit 8a001e556c.
2019-10-15 07:49:31 +00:00
Arne Fitzenreiter
5867db5808 Revert "dhcpcd: Update to 8.0.6"
This reverts commit a4bb11243f.
2019-10-15 07:48:56 +00:00
Arne Fitzenreiter
0e60713ff0 Revert "dhcpcd: Update to 8.1.0"
This reverts commit 4863f2096c.
2019-10-15 07:48:12 +00:00
Matthias Fischer
4863f2096c dhcpcd: Update to 8.1.0
For details see:
https://roy.marples.name/blog/dhcpcd-8-1-0-released

"DragonFlyBSD: Improved rc.d handling
Fix carrier status after a route socket overflow
Allow domain spaced options
DHCP: Allow not sending Force Renew Nonce or Reconf Accept
IPv4LL: Now passes Apple Bonjour test versions 1.4 and 1.5
ARP: Fix a typo and remove pragma (thus working with old gcc)
DHCP6: Fix a cosmetic issue with infinite leases
DHCP6: SLA 0 and Prefix Len 0 will now add a delegated /64 address
Ignore some virtual interfaces such as Tap and Bridge by default
BPF: Move validation logic out of BPF and back into dhcpcd"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-10-13 06:08:05 +00:00
Matthias Fischer
a4bb11243f dhcpcd: Update to 8.0.6
For details see:
https://roy.marples.name/blog/dhcpcd-8-0-6-released

"inet6: Fix default route not being installed
DHCP: If root fs is network mounted, enable last lease extend
man: Fix lint errors.
BSD: avoid RTF_WASCLONED routes
DHCP: Give a better message when packet validation fails
DHCP: Ensure we have enough data to checksum IP and UDP

The last change fixes a potential DoS attack introduced in dhcpcd-8.0.3
when the checksuming code was changed to accomodate variable length
IP headers. The commit says since 7.2.0, but I've now decided that's not
the case."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-10-08 17:58:35 +00:00
Matthias Fischer
8a001e556c dhcpcd: Update to 8.0.3
https://roy.marples.name/blog/dhcpcd-8-0-3-released

"DHCP: Work with IP headers with options
script: Assert that env string are correctly terminated
script: Terminate env strings with no value
script: Don't attempt to use an invalid env string
route: Fix NULL deference error when using static routes
ARP: Respect IFF_NOARP
DHCP: Add support for ARPHRD_NONE interfaces
DHCP: Allow full DHCP support for PtP interfaces, but not by default
DragonFlyBSD: 500704 announces IPv6 address flag changes
control: sends correct buffer to listeners"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-08-28 08:16:53 +00:00
Matthias Fischer
0184e5806d dhcpcd: Update to 8.0.2
For details see:
https://roy.marples.name/

"NetBSD: Can be build without ARP support but listen to kernel DaD
ND6: Removed NA support from SMALL builds
ND6: Remove and warn about NA issues on OS's other than NetBSD and Linux
script: /tmp files are now cleaned up for systems without open_memstream(3)
configure: open_memstream(3) detected on recent glibc
DHCP: Avoid duplicate read of UDP socket when BPF is also open
IP: Avoid adding address if already exists on OS other than Linux
IP6: Avoid adding address is already exists on Solaris
route: Fixed a NULL de-reference error on statically configured routes
DHCP6: Move to REQUEST when any IA has error no-binding in RENEW/REBIND
DragonFlyBSD: Now compiles and works for
IP: Accept packets with IP header options"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2019-08-20 17:36:39 +00:00
Matthias Fischer
5fa51a839e dhcpcd: Update to 7.2.3
For details see: Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
https://roy.marples.name/blog/dhcpcd-7-2-3-released

"Minor update with the following changes:

   OpenBSD: compiles again
   BSD: Check RTM lengths incase of kernel issues
   DHCP6: Don't stop even when last router goes away
   DHCP6: Fix inform from RA
   hostname: Fix short hostname check"

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-06-25 08:18:05 +01:00
Matthias Fischer
60bc3a4b7a dhcpcd: Update to 7.2.2
For details see:
https://roy.marples.name/

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-05-07 23:45:52 +01:00
Matthias Fischer
941a3dec4e dhcpcd: Update to 7.1.1
For details see:
https://roy.marples.name/blog/dhcpcd-7-1-1-released

"A minor update, highlights include:

 IPv4LL: Fixed build with this disabled
 IPv4LL: Remember last address between carrier resets
 BSD: Fixed initial link infos reported as LINK_STATE_UNKNOWN
 FreeBSD: Avoid panicing kernel when RTA_IFP is set for IPv6 prefix routes"

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-13 11:28:30 +00:00
Matthias Fischer
2378f373dd dhcpcd: Update to 7.1.0
For some informations about this update see:
https://roy.marples.name/blog/dhcpcd-7-1-0-released

"dhcpcd-7.1.0 has been released with the following changes:

- OpenBSD: works alongside slaacd(8)
- NetBSD: sets SO_RERROR on to detect receive socket overflow
- BSD: route improvements to avoid listening for own changes
- Linux: use NETLINK_BROADCAST_ERROR
- BSD: avoid late address deletion messages by testing address existance
- IP6: implement IP6 address sharing
- BSD: catch UP/DOWN events when interfaces does support media changes
- IPv4LL: remember old address when carrier is lost

Many other minor fixes and documenation updates have been submitted by various
community members for this release..."

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-02-04 00:39:25 +00:00
Matthias Fischer
6801827a61 dhcpcd: Update to 7.0.8
Hi,

No explicit changelog. I used:
https://roy.marples.name/search/query:dhcpcd

Running here.

Best,
Matthias

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-10-18 14:52:00 +01:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Arne Fitzenreiter
0eb2a67255 dhcpcd: updated to 6.11.5
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2017-02-12 19:53:34 +01:00
Arne Fitzenreiter
552fb4b8b5 dhcpcd: rework mtu handling on buggy nic's
some nic's loose the carrier after setting new mtu.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2016-02-01 07:31:46 +01:00
Arne Fitzenreiter
f59b59db96 dhcpcd: revert dhclient config before core91.
the new config has some ipv6 defaults that conflict with
t-com entertain.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2015-12-02 14:39:19 +01:00
Matthias Fischer
899a422790 dhcpcd: Update to 6.7.1 2015-02-18 12:24:10 +01:00
Arne Fitzenreiter
4a3ae7fa37 dhcpcd: ignore MTU Smaller than 577.
Normally 576 is the smallest valid mtu but some cable provider set this
also if they support much higher mtu's. Fedora does not accept
this to prevent speed problems with such isp connections so we do the same.
If you really need mtu=576 you can still force at at the setup.
2012-05-12 17:13:45 +02:00
Arne Fitzenreiter
9aa36230a5 Updated dhcpcd (5.2.9). 2010-11-28 21:01:56 +01:00
Arne Fitzenreiter
26617b09c4 Update dhcpcd. 2009-12-20 18:10:11 +01:00
ms
f81407fddb A big collection of build errors...
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1035 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-30 19:18:49 +00:00
maniacikarus
34273fd05a Forgot to change the md5
update l7protocols


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1031 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-29 20:20:29 +00:00
maniacikarus
c268e9f208 Updated e2fsprogs postfix dhcpd dhcp fetchmail httpd cpio lame
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1029 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-10-29 19:57:41 +00:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
1393a0c8f8 dhcpcd.exe geschrieben.
asterisk.cgis geloescht.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@787 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-19 21:55:19 +00:00
ms
bf7c473f7b Netzwerkscripts erweitert.
Sprachsdateien aktualisiert, Menue fuer Firewallloggraphen hinzugefuegt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@480 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-04-04 12:55:38 +00:00
ms
069680acc1 Netzwerkscript beinahe vollendet.
Setup bearbeitet. (Geht schon ganz gut.)
Sonstiges wie immer...


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@366 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-12-21 18:38:37 +00:00
ms
d316437b8d Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@310 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-08 22:55:09 +00:00
ms
f417cab6e0 Zweiter Teil des dicken Quellenupdates. Diesmal: C bis D.
Status: 49/230 fertiggestellt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@132 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-05-22 12:47:00 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00