qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Bug 1862415] [NEW] -nic user cannot receive TFTP response from outside on windows 10 host
@ 2020-02-07 19:58 yw662
  2020-02-07 19:59 ` [Bug 1862415] " yw662
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: yw662 @ 2020-02-07 19:58 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1862415] Re: -nic user cannot receive TFTP response from outside on windows 10 host
  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
  2020-02-07 20:06 ` yw662
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: yw662 @ 2020-02-07 19:59 UTC (permalink / raw)
  To: qemu-devel

** 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1862415] Re: -nic user cannot receive TFTP response from outside on windows 10 host
  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 ` [Bug 1862415] " yw662
@ 2020-02-07 20:06 ` yw662
  2020-02-10 15:47 ` yw662
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: yw662 @ 2020-02-07 20:06 UTC (permalink / raw)
  To: qemu-devel

** Attachment added: "host.pcap"
   https://bugs.launchpad.net/qemu/+bug/1862415/+attachment/5326376/+files/host.pcap

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1862415] Re: -nic user cannot receive TFTP response from outside on windows 10 host
  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 ` [Bug 1862415] " yw662
  2020-02-07 20:06 ` yw662
@ 2020-02-10 15:47 ` yw662
  2021-05-05 15:20 ` Thomas Huth
  2021-07-05  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: yw662 @ 2020-02-10 15:47 UTC (permalink / raw)
  To: qemu-devel

** Tags added: slirp

** Tags added: windows

-- 
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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1862415] Re: -nic user cannot receive TFTP response from outside on windows 10 host
  2020-02-07 19:58 [Bug 1862415] [NEW] -nic user cannot receive TFTP response from outside on windows 10 host yw662
                   ` (2 preceding siblings ...)
  2020-02-10 15:47 ` yw662
@ 2021-05-05 15:20 ` Thomas Huth
  2021-07-05  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Thomas Huth @ 2021-05-05 15:20 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to
another system. For this we need to know which bugs are still valid
and which could be closed already. Thus we are setting older bugs to
"Incomplete" now.

If you still think this bug report here is valid, then please switch
the state back to "New" within the next 60 days, otherwise this report
will be marked as "Expired". Or please mark it as "Fix Released" if
the problem has been solved with a newer version of QEMU already.

Thank you and sorry for the inconvenience.


** Changed in: qemu
       Status: New => Incomplete

-- 
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:
  Incomplete

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug 1862415] Re: -nic user cannot receive TFTP response from outside on windows 10 host
  2020-02-07 19:58 [Bug 1862415] [NEW] -nic user cannot receive TFTP response from outside on windows 10 host yw662
                   ` (3 preceding siblings ...)
  2021-05-05 15:20 ` Thomas Huth
@ 2021-07-05  4:17 ` Launchpad Bug Tracker
  4 siblings, 0 replies; 6+ messages in thread
From: Launchpad Bug Tracker @ 2021-07-05  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
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:
  Expired

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-07-05  4:27 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [Bug 1862415] " yw662
2020-02-07 20:06 ` yw662
2020-02-10 15:47 ` yw662
2021-05-05 15:20 ` Thomas Huth
2021-07-05  4:17 ` Launchpad Bug Tracker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).