Commit graph

34 commits

Author SHA1 Message Date
taca
e7c89b27e5 - add a patch for fixing bulldir vulnerability with "-u" option.
- update PKGREVISION to 1.
2002-05-04 05:59:04 +00:00
martti
bd76954026 Updated qpopper to 4.0.4
* Fixed DOS attack seen on some systems.
* Fixed "noop has null function" log entry.
* Allow '-p' to be used when APOP not defined (noted by Daniel Senie).
* Enforce ClearTextPassword even without APOP (noted by Daniel Senie).
* Restrict clear-text-password=never to APOP.
* Restrict clear-text-password=tls to QPOP_SSL.
* Fixed qpopper hanging on I/O error on some platforms.
2002-05-02 16:16:50 +00:00
taca
d5f2018045 Remove checking of /usr/local/include/gdbm.h from configure script and
It would never adds /usr/local/include to include path.

Address to pkg/13558.  This change dosen't solve pkg/13558, but it solve
the problem when /usr/local/include/gdbm.h exists (by installing gdbm without
pkgsrc or with pkgsrc setting PREFIX=/usr/local.)
2001-07-31 13:42:42 +00:00
taca
2ec010adae Update qpopper to 4.0.3 from 3.1.2. Here is brief new feature from
Release note.

4.0
           Supports TLS/SSL security.
           '-p' option now has value '4' to permit plain-text passwords
        under TLS/SSL.
           Now uses a cache file to retain spool index across sessions.
        This dramatically speeds up session start when no new mail has
        arrived.

           '-l' option added to specify TLS/SSL support.
           Lots of TLS/SSL options added.  See the Administrator's Guide
        for details.
           '-v' option added to report current version and exit.
           'make install' added.
           Lots of compile-time options now available at run-time.  See
        the Administrator's Guide for details.
           Integrated poppassd into build.

And here is changes from 4.0.

Changes from 4.0.2 to 4.0.3:
----------------------------
 1.  Don't call SSL_shutdown unless we tried to negotiate an
     SSL session.  (As suggested by Kenneth Porter.)
 2.  Fix buffer overflow (reported by Gustavo Viscaino).
 3.  Fixed empty password treated as empty command (patch
     submitted by Michael Smith and others).
 4.  Added patch by Carles Xavier Munyoz to fix erroneous
     scanning for \n in getline().
 5.  Fix from Arvin Schnell for warnings on 64-bit systems.
 6.  Added patch by Clifton Royston to change error message
     for nonauthfile and authfile tests.
 7.  Added 'uw-kludge' as synonym for 'uw-kluge'.


Changes from 4.0.1 to 4.0.2:
----------------------------
 1.  Added fix for XTND XMIT (sent in by Jacques Distler and
     others).
 2.  Fixed makefile problems with poppassd compile and install
     (sent in by Steven Champeon).
 3.  Increased maximum spool path length from 64 to 256.
 4.  Added more debug code when genpath() runs out of room.
 5.  Changed C++ style comments to C style in poppassd.c
 6.  Changed poppassd's UID check to be the same as Qpopper's
     (which is that if BLOCK_UID is defined we use that value,
     otherwise it defaults to 10).
 7.  Added poppassd expect strings for DEC True 64 (sent in by
     Andres Henckens).


Changes from 4.0.1b1 to 4.0.1 (final):
--------------------------------------
 1.  Fixed typo in popper/pop_init.c if DONT_CHECK_HASH_SPOOL_DIR
     defined.


Changes from 4.0 to 4.0.1b1:
----------------------------
 1.  Messages with lines longer than 512 characters are no longer
     garbled when sent to the client.
 2.  Added patches from Michael C Tiernan to fix makefile problems.
2001-06-10 15:08:40 +00:00
tron
cec1397486 Compare program name in "popauth" with "qpopauth" because that is the
name under which it is installed. Fixes PR pkg/12628 by
Jun-ichiro itojun Hagino.
2001-04-19 08:52:03 +00:00
itojun
0b3d3ed774 ignore gdbm. PR 11706. 2000-12-12 17:42:55 +00:00
itojun
a8f4a61beb upgrde to 3.1.2, as 2.x had security issues and there's no support given
any longer to 2.x.

