Displaying 1 50 of 7,017 commits (0.035s)

OpenBSD — sbin/dhclient log.c, sbin/iked log.c

From a syslog perspective it does not make sense to log fatal and
warn with the same severity.  Switch log_warn() to LOG_ERR and keep
fatal() at LOG_CRIT.
OK reyk@ florian@
Delta File
+6 -6 usr.sbin/ypldap/log.c
+6 -6 sbin/iked/log.c
+6 -6 usr.sbin/bgpd/log.c
+6 -6 usr.sbin/dhcpd/log.c
+6 -6 usr.sbin/dhcrelay/log.c
+6 -6 usr.sbin/dvmrpd/log.c
+114 -114 19 files not shown
+150 -150 25 files

OpenBSD — usr.sbin/smtpd mproc.c

switch to recallocarray() and remove useless pre-allocation.

prodded by deraadt@ ok gilles@
Delta File
+3 -14 usr.sbin/smtpd/mproc.c
+3 -14 1 file

OpenBSD — usr.sbin/smtpd iobuf.c

realloc() -> recallocarray().
use calloc() for initial allocation.

prodded by deraadt@ ok gilles@
Delta File
+3 -3 usr.sbin/smtpd/iobuf.c
+3 -3 1 file

OpenBSD — usr.sbin/smtpd mail.file.8

fix man page, diff from jmc@
Delta File
+2 -2 usr.sbin/smtpd/mail.file.8
+2 -2 1 file

OpenBSD — usr.sbin/smtpd mail.maildir.c mail.maildir.8, usr.sbin/smtpd/mail Makefile

add standalone maildir MDA (work in progress) which will soon obsolete the
builtin delivery_maildir backend, + makefiles, not linked to build yet

ok eric@, sunil@

OpenBSD — usr.sbin/smtpd mail.file.c mail.file.8, usr.sbin/smtpd/mail Makefile

add standalone mda for file delivery which will later obsolete
builtin delivery_file + set of makefiles, not linked to build

ok sunil@, eric@

OpenBSD — usr.sbin/smtpd Makefile, usr.sbin/smtpd/mail Makefile

prepare Makefiles but don't link to the build yet

OpenBSD — usr.sbin/smtpd mail.lmtp.c mail.lmtp.8

add new implementation of a standalone LMTP client which will deprecate the
builtin delivery_lmtp.c

ok sunil@, jung@

NetBSD — external/ibm-public/postfix Makefile.inc, external/ibm-public/postfix/dist makedefs postfix-install

Resolve conflicts.

NetBSD — external/ibm-public/postfix Makefile.inc, external/ibm-public/postfix/dist makedefs postfix-install

Resolve conflicts.

NetBSD — external/ibm-public/postfix/dist HISTORY INSTALL, external/ibm-public/postfix/dist/README_FILES RELEASE_NOTES SMTPUTF8_README

The stable Postfix release is called postfix-3.0.x where 3=major
release number, 0=minor release number, x=patchlevel.  The stable
release never changes except for patches that address bugs or
emergencies. Patches change the patchlevel and the release date.

New features are developed in snapshot releases. These are called
postfix-3.1-yyyymmdd where yyyymmdd is the release date (yyyy=year,
mm=month, dd=day).  Patches are never issued for snapshot releases;
instead, a new snapshot is released.

The mail_release_date configuration parameter (format: yyyymmdd)
specifies the release date of a stable release or snapshot release.

If you upgrade from Postfix 2.10 or earlier, read RELEASE_NOTES-2.11
before proceeding.

Notes for distribution maintainers
----------------------------------

* New backwards-compatibility safety net.

With NEW Postfix installs, you MUST install a main.cf file with
the setting "compatibility_level = 2". See conf/main.cf for an
example.


    [603 lines not shown]

NetBSD — external/ibm-public/postfix/dist HISTORY INSTALL, external/ibm-public/postfix/dist/README_FILES RELEASE_NOTES INSTALL

The stable Postfix release is called postfix-3.0.x where 3=major
release number, 0=minor release number, x=patchlevel.  The stable
release never changes except for patches that address bugs or
emergencies. Patches change the patchlevel and the release date.

New features are developed in snapshot releases. These are called
postfix-3.1-yyyymmdd where yyyymmdd is the release date (yyyy=year,
mm=month, dd=day).  Patches are never issued for snapshot releases;
instead, a new snapshot is released.

The mail_release_date configuration parameter (format: yyyymmdd)
specifies the release date of a stable release or snapshot release.

If you upgrade from Postfix 2.10 or earlier, read RELEASE_NOTES-2.11
before proceeding.

Notes for distribution maintainers
----------------------------------

* New backwards-compatibility safety net.

With NEW Postfix installs, you MUST install a main.cf file with
the setting "compatibility_level = 2". See conf/main.cf for an
example.


    [603 lines not shown]

NetBSD — external/ibm-public/postfix/dist HISTORY INSTALL, external/ibm-public/postfix/dist/README_FILES RELEASE_NOTES SMTPUTF8_README

The stable Postfix release is called postfix-3.0.x where 3=major
release number, 0=minor release number, x=patchlevel.  The stable
release never changes except for patches that address bugs or
emergencies. Patches change the patchlevel and the release date.

New features are developed in snapshot releases. These are called
postfix-3.1-yyyymmdd where yyyymmdd is the release date (yyyy=year,
mm=month, dd=day).  Patches are never issued for snapshot releases;
instead, a new snapshot is released.

The mail_release_date configuration parameter (format: yyyymmdd)
specifies the release date of a stable release or snapshot release.

If you upgrade from Postfix 2.10 or earlier, read RELEASE_NOTES-2.11
before proceeding.

Notes for distribution maintainers
----------------------------------

* New backwards-compatibility safety net.

With NEW Postfix installs, you MUST install a main.cf file with
the setting "compatibility_level = 2". See conf/main.cf for an
example.


    [603 lines not shown]

OpenBSD — usr.sbin/smtpd parse.y

fix incoming tls-require regression, introduced with last parse.y cleanup
causing the flag not to be propagated down to the listener

ok eric@
Delta File
+4 -1 usr.sbin/smtpd/parse.y
+4 -1 1 file

OpenBSD — usr.sbin/smtpd smtpd.conf.5 ruleset.c

allow negation of authenticated keyword:
        accept ! authenticated [...]

ok sunil@, jung@

OpenBSD — usr.sbin/smtpd table.5

Bump bcrypt version to $2b$ and increase number of rounds in two examples.
Delta File
+4 -4 usr.sbin/smtpd/table.5
+4 -4 1 file

OpenBSD — usr.sbin/smtpd rfc2822.c

Cast char to unsigned char for isspace()

ok gilles@
Delta File
+4 -4 usr.sbin/smtpd/rfc2822.c
+4 -4 1 file

OpenBSD — sbin/iked iked.h, sbin/isakmpd app.c cookie.c

Stop assuming that in_{addr,port}_t are typedefed in <sys/types.h> and
instead pull in <netinet/in.h> or <arpa/inet.h> when those are needed.

ok florian@ beck@ millert@
Delta File
+3 -2 usr.sbin/ypldap/aldap.c
+3 -1 sbin/isakmpd/app.c
+2 -1 sbin/isakmpd/cookie.c
+2 -1 sbin/iked/iked.h
+2 -1 sbin/isakmpd/key.c
+2 -1 usr.sbin/httpd/httpd.h
+6 -3 3 files not shown
+20 -10 9 files

OpenBSD — sbin/iked log.c util.c, usr.sbin/httpd log.c server.c

Stop accessing verbose and debug variables from log.c directly.

This replaces log_verbose() and "extern int verbose" with the two functions
log_setverbose() and log_getverbose().

Pointed out by benno@
OK krw@ eric@ gilles@ (OK gilles@ for the snmpd bits as well)
Delta File
+12 -5 sbin/iked/log.c
+12 -5 usr.sbin/httpd/log.c
+12 -5 usr.sbin/snmpd/log.c
+12 -5 usr.sbin/ntpd/log.c
+12 -5 usr.sbin/smtpd/log.c
+12 -5 usr.sbin/vmd/log.c
+124 -115 39 files not shown
+196 -145 45 files

OpenBSD — usr.sbin/smtpd log.c smtpd.c

smtpd joins the 7 other daemons that share the same log.c file.

