Commit Graph

42 Commits

Author SHA1 Message Date
Kris Kennaway
a11b23934f unFORBID this port by closing the overflow 2000-05-25 07:50:10 +00:00
Andrey A. Chernov
f13ab6a55c 1) Popper always assume that fgets got whole line, so it is easy to make
fake headers by special long lines aligned to buffer boundary - popper
treat them as separate lines.
Whole code needs rewriting. As workaround increase MAXLINE to the value
sendmail use, hoping sendmail itself not makes longer lines.

2) Fix EUIDL responses not properly \n terminated.
2000-04-17 19:35:40 +00:00
Steve Price
968503f292 Better error message when the connecting client's IP address is
unresolvable.

PR:		12618
Submitted by:	Mikhail Teterin <mi@aldan.algebra.com>
1999-12-29 08:32:31 +00:00
Peter Wemm
7b8fca1447 $Id$ -> $FreeBSD$ 1999-08-30 12:09:14 +00:00
SADA Kenji
96d4c405a7 Add a notation about user restriction.
PR:	ports/10114
Submitted by:	Issei Suzuki <issei@jp.FreeBSD.ORG>
1999-02-26 14:51:31 +00:00
Andrey A. Chernov
693741eef7 add optional youbin support 1998-08-04 22:45:21 +00:00
Andrey A. Chernov
9908e919aa Upgrade to 2.53 1998-07-18 21:36:45 +00:00
Andrey A. Chernov
20c0e99bb4 Upgrade to 2.52 1998-07-02 04:09:37 +00:00
Andrey A. Chernov
ea465d63d9 Fix longstanding bug with Content-Length counted in messages size 1998-06-30 20:31:15 +00:00
Andrey A. Chernov
90c94122e6 Upgrade to 2.5 1998-06-30 19:14:17 +00:00
Andrey A. Chernov
ee32660240 Fix another place with UIDL check too
Calculate UIDL size and lines number properly now
1998-06-30 06:44:00 +00:00
Andrey A. Chernov
76441fe1da Fix two longstanding bugs with Return-Path patch
1) wrong mbox size calculation
2) Return-Path was _never_ sent out
1998-06-30 06:42:18 +00:00
Andrey A. Chernov
60b8be15ee Check password length too
Submitted by: idea from "Aaron D. Gifford" <agifford@infowest.com>
1998-06-29 14:18:42 +00:00
Andrey A. Chernov
390ebaef38 Add check for max parameter length
Submitted by: "Aaron D. Gifford" <agifford@infowest.com>
1998-06-28 23:02:15 +00:00
Andrey A. Chernov
3ca86b2cb5 Use snprintf now 1998-06-28 22:15:59 +00:00
Andrey A. Chernov
0a8957adfe oops, forget to add 1 for newline for max UIDL check 1998-06-28 21:56:00 +00:00
Andrey A. Chernov
27ccfb65b0 Increase allowed UIDL length to 70 chars per rfc1939 1998-06-28 21:44:59 +00:00
Andrey A. Chernov
61b9aa4259 Prevent overflow on too long From:
Do not return stack buffer
Submitted by: "Aaron D. Gifford" <agifford@infowest.com>
1998-06-28 21:31:18 +00:00
Andrey A. Chernov
198779dfae Reject too long X-UIDL 1998-06-28 21:11:55 +00:00
Andrey A. Chernov
a255968eaa Fix broken code that people tries to commit again and again despite the
fact that I am this port maintainer and still alive.
1998-06-28 17:50:22 +00:00
Jordan K. Hubbard
af81de00cc DOH! Correct stupid brain-o with strcat() in my last commit. Now
popper should get a bit further without dumping core now. :-)
1998-06-28 08:44:01 +00:00
Joerg Wunsch
51b8ca739a Well, it's always a bad idea to introduce new bugs when trying to fix
one... strncat(3) takes a string as its second arg, and a len as its
third one, not the other way round. =:-)

