hello ,
i’ve this error : /usr/bin/suricata: symbol lookup error: /usr/bin/suricata: undefined symbol: htp_config_set_number_headers_limit
when i try to install suricata wih the lastest version on github , today at october 12 at 20:02 , french hour
I thought the htp bundle was automatically installed with suricata .
Making all in libhtp
make[1] : on entre dans le répertoire « /home/alexandre/Téléchargements/suricata/libhtp »
make[1]: *** Aucune règle pour fabriquer la cible « all ». Arrêt.
make[1] : on quitte le répertoire « /home/alexandre/Téléchargements/suricata/libhtp »
make: *** [Makefile:507 : all-recursive] Erreur 1
I think that the issue may be that using ./scripts/bundle.sh without any arguments will install libhtp to the current directory from which it was called, but later on you pass different locations for libhtp with your configure options…
./scripts/bundle.sh
===> Bundling https://github.com/OISF/libhtp (0.5.x)
Clonage dans './libhtp'...
remote: Enumerating objects: 247, done.
remote: Counting objects: 100% (247/247), done.
remote: Compressing objects: 100% (203/203), done.
remote: Total 247 (delta 71), reused 139 (delta 35), pack-reused 0 (from 0)
Réception d'objets: 100% (247/247), 555.84 Kio | 2.75 Mio/s, fait.
Résolution des deltas: 100% (71/71), fait.
~/Téléchargements/suricata/libhtp ~/Téléchargements/suricata
Depuis https://github.com/OISF/libhtp
* branch 0.5.x -> FETCH_HEAD
HEAD est maintenant sur b28eadc Update for 0.5.49
~/Téléchargements/suricata
===> Bundling https://github.com/OISF/suricata-update (master)
Clonage dans './suricata-update.tmp'...
remote: Enumerating objects: 109, done.
remote: Counting objects: 100% (109/109), done.
remote: Compressing objects: 100% (101/101), done.
remote: Total 109 (delta 10), reused 60 (delta 1), pack-reused 0 (from 0)
Réception d'objets: 100% (109/109), 4.65 Mio | 6.06 Mio/s, fait.
Résolution des deltas: 100% (10/10), fait.
~/Téléchargements/suricata/suricata-update.tmp ~/Téléchargements/suricata
Depuis https://github.com/OISF/suricata-update
* branch master -> FETCH_HEAD
HEAD est maintenant sur a81f805 version: 1.3.3
~/Téléchargements/suricata
cp: impossible de créer le fichier standard
, and even i typed before :
sudo find / -path /home -prune -o -iname "*suricata*" -exec rm -rf {} +
find: ‘/run/user/1000/doc’: Permission non accordée
find: ‘/run/user/1000/gvfs’: Permission non accordée
find: ‘/proc/5727/task/5727/net’: Argument invalide
find: ‘/proc/5727/net’: Argument invalide
find: ‘/proc/45316’: Aucun fichier ou dossier de ce nom
find: ‘/proc/45317’: Aucun fichier ou dossier de ce nom
find: ‘/proc/45318’: Aucun fichier ou dossier de ce nom
find: ‘/tmp/.mount_jetbraBTvf7B’: Permission non accordée
on my smallest pc , I managed to reinstall everything correctly after having properly removed the executable containing the word “suricata” and then “git stash” in suricata directory in the installation folder I did sudo chmod 777. /* -R
I will recheck on the computer which is more grois and that poses me the most problem
This is not the recommended way to install it. You seem to have a working deployment, but note that mode 777 removes most access restrictions fo filesystem objects that would hinder malicious or unintentional changes.