The only major difference was the "log_trace" concept that is only
used by smtpd - move it from log.c into util.c and make it a local
concept.  This also needed to rename the global "verbose" variable to
"tracing" in a few places.

OK krw@ gilles@ eric@
Delta File
+74 -65 usr.sbin/smtpd/log.c
+24 -25 usr.sbin/smtpd/smtpd.c
+28 -17 usr.sbin/smtpd/log.h
+14 -15 usr.sbin/smtpd/control.c
+25 -1 usr.sbin/smtpd/util.c
+4 -4 usr.sbin/smtpd/scheduler_ramqueue.c
+19 -20 9 files not shown
+188 -147 15 files

OpenBSD — usr.sbin/smtpd smtpd.conf.5

delete three macro lines that have no effect, found with mandoc -Tlint
Delta File
+2 -5 usr.sbin/smtpd/smtpd.conf.5
+2 -5 1 file

OpenBSD — usr.sbin/acme-client parse.y, usr.sbin/bgpd parse.y

Replace hand-rolled for(;;) emptying of 'symhead' TAILQ with more
modern TAILQ_FOREACH_SAFE().

No intentional functional change.

ok millert@ bluhm@ gilles@

OpenBSD — sbin/iked parse.y, sbin/ipsecctl parse.y

Replace symset()'s hand-rolled for(;;) traversal of 'symhead' TAILQ
with more modern TAILQ_FOREACH(). This what symget() was already
doing.

Add paranoia '{}' around body of symget()'s TAILQ_FOREACH().

No intentional functional change.

ok bluhm@ otto@

OpenBSD — usr.sbin/smtpd smtpd.8

document forward(5); from mk
ok gilles
Delta File
+5 -2 usr.sbin/smtpd/smtpd.8
+5 -2 1 file

pkgsrc — . pkglocate Makefile, archivers Makefile

Add CHANGES file for 2016Q4 branch.

FreeBSD Ports — head/mail/postfix-current distinfo Makefile

- update to 3.2-20161224

20161205
   Cleanup: log the sender address when rejecting a too large
   message size in a "MAIL FROM:<sender> SIZE=nnn" command.
   File: smtpd/smtpd.c.

20161206
   Bugfix (introduced: Postfix 3.0): when receiving a MAIL
   FROM...SMTPUTF8 command while smtpd_delay_reject=no, enable
   SMTPUTF8 support before processing smtpd_sender_restrictions.
   Problem reported by Viktor Dukhovni. File: smtpd/smtpd.c.

   Bugfix (introduced: Postfix 3.0): when receiving a
   VRFY...SMTPUTF8 command, enable SMTPUTF8 support while
   processing smtpd_recipient_restrictions. File: smtpd/smtpd.c.

20161220
   Bugfix (introduced: Postfix 2.1.0): the Postfix SMTP daemon
   did not query sender_canonical_maps when rejecting unknown
   senders with "smtpd_reject_unlisted_recipient = yes" or
   with reject_unlisted_sender.  Stephen R. van den Berg (Mr.
   procmail). Files: smtpd/smtpd.c, smtpd/smtpd_check.c.

20161223

    [3 lines not shown]

OpenBSD — usr.sbin/smtpd ioev.c

embed the struct iobuf instead of using a pointer.

ok gilles@ sunil@
Delta File
+23 -37 usr.sbin/smtpd/ioev.c
+23 -37 1 file

OpenBSD — usr.sbin/smtpd util.c smtpd.h

remove unused iobuf helpers
Delta File
+1 -26 usr.sbin/smtpd/util.c
+1 -4 usr.sbin/smtpd/smtpd.h
+2 -30 2 files

OpenBSD — usr.sbin/smtpd smtp_session.c mda.c

hide internal io flags and rename IO_PAUSE_{IN,OUT} to IO_{IN,OUT}

ok gilles@ sunil@

OpenBSD — usr.sbin/smtpd smtp_session.c mta_session.c

make struct io opaque:

- move struct io definition to ioev.c
- replace io_init/io_clear with io_new/io_free
- allocate an iobuf for each new io internally
- use struct io pointer in the rest of the code
- remove remaining uses of iobuf_*

