qemu-e2k/slirp
Milan Plzik 1cb1a66aed Qemu's internal TFTP server breaks lock-step-iness of TFTP
According to RFC 1350 and RFC 2347, TFTP server should answer RRQ by
either OACK or DATA packet. Qemu's internal TFTP server answers RRQ with
additional options by sending both OACK and DATA packet, thus breaking
the "lock-step" feature of the protocol, and also confuses client.

  Proposed solution would be to, in case of OACK packet, wait for ACK
from client and just then start sending data. Attached patch implements
this.

Signed-off-by: Thomas Horsten <thomas@horsten.com>
Signed-off-by: Milan Plzik <milan.plzik@gmail.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-01-13 17:14:16 -06:00
..
bootp.c
bootp.h
cksum.c
COPYRIGHT
debug.h
if.c
if.h
ip_icmp.c
ip_icmp.h
ip_input.c slirp: fix unmatched bracket in if 0 2009-09-30 18:56:44 +00:00
ip_output.c
ip.h fix networking on win32 host 2009-12-18 23:23:56 +01:00
libslirp.h
main.h
mbuf.c slirp: fix use-after-free 2009-11-21 00:34:04 +01:00
mbuf.h
misc.c slirp/misc.c: fix warning with _FORTIFY_SOURCE 2009-12-25 18:19:18 +00:00
misc.h
sbuf.c
sbuf.h
slirp_config.h
slirp.c
slirp.h Don't leak file descriptors 2009-12-03 11:45:50 -06:00
socket.c Don't leak file descriptors 2009-12-03 11:45:50 -06:00
socket.h
tcp_input.c
tcp_output.c
tcp_subr.c Don't leak file descriptors 2009-12-03 11:45:50 -06:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcp.h
tcpip.h
tftp.c Qemu's internal TFTP server breaks lock-step-iness of TFTP 2010-01-13 17:14:16 -06:00
tftp.h
udp.c Don't leak file descriptors 2009-12-03 11:45:50 -06:00
udp.h