Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. LINUX.GENTOO.USER
  • Re: [gentoo-user] How to generate broadcast TFTP read request?

    From [email protected]@21:1/5 to All on Fri Nov 8 10:00:02 2024
    Grant Edwards:
    I need to generate a broadcast UDP TFTP read request, and the usual
    TFTP client tools I use (atftp, tftpy) can't do that. Does anybody
    have a suggestion for an easy wat to generate such a request?
    ...

    Tftp is specified by:
    https://www.rfc-editor.org/rfc/rfc1350.txt

    To send datagrams to the broadcast address, you need to
    set SO_BROADCAST in setsockopt(), so unpatched the traditional
    clients won't work. For details see:
    man 7 socket
    man setsockopt

    Theese might help:
    https://www.abc.se/~m6695/udp.html https://people.cs.rutgers.edu/~pxk/417/notes/sockets/udp.html https://users.cs.jmu.edu/bernstdh/web/common/lectures/summary_unix_udp.php

    Regards,
    /Karl Hammar

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 715
    Nodes: 16 (2 / 14)
    Uptime: 09:10:22
    Calls: 12,100
    Files: 15,003
    Messages: 6,517,962

© >>> Magnum BBS <<<, 2026