ok gilles@ sunil@
Delta File
+61 -68 usr.sbin/smtpd/smtp_session.c
+36 -37 usr.sbin/smtpd/mta_session.c
+32 -35 usr.sbin/smtpd/bounce.c
+41 -6 usr.sbin/smtpd/ioev.c
+18 -20 usr.sbin/smtpd/mda.c
+13 -16 usr.sbin/smtpd/filter.c
+7 -20 2 files not shown
+208 -202 8 files

OpenBSD — usr.sbin/smtpd ioev.c

normalize iobuf before reading into it.

fix regression introduced in recent cleanup

ok gilles@
Delta File
+3 -1 usr.sbin/smtpd/ioev.c
+3 -1 1 file

OpenBSD — usr.sbin/smtpd mta_session.c

use a specific event to defer the mta connection instead of abusing
the io internal event.

ok gilles@
Delta File
+4 -3 usr.sbin/smtpd/mta_session.c
+4 -3 1 file

OpenBSD — usr.sbin/smtpd parse.y smtpd.h

assign an id to each rule in the ruleset, first step towards an MTA layer
and scheduler simplification

ok eric@

OpenBSD — usr.sbin/smtpd smtp_session.c ioev.c

add an io_paused() function.

ok gilles@

OpenBSD — usr.sbin/smtpd ioev.c mta_session.c

add an io_fileno() accessor

ok gilles@

OpenBSD — usr.sbin/smtpd smtp_session.c mta_session.c

add an io_ssl() accessor

ok gilles@

OpenBSD — usr.sbin/smtpd mta_session.c ioev.c

add an io_error() accessor to avoid dereferencing the io struct directly.

ok gilles@

OpenBSD — usr.sbin/smtpd smtp_session.c ioev.c

reset the io event when data is queued.
remove all calls to io_reload() which are now unnecessary.

ok gilles@ sunil@

OpenBSD — usr.sbin/smtpd mta_session.c smtp_session.c

Normalize the io input buffer internally when reinstalling the io event, so
the caller doesn't have to bother with this.

ok gilles@ sunil@

OpenBSD — usr.sbin/smtpd bounce.c smtp_session.c

replace calls to iobuf_*() functions with the corresponding io_*() wrappers.

ok sunil@ gilles@

OpenBSD — usr.sbin/smtpd ioev.c smtp_session.c

add dedicated functions to set fd and callback on a struct io.
simplify io_init() prototype.

ok sunil@ gilles@

OpenBSD — usr.sbin/smtpd smtp_session.c mta_session.c

fix regression introduced in previous commit

spotted by Heiko Zimmermann

ok gilles@

OpenBSD — usr.sbin/smtpd ioev.c util.c

Add io api functions for dealing with buffered data, as wrapper around
their iobuf counterparts.

ok gilles@ sunil@

OpenBSD — usr.sbin/smtpd smtp_session.c mta_session.c

remove IO_TLSVERIFIED which is not a io event, and inline necessary code
where the callback functions are called for this event.

ok gilles@

OpenBSD — usr.sbin/smtpd smtp_session.c mta_session.c

pass the user pointer as parameter to the io callback instead of having
the user dereference the io structure.

ok millert@ gilles@

OpenBSD — usr.sbin/smtpd smtpd.c

add -F to usage() too;
Delta File
+2 -2 usr.sbin/smtpd/smtpd.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtpd.8

document -F which somehow escaped documentation
Delta File
+9 -3 usr.sbin/smtpd/smtpd.8
+9 -3 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

Remove the "phase" state variable from the smtp session.  Simply check
"helo[0]" to see if an HELO/EHLO command was received (reset after
starttls), and "tx" to know if we are in a transaction.

ok  gilles@ millert@
Delta File
+9 -26 usr.sbin/smtpd/smtp_session.c
+9 -26 1 file

OpenBSD — usr.sbin/smtpd rfc2822.c smtp_session.c

A logic issue in smtpd's header parsing can cause SMTP sessions to hang.

diff by eric@, ok me

OpenBSD — usr.sbin/smtpd smtp_session.c

fix smtp session logic bug that can lead to a server crash.
Delta File
+3 -1 usr.sbin/smtpd/smtp_session.c
+3 -1 1 file