weird tftp problem

Issues related to configuring your network
Post Reply
higg
Posts: 7
Joined: 2012/04/26 06:41:48

weird tftp problem

Post by higg » 2021/10/13 11:11:55

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.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: weird tftp problem

Post by TrevorH » 2021/10/13 11:53:08

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
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

higg
Posts: 7
Joined: 2012/04/26 06:41:48

Re: weird tftp problem

Post by higg » 2021/10/13 12:16:01

thanks for reply, but I bet this is not related to firewall, as I wrote, I disabled it.

User avatar
TrevorH
Site Admin
Posts: 33191
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: weird tftp problem

Post by TrevorH » 2021/10/13 15:07:11

But you will want to re-enable it again at some point...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: weird tftp problem

Post by jlehtone » 2021/10/14 09:49:21

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?

higg
Posts: 7
Joined: 2012/04/26 06:41:48

Re: weird tftp problem

Post by higg » 2021/10/14 12:59:34

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.

aks
Posts: 3073
Joined: 2014/09/20 11:22:14

Re: weird tftp problem

Post by aks » 2021/10/17 19:04:30

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)

Post Reply