[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Serveur tftpd-hpa et xinetd



Bonjour,

J'essaie d'installer un serveur tftpd-hpa interrogeable par xinetd.

Quand je fais un "tcpdchk" pour vérifier ma config, j'obtiens cet
avertissement :
  bazooka:~# tcpdchk 
  warning: /etc/hosts.allow, line 29: in.tftpd: service possibly not \
 wrapped

Et effectivement je n'accède pas au serveur depuis un poste client avec
tftp.

Je suis sous Sarge. Le serveur a la version 0.40-4.
Voici mes fichiers de config :
  bazooka:~# cat /etc/xinetd.d/tftpd 
  service tftp
   /usr/sbin/in.tftpd /boot {
        id              = tftp
        socket_type     = dgram
        protocol        = udp
        bind            = 192.168.13.30
        port            = 69
        server          = /usr/sbin/in.tftpd
        server_args     = -s /var/lib/tftpboot
  #       only_from       = 192.168.13.0
        user            = nobody
  #       no_access       = 0.0.0.0/0
        wait            = yes
        instances       = 5
        nice            = -5                                                                               
  }

   bazooka:~# cat /etc/hosts.allow
   ... 
   # serveur tftp
   in.tftpd: all
   ...

La config marche si je prends le paquet tftpd mais bloque avec le paquet
tftpd-hpa dont j'ai besoin pour ma carte réseau compatible PXE (sis900).

Le paquet recommande de configurer inetd avec la ligne suivante ;
   tftp           dgram   udp     wait    root  /usr/sbin/in.tftpd \
     /usr/sbin/in.tftpd -s /var/lib/tftpboot

mais j'ai peur de mal faire la correspondance avec xinetd.

Quelqu'un a une idée ?
Merci par avance.
Jean-Pierre




Reply to: