Displaying 1 50 of 8,617 commits (0.012s)

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

Document that "from local" and "for local" are still the defaults.
OK gilles@
Delta File
+3 -1 usr.sbin/smtpd/smtpd.conf.5
+3 -1 1 file

OpenBSD — usr.sbin/smtpd parse.y

default to from local and for local as we used to

spotted by millert@, ok eric@
Delta File
+9 -1 usr.sbin/smtpd/parse.y
+9 -1 1 file

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

fix broken example
Delta File
+4 -3 usr.sbin/smtpd/smtpd.conf.5
+4 -3 1 file

OpenBSD — usr.sbin/smtpd table.5

three forgotten s/-literal/-unfilled/
Delta File
+4 -4 usr.sbin/smtpd/table.5
+4 -4 1 file

OpenBSD — usr.sbin/smtpd table.5

adapt to the new smtpd.conf(5) format, OK gilles@
Delta File
+34 -29 usr.sbin/smtpd/table.5
+34 -29 1 file

OpenBSD — usr.sbin/smtpd delivery.c delivery_filename.c

no longer used, remove
Delta File
+0 -0 usr.sbin/smtpd/delivery.c
+0 -0 usr.sbin/smtpd/delivery_filename.c
+0 -0 usr.sbin/smtpd/delivery_lmtp.c
+0 -0 usr.sbin/smtpd/delivery_maildir.c
+0 -0 usr.sbin/smtpd/delivery_mbox.c
+0 -0 usr.sbin/smtpd/delivery_mda.c
+0 -0 6 files

OpenBSD — usr.sbin/smtpd smtpd-defines.h

PATH_SPOOL is /var/spool/smtpd
Delta File
+2 -2 usr.sbin/smtpd/smtpd-defines.h
+2 -2 1 file

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

basic macro cleanup
Delta File
+104 -94 usr.sbin/smtpd/smtpd.conf.5
+104 -94 1 file

OpenBSD — usr.sbin/smtpd smtpd.h

bump version, this will be a big release when OpenBSD 6.4 is released :-)
Delta File
+2 -2 usr.sbin/smtpd/smtpd.h
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtpd.conf.5 parse.y, usr.sbin/smtpd/smtpd Makefile

switch smtpd to new grammar

ok eric@
Delta File
+458 -832 usr.sbin/smtpd/smtpd.conf.5
+642 -587 usr.sbin/smtpd/parse.y
+180 -94 usr.sbin/smtpd/ruleset.c
+0 -253 usr.sbin/smtpd/delivery_lmtp.c
+46 -178 usr.sbin/smtpd/mda.c
+82 -137 usr.sbin/smtpd/lka_session.c
+565 -859 30 files not shown
+1,973 -2,940 36 files

OpenBSD — usr.sbin/smtpd smtp_client.c

check the intended value

ok krw@ gilles@
Delta File
+2 -2 usr.sbin/smtpd/smtp_client.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd/mail Makefile

Do not override the default BINMODE 555 with 111.

ok gilles
Delta File
+1 -2 usr.sbin/smtpd/mail/Makefile
+1 -2 1 file

OpenBSD — usr.sbin/smtpd smtpc.c smtp_client.c

Nuke unused variables. Initialize variable before use.

Makes clang happy.

ok gilles@

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

simplify as suggested by Anton Lindqvist a while ago

this is not linked to the build

OpenBSD — usr.sbin/smtpd queue_fs.c queue_backend.c

kill corrupt / uncorrupt queue mechanism as it has never been usable and it
will be made irrelevant when the new config comes up soon

ok eric@

OpenBSD — usr.sbin/smtpd smtp.1

minor consistency fix; from raf czlonka
ok eric
Delta File
+4 -4 usr.sbin/smtpd/smtp.1
+4 -4 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

reorganize code

ok gilles@
Delta File
+79 -97 usr.sbin/smtpd/smtp_session.c
+79 -97 1 file

FreeBSD Ports — branches/2018Q2/mail/opensmtpd Makefile, branches/2018Q2/mail/opensmtpd-devel Makefile

MFH: r468996

- Prevent OpenSMTPD session hangs and retain a descriptor forever on empty body
    (i.e. when the dot appears on the line directly after the headers).
    This could be used by an attacker to exhaust resources.

PR:                227899
Submitted by:        grembo
Obtained from:        OpenSMTPD git repo (backported)

Approved by:        ports-secteam (riggs)

OpenBSD — usr.sbin/smtpd smtp_session.c

fix use-after-free
Delta File
+2 -2 usr.sbin/smtpd/smtp_session.c
+2 -2 1 file

FreeBSD Ports — head/mail/opensmtpd Makefile, head/mail/opensmtpd-devel Makefile

- Prevent OpenSMTPD session hangs and retain a descriptor forever on empty body
    (i.e. when the dot appears on the line directly after the headers).
    This could be used by an attacker to exhaust resources.

PR:                227899
Submitted by:        grembo
Obtained from:        OpenSMTPD git repo (backported)
MFH:                2018Q2

OPNsense — mail/opensmtpd Makefile, mail/opensmtpd/files patch-smtpd-rfc2822.c patch-smtpd-smtp_session.c

mail/opensmtpd: sync with upstream

Taken from: HardenedBSD

OPNsense — audio Makefile, audio/flite Makefile

