Installation de hping sous unix

Résolu
amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention   -  
amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,
j'ai un projet pour la conception et validation d'un firewall et bien évidemment ça neccessite une phase de test, pour cela j'ai télécharger hping2-rc3. mais je trouve des problèmes pour l'installer sous unix(ubuntu).
voilà ce que j'ai fait:
./configure
amatorahman@ubuntu:~$ ./configure
bash: ./configure: No such file or director
****et aprés j'ai essayé avec cela
amatorahman@ubuntu:~$ cd home\hping2-rc3\INSTALL
bash: cd: homehping2-rc3INSTALL: No such file or directory
amatorahman@ubuntu:~$ cd home/amatorahman/hping2-rc3/install
bash: cd: home/amatorahman/hping2-rc3/install: No such file or directory
amatorahman@ubuntu:/home$ cd /home/amatorahman
amatorahman@ubuntu:~$ tar -zxvf hping2-rc3.tar.gz
tar: hping2-rc3.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
svp aidez moi à résoudre ce problème.
er merci d'avance.
Configuration: Linux
Firefox 3.0.3

2 réponses

  1. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898
     
    Salut,

    Quant tu essaies de détarrer l'archive, es-tu sûr d'être dans le bon répertoire ?

    A partir de :
    cd /home/amatorahman/
    affiche le contenu de ce répertoire :
    ls -l
    ;-))
    1
    1. amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention  
       
      je crois pas j'ai un pb à ce niveaun voilà je que j'ai eu

      amatorahman@ubuntu:~$ ls -l
      total 28
      drwxr-xr-x 4 amatorahman amatorahman 4096 2009-05-13 09:40 Bureau
      drwxr-xr-x 2 amatorahman amatorahman 4096 2009-05-11 19:06 Documents
      lrwxrwxrwx 1 amatorahman amatorahman 26 2009-05-11 19:00 Examples -> /usr/share/example-content
      drwxr-xr-x 2 amatorahman amatorahman 4096 2009-05-11 19:06 Images
      drwxr-xr-x 2 amatorahman amatorahman 4096 2009-05-11 19:06 Modèles
      drwxr-xr-x 2 amatorahman amatorahman 4096 2009-05-11 19:06 Musique
      drwxr-xr-x 2 amatorahman amatorahman 4096 2009-05-11 19:06 Public
      drwxr-xr-x 2 amatorahman amatorahman 4096 2009-05-11 19:06 Vidéos
      0
      1. jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention   4 898 > amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention  
         
        Effectivement l'archive n'est pas dans ton /home" ;-((

        Mais bon comme te l'as dit HostOfSeraphim, suis d'abord la piste d'apt-get ;-))
        0
      2. amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention   > jipicy Messages postés 40842 Date d'inscription   Statut Modérateur Dernière intervention  
         
        ça bien marché avec sudo apt-get install hping2
        merci infiniment.
        chui vraiment reconnaissante!!!!!
        0
      3. HostOfSeraphim Messages postés 7340 Statut Contributeur 1 609 > amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention  
         
        Y'a pas de quoi :-)

        Sinon, on pouvait rechercher le programme dans les dépôts au moyen de cette commande :

        sudo apt-cache search hping

        Là, tu aurais eu une liste de programmes en rapport avec hping, et on aurait pu y trouver hping2.

        N'hésite pas à passer par les dépôts la prochaine fois (en cherchant via sudo apt-cache search au besoin), ça simplifie énormément.


        0
  2. HostOfSeraphim Messages postés 7340 Statut Contributeur 1 609
     
    Quelle distribution ? Hping se trouve peut-être dans des dépôts.

    Sinon, fais un "pwd" pour savoir si tu tapes les commandes dans le bon répertoire.

    0
    1. amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention  
       
      merci
      j'ai pas bien pigé ce que vous voulez dire,veuillez détaillez plus!!!
      0
    2. HostOfSeraphim Messages postés 7340 Statut Contributeur 1 609 > amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention  
       
      Commencons par le début : tu as quelle distribution Linux ? Ubuntu, Debian, Fedora, Red Hat, ... ?

      0
    3. amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention   > HostOfSeraphim Messages postés 7340 Statut Contributeur
       
      ah j'ai ubuntu ,
      0
    4. HostOfSeraphim Messages postés 7340 Statut Contributeur 1 609 > amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention  
       
      Alors essaye cette commande dans la console :

      sudo apt-get install hping

      0
    5. amatorahman Messages postés 42 Date d'inscription   Statut Membre Dernière intervention   > HostOfSeraphim Messages postés 7340 Statut Contributeur
       
      voilà ce que j'ai obtenu
      amatorahman@ubuntu:~$ sudo apt-get install hping
      [sudo] password for amatorahman:
      Lecture des listes de paquets... Fait
      Construction de l'arbre des dépendances
      Lecture des informations d'état... Fait
      E: Impossible de trouver le paquet hping
      0