Page MenuHomeFreeBSD

tftpd: add -S ("secure") option
ClosedPublic

Authored by marck on Jul 19 2023, 2:23 PM.
Tags
None
Referenced Files
F147495324: D41090.id.diff
Wed, Mar 11, 10:31 AM
Unknown Object (File)
Mon, Mar 9, 3:54 PM
Unknown Object (File)
Feb 8 2026, 10:33 AM
Unknown Object (File)
Feb 7 2026, 10:12 PM
Unknown Object (File)
Jan 31 2026, 8:16 AM
Unknown Object (File)
Jan 12 2026, 10:29 AM
Unknown Object (File)
Jan 9 2026, 3:58 PM
Unknown Object (File)
Dec 30 2025, 7:17 PM
Subscribers

Details

Reviewers
marck
Summary

Having bunch of network devices usually imposes writing their configs via TFTP.

However, strict RFC compatibility dictates that files to be written should be world-writable, which is inconvenient in real-world scenarios.

Avoid it via introducing '-S' option

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

marck requested review of this revision.Jul 19 2023, 2:23 PM

upload long context patch

while here, fix double-colon typo in option string

lwhsu added inline comments.
libexec/tftpd/tftpd.8
31

don't forget to bump the date when updating the content :)

This revision is now accepted and ready to land.Jul 20 2023, 9:56 PM