<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/libexec/ftpd/ftpd.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>ftpd: blocklist: Add a permission denied probe</title>
<updated>2025-09-30T23:21:18+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2025-09-29T16:27:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f60ddbd0fb9005aa82985142518a9403a4f30f84'/>
<id>f60ddbd0fb9005aa82985142518a9403a4f30f84</id>
<content type='text'>
Reviewed by:	emaste
Approved by:	emaste (mentor)
Obtained from:	NetBSD
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D52746

(cherry picked from commit 1060684b04b0ee1e07c6c91f7c52978835ff676a)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	emaste
Approved by:	emaste (mentor)
Obtained from:	NetBSD
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D52746

(cherry picked from commit 1060684b04b0ee1e07c6c91f7c52978835ff676a)
</pre>
</div>
</content>
</entry>
<entry>
<title>ftpd: blocklist: Add an extra probe</title>
<updated>2025-09-30T23:21:06+00:00</updated>
<author>
<name>Jose Luis Duran</name>
<email>jlduran@FreeBSD.org</email>
</author>
<published>2025-09-29T16:26:54+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=da2437b62ec1ddda5c25dc872ab0b1a84d6306aa'/>
<id>da2437b62ec1ddda5c25dc872ab0b1a84d6306aa</id>
<content type='text'>
Add a blocklist probe when user access is denied.

Reviewed by:	emaste
Approved by:	emaste (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D52747

(cherry picked from commit 307929b211e07f91260105211b57678e906327af)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a blocklist probe when user access is denied.

Reviewed by:	emaste
Approved by:	emaste (mentor)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D52747

(cherry picked from commit 307929b211e07f91260105211b57678e906327af)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line .c pattern</title>
<updated>2023-08-23T17:43:26+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3d497e17ebd33fe0f58d773e35ab994d750258d6'/>
<id>3d497e17ebd33fe0f58d773e35ab994d750258d6</id>
<content type='text'>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in main:
(cherry picked from commit 1d386b48a555)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/

Similar commit in main:
(cherry picked from commit 1d386b48a555)
</pre>
</div>
</content>
</entry>
<entry>
<title>ftpd: delete dead code</title>
<updated>2021-08-22T21:25:29+00:00</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2021-07-27T18:14:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2e6862b12b20ca62b53faf3899e39744c89a9a43'/>
<id>2e6862b12b20ca62b53faf3899e39744c89a9a43</id>
<content type='text'>
Delete code killed by SVN r13139 in 1996.  Little chance that it would
still compile today.

PR:		257317
Reported by:	Alan Shearer &lt;sakison@gmail.com&gt;
Sponsored by:	Axcient

(cherry picked from commit 674400eb20b65369a88b1cb778d729bc297832c9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Delete code killed by SVN r13139 in 1996.  Little chance that it would
still compile today.

PR:		257317
Reported by:	Alan Shearer &lt;sakison@gmail.com&gt;
Sponsored by:	Axcient

(cherry picked from commit 674400eb20b65369a88b1cb778d729bc297832c9)
</pre>
</div>
</content>
</entry>
<entry>
<title>ftpd: Add missing braces around a statfd check</title>
<updated>2020-09-22T15:54:18+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-09-22T15:54:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3c0c1e01c9c55aa0ef5bec9a4612d1ce68dd76da'/>
<id>3c0c1e01c9c55aa0ef5bec9a4612d1ce68dd76da</id>
<content type='text'>
This was harmless but looked incorrect.  No functional change intended.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was harmless but looked incorrect.  No functional change intended.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
<entry>
<title>ftpd: Exit during authentication if an error occurs after chroot().</title>
<updated>2020-09-15T20:54:18+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2020-09-15T20:54:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2ac431003bde2219848a31064a02ceecc834fead'/>
<id>2ac431003bde2219848a31064a02ceecc834fead</id>
<content type='text'>
admbug:		969
Security:	CVE-2020-7468
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
admbug:		969
Security:	CVE-2020-7468
</pre>
</div>
</content>
</entry>
<entry>
<title>Use strlcpy().</title>
<updated>2017-12-05T07:21:47+00:00</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2017-12-05T07:21:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=69097cd8da7e52567dd83f0242cf5431c6783fe8'/>
<id>69097cd8da7e52567dd83f0242cf5431c6783fe8</id>
<content type='text'>
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>General further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-20T19:49:47+00:00</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-20T19:49:47+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8a16b7a18f5d0b031f09832fd7752fba717e2a97'/>
<id>8a16b7a18f5d0b031f09832fd7752fba717e2a97</id>
<content type='text'>
Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
</pre>
</div>
</content>
</entry>
<entry>
<title>ftpd(8): fix user context handling.</title>
<updated>2017-10-06T13:46:05+00:00</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2017-10-06T13:46:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=de8d85c908d0ee7bd69f69dc1b9475f30a321eb4'/>
<id>de8d85c908d0ee7bd69f69dc1b9475f30a321eb4</id>
<content type='text'>
Apply authenticated user context after update of wtmp(5) at start of session,
so that ftpd process is not killed by kernel with SIGXFSZ when user has
"filesize" limit lower than size of system wtmp file. Same applies
to session finalization: revert to super-user context before update of wtmp.

If ftpd hits limit while writing a file at user request,
do not get killed with SIGXFSZ instantly but apparently ignore the signal,
process error and report it to the user, and continue with the session.

PR:		143570
Approved by:	avg (mentor), mav (mentor)
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apply authenticated user context after update of wtmp(5) at start of session,
so that ftpd process is not killed by kernel with SIGXFSZ when user has
"filesize" limit lower than size of system wtmp file. Same applies
to session finalization: revert to super-user context before update of wtmp.

If ftpd hits limit while writing a file at user request,
do not get killed with SIGXFSZ instantly but apparently ignore the signal,
process error and report it to the user, and continue with the session.

PR:		143570
Approved by:	avg (mentor), mav (mentor)
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix build when WITHOUT_BLACKLIST=yes is specified</title>
<updated>2016-11-12T03:07:41+00:00</updated>
<author>
<name>Kurt Lidl</name>
<email>lidl@FreeBSD.org</email>
</author>
<published>2016-11-12T03:07:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=959d78b29afba3844a2d8e98c221dafe27729fe2'/>
<id>959d78b29afba3844a2d8e98c221dafe27729fe2</id>
<content type='text'>
PR:		214409
Submitted by:	matthew
Reported by:	matteo
MFC after:		3 days
Sponsored by:	The FreeBSD Foundation
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		214409
Submitted by:	matthew
Reported by:	matteo
MFC after:		3 days
Sponsored by:	The FreeBSD Foundation
</pre>
</div>
</content>
</entry>
</feed>
