All of lore.kernel.org
 help / color / mirror / Atom feed
From: yw662 <1862415@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1862415] Re: -nic user cannot receive TFTP response from outside on windows 10 host
Date: Fri, 07 Feb 2020 19:59:55 -0000	[thread overview]
Message-ID: <158110559565.8770.10768731295664794562.malone@chaenomeles.canonical.com> (raw)
In-Reply-To: 158110549948.8965.4395096108369482087.malonedeb@chaenomeles.canonical.com

** Attachment added: "dump.dat"
   https://bugs.launchpad.net/qemu/+bug/1862415/+attachment/5326375/+files/dump.dat

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1862415

Title:
  -nic user cannot receive TFTP response from outside on windows 10 host

Status in QEMU:
  New

Bug description:
  Configuration:
  qemu is on a windows 10 host, address 192.168.1.24
  A tftp server, which is atftpd, is at address 192.168.1.31
  a guest is started by: 
  ```
  .\qemu-system-x86_64.exe -accel hax \
  -nic user,id=n1,tftp-server-name=192.168.1.31,bootfile=tftp://192.168.1.31/grub/i386-pc/core.0 \
  -object filter-dump,id=f1,netdev=n1,file=dump.dat
  ```

  qemu v4.2.0-11797-g2890edc853-dirty, from https://qemu.weilnetz.de/w64/
  windows 10 1909 18363.628

  Here is the captured traffic from dump.dat, no filter applied:
  No.	Time	Source	Destination	Protocol	Length	Info
  1	0.000000	0.0.0.0	255.255.255.255	DHCP	439	DHCP Discover - Transaction ID 0xdb38340e
  2	0.000081	10.0.2.2	255.255.255.255	DHCP	590	DHCP Offer    - Transaction ID 0xdb38340e
  3	1.035670	0.0.0.0	255.255.255.255	DHCP	439	DHCP Discover - Transaction ID 0xdb38340e
  4	1.035693	10.0.2.2	255.255.255.255	DHCP	590	DHCP Offer    - Transaction ID 0xdb38340e
  5	3.068055	0.0.0.0	255.255.255.255	DHCP	451	DHCP Request  - Transaction ID 0xdb38340e
  6	3.068099	10.0.2.2	255.255.255.255	DHCP	590	DHCP ACK      - Transaction ID 0xdb38340e
  7	3.068209	RealtekU_12:34:56	Broadcast	ARP	42	ARP Announcement for 10.0.2.15
  8	3.148419	RealtekU_12:34:56	Broadcast	ARP	42	Who has 10.0.2.2? Tell 10.0.2.15
  9	3.148449	52:55:0a:00:02:02	RealtekU_12:34:56	ARP	64	10.0.2.2 is at 52:55:0a:00:02:02
  10	3.148511	10.0.2.15	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  11	3.398093	10.0.2.15	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  12	3.946041	10.0.2.15	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  13	4.990262	10.0.2.15	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  14	7.022839	10.0.2.15	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  15	11.087041	10.0.2.15	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0

  
  Here is the captured traffic at host NIC, filered by from or to 192.168.1.31
  No.	Time	Source	Destination	Protocol	Length	Info
  14140	57.729066	192.168.1.24	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  14141	57.732988	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14255	57.977995	192.168.1.24	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  14256	57.979876	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14275	58.525939	192.168.1.24	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  14276	58.527819	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14328	59.570178	192.168.1.24	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  14329	59.581024	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14383	61.602742	192.168.1.24	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  14384	61.605554	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14730	62.736572	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14741	62.987924	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14756	63.533477	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14815	64.577653	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  14916	65.666959	192.168.1.24	192.168.1.31	TFTP	91	Read Request, File: grub/i386-pc/core.0, Transfer type: octet, blksize=1432, tsize=0
  14917	65.668778	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  15235	66.615186	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  15481	67.745250	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  15509	67.991523	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  15566	68.539050	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  16691	69.583531	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  17457	70.675366	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  17599	71.615337	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  17904	72.747338	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  18012	72.995681	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  18192	73.544257	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  18360	74.588002	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  18981	75.679037	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  19270	76.620528	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  19839	77.752338	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  19852	78.001267	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  19917	78.548965	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20066	79.593232	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20140	80.684604	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20220	81.625996	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20537	82.824574	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20551	83.033318	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20607	83.555510	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20734	84.598612	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20816	85.691535	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  20898	86.631036	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432
  22311	90.695296	192.168.1.31	192.168.1.24	TFTP	69	Option Acknowledgement, tsize=45542, blksize=1432

  From the traffic, the guest sent the request properly, and it is
  rerouted outside properly, and the server respond to it properly.
  However, the guest never received the response.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1862415/+subscriptions


  reply	other threads:[~2020-02-07 20:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 19:58 [Bug 1862415] [NEW] -nic user cannot receive TFTP response from outside on windows 10 host yw662
2020-02-07 19:59 ` yw662 [this message]
2020-02-07 20:06 ` [Bug 1862415] " yw662
2020-02-10 15:47 ` yw662
2021-05-05 15:20 ` Thomas Huth
2021-07-05  4:17 ` Launchpad Bug Tracker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=158110559565.8770.10768731295664794562.malone@chaenomeles.canonical.com \
    --to=1862415@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.