The pfSense Store

Author Topic: Bring TFTP Package Back [ 50$ ]  (Read 1959 times)

0 Members and 1 Guest are viewing this topic.

Offline Zedful

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Bring TFTP Package Back [ 50$ ]
« on: September 13, 2016, 08:05:42 am »
Hello
I'm here with my 50$
for bringing TFTP server package back which is removed in 2.3.


2.3 Removed Packages
Quote
TFTP - no package maintainer, not converted



Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21378
  • Karma: +1431/-26
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #1 on: September 19, 2016, 11:01:09 am »
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.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline doktornotor

  • Hero Member
  • *****
  • Posts: 8553
  • Karma: +956/-278
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #2 on: December 05, 2016, 05:06:33 pm »
Do NOT PM for help!

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14407
  • Karma: +1334/-199
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #3 on: December 07, 2016, 11:23:18 am »
"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]/:                           
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x SG-4860 2.4.2-RELEASE (home)

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21378
  • Karma: +1431/-26
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #4 on: December 07, 2016, 11:27:27 am »
That's tftp-proxy, not tftpd. And that does work.
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline johnpoz

  • Hero Member
  • *****
  • Posts: 14407
  • Karma: +1334/-199
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #5 on: December 07, 2016, 11:41:36 am »
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.
- An intelligent man is sometimes forced to be drunk to spend time with his fools.
- Please don't PM me for personal help
- if you want to say thanks applaud or https://www.freebsdfoundation.org/donate/
1x SG-2440 2.3.4_p1 (work)
1x SG-4860 2.4.2-RELEASE (home)

Offline jimp

  • Administrator
  • Hero Member
  • *****
  • Posts: 21378
  • Karma: +1431/-26
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #6 on: December 07, 2016, 12:03:58 pm »
That would be a question for a new thread in a different board
Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Offline doktornotor

  • Hero Member
  • *****
  • Posts: 8553
  • Karma: +956/-278
  • Not a pfSense employee, they cannot fire me...
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #7 on: December 08, 2016, 02:14:49 am »
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
Do NOT PM for help!

Offline seidler2547

  • Newbie
  • *
  • Posts: 17
  • Karma: +4/-0
    • View Profile

Offline Zedful

  • Newbie
  • *
  • Posts: 15
  • Karma: +1/-0
    • View Profile
Re: Bring TFTP Package Back [ 50$ ]
« Reply #9 on: June 28, 2017, 05:31:20 am »
O o
Thank You !
a PM is sent.
This can be moved to "Completed Bounties".