NOTE: kerberos support is dropped, kerberos guru please re-do it...


from ftp://ftp.qualcomm.com/eudora/servers/unix/popper/Release.Notes

Release Notes:

3.1
           Can now set server mode and kerberos service name using
        run-time options.
           Can now specify plain-text password handling when APOP is
        available using '-p 0|1|2|3' run-time option. 0 is default;
        1 means clear text passwords are never permitted for any user;
        2 means they are always permitted (even if an APOP entry exists),
        which allows them to be used as a fallback when clients don't
        support APOP); 3 means they are permitted on the local interface
        (127.*.*.*) only.
           Added '-D drac-host' run-time option to specify the drac host.
        Only valid if compiled with --enable-drac.  The default is
        localhost.
           Added '-f config-file' run-time option.  Additional run-time
        options are read from the specified file.  All current run-time
        options can now be set this way.  See INSTALL file for option
        names and syntax.
           Added '-u' run-time option to read '.qpopper-options' file in
        user's home directory.
           Added Kerberos V support.
           BULLDB access now uses usleep(3C) if available, resulting in
        many more access attempts with a shorter maximum delay.
           Added run-time options 'bulldb-nonfatal' (-B) and
        'bulldb-max-retries' to allow fine control over BULLDB access
        behavior.  'bulldb-nonfatal' allows a session to continue if
        the bulletin database can't be locked.  'bulldb-max-retries'
        sets the maximum number of attempts to lock the database.  This
        value should only be changed if you know if your system has
        usleep(3C) or not.  On systems with usleep(3C), this can be a
        large value (the default is 75).  On systems without usleep(3C),
        this should remain small (the default is 10).
           Added new ./configure flags (see INSTALL for more details):
              --enable-timing to write log records with elapsed time for
                   authentication, initialization, and cleanup.
              --enable-old-uidl to generates UIDs using old (pre-3.x)
                   style encoding.  This is only useful if you also set
                   NO_STATUS and have existing users with old (pre-3.x)
                   spool files and you want to keep the UIDs the same.
              --disable-status to prevent Qpopper from writing 'Status'
                   or 'X-UIDL' headers (sets NO_STATUS).  This forces
                   UIDs for each message to be recalculated in each
                   session.
              --enable-keep-temp-drop to prevents Qpopper from deleting
                   the temp drop files.
              --disable-check-pw-max to prevent Qpopper from checking
                   for expired passwords.
              --disable-old-spool-loc to not check for old .user.pop
                   files in old locations when HASH_SPOOL or HOMEDIRMAIL
                   used.
              --disable-check-hash-dir to not check for or create hash
                   spool directories.  Use this if you pre-create the
                   directories.
              --enable-server-mode-group-include=group to set server
                   mode for users in the specified group.
              --enable-server-mode-group-exclude=group to set server
                   mode OFF for users in the specified group.
              --enable-secure-nis-plus for use with secure NIS+.
              --disable-optimizations to turn off compiler optimizations.
              --with-kerberos5 for Kerberos V support (using patch from
                   Ken Hornstein).
              --enable-any-kerberos-principal to accept any principal in
                   the client request.
              --enable-kuserok to use kuserok() to vet users.
              --enable-ksockinst to use getsockinst() for Kerberos
                   instance.
              --enable-standalone to create standalone POP daemon instead
                   of being run out of inetd.  Can specify IP address
                   and/or port number to bind to as parameter 1, e.g.,
                   'popper 199.46.50.7:8110 -S' or 'popper 8110 -S -T600'.
                   If not specified, IP address defaults to all available.
                   The default port is 110 except when _DEBUG (not simply
                   DEBUG) is defined, then it is 8765.
              --enable-auth-file=path to permit access only to users listed
                   in the specified file.  Format is one user per line.
              --enable-nonauth-file=path to deny access to users listed in
                   the specified file.  Format is one user per line.
              --disable-update-abort to avoid the default behavior of going
                    into update mode if the session aborts (the default
                    behavior violates of RFC 1939, but was found to be
                    needed when noisy dialup lines otherwise prevented users
                    from ever deleting messages).
                                            ([RCG])

