snort installation on freebsd issues


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users snort installation on freebsd issues
# 1  
Old 02-04-2003
snort installation on freebsd issues

i'm following the, "How to setup and secure Snort, MySQL and Acid on FreeBSD 4.6 Release" off of the snort.org website.

in the documentation it says snort should be installed through the following:

-----
make -DWITH_MYSQL -DWITH_FLEXRESP ; make install
-----

later it says to do the following:

-----
/usr/local/bin/mysql -p < /usr/ports/security/snort/work/snort-1.8.6/control create_mysql snort
-----

the problem is this, there is no "work/snort-1.8.6/create_mysql snort" under "/usr/ports/security/snort".

does anyone know what to do about this?
# 2  
Old 02-04-2003
You simple find the file:

create_mysql_snort

or whatever the file name is and then do the same thing as instructed:

Code:
/usr/local/bin/mysql -p < /path/to/this/file/create_mysql_snort

# 3  
Old 02-04-2003
I already tried that. The file can't be located anywhere.

I didn't know that the ports directory would have anything other than: Makefile, Distinfo, pkg-comment, pkg-descr, pkg-plist
# 4  
Old 02-05-2003
My suggestion would be to go to the Snort web site and join a Snort support group and ask for a copy of the file.

I assume you have seen this document on configuring Snort?

http://www.snort.org/docs/FreeBSD46R...ySQLVer1-2.pdf

Also,

Might be some clues here:

http://www.sans.org/rr/intrusion/ACID.php

Here is a link to the Snort support lists:

http://www.snort.org/lists.html

Here is a Snort support archives search result with keywords "configure mysql" :

http://marc.theaimsgroup.com/?l=snor...gure+mysql&q=b
# 5  
Old 02-06-2003
the resolution was a simple one.

i needed to enter the following command within /usr/ports/security/snort

make expand

this gave me all the directories that were needed.

how i'm having another issue.

when i try to start apache the way they want me to, apachectl start (or restart), i get the following error:

/usr/local/sbin/apachectl start: httpd could not be started

i have no clue where to begin. i checked the path in the script to see if it was pointing to the proper location for httpd, and it is. so i'm completely confused.
# 6  
Old 02-06-2003
The key to starting apache is a properly configured httpd.conf file, normally located in /usr/local/apache/etc
# 7  
Old 02-07-2003
I just double checked on my FreeBSD 4.5 system and found http.conf under /usr/local/etc/apache/.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

FreeBSD DHCP wpa_supplicant Wi-Fi Issues

I just got FreeBSD up and running with an XFCE desktop on an old Gateway laptop. It works great, except the wireless setup is scaring me. I can connect to my home WiFi fine most of the time, but I'm concerned about other WiFi that I will need to connect to away from home. I understand that I can... (1 Reply)
Discussion started by: BrentBANKS
1 Replies

2. Homework & Coursework Questions

Error in installation of Snort 2.97.0

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: My system is Redhat 5.6. I want to install snort in my system which requires following dependencies. 1. Libpcap... (8 Replies)
Discussion started by: Ankur Goyal
8 Replies

3. AIX

Networking Issues - Opera, FreeBSD, AIX

(1) Hi, Am working on FreeBSD 7.4/i386 and installed Opera 11.01 through ports collection manually... But when I run first time am getting "opera: cannot connect X server. Error: Unknown error: 0" What is this error all about???? Please help me to sort out this issue!!! (2) Hi, currently am... (12 Replies)
Discussion started by: Priya Amaresh
12 Replies

4. BSD

FreeBSD AMD NFS over TCP issues

Hi! I have a major issue with FreeBSD 7.1 i386. We did a change in our Unix env where we exchanged home storage from a NetAPP running udp to a NetAPP running tcp. Now I cant mount homedirs since NFS/AMD seem to fallback to udp :( Trying to force it with amd options nfs_proto=tcp and so on. ... (0 Replies)
Discussion started by: Esaia
0 Replies

5. UNIX for Dummies Questions & Answers

Resolved: htpasswd issues (-b) on FreeBSD

I wrote a script to batch-create directories with .htaccess and .htpasswd files. I am using the following line to create the .htpasswd file: htpasswd -cb .htpasswd $USER $PASS However, I keep getting this message in return: Usage: htpasswd passwordfile username The -c flag creates a new... (1 Reply)
Discussion started by: Spetnik
1 Replies

6. Web Development

Using IP.Board on FreeBSD, having SQL/Apache Issues

Server: FreeBSD 7.2-RELEASE MYSQL Version: MYSQL 5.1.36 PHP Version: 5.2.10 (apache2handler) IP.Board Version: v3.0.2 Safe Mode: OFF For the most part previously IP.Board, forum software, has run fine without any issues. Regular web pages and .php pages seem to load fine without any issues.... (2 Replies)
Discussion started by: Dark Severance
2 Replies

7. BSD

FreeBSD - Kernel Queries/Issues

All, I am a bit of a BSD newbie and haven't really played with it for years, but I have had a recent situation whereby someone attempted to load a custom kernel module and ended up breaking my BSD server. I managed to fix it by doing the following: Booting into loader mode: unload set... (3 Replies)
Discussion started by: drbabbers
3 Replies

8. Linux

freeBSD installation

why is my new freeBSD hanging at setting up hostname each time I plug in the network cable i use host name like X.ng I intend to configure it as a gateway (2 Replies)
Discussion started by: AkinOkin
2 Replies

9. UNIX for Dummies Questions & Answers

Some FreeBSD issues

I have been using Linux for 3 years now, and I think I am getting enough knowledge (and confidence) to try some more 'traditional' unix variants. I installed FreeBSD 5.0-CURRENT. I have a couple of questions for the time being: 1) Frequently when I need to compile software packages they can't... (16 Replies)
Discussion started by: cbkihong
16 Replies

10. UNIX Desktop Questions & Answers

FreeBSD 4.7 X issues - assistance req'd please

question: i just installed FreeBSD 4.7 on my laptop, when i log in as root, i can startx no problem at all but when i try to start it as a user, i can't. otiginally it told me i needed to be a member of the group 'wheel' to do startx, no problem, added myself in /etc/group, but for some reason i... (1 Reply)
Discussion started by: Calum
1 Replies
Login or Register to Ask a Question