Evented TCP server using eventmachine.
TCP server:
require 'eventmachine'
PORT = 4545
puts "Listening on #{PORT}...\n"
| # Copyright 2005 Sourcefire, Inc. All Rights Reserved. | |
| # This file is licensed under the GNU General Public License. | |
| # Please see the file LICENSE in this directory for more details. | |
| # Id SID -> MSG map | |
| 100000100 || COMMUNITY EXPLOIT Windows Acrobat Reader Activex Overflow Flowbit || cve,2004-0629 || bugtraq,10947 | |
| 100000101 || COMMUNITY EXPLOIT Windows Acrobat Reader Activex Overflow Exploit || cve,2004-0629 || bugtraq,10947 | |
| 100000102 || COMMUNITY GAME Halocon Denial of Service Empty UDP Packet || bugtraq,12281 | |
| 100000103 || COMMUNITY GAME Breed Game Server Denial of Service Empty UDP Packet || bugtraq,12262 | |
| 100000104 || COMMUNITY GAME Amp II 3D Game Server Denial of Service Empty UDP Packet || bugtraq,12192 |
| # $Id$ | |
| # GENERATORS -> msg map | |
| # Format: generatorid || alertid || MSG | |
| 1 || 1 || snort general alert | |
| 2 || 1 || tag: Tagged Packet | |
| 3 || 1 || snort dynamic alert | |
| 100 || 1 || spp_portscan: Portscan Detected | |
| 100 || 2 || spp_portscan: Portscan Status | |
| 100 || 3 || spp_portscan: Portscan Ended |
Evented TCP server using eventmachine.
TCP server:
require 'eventmachine'
PORT = 4545
puts "Listening on #{PORT}...\n"