1.7.0-49 beta testing: tftpd of inetutils1.5.6 only transfers 511 byte to tftp client

Xiaoqiang Zheng zh_xq@yahoo.com
Wed Jun 10 07:43:00 GMT 2009


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/



More information about the Cygwin mailing list