Posts Tagged ‘ipv6’

Failed to initialize dynamic preprocessor: SF_SDF (IPV6) version 1.1.1

Friday, April 30th, 2010

Today I have tried to update my Snort and rules and when testing I got this error message because IPV6 was not enabled on my computer.

The fix is very simple, just delete sf_sdf.dll file from C:\Snort\lib\snort_dynamicpreprocessor directory and start snort again.

Update of snort is very simple and it can be described in few simple steps which can be used for fresh install as well:

  • download Snort 2.8.6 from the www.snort.org site
  • download WinPcap 4.1.1 from the www.winpcap.org
  • install both of them on the target machine
  • download the latest community rules from www.snort.org (you need to register and log in to be able to download them)
  • extract rules to C:\Snort overwriting existing files and open Snort.conf file in the etc map
  • find line nr. 155 and replace it to this dynamicpreprocessor directory C:\Snort\lib\snort_dynamicpreprocessor
  • then replace line 158 to this dynamicengine C:\Snort\lib\snort_dynamicengine\sf_engine.dll
  • and then comment out line 161 if you don’t have dynamic rules #dynamicdetection directory /usr/local/lib/snort_dynamicrules
  • now when you are done if you are not using IPV6 delete sf_sdf.dll file from C:\Snort\lib\snort_dynamicpreprocessor to avoid this error
  • start Snort to test it
  • start Snort as service if test is OK

Disable IPV6 in Windows 2008 server or Vista

Friday, June 26th, 2009

Today while installing 2008 failover cluster I got error or notification from SQL server that two of my servers have same IPV6 address. Because I don’t use IPV6 and I have disabled it in network properties it was a bit weird to see this message.

Then I run ipconfig command that showed to me lot of Tunnel adapters that were disconnected and created automatically by Vista.

So to have painful installation of new cluster I have disabled IPV6 protocol totally.

Here is solution:

  • start run with win key + r or by start menu
  • regedit
  • go to HKLM\System\CurrentControlSet\Services\Tcpip6\Parameters
  • add new dword (32bit) value DisableComponents with value 1
  • restart
  • enjoy