OpenBSD CVS

CVS log for src/usr.sbin/smtpd/smtp_client.c


[BACK] Up to [local] / src / usr.sbin / smtpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.17 / (download) - annotate - [select for diffs], Wed Dec 28 21:30:18 2022 UTC (17 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.16: +2 -2 lines
Diff to previous 1.16 (colored)

spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 14 17:58:16 2021 UTC (2 years, 11 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0
Changes since 1.15: +1 -2 lines
Diff to previous 1.15 (colored)

add required headers for smtpd.h and remove unnecessary ones in other files.

ok jung@

Revision 1.15 / (download) - annotate - [select for diffs], Fri Mar 5 12:37:32 2021 UTC (3 years, 2 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.14: +9 -8 lines
Diff to previous 1.14 (colored)

Start porting smtpd to libtls.

Note that it changes the way SNI works: The certificate to use is now
selected by looking at the names found in the certificates themselves,
rather than the names of the pki entries in the configuration file.
The set of certificates for a tls listener must be defined explicitly by
using the pki listener option multiple times.

ok tb@

Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 24 11:34:07 2020 UTC (4 years, 1 month ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.13: +5 -1 lines
Diff to previous 1.13 (colored)

strip trailing CRs at smtp level rather than io level

ok millert@

Revision 1.13 / (download) - annotate - [select for diffs], Mon Feb 24 23:54:27 2020 UTC (4 years, 3 months ago) by millert
Branch: MAIN
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (colored)

Cast argument of ctype(3) macros to unsigned char, not int.
Similar to a diff from Hiltjo Posthum.  OK jung@ deraadt@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Sep 10 12:08:26 2019 UTC (4 years, 8 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

immediatly close the connection if the cert is not valid, rather than
ending the smtp session.

ok gilles@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Sep 2 20:05:21 2019 UTC (4 years, 9 months ago) by eric
Branch: MAIN
Changes since 1.10: +9 -3 lines
Diff to previous 1.10 (colored)

Request a new SSL structure for each TLS session.
Fix a crash reported by Ross L Richardson.

ok gilles@

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 12 17:42:53 2019 UTC (4 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

change "ssl" to "tls" in various identifiers.
no functional change.

ok gilles@

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 14 12:08:54 2019 UTC (5 years ago) by eric
Branch: MAIN
Changes since 1.8: +4 -4 lines
Diff to previous 1.8 (colored)

fix typos in log messages

Revision 1.8 / (download) - annotate - [select for diffs], Thu Sep 20 11:42:28 2018 UTC (5 years, 8 months ago) by eric
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4
Changes since 1.7: +42 -27 lines
Diff to previous 1.7 (colored)

properly handle credentials and fix auth in smtp(1)

ok gilles@

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 1 12:03:31 2018 UTC (5 years, 9 months ago) by miko
Branch: MAIN
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)

sync fatalx() message between smtp_client_{state,response}; ok stsp@ gilles@

Revision 1.6 / (download) - annotate - [select for diffs], Thu Aug 30 11:58:01 2018 UTC (5 years, 9 months ago) by eric
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

fix use-after-free

spotted by jsg@
input from jsg@ miko@

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jun 9 10:01:17 2018 UTC (5 years, 11 months ago) by eric
Branch: MAIN
Changes since 1.4: +9 -1 lines
Diff to previous 1.4 (colored)

parse SIZE advertisement

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 24 11:01:30 2018 UTC (6 years ago) by eric
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

check the intended value

ok krw@ gilles@

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 21 21:25:37 2018 UTC (6 years ago) by krw
Branch: MAIN
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

Nuke unused variables. Initialize variable before use.

Makes clang happy.

ok gilles@

Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 26 21:19:46 2018 UTC (6 years, 1 month ago) by eric
Branch: MAIN
Changes since 1.1: +5 -1 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 26 13:57:13 2018 UTC (6 years, 1 month ago) by eric
Branch: MAIN

add a simple SMTP client

ok gilles@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.