*/*: sync with upstream

Taken from: HardenedBSD
Delta File
+1,555 -0 devel/xtensa-esp32-elf/pkg-plist
+433 -521 java/intellij-rubymine/pkg-plist
+327 -215 devel/pijul/distinfo
+221 -236 math/octave/pkg-plist
+183 -183 www/firefox-i18n/distinfo
+343 -0 multimedia/lives/files/patch-ffmpeg4
+1,905 -1,096 344 files not shown
+4,967 -2,251 350 files

OpenBSD — usr.sbin/smtpd smtp.1

Manpage tweaks:

- expand "rcpt" to "recipient"
- "recipient" should be Ar, "://" should not be Ar
- use Dq for double quotes

ok eric@
Delta File
+6 -6 usr.sbin/smtpd/smtp.1
+6 -6 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

remove useless indirections
Delta File
+10 -10 usr.sbin/smtpd/smtp_session.c
+10 -10 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

move "mail from" and "rcpt to" code into their own function.

ok gilles@
Delta File
+65 -47 usr.sbin/smtpd/smtp_session.c
+65 -47 1 file

OpenBSD — usr.sbin/smtpd Makefile

link smtp(1) to the build

ok deraadt@
Delta File
+2 -1 usr.sbin/smtpd/Makefile
+2 -1 1 file

OpenBSD — usr.sbin/smtpd smtp.1

fix man section
Delta File
+3 -3 usr.sbin/smtpd/smtp.1
+3 -3 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

simplify code

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

OpenBSD — usr.sbin/smtpd mda.c

remove left-over comma from log message
Delta File
+2 -2 usr.sbin/smtpd/mda.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

move code around
Delta File
+138 -138 usr.sbin/smtpd/smtp_session.c
+138 -138 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

use the transaction as argument to the message parser.

ok gilles@
Delta File
+18 -24 usr.sbin/smtpd/smtp_session.c
+18 -24 1 file

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

disallow executing by root and replace execve() with system() as we want
the user's mda_exec to be parsed and executed by a shell running with
the user's privileges.

ok eric@
Delta File
+4 -4 usr.sbin/smtpd/mail.mda.c
+4 -4 1 file

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

handle subaddresses

ok eric@

OpenBSD — usr.sbin/smtpd smtp_session.c

pass transaction instead of session to smtp_message_*() functions.

ok gilles@
Delta File
+62 -46 usr.sbin/smtpd/smtp_session.c
+62 -46 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

move code around. no functional change.

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

OpenBSD — usr.sbin/smtpd smtp_session.c

pass a struct smtp_tx pointer to functions that apply to SMTP transactions,
rather than a struct smtp_session pointer. Tweak names while there.

ok gilles@
Delta File
+45 -47 usr.sbin/smtpd/smtp_session.c
+45 -47 1 file

OpenBSD — usr.sbin/smtpd smtp_session.c

factorize code

ok gilles@
Delta File
+25 -32 usr.sbin/smtpd/smtp_session.c
+25 -32 1 file

OpenBSD — usr.sbin/smtpd smtp.1

- fix some macro abuse
- *an* smtp
- format the list nicer

ok eric
Delta File
+8 -9 usr.sbin/smtpd/smtp.1
+8 -9 1 file

OpenBSD — usr.sbin/smtpd smtp_client.c smtpc.c

fix build for smtp(1) after log.h update

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

sync log.h with other daemons

ok gilles@

OpenBSD — usr.sbin/smtpd smtp.1

fix OpenBSD release
Delta File
+2 -2 usr.sbin/smtpd/smtp.1
+2 -2 1 file

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

Plug leak in error case of the common 'varset' implementations.

ok benno@

OpenBSD — usr.sbin/smtpd smtp_client.c smtpc.c, usr.sbin/smtpd/smtp Makefile

add a simple SMTP client

ok gilles@

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

remove mail.file.{8,c}, unused

ok eric@

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

remove unused Makefile

OpenBSD — usr.sbin/smtpd/mail Makefile

don't build mail.file

ok eric@
Delta File
+1 -2 usr.sbin/smtpd/mail/Makefile
+1 -2 1 file

OpenBSD — usr.sbin/smtpd mda.c

Return-Path should be in brackets as per RFC5322

diff from Leo Gaspard, ok eric@ and I
Delta File
+2 -2 usr.sbin/smtpd/mda.c
+2 -2 1 file

OpenBSD — usr.sbin/smtpd enqueue.c

Allow escaping quote within quotes.

Leah Neukirchen reports that according to RFC5322 escaping quote
within quotes is valid and that postfix accepts it as well.
https://github.com/OpenSMTPD/OpenSMTPD/issues/846

Ok gilles@
Delta File
+2 -3 usr.sbin/smtpd/enqueue.c
+2 -3 1 file

OpenBSD — usr.sbin/smtpd spfwalk.c

Fix previous. Use inet_net_pton(3) instead of inet_pton(3) as
addresses could be listed with prefix.

Initial diff from Ryan Kavanagh, tweaked by me.
Ok millert@ gilles@
Delta File
+10 -4 usr.sbin/smtpd/spfwalk.c
+10 -4 1 file

OpenBSD — usr.sbin/smtpd spfwalk.c

Check for legitimate IPv4, IPv6 addrs before printing.

Ryan Kavanagh reported on github that certain domains have misconfigured
SPF records.  https://github.com/OpenSMTPD/OpenSMTPD/issues/844

Ok millert@ gilles@
Delta File
+9 -4 usr.sbin/smtpd/spfwalk.c
+9 -4 1 file