This is the mail archive of the
cygwin
mailing list for the Cygwin project.
1.7.0-49 beta testing: tftpd of inetutils1.5.6 only transfers 511 byte to tftp client
- From: Xiaoqiang Zheng <zh_xq at yahoo dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 10 Jun 2009 00:43:09 -0700 (PDT)
- Subject: 1.7.0-49 beta testing: tftpd of inetutils1.5.6 only transfers 511 byte to tftp client
1.7.0-49 beta testing: tftpd of inetutils1.5.6 only transfers 511 byte to tftp client
1. /etc/inetd.conf:
================
tftp dgram udp wait cyg_server /usr/sbin/tftpd tftpd /cygdrive/i/data/tftp
================
2. for a 511 bytes file, tftp to localhost works wel
================
$ ls -l /cygdrive/i/data/tftp/x
-rwxr-xr-x 1 dfhtys None 511 06-10 14:23 /cygdrive/i/data/tftp/x
$ tftp localhost
tftp> mode binary
tftp> get x
Received 511 bytes in 0.1 seconds
tftp> quit
================
3. for a 512 bytes file, tftp to localhost stalls.
================
$ ls -l /cygdrive/i/data/tftp/x
-rwxr-xr-x 1 dfhtys None 512 06-10 14:25 /cygdrive/i/data/tftp/x
$ tftp localhost
tftp> mode binary
tftp> get x
================
4. syslog message in var/log/message:
================
Jun 10 14:23:18 t9300d tftpd: PID 964: tftpd: read: Bad address
Jun 10 14:24:22 t9300d
Jun 10 14:24:22 t9300d tftpd: PID 1764: tftpd: read: Bad address
Jun 10 14:25:59 t9300d
Jun 10 14:25:59 t9300d tftpd: PID 3084: tftpd: read: Bad address
================
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/