Page 1 of 1
weird tftp problem
Posted: 2021/10/13 11:11:55
by higg
Hello,
Centos 7, all latest updates. I installed tftp server according to instructions and don't understand what's wrong.
Client (from same subnet), either Linux or Windows, only able to create 0 size file, then timeout.
I turned off firewalld and put SELinux to disabled. No help.
I didn't understand, why I need to install both tftp-server and xinetd, first installed only tftp-server with same problem.
Installed xinetd as well, no luck, same problem.
Re: weird tftp problem
Posted: 2021/10/13 11:53:08
by TrevorH
Make sure that when you use firewall-cmd you enable the _service_ not the port - i.e. firewall-cmd --add-service=tftp NOT --add-port=69/udp
Re: weird tftp problem
Posted: 2021/10/13 12:16:01
by higg
thanks for reply, but I bet this is not related to firewall, as I wrote, I disabled it.
Re: weird tftp problem
Posted: 2021/10/13 15:07:11
by TrevorH
But you will want to re-enable it again at some point...
Re: weird tftp problem
Posted: 2021/10/14 09:49:21
by jlehtone
TrevorH wrote: ↑2021/10/13 15:07:11
But you will want to re-enable it again at some point...
... and the SELinux too.
The
man tftpd of 'tftp-server' package mentions option
--create and has a section about
security.
Is tftp really the best option for
writing to server?
Re: weird tftp problem
Posted: 2021/10/14 12:59:34
by higg
jlehtone wrote: ↑2021/10/14 09:49:21
Is tftp really the best option for
writing to server?
I didn't ask is it best option or not. I asked why it's not working.
Re: weird tftp problem
Posted: 2021/10/17 19:04:30
by aks
I think you need to shed some light on this.
Code: Select all
I installed tftp server according to instructions
Whose instructions, and why?
Linux or Windows, only able to create 0 size file, then timeout.
So it doesn't get the data.
install both tftp-server and xinetd
Why did you install xinetd?
The question really is why do UDP ("not connected") transaction fail?
Perhaps trace UDP activity across your network (but just guessing here)