ÿþ<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=unicode" /> <meta http-equiv="Content-Language" content="en-us" /> <title>Snort, Internet Information Services (IIS), PHP, PERL, SQL, BASE and Win XP Pro SP2</title> <style> <!-- p.MsoNormal, li.MsoNormal {margin-top:0mm; margin-right:0mm; margin-bottom:10.0pt; margin-left:0mm; line-height:115%; font-size:12.0pt; font-family:"Times New Roman","serif";} a:link {color:blue; text-decoration:underline;} a:visited {color:purple; text-decoration:underline;} p {margin-right:0mm; margin-left:0mm; font-size:12.0pt; font-family:"Times New Roman","serif";} ol {margin-bottom:0mm;} h1 {margin-top:12.0pt; margin-right:0mm; margin-bottom:3.0pt; margin-left:0mm; page-break-after:avoid; font-size:16.0pt; font-family:Arial;} --> </style> <meta name="keywords" content="IDS, security, Snort, IPS, network, attack, protection, data recovery" /> <meta name="description" content="A complete Snort (IDS/IPS) setup on Windows XP Pro SP2 with step by step instruction" /> </head> <body lang="EN-US" link="#0000FF" vlink="#800080" topmargin="20" leftmargin="20" rightmargin="20" bottommargin="20"> <div class="WordSection1"> <h1 align="center" style="margin-top: 0; margin-bottom: 0"> <span style="font-weight: 400"><font size="4">&lt; <span style="text-decoration: none"><font color="#000000"> <a title="Java programming and its open source application software and the Java GUI included" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/"> Java &amp; Friends Activities</a></font></span> | <span style="text-decoration: none"><font color="#000000"> <a title="Windows XP Pro SP2 and IIS 5.1 - install, setup and configure" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb1.html"> Windows XP Pro SP2 and IIS 5.1</a></font></span> &gt;</font></span></h1> <hr noshade="" color="#FF3300" /> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0">&nbsp;</p> <h1 align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center; margin-top:0"><b><font size="6" face="Arial"> <span style="line-height:115%;font-weight:400">Windows XP Pro SP2, Snort 2.8.6, MySQL and BASE for Fun</span></font></b></h1> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0" align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; /* 728x90, created 5/16/08 javaos */ google_ad_slot = "1917524460"; google_ad_width = 728; google_ad_height = 90; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0">&nbsp;</p> <table border="0" width="100%"> <tr> <td> <div align="center"><script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=160X600&cwpid=527221&cwwidth=160&cwheight=600&cwpnet=1&cwtagid=85438"></script></div> </td> <td width="1150"> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%"> The following hands-on tutorial provides a complete and working installation and setup for the following items:</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> &nbsp;</p> <ol style="margin-top:0mm" start="1" type="1"> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Windows XP Pro SP2  Operating System</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Internet Information Services (IIS) version 5.1  Web server for Windows platform</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">PHP version:&nbsp;&nbsp; 5.2.xx  PHP parsing engine for Windows</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Snort version:&nbsp;&nbsp; 2.8.6  Intrusion Detection System, Packet Sniffer</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">WinPcap version:&nbsp;&nbsp; 4.1.1  Windows packet capture</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">MySQL version:&nbsp;&nbsp; 5.x.x  Open Source database</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">BASE version:&nbsp;&nbsp; 1.4.5  Snort GUI web based packet analysis tool</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">ADODB version:&nbsp;&nbsp; 511  BASE s ADO database driver</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Perl (ActivePerl) version: 5.10.1  Perl parsing engine for Windows which is needed by Oinkmaster</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Oinkmaster version: 2.0  Rules update tool for Snort</span></font></li> </ol> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%"> Sub-topics that we will cover in this very long session are:</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> &nbsp;</p> <ol style="margin-top:0mm" start="1" type="1"> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Install, setup, configure Windows Web server IIS" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb1.html">Windows XP Pro SP2 and IIS 5.1</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Install IIS Windows Component</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">The IIS Snap-in:&nbsp; Configuring IIS</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Testing Webpage on IIS</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="PHP 3.5.2, Windows XP Pro SP 2 and IIS 5.1 - install, setup, configure and test run" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb2.html">PHP 3.5.2, Windows XP Pro SP 2 and IIS 5.1</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Download and Install PHP</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Editing the php.ini Config File</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="running and testing PHP on Windows with PHP and IIS web server" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb3.html">Running PHP Commands from Windows Console</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Configuring IIS to Parse PHP files/extensions using FastCGI</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Testing the IIS Web Server with PHP Files</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Blank Webpage Problem</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Working PHP Engine Example</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Download and install PHP extension - PEAR/PECL on Windows system" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb4.html">PHP and PEAR/PECL</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">The PHP Extension Community Library (PECL)</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Configuring and Updating PEAR package</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Running the pear Command from Windows Console</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="The WinPcap and Windows XP Pro SP2 - install, setup and configure to capture TCP/IP packet" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb5.html">The WinPcap and Windows XP Pro SP2</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">WinPcap Download and Installation</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Verifying WinPcap Installation</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Windows Network Monitor Capture Utility (Netcap)</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Barnyard: Alternative Snort Output System</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Running and testing Snort, Win XP Pro SP2, PHP and WinPcap" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb6.html">Snort, Win XP Pro SP2, PHP and WinPcap</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Editing the Snort.conf Config File</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Download and Install Snort Rules</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="TEsting Snort as packetsniffer, logger and Intrusion Detection System" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb7.html">Testing Snort from Windows Console</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Testing Snort Config File</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Running Snort from any Windows Path</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Snort in Sniffer mode</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Snort as Packet Logger</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">The Not Using PCAP_FRAMES message</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Snort and MySQL database - install, setup, configure and test run on Windows system" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb8.html">Snort and MySQL Database</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Creating Snort Databases</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Creating Snort s User Accounts</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Creating Table for Snort in mysnort and archive Databases</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Snort and MySQL Logging</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Testing the New Snort Configuration and install Snort as Windows service" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb9.html">Testing the New Snort Configuration</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Configuring Snort as a Service (<font color="red"><span style="color:red">THIS ONE FAILED!</span></font>)</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="MySQL, Snort, PHP and BASE - test run" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb10.html">Testing mySQL Connection with PHP Code</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">PHP and MySQL Error</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Snort and Basic Analysis and Security Engine (BASE)</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Download and Install</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Download and Install ADODB</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Editing PHP.ini File</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Basic Analysis and Security Engine (BASE), Snort - install, setup, configure and test run on Windows" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb11.html">Editing BASE s Config File</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Adding Additional Snort Database Tables for BASE</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Download and Install Additional PHP Extensions</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Testing BASE and Snort with MySQL errors" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb12.html">Testing BASE and Snort</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">BASE and MySQL Errors</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">More Errors</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Oinkmaster - Snort rules update tool - download, install, setup and test" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb13.html">Oinkmaster</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a href="http://www.activestate.com/activeperl" target="_blank" title="ActivePerl - free Perl for Windows community edition"> Perl for Windows (ActivePerl Community Edition)</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Download and Install Perl for Windows</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Download, instal, configure and test Perl on Windows system" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb14.html">Running Perl from Windows Console</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Testing the Perl Engine</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Setting-up Perl Script Example for IIS Server</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Running the Windows Script Host (WSH) for Perl on Windows system" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb15.html">Running the Windows Script Host (WSH)</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%"> <a title="Install, configure and test run Oinkmaster, Snort rules update tool on Windows system" target="_top" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb16.html">Installing and Configuring Oinkmaster</a></span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Running the Oinkmaster GUI</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Updating Tk Package</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Configuring Oinkmaster from Oinkmaster GUI</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Getting the Oinkmaster Code</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Example for Snort 2.8.6.0</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Example for Snort 2.8.5.3</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Example for snort 2.8 (This will be deprecated on June 2010).</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Continue on Configuring Oinkmaster</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Updating Snort Rules using Oinkmaster</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font size="3" face="Arial"> <span style="font-size:12.0pt;line-height: 115%">Further Reading and Fun Activities</span></font></li> <li class="MsoNormal" style="margin-bottom:0mm;margin-bottom:.0001pt"> <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"> <font face="Arial"> <a title="Single PDF file of this very long tutorial for Snort, PHP, MySQL, IIS web server, Perl and Oinkmaster on Windows system" href="http://www.javaguicodexample.com/snortiisphpmysqlbaseperladodbwinxp.pdf"> Single PDF file of this&nbsp; very long tutorial</a> (~12MB - right click mouse and Save Link As...)</font></li> </ol> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0"> <font size="3" face="Arial"><span style="font-size:12.0pt;line-height:115%"> Hopefully, this tutorial can provide a 'baseline' for Snort and BASE setup for other Windows platforms which quite difficult to find as can be seen at: <a href="https://forums.snort.org/" target="_blank" title="Snort IDS/IPS forum"> Snort forum</a> and <a href="http://www.winsnort.com/" target="_blank" title="Snort for Windows"> WinSnort</a> or at least you can have some FUN! Although the setup can be considered 'complete', a lot more refinements need to be done mainly in the security aspects because the real setup normally done on the real web hosting.</span></font></p> <p style="margin-top: 0; margin-bottom: 0">&nbsp;</p> <p style="margin-top: 0; margin-bottom: 0" align="center"> <script type="text/javascript"> <!-- google_ad_client = "pub-8089415323104206"; /* 300x250, created 5/16/08javaos */ google_ad_slot = "8146009330"; google_ad_width = 300; google_ad_height = 250; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script><p style="margin-top: 0; margin-bottom: 0">&nbsp;</td> </tr> </table> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0; line-height:100%; margin-top:0">&nbsp;</p> <hr noshade="" color="#FF3300" /> <p class="MsoNormal" style="margin-top: 0; margin-bottom: 0; line-height:100%" align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "3545464564"; google_ad_width = 728; google_ad_height = 15; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <h1 align="center" style="margin-top: 0; margin-bottom: 0"> <span style="font-weight: 400"><font size="4">&lt; <span style="text-decoration: none"><font color="#000000"> <a title="Java programming and its open source application software and the Java GUI included" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/"> Java &amp; Friends Activities</a></font></span> | <span style="text-decoration: none"><font color="#000000"> <a title="Windows XP Pro SP2 and IIS 5.1 - install, setup and configure" target="_top" style="color: blue; text-decoration: none" href="http://www.javaguicodexample.com/snortiisphpbaseperladodb1.html"> Windows XP Pro SP2 and IIS 5.1</a></font></span> &gt;</font></span></h1> </div> </body> </html>