C# Class Rds.Web.Modules.Honeypot.HoneypotService

Mostrar archivo Open project: remids/Http-BL-IIS-Module Class Usage Examples

Public Methods

Method Description
HoneypotService ( String accessKey, System.Boolean testFailure = false ) : System
Lookup ( IPAddress ip ) : System.Net.Response

Project Honeypot DNS lookup on the provided IP address.

As of Jan 2012, Project Honeypot only supports IPv4 (and not IPv6). As a result, if we have an address of anything other than IPv4, assume ok.

Lookup ( String address ) : System.Net.Response

Private Methods

Method Description
CreateAllowableIpResponse ( IPAddress ip ) : System.Net.Response
CreateTestFailResult ( ) : System.Net.IPAddress[]
InitializeResponse ( IPAddress ip, IPAddress result ) : System.Net.Response

Method Details

HoneypotService() public method

public HoneypotService ( String accessKey, System.Boolean testFailure = false ) : System
accessKey String
testFailure System.Boolean
return System

Lookup() public method

Project Honeypot DNS lookup on the provided IP address.
As of Jan 2012, Project Honeypot only supports IPv4 (and not IPv6). As a result, if we have an address of anything other than IPv4, assume ok.
public Lookup ( IPAddress ip ) : System.Net.Response
ip System.Net.IPAddress
return System.Net.Response

Lookup() public method

public Lookup ( String address ) : System.Net.Response
address String
return System.Net.Response