Bring TFTP Package Back [ 50$ ]



  • Hello
    I’m here with my 50$
    for bringing TFTP server package back which is removed in 2.3.

    2.3 Removed Packages

    TFTP - no package maintainer, not converted


  • Developer Netgate Administrator

    In addition to it not having a maintainer, we switched from inetd to xinetd and the TFTP daemon did not work with xinetd. I am not sure if this has been corrected yet, but if it has, it may be possible to bring it back eventually.


  • Banned



  • “we switched from inetd to xinetd and the TFTP daemon did not work with xinetd”

    Then why is there a freaking entry in the conf for it… How can we remove this - it just spams the logs.

    [2.3.2-RELEASE][root@pfsense.local.lan]/: cat /var/etc/xinetd.conf 
    service 6969-udp                                                   
    {                                                                   
            type = unlisted                                             
            bind = 127.0.0.1                                           
            port = 6969                                                 
            socket_type = dgram                                         
            protocol = udp                                             
            wait = yes                                                 
            user = root                                                 
            server = /usr/libexec/tftp-proxy                           
            server_args = -v                                           
    }

    [2.3.2-RELEASE][root@pfsense.local.lan]/:


  • Developer Netgate Administrator

    That’s tftp-proxy, not tftpd. And that does work.



  • Oh my bad then… Just saw ports 6969 and tftp, didn’t catch the -proxy part 😉

    Since I do not use this, will never use it in this environment - how can I remove this so it doesn’t come back and keep spamming the logs…

    Dec 7 08:05:39 xinetd 50417 Reconfigured: new=0 old=1 dropped=0 (services)
    Dec 7 08:05:39 xinetd 50417 readjusting service 6969-udp
    Dec 7 08:05:39 xinetd 50417 Swapping defaults
    Dec 7 08:05:39 xinetd 50417 Starting reconfiguration

    I do not have the the proxy enabled.  So why would this entry be in there?  If I remove it it just comes back.


  • Developer Netgate Administrator

    That would be a question for a new thread in a different board


  • Banned

    @johnpoz:

    I do not have the the proxy enabled.  So why would this entry be in there?  If I remove it it just comes back.

    You  should be able to set up a separate syslog facility for the xinetd with location optimized to /dev/null with a small patch to system_syslogd_start(). Frankly, I’m tempted to submit this as a PR – because the system log now mostly consists of the competely useless xinetd noise.

    https://redmine.pfsense.org/issues/6308



  • @doktornotor:

    Done by seidler2547 @ https://github.com/pfsense/FreeBSD-ports/pull/167

    Right, that’s me 🙂

    Glad to help.

    Stefan



  • O o
    Thank You !
    a PM is sent.
    This can be moved to “Completed Bounties”.


 

© Copyright 2002 - 2018 Rubicon Communications, LLC | Privacy Policy