tftp PUT因TFTPD32失败(atftp和tftp工作)

时间:2012-04-12 12:46:38

标签: tftp

我使用命令

在我的嵌入式系统上配置tftpd
# udpsvd -E 0 69 tftpd -c /flash0/app/Binary/

当我使用linux应用程序(tftp,atftp)作为客户端时,一切正常。 但是使用Windows工具(Ph.Jounin的TFTPD32) - 在公司中提供我不能将PUT文件放入服务器。

正确追踪(几行):

# sending 4 bytes
00 04 00 00 
received 516 bytes: 0003 0001
sending 4 bytes
00 04 00 01 
received 516 bytes: 0003 0002
sending 4 bytes
00 04 00 02 
received 516 bytes: 0003 0003
sending 4 bytes

错误追踪:

# sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
sending 10 bytes
00 06 74 73 69 7a 65 00 30 00 
received 516 bytes: 0003 0001
tftpd: timeout
tftpd: malformed packet
tftpd: malformed packet

1 个答案:

答案 0 :(得分:0)

行。这是tftp实现的依赖和问题。 我使用ddwrt / busybox发行版中的一个。 我需要禁用FEATURE_TFTP_BLOCKSIZE,并避免使用tftp_get_option(“blksize”...)。