riversistd

package
v0.0.0-...-0a1b01c Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2014 License: BSD-2-Clause Imports: 22 Imported by: 0

Documentation

Overview

Riversist - Monitors network traffic for malicious hosts based on DNSBLs

Copyright 2014 Dolf Schimmel, Freeaqingme.

This Source Code Form is subject to the terms of the two-clause BSD license. For its contents, please refer to the LICENSE file.

Riversist - Monitors network traffic for malicious hosts based on DNSBLs

Copyright 2014 Dolf Schimmel, Freeaqingme.

This Source Code Form is subject to the terms of the two-clause BSD license. For its contents, please refer to the LICENSE file.

Riversist - Monitors network traffic for malicious hosts based on DNSBLs

Copyright 2014 Dolf Schimmel, Freeaqingme.

This Source Code Form is subject to the terms of the two-clause BSD license. For its contents, please refer to the LICENSE file.

Riversist - Monitors network traffic for malicious hosts based on DNSBLs

Copyright 2014 Dolf Schimmel, Freeaqingme.

This Source Code Form is subject to the terms of the two-clause BSD license. For its contents, please refer to the LICENSE file.

sighup support state file

Riversist - Monitors network traffic for malicious hosts based on DNSBLs

Copyright 2014 Dolf Schimmel, Freeaqingme.

This Source Code Form is subject to the terms of the two-clause BSD license. For its contents, please refer to the LICENSE file.

Index

Constants

View Source
const (
	LOG_EMERG syslog.Priority = iota
	LOG_ALERT
	LOG_CRIT
	LOG_ERR
	LOG_WARNING
	LOG_NOTICE
	LOG_INFO
	LOG_DEBUG
)

Variables

View Source
var Config = *new(config)

Functions

func DefaultConfig

func DefaultConfig(cfg *config)

func LoadConfig

func LoadConfig(cfgFile string, cfg *config, logger Logger)

func Main

func Main()

Types

type Logger

type Logger struct {
	SyslogWriter *syslog.Writer
	Writer       *io.Writer
	// contains filtered or unexported fields
}

func (Logger) Fatal

func (l Logger) Fatal(msgArray ...string)

func (Logger) Log

func (l Logger) Log(level syslog.Priority, msgArray ...string)

func (Logger) New

func (l Logger) New(logLevel int) Logger

Directories

Path Synopsis
Riversist - Monitor and firewall network traffic based on DNSBLs Copyright 2014 Dolf Schimmel, Freeaqingme.
Riversist - Monitor and firewall network traffic based on DNSBLs Copyright 2014 Dolf Schimmel, Freeaqingme.

Jump to

Keyboard shortcuts

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