19 Commits

Author SHA1 Message Date
Adolf Belka
64f9606302 pam: Update to version 1.6.0
- Update from version 1.5.3 to 1.6.0
- Update of rootfile
- A build bug was found with 1.6.0 if --enable-read-both-confs was set in the configure.
   A commit fixing this has been released and converted into a patch for IPFire. This
   will end up in the next pam release version and the IPFire patch can then be removed.
- Changelog
    1.6.0
	* Added support of configuration files with arbitrarily long lines.
	* build: fixed build outside of the source tree.
	* libpam: added use of getrandom(2) as a source of randomness if available.
	* libpam: fixed calculation of fail delay with very long delays.
	* libpam: fixed potential infinite recursion with includes.
	* libpam: implemented string to number conversions validation when parsing
	  controls in configuration.
	* pam_access: added quiet_log option.
	* pam_access: fixed truncation of very long group names.
	* pam_canonicalize_user: new module to canonicalize user name.
	* pam_echo: fixed file handling to prevent overflows and short reads.
	* pam_env: added support of '\' character in environment variable values.
	* pam_exec: allowed expose_authtok for password PAM_TYPE.
	* pam_exec: fixed stack overflow with binary output of programs.
	* pam_faildelay: implemented parameter ranges validation.
	* pam_listfile: changed to treat \r and \n exactly the same in configuration.
	* pam_mkhomedir: hardened directory creation against timing attacks.
	  Please note that using *at functions leads to more open file handles
	  during creation.
	* pam_namespace: fixed potential local DoS (CVE-2024-22365).
	* pam_nologin: fixed file handling to prevent short reads.
	* pam_pwhistory: helper binary is now built only if SELinux support is enabled.
	* pam_pwhistory: implemented reliable usernames handling when remembering
	  passwords.
	* pam_shells: changed to allow shell entries with absolute paths only.
	* pam_succeed_if: fixed treating empty strings as numerical value 0.
	* pam_unix: added support of disabled password aging.
	* pam_unix: synchronized password aging with shadow.
	* pam_unix: implemented string to number conversions validation.
	* pam_unix: fixed truncation of very long user names.
	* pam_unix: corrected rounds retrieval for configured encryption method.
	* pam_unix: implemented reliable usernames handling when remembering passwords.
	* pam_unix: changed to always run the helper to obtain shadow password entries.
	* pam_unix: unix_update helper binary is now built only if SELinux support
	  is enabled.
	* pam_unix: added audit support to unix_update helper.
	* pam_userdb: added gdbm support.
	* Multiple minor bug fixes, portability fixes, documentation improvements,
	  and translation updates.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-01-23 14:01:09 +00:00
Adolf Belka
5a7fe40a6a pam: Update to version 1.5.3
- Update from version 1.5.2 to 1.5.3
- Update of rootfile
- Changelog
Release 1.5.3
	* configure: added options to configure stylesheets.
	* configure: added --enable-logind option to use logind instead of utmp
	  in pam_issue and pam_timestamp.
	* pam_modutil_getlogin: changed to use getlogin() from libc instead of parsing
          utmp.
	* Added libeconf support to pam_env and pam_shells.
	* Added vendor directory support to pam_access, pam_env, pam_group, pam_faillock,
	  pam_limits, pam_namespace, pam_pwhistory, pam_sepermit, pam_shells, and pam_time.
	* pam_limits: changed to not fail on missing config files.
	* pam_pwhistory: added conf= option to specify config file location.
	* pam_pwhistory: added file= option to specify password history file location.
	* pam_shells: added shells.d support when libeconf and vendordir are enabled.
	* Deprecated pam_lastlog: this module is no longer built by default because
	  it uses utmp, wtmp, btmp and lastlog, but none of them are Y2038 safe,
	  even on 64bit architectures.
	  pam_lastlog will be removed in one of the next releases, consider using
	  pam_lastlog2 (from https://github.com/thkukuk/lastlog2) and/or
	  pam_wtmpdb (from https://github.com/thkukuk/wtmpdb) instead.
	* Deprecated _pam_overwrite(), _pam_overwrite_n(), and _pam_drop_reply() macros
	  provided by _pam_macros.h; the memory override performed by these macros can
	  be optimized out by the compiler and therefore can no longer be relied upon.
	* Multiple minor bug fixes, portability fixes, documentation improvements,
	  and translation updates.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-06-15 09:36:39 +00:00
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
Adolf Belka
43a53bc13b pam: Update to version 1.5.2
- Update from 1.5.1 to 1.5.2
- Update rootfile
- Changelog
   Release 1.5.2
     * pam_exec: implemented quiet_log option.
     * pam_mkhomedir: added support of HOME_MODE and UMASK from /etc/login.defs.
     * pam_timestamp: changed hmac algorithm to call openssl instead of the bundled
                      sha1 implementation if selected, added option to select
                      the hash algorithm to use with HMAC.
     * Added pkgconfig files for provided libraries.
     * Added --with-systemdunitdir configure option to specify systemd unit
       directory.
     * Added --with-misc-conv-bufsize configure option to specify the buffer size
       in libpam_misc's misc_conv() function, raised the default value for this
       parameter from 512 to 4096.
     * Multiple minor bug fixes, portability fixes, documentation improvements,
       and translation updates.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
2021-12-03 18:25:39 +01:00
Matthias Fischer
59fc80fc7b Removed several lfs options leading to: configure: WARNING: unrecognized options
Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-06-14 09:05:55 +00:00
ummeegge
904b8b6259 Pam: Update to version 1.5.1
Several fixes and improvements since the current available 1.3.1 version are included.
CVE-2020-27780 has also been fixed.
For a full release overview --> https://github.com/linux-pam/linux-pam/releases .

Signed-off-by: ummeegge <erik.kapfer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2020-12-10 13:03:18 +00:00
Matthias Fischer
0105cedb0d linux-pam: Update to 1.3.1
For details see:
https://github.com/linux-pam/linux-pam/releases

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2019-06-04 23:32:06 +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
Michael Tremer
71196131be PAM: Drop shipped configuration
This is outdated, broken and has hardcoded passwords.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-12 12:09:22 +00:00
Michael Tremer
457fd09ddb pam: Update to 1.30.0
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-02-11 20:56:12 +00:00
Michael Tremer
990eb18bd9 pam: Compile fix for newer glibcs
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-05-18 12:06:57 +01:00
Jan Lentfer
f48a9af787 pam: Update 0.99.10.0.
The prior verion in base system did not build with
the new version of bison and flex.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2012-06-17 17:00:10 +02: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
c8ead4a543 Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@321 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-14 12:43:29 +00:00
ms
371d9df0da Hinzugefügt:
* In Mailserverkonfiguration fortgeschritten...


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@178 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-06-14 21:19:05 +00:00
ms
93dc5548f4 Hinzugefügt:
* fetchmail
  * cyrusimap
Geändert:
  * xampp
  * pam


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@106 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-04-28 14:57:32 +00:00
ms
a20e696311 Hinzugefügt:
* Samba - Erste Test-Version
  * STUNNEL - bisher nicht verwendet, aber SWAT sendet das root-Passwort im Klartext über die Leitung
Geändert:
  * Linux-PAM - Libs waren falsch verlinkt


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@100 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-04-10 22:33:24 +00:00
ms
94025eea72 Hinzugefügt:
* Postfix 2.2.9
    * PostGreSQL
Gefixt und neu implementiert:
    * PAM
    * Berkeley-DB
    * XAMPP + PostGreSQL
    * SASLAUTHD
/opt/lampp/lib und /opt/lampp/lib/mysql befinden sich im Lib-Cache
leichtes aufräumen in der make.sh


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@79 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-03-12 21:09:13 +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