Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 8046

Summary: tftp server refuses connections under high loads
Product: [Retired] Red Hat Linux Reporter: Joseph W. Breu <joseph.breu>
Component: tftpAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-01-04 14:31:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Joseph W. Breu 1999-12-29 14:37:59 UTC
Under high TFTP loads (approx 5-10 requests per second), the TFTP server
starts to deny requests.

/var/log/messages
-----------------
Dec 29 05:51:31 breu tftpd[2168]: tftpd: trying to get file:
zenith-clone-generic-1.cfg
Dec 29 05:51:31 breu tftpd[2168]: tftpd: serving file from /tftpboot
Dec 29 05:51:33 breu tftpd[2170]: tftpd: trying to get file:
zenith-clone-generic-1.cfg
Dec 29 05:51:33 breu tftpd[2170]: tftpd: serving file from /tftpboot
Dec 29 05:51:33 breu tftpd[2170]: tftpd: read: Connection refused


/etc/inetd.conf
---------------
tftp	dgram	udp	wait.40000	root	/usr/sbin/in.tftpd	in.tftpd

Comment 1 Jeff Johnson 2000-01-04 14:31:59 UTC
What tftp version ("rpm -q tftp")?

If tftp-0.16, there is an attempt within the tftpd daemon to prevent DOS
attacks by delaying 0.1 secs between attempts to service a request. This
can be disabled if you desire in the source and recompiling. I'm hard pressed
to imagine a circumstance in which >10 tftp requests/second is generally
useful (read: I don't think that this should be disabled in the distributed
tftp package.)