Show / Hide Table of Contents

Class FirewallCollector

Collects metadata from the local firewall.

Inheritance
System.Object
BaseCollector
FirewallCollector
Implements
IPlatformRunnable
Inherited Members
BaseCollector.Results
BaseCollector.TryExecute()
BaseCollector.RunStatus
BaseCollector.Start()
BaseCollector.Stop()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AttackSurfaceAnalyzer.Collectors
Assembly: AsaLib.dll
Syntax
public class FirewallCollector : BaseCollector, IPlatformRunnable

Constructors

| Improve this Doc View Source

FirewallCollector(CollectCommandOptions, Action<CollectObject>)

Declaration
public FirewallCollector(CollectCommandOptions opts = null, Action<CollectObject> changeHandler = null)
Parameters
Type Name Description
CollectCommandOptions opts
System.Action<CollectObject> changeHandler

Methods

| Improve this Doc View Source

CanRunOnPlatform()

Declaration
public override bool CanRunOnPlatform()
Returns
Type Description
System.Boolean
Overrides
BaseCollector.CanRunOnPlatform()
| Improve this Doc View Source

ExecuteInternal()

Declaration
public override void ExecuteInternal()
Overrides
BaseCollector.ExecuteInternal()
| Improve this Doc View Source

ExecuteLinux()

Dumps from iptables.

Declaration
public void ExecuteLinux()
| Improve this Doc View Source

ExecuteMacOs()

Talks to socketfilterfw

Declaration
public void ExecuteMacOs()
| Improve this Doc View Source

ExecuteWindows()

Uses a library to access the Windows Firewall.

Declaration
public void ExecuteWindows()

Implements

IPlatformRunnable
  • Improve this Doc
  • View Source
Back to top Generated by DocFX