I've installed atftpd, and configured it as follows:

boban@netmonitor:~$ cat /etc/default/atftpd
USE_INETD=false
OPTIONS="--tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=9  /tftp/"

boban@netmonitor:~$ ls -ld /tftp/
drwxrwxrwx 2 nobody root 4096 2012-01-16 13:06 /tftp/


boban@netmonitor:~$ ls -l /tftp/test.txt 
-rw-rw-rw- 1 nobody root 12 2012-01-16 13:06 /tftp/test.txt

boban@netmonitor:~$ cat /etc/hosts.allow
in.tftpd: LOCAL, 192.168.150.66
atftpd: LOCAL, 192.168.150.66

boban@netmonitor:~$ tftp localhost
tftp> get test.txt
Received 12 bytes in 0.0 seconds

But, from other host, I'm getting:

boban@boban:~$ tftp 192.168.150.85
tftp> get test.txt
Transfer timed out.

Logs on tftp server shows:

Jan 16 15:20:40 netmonitor atftpd[13503]: Creating new socket: 192.168.150.85:37057
Jan 16 15:20:40 netmonitor atftpd[13503]: Serving test.txt to 192.168.150.66:35725
Jan 16 15:20:40 netmonitor atftpd[13503]: will do netascii convertion
Jan 16 15:20:40 netmonitor atftpd[13503]: recvmsg: Connection refused
Jan 16 15:20:40 netmonitor atftpd[13503]: tftpd_file.c: 926: recvfrom: Connection refused
Jan 16 15:20:40 netmonitor atftpd[13503]: Aborting transfer
Jan 16 15:20:40 netmonitor atftpd[13503]: Server thread exiting

There is no iptables filtering on both sides. Is there a way to solve this?

link|improve this question

75% accept rate
1  
UUOC Warning! cat /etc/default/atftpd – Tim Jan 16 at 14:29
@Tim "Without two named files cat is a useless use of cat, with the exception of viewing the contents of a single file on the command line." Since I only want to view the contents of a single file on the command line, there is no UUOC here... – Boban P. Jan 16 at 16:37
Still "concatenating" 1 file. Sorry if it seemed like a troll, just trying to be an old *nix fart ;) – Tim Jan 16 at 16:44
Have you tried without the multicast options? – mgorven Mar 28 at 2:56
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.