3.0
           Both dot-locking and flock() now used on all platforms.  (On some
        systems we emulate flock() using fcntl).
           Added POP3 extensions(CAPA). The extensions added so far are
        X-MANGLE, LOGIN-DELAY and EXPIRE.
           X-MANGLE condenses Mime messages into a single part for ease of
        use by lightweight clients. The transformations supported through
        X-MANGLE are to and from text/plain, format=flowed, and text/html.
           As a way to enable MIME-mangling with clients that do not
        support XMANGLE, add "-no-mime" to the user name.  For example,
        if the userid is"mary", enter it in the client as "mary-no-mime".
           The optional LOGIN-DELAY and EXPIRE values are only announced
        through the CAPA command.  The values to announce are passed as
        command line switches.  Actual enforcement of minimum login delay
        and message expiration is up to the site by some other means.
        (For example, a simple script run from crontab could be used for
        message expiration.)  Qpopper does support automatic deletion of
        downloaded messages through the --enable-auto-delete configure
        flag.  This can be used to effect EXPIRE 0 (no retention).
           Added new run-time options: -R to disable reverse-lookups on client
        IP addresses; -c to downcase user name.
           A failure at some point in a transaction now releases all locks
        explicitly. Certain paths do not release locks where SysV .lock files
        are created.
           Fixed bugs with Bulletin Services and Server mode.
           DEBUGn macros for debug and trace messages.
           Added new ./configure flags (see INSTALL for more details):
              --with-warnings for extra compiler warnings.
              --enable-shy to hide qpopper's version number in the
                    banner and CAPA IMPLEMENTATION tag.
              --enable-auto-delete to automatically mark for deletion
                    all messages downloaded with RETR.
              --enable-hash-spool=1|2 to use hashed spool directories.
              --enable-home-dir-mail=file to use a spool file in the
                   user's home directory.
              --enable-bulldb=path to enable bulletins and set the path
                   for the bulletin directory.
              --with-new-bulls=number to specify the maximum number
                   of bulletins for new users (default is 10).
              --enable-popbulldir=path to specify an alternate location
                    for users' popbull files.
              --enable-log-login to log successful user logins.  This
                   can be used, for example, to validate subsequent
                   SMTP sessions from the same IP address within a
                   short time period, in the absence of SMTP AUTH
                   support by client and server. (Suggested by Andy
                   Harper et al).
              --with-pam=service-name to authenticate using PAM (based
                    on patch contributed by German Poo).
              --with-log-facility=name to specify the log facility.
                    Default is LOG_LOCAL1 or LOG_MAIL, depending on the
                    OS.
              --enable-uw-kludge to check for and hide a UW IMAP status
                    message.
              --enable-group-bulls to show bulletins by groups (group
                    name is second element in bulletin name).  Based on
                    patch by Mikolaj Rydzewski.
              --enable-timing to report timing information in the log.
              --enable-drac to use DRAC.  Based on patches by Mike
                    McHenry, Forrest Aldrich, Steven Champeon, and others.
           Added file popper/banner.h -- modify this file to add a custom
        banner and CAPA IMPLEMENTATION tag suffix.  Note that if you modify
        qpopper you should indicate this using banner.h.
           Improved error messages and warnings: warning "Unable to get
        canonical name of client" now includes IP address of client; logging
        added for I/O errors and discarded input (line too long); added errno
        to POP EOF -ERR message; "Possible probe of account" warning now logged
        as WARNING, not CRITICAL.