The ``consistency'' of the C library sucks, of course.
1998-06-28 08:04:07 +00:00
Jordan K. Hubbard
d5ff240d34 Close a missing overflow with strcat() in my original change
and add an extra overflow fix to pop_log.c.  This is just a place-holder
until Peter comes along with a more comprehensive set of patches.
1998-06-27 21:47:34 +00:00
Andrey A. Chernov
2ab4aaac95 Add -3 to len as room for \n\r\0 1998-06-27 20:47:27 +00:00
Jordan K. Hubbard
f8334957b6 Deal with a potential buffer overflow problem.
[also, there is a problem in the repo - patch-af is marked as removed
but it's not in the Attic!]
1998-06-27 10:31:18 +00:00
Andrey A. Chernov
ae95d57ede Upgrade to 2.41beta1 1997-11-20 14:38:54 +00:00
Andrey A. Chernov
65bf87e492 Return-path patch improvement: skip Return-path comes from headers
if we already generate our own.
Previous variant produce two and more Return-Path'es
1997-10-08 06:46:50 +00:00
Andrey A. Chernov
40239124bb Upgrade to 2.4b2
Fix two longstanding bugs in Return-Path patch:
1) possible uninitialized "rpath" variable usage
2) wrong message size, return_path not counted
1997-10-07 20:37:24 +00:00
Andrey A. Chernov
cb3076d716 Upgrade to 2.3 1997-04-23 04:27:26 +00:00
Paul Traina
476add9726 Add Net/OpenBSD compatible MAN= macros to makefiles.
Make file copy for new popauth stuff happen at right time.
1997-04-17 02:28:45 +00:00
Paul Traina
5365424c25 Fix a compilation error if S/Key support is disabled.
Submitted by:	 Hoss Firooznia
1997-04-02 06:11:05 +00:00
Andrey A. Chernov
705ccf9034 Optionally allow APOP only authentification mode 1997-04-02 01:38:30 +00:00
Paul Traina
3efd1fd648 If this is a UNIX standard mailbox with "From " lines, don't lose the
envelope-from information in that "From " line.  Instead, convert it
into a "Return-Path:" line, just as MMDF would do.

This is the least obnoxious (standards-wise) way to transmit the
envelope-from information in POP.
1997-03-08 08:08:45 +00:00
Andrey A. Chernov
8eb0b3c65e Move s/key info at the beginning of incorrect password message,
some client (f.e. Eudora) don't display whole line
1996-12-10 20:58:56 +00:00
Masafumi Max NAKANE
bbe4f17f7a New patch for man pages to make them correctly list the file locations. 1996-12-06 08:16:45 +00:00
Masafumi Max NAKANE
edbdac1118 Added PREFIX?=/usr/local to the Makefile so that nasty result can be
avoided even if the user typed ``make install'' in the WRKSRC directory.
1996-12-06 02:11:48 +00:00
Andrey A. Chernov
c1c75b5a23 Additionly report "s/key xx xxxxx (required)" in popper error
message about incorrect password. It is only chance to bring it
to user attention since 99% pop clients don't know about s/key
existance and do not prompt for s/key BEFORE sending password.
As result of this patch netscape allows reenter with valid
s/key now, i.e. it shows needed s/key info in password reentering box
after trying first time with incorrect one.
1996-12-04 23:43:45 +00:00
Paul Traina
a32537ed35 Fix random memory overwrite bug 1996-09-30 19:19:23 +00:00
Satoshi Asami
3f6dbd9ebd Don't turn on debugging by default.
Submitted by:	jkh
1996-07-10 02:34:25 +00:00
Paul Traina
3add58a3d7 Add scripts/pre-install to request POP userid creation.
Move pop.auth database to ${PREFIX}/etc/popper/pop.auth so that it
(a) does not conflict with MH's pop3 database of same name, and (b)
so that ${PREFIX}/etc/popper directory can be owned by pop uid so
that popauth -init always works.

This should cover the last nits regarding this port.

Requested by: asami
1996-06-22 18:24:51 +00:00
Paul Traina
5aded53b0e Fix up a couple of popauth problems in 2.2 1996-06-09 20:02:02 +00:00
Paul Traina
a538cbc51d Port of Qualcomm POPPER v2.2. 1996-06-08 22:33:52 +00:00