Snort mailing list archives
Re: snort 2.0.0 under visual C++
From: "Chris Reid" <Chris.Reid () CodeCraftConsultants com>
Date: Wed, 30 Apr 2003 10:11:53 -0600
I agree with Erek: make sure you can run snort successfully from the command-line first. The cause of your problem appears to be that you instructed Visual Studio to either "Execute" or "Debug-->Go". However, snort relies on command-line parameters, which seem to be missing. I don't believe Visual Studio allows you to specify parameters to "Execute", but you -can- supply parameters to "Debug-->Go". Look at "Project-->Settings", and switch to the "Debug" page. Add the appropriate parameters to the "Program Arguments" field. What are the proper parameters? That depends on what you discover when testing snort via the command line. Look at the various sources of documentation for Win32 snort to assist you: http://www.snort.org/docs/ http://www.snort.org/docs/SnortUsersManual.pdf http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/snort/snort/doc/README.WIN32?rev=1.1&content-type=text/vnd.viewcvs-markup http://www.silicondefense.com/support/windows/documentation.php Chris Reid ----- Original Message ----- From: "Erek Adams" <erek () snort org> To: "Ronan Horgan" <ronanhorgan () esatclear ie> Cc: <snort-users () lists sourceforge net> Sent: Wednesday, April 30, 2003 8:59 AM Subject: Re: [Snort-users] snort 2.0.0 under visual C++
On Wed, 30 Apr 2003, Ronan Horgan wrote:I am trying to get snort 2.0.0 running under windows 2000, its part of a
project
i am doing (which is due next week). I already have snort 1.9.1 running
under
windows 2000 but i have simply run it through dos using the config files
and
acid / mysql etc. But now i need to compile / run snort using visual C++
(because
i need to add plugins), is running it through a program like visual C++
the
only way to add a plugin?? I am attaching a word dcument which shows what is happening when i open
the
snort 2.0.0 workspace. Im getting the message "you need to tell me to do
something"
,press any key to continue. I hope to get this working soon but really need to find out what i need
to do
to compile / run it under V c++.Don't run it from inside VC++. Compile it, build an executeable, then run the executable from the command line. You might want to take a look at the Win32 version [0] that's on Snort.org. I'd suggest that you download that, install it, and work with it for a bit. Then uninstall it, and build your own (if thats a requirement). Cheers! ----- Erek Adams "When things get weird, the weird turn pro." H.S. Thompson [0] http://www.snort.org/dl/binaries/win32/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- snort 2.0.0 under visual C++ Ronan Horgan (Apr 30)
- Re: snort 2.0.0 under visual C++ Erek Adams (Apr 30)
- Re: snort 2.0.0 under visual C++ Chris Reid (Apr 30)
- Re: snort 2.0.0 under visual C++ Erek Adams (Apr 30)