Snort - the de facto standard for intrusion detection/prevention
next up previous
Next: 6.5 How to start Up: 6 Getting Fancy Previous: 6.3 How do I

6.4 How can I test Snort without having an Ethernet card or a connection to other computers?

You have to use routing between two dummy devices:

modprobe -a dummy # (The dummy device has to be build by the kernel) 
ifconfig dummy0 192.168.0.1 
ifconfig dummy0:0 192.168.0.2  
telnet 192.168.0.3 12345

It's important that the second IP is on the same interface and not, e.g. dummy1 or dummy2 and that the IP you try to access is not one of those you put on the interfaces. Use snort's ability to hear in promiscious mode on an IP address range. (HOME_NET=192.168.0.0/16)



Nigel Houghton 2006-10-02