Hello,

I am testing a patch against tftpd.c in netkit-tftp-0.17, that
makes 'tftpd' run independently of address family.

The following result appears with my "3.0 (quilt)" migrated packages.
The client 'tftp' is unabridged, whereas 'tftpd' has been modified to
detect address family from the incoming socket. The file served,
named 'hej', was correctly transfered with its fourteen bytes!

$ netstat -au
udp6       0      0 [::]:35260              [::]:*                             
udp6       0      0 [::]:tftp               [::]:*                             
udp6       0      0 [::]:mdns               [::]:*                             

$ tail -3 /var/log/daemon.log
Feb  4 21:32:09 assar in.tftpd[7302]: connect from ::ffff:127.0.0.1 
(::ffff:127.0.0.1)
Feb  4 21:32:09 assar tftpd[7303]: tftpd: trying to get file: hej 
Feb  4 21:32:09 assar tftpd[7303]: tftpd: serving file from /srv/tftp 


Best regards,
-- 
Mats Erik Andersson, fil. dr

Abbonerar på: debian-mentors, debian-devel-games, debian-perl

Attachment: signature.asc
Description: Digital signature

Reply via email to