2000-12-11 17:23:01 +00:00
tron
eaedc05405 Patch from FreeBSD's ports collection to avoid "EUIDL" buffer overflows. 2000-06-03 20:30:26 +00:00
itojun
ee36cd1c9e integrate temporary fix against long-line attack, from FreeBSD ports-current
(committed Apr 17 by ache@freebsd.org).

addresses problem outlined in this bugtraq article:
http://www.securityfocus.com/templates/archive.pike?list=1&date=2000-04-15&msg=9763.000421@SECURITY.NNOV.RU
2000-04-24 11:04:17 +00:00
tron
a81f798f1f Avoid access to free'd memory in APOP authentication. Patch supplied by
Kawamoto Yosihisa in PR pkg/8371.
1999-09-15 21:38:45 +00:00
tron
72a8dbd07a Remove non NetBSD RCS Id from patch file which got modified by "cvs". 1999-09-15 21:36:35 +00:00
tron
05eeeaecae Convert patches to unified format. 1999-09-15 21:30:58 +00:00
bad
e714fb628b Make this DTRT wrt. Kerberos4 support. 1999-09-07 17:58:00 +00:00
tron
d1226026c4 Don't define unnecessary IPv6 symbol on non IPv6 systems. 1999-07-24 00:24:45 +00:00
tron
fe5033397e Fix build problem on systems without IPv6 includes. 1999-07-24 00:20:37 +00:00
tron
6b46d612b0 Correct reversed check for symbol "INET6" in IPv6 patch. 1999-07-24 00:05:10 +00:00
itojun
d9b62a0a22 integrate USE_INET6 build better. uses the same set of NetBSD patches,
and switch INET6/non-INET6 build by "#ifdef INET6".
1999-07-09 15:58:34 +00:00
tron
307da0b45f Nuke check for "gdbm" library from "configure" which is not needed but can
be found by mistake. Problem noted by Dean Huxley.
1999-05-11 20:24:46 +00:00
tron
52a45834b7 Forgot RCS Id. 1998-09-09 07:20:32 +00:00
tron
cfb86ad4ac Create diff with "-u0" to fix problem with "cvs". 1998-09-09 07:19:56 +00:00
tron
5a7c95e47c Try to convince "cvs" not to mess up patch file during commit. 1998-09-08 23:25:06 +00:00
tron
16878d49c5 Fix non working patch file. 1998-09-08 23:09:54 +00:00
tron
cda6f9f580 Change crossref from "popper" to "qpopper", fixes PR pkg/6118 by John Kohl. 1998-09-08 22:16:28 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
bad
e4059f8033 Do not use -fpcc-struct-return.
Fixes qpopper/qpopauth core dumping when accessing the APOP database.
Fix provided by Fukaumi Naoki <naokif@aya.or.jp>.
1998-07-22 14:53:53 +00:00
frueauf
112c4bcd3c Update qpopper to 2.53. 1998-07-18 13:18:51 +00:00
tron
470dd4c512 Fix segmentation fault in bulletin handling as suggested by Takahiro Kambe
in PR pkg/5758.
1998-07-16 08:08:09 +00:00
mycroft
3d68d344ca Make the Kerberos support actually compile in. 1998-07-10 09:11:51 +00:00
hubertf
1909d05f26 Update to V2.52 1998-07-02 07:09:03 +00:00
hubertf
7badd620b3 Change syslogging, fixes PR 5122 by Chris Jones <cjones@rupert.honors.montana.edu> 1998-03-06 23:53:04 +00:00
agc
5f6abb5dac Patch the configure script so that it doesn't search for the gdbm
header file or library.  qpopper will use the standard 4.4 BSD DB
routines anyway, and qpopper's Makefile makes no attempt to include
the header file's directory, or link with the gdbm library directory.
1998-02-13 15:09:35 +00:00
mellon
fb3ccc5338 NetBSD has DB, just like BSDI 1998-02-13 02:32:46 +00:00
mellon
7dbb663916 popauth man page patch 1998-02-13 02:26:31 +00:00
mellon
c9f5426bd0 Make popper compile without errors or warnings, with kerberos. 1998-02-13 02:06:57 +00:00