blacklist

package module
v0.0.0-...-c08393c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2017 License: GPL-3.0 Imports: 5 Imported by: 0

README

rita-blacklist

Real Intelligence Threat Analytics -- Blacklist Database
Version 0.1

An API to store, maintain, and retrieve IP/URL blacklists.

Alt text

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlackList

type BlackList struct {
	Db      database.Database
	Sources []hostlist.HostList
}

func NewBlackList

func NewBlackList() *BlackList

func (*BlackList) CheckHosts

func (b *BlackList) CheckHosts(hosts []string, dbname string) []datatypes.QueryResult

Check for hosts in the blacklist database.

func (*BlackList) Init

func (b *BlackList) Init(host string, port int, dbname string)

Initialize the blacklist database(s)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL