Bug 102162 - [patch] tftpd(8): Limit port range for tftpd
Summary: [patch] tftpd(8): Limit port range for tftpd
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: 6.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-16 22:40 UTC by agifford
Modified: 2018-01-03 05:14 UTC (History)
0 users

See Also:


Attachments
file.diff (3.00 KB, patch)
2006-08-16 22:40 UTC, agifford
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description agifford 2006-08-16 22:40:12 UTC
NEW FEATURE FOR tftpd:

This patch the TFTP daemon adds a new command line option -p that
permits the user to specify what port or port range the tftpd daemon
will bind to during transfers.  This is useful in cases where one
must limit tftpd (perhaps for firewall reasons) to a small subset
of ports.

The patch applies cleanly to 5.x as well as 6.x up to 6.1-STABLE
as of 16 Aug. 2006.

While this has been tested on IPv4 networks, it has not been tested
on IPv6.  The code is so simple, however, that severe bugs under
IPv6 are unlikely (but it would be nice for someone with an IPv6
net to give it a good walloping test).

-Aaron out.

(The patch is included in the "Fix to the problem" section.)

Fix: PATCH FOLLOWS:
Comment 1 Edwin Groothuis freebsd_committer 2007-10-08 09:23:12 UTC
Responsible Changed
From-To: freebsd-bugs->edwin

I'm interested in TFTP.
Comment 2 Edwin Groothuis freebsd_committer 2008-02-14 10:34:20 UTC
Responsible Changed
From-To: edwin->freebsd-bugs


Give back into the pool until later.
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:40 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped