suricata
detect-geoip.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-geoip.h"
#include "util-mem.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
Include dependency graph for detect-geoip.c:

Go to the source code of this file.

Functions

void DetectGeoipRegister (void)
 Registration function for geoip keyword (no libgeoip support) More...
 

Detailed Description

Author
Ignacio Sanchez sanch.nosp@m.ezma.nosp@m.rtin..nosp@m.ji@g.nosp@m.mail..nosp@m.com
Bill Meeks billm.nosp@m.eeks.nosp@m.8@gma.nosp@m.il.c.nosp@m.om

Implements the geoip keyword. Updated to use MaxMind GeoIP2 database.

Definition in file detect-geoip.c.

Function Documentation

◆ DetectGeoipRegister()

void DetectGeoipRegister ( void  )

Registration function for geoip keyword (no libgeoip support)

Todo:
add support for src_only and dst_only

Definition at line 54 of file detect-geoip.c.

References SigTableElmt_::desc, DETECT_GEOIP, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: