0

I was trying to install snort and everytime I encounter a problem I tried to follow this link http://www.snort.org/assets/167/IDS_deb_snort_howto.pdf but then I realized that it cannot be applied on ARM architecture !

  • How does sudo apt-get install snort fail? – joan May 13 '14 at 10:43
  • the problem is with the dotdeb packages !! it doesn't support ARM architecture only i386 and amd ! – user12448 May 13 '14 at 10:46
  • Are you saying that you did a sudo apt-get install snort and it failed? Which distribution? – joan May 13 '14 at 10:54
  • the problem is with dotdeb packages !! – user12448 May 13 '14 at 11:12
  • the current distribution is Debian/Raspbian. – user12448 May 13 '14 at 11:12
2

There's a Raspberry Pi security tutorial based on ArchLinux, that includes step 13 "Snort installation".

Basically all you have to do is:

$ sudo pacman -S snort

Please, follow the instruction as close as you can.

snort logo image

  • this is the half of the answer thanks :) ... and what about Debian OS (Raspbian) ? – user12448 May 13 '14 at 11:11
  • for raspbian you're supposed to use sudo apt-get install snort, however I could not find any tutorial that I can recommend. – lenik May 13 '14 at 11:20
2

@lenik's answer would be correct, if not for the AUR repository to not have an ARMv6 build available for snort, which is what we need for the raspberry pi. This topic describes how to build the needed package yourself with the source tarball from the AUR repository: http://www.raspberrypi.org/forums/viewtopic.php?t=36314&p=305583

Building this on the Pi will take about 1 hour, be warned :-)

I imagine the Raspbian repository has the same issue. I'm still setting up everything myself, but am wondering whether it will work reasonably in the end. Since no one seems to be making Pi-compatible ARMv6 packages for Snort, perhaps it will just be too slow to run it...

2
sudo apt-get install snort

works for me on a Raspbian Pi.

I'd be amazed if it didn't also work on my Debian Pi (but I can't be bothered to try and see).

-4

I am writing an educational Guide about Snort on Raspeberry PI, and Used two tutorials that worked fine for me:

Tut 1 Installing SNORT by (Computer and Network Security)

Using sudo aptitude install snort <---- easy way

TUt 2 downloading all the packages from snort's website and compiling them <---Long way Part 1 Snort Install on Ubuntu 14.04LTS Part 1 Part 2 Snort Install on Ubuntu 14.04LTS Part 2

  • 1
    Welcome to Raspberry Pi! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Steve Robillard Aug 10 '15 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.