| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=0.0 required=5.0 tests=BAYES_50 |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <263045.57351.qm@web110501.mail.gq1.yahoo.com> |
| Date: | Wed, 10 Jun 2009 00:43:09 -0700 (PDT) |
| From: | Xiaoqiang Zheng <zh_xq AT yahoo DOT com> |
| Subject: | 1.7.0-49 beta testing: tftpd of inetutils1.5.6 only transfers 511 byte to tftp client |
| To: | cygwin AT cygwin DOT com |
| MIME-Version: | 1.0 |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |