Accessing tftpd in wsl2 docker container

Helfe beim Thema Accessing tftpd in wsl2 docker container in Windows 10 Support um eine Lösung zu finden; Problem: Connect to tftpd in Docker from WSL2. Client tftp is running inside wsl2 ubuntu Server is tftpd-hpa running inside docker for windows... Dieses Thema im Forum "Windows 10 Support" wurde erstellt von arcmac, 25. Juni 2020.

  1. arcmac
    arcmac Gast

    Accessing tftpd in wsl2 docker container


    Problem: Connect to tftpd in Docker from WSL2.


    Client tftp is running inside wsl2 ubuntu

    Server is tftpd-hpa running inside docker for windows started from wsl2 ubuntu

    Windows firewall should be irrelevant, however it is also disabled completelty


    Summary:

    I can udp netcat from Alice to Bob port 69
    I can tftp load a file inside Bob
    When I tftp from Alite to netcat on Bob I see tftp traffic coming in
    But I can not tftp load a file in Alice from Bob, connection timeout

    **** ?????

    Reproduction:

    I installed WSL2 on Windows 10 V 2004 with Ubuntu V20.04
    I installed Docker for Windows.
    I installed Ubuntu V20.04 in Docker.


    Two terminals, Alice is wsl2 bash, Bob is Docker bash; docker run.



    Bob: nc -ul4 69

    Alice: nc -u 127.0.0.1 69

    -> Both can chat



    Bob: start nc -ul4 69

    Alice: tftp 127.0.0.1

    get test.txt

    -> Bob can see alice talking tftp



    Bob: start tftpd-hpa with option -4

    Bob: tftp 127.0.0.1

    get test.txt

    -> Bob can download a file from its own tftpd



    Bob: start tftpd-hpa with option -4

    Alice: tftp 127.0.0.1

    get test.txt

    -> Timeout this is unexpected



    Netstat on Alice and Bob look exactly identical in both cases nc and tftpd.


    Bob:


    Active Internet connections servers and established

    Proto Recv-Q Send-Q Local Address Foreign Address State

    udp 0 0 0.0.0.0:tftp 0.0.0.0:*



    Alice:



    Active Internet connections servers and established

    Proto Recv-Q Send-Q Local Address Foreign Address State

    udp6 0 0 [::]:tftp [::]:*



    Fyi: Using the internal wsl2 ip instead of 127.0.0.1 makes no difference.


    Question:

    Any explaination ?


    Next steps:

    logging I got no /var/log/messages yet and tethereal ?



    Exclusions:

    I will not install a linux docker inside WSL2 as this is a commercial project and not recommended


    Thanks a lot, apreciated.

    Weiterlesen...
     
  2. Hobi Expert
    Willkommen,

    Gehe die folgenden Anleitungen durch:
Thema:

Accessing tftpd in wsl2 docker container

Die Seite wird geladen...

Accessing tftpd in wsl2 docker container - Ähnliche Themen - Accessing tftpd wsl2

Forum Datum

UI Automation scrollen des Containers für ListItemControlType

UI Automation scrollen des Containers für ListItemControlType: Moin,mir ist beim Arbeiten mit UI Automation nativ aufgefallen, dass es bei dem "Container" für ListItemControlType bspw. weiß gerade nicht, ob es auch für DataItemControlType gilt nicht möglich ist zu scrollen.Nun hab' ich gelesen, dass es daran liegen könnte das Divs an sich nicht fokussierbar...

Windows 10 Support 23. Januar 2022

WSL2

WSL2: Hello thereI've been trying to make wsl2 work on my surface pro 5 but I find myself unable to make sense of the range of suggestions from forums.The problem is that wsl can't connect to the internet, and so far I've tried to change the wsl.conf file according to this description...

Surface 19. Oktober 2021

WSL2 und Surface Dock 2: Netzwerkfehler mit Surface Pro 7+ 1TB/32GB

WSL2 und Surface Dock 2: Netzwerkfehler mit Surface Pro 7+ 1TB/32GB: Hallo Liebe Community,ich habe ein spannendes Problem mit meinem brandneuen Surface Pro 7+ 32GB/1TB.Ich habe Windows 10 21H1 frisch installiert und alle Windows Updates bis zum heutigen Tag installiert.Bildschirm, Tastatur und Maus sowie Ethernet sind mit einer brandneuen Surface Dock 2...

Surface 7. August 2021

Internet total langsam, außer mit WSL2

Internet total langsam, außer mit WSL2: Hallo, ich bin momentan etwas überfordert. Mein Problem ist, dass ich nur schnelles Internet habe, wenn ich mein WSL2 Ubuntu benutze. Wenn ich einen Download starte jeder Browser lade ich mit um die 2-3Mb/s herunter, das gleiche ich auch mit der Powershellwget. Aber wenn ich nun mein WSL2...

Windows 10 Support 23. September 2020

Mögt ihr es eigentlich wenn Websiten Container untergegliedert sind?

Mögt ihr es eigentlich wenn Websiten Container untergegliedert sind?: Für alle die nicht verstehen wie das aussieht (ich verwende jetzt hier google) [ATTACH] [ATTACH] https://www.gutefrage.net/frage/moegt-ihr-es-eigentlich-wenn-websiten-container-untergegliedert-sind

Windows 10 Support 3. August 2020

Nvidia Container

Nvidia Container: Guten Abend bekomme die Fehlermeldung Nvidia Container [ATTACH] Weiterlesen...

Windows 10 Support 31. Januar 2019

Display Dock

Display Dock: Hallo, ich habe gerade DD bekommen. Kann ich ihn zwischen Lumia 950 xl und einen Lapptop verbinden..Im voraus Dank Weiterlesen...

Windows 10 Mobile 23. Juli 2016

Display Dock

Display Dock: HALLO ZUSAMMEN, das Display Dock zu meinem Lumia 950 XL soll ich kostenlos erhalten. Habe das Display Dock ordern können und eine E-Mail von Microsoft mit einem Code erhalten. Leider kann ich die Bestellung nicht abschließen, weil nach der Eingabe des Codes stets die Meldung °ungültiger...

Windows 10 Mobile 2. Februar 2016

Accessing tftpd in wsl2 docker container [gelöst]

  1. Diese Seite verwendet Cookies. Wenn du dich weiterhin auf dieser Seite aufhältst, akzeptierst du unseren Einsatz von Cookies.
    Auf dieser Website werden Cookies für die Zugriffsanalyse und Anzeigenmessung verwendet.
    Information ausblenden