Skip to content

Configuration

Iyotee edited this page Aug 24, 2025 · 1 revision

Configuration Guide

βš™οΈ Application Settings

General Configuration

Theme Settings

  • Light Theme: Default light interface
  • Dark Theme: Dark interface for low-light environments
  • Auto: Automatically switch based on system preference

Language Settings

  • English: Default language
  • Auto: Use system language if available

Update Settings

  • Check for Updates: Automatically check for new versions
  • Update Frequency: Daily, Weekly, Monthly, or Never
  • Beta Updates: Include beta/alpha releases

Network Configuration

Interface Selection

  • Auto-detect: Automatically select the best interface
  • Manual Selection: Choose specific network interface
  • Interface Priority: Set order of preference

Capture Settings

  • Buffer Size: Packet capture buffer (default: 64MB)
  • Timeout: Capture timeout in milliseconds
  • Promiscuous Mode: Enable/disable promiscuous capture

Filter Configuration

  • DHCP Filter: udp and (port 67 or port 68)
  • Custom Filters: User-defined packet filters
  • Filter Validation: Verify filter syntax before applying

πŸ”§ Advanced Settings

Performance Configuration

Memory Management

  • Log Buffer Size: Maximum number of logs in memory
  • Packet History: Number of packets to retain
  • Cleanup Interval: Automatic cleanup frequency

CPU Optimization

  • Thread Count: Number of capture threads
  • Polling Interval: UI update frequency
  • Background Processing: Enable/disable background tasks

Security Settings

Access Control

  • Admin Required: Always require administrator privileges
  • Interface Lock: Prevent interface changes during capture
  • Log Encryption: Encrypt sensitive log data

Network Security

  • Packet Validation: Validate packet integrity
  • Source Verification: Verify packet source authenticity
  • Rate Limiting: Limit packet processing rate

πŸ“Š Monitoring Configuration

DHCP Analysis

Option 50 Detection

  • Enable Detection: Turn on Option 50 analysis
  • Alert Threshold: Number of Option 50 requests before alert
  • Log Level: Detail level for Option 50 logging

Packet Analysis

  • Deep Inspection: Enable detailed packet analysis
  • Header Parsing: Parse all packet headers
  • Payload Analysis: Analyze packet payloads

Alert Configuration

Notification Settings

  • Desktop Notifications: Show desktop alerts
  • Sound Alerts: Play sound for important events
  • Email Alerts: Send email notifications
  • Webhook Integration: Send alerts to external services

Alert Rules

  • Option 50 Alerts: Notify on Option 50 detection
  • High Traffic Alerts: Alert on unusual traffic patterns
  • Error Alerts: Notify on capture errors
  • Performance Alerts: Alert on performance issues

πŸ—‚οΈ Data Management

Storage Configuration

Log Storage

  • Log Directory: Custom log storage location
  • Log Rotation: Automatic log file rotation
  • Compression: Compress old log files
  • Retention Policy: How long to keep logs

Export Settings

  • Export Format: CSV, JSON, XML, or custom
  • Export Location: Default export directory
  • Auto-export: Automatic export on capture stop
  • Template Selection: Export template to use

Backup Configuration

Backup Settings

  • Auto-backup: Automatic configuration backup
  • Backup Frequency: How often to create backups
  • Backup Location: Where to store backups
  • Backup Retention: How many backups to keep

Restore Settings

  • Restore Point: Create restore points before changes
  • Auto-restore: Restore on configuration errors
  • Manual Restore: Manual restore from backup

πŸ”Œ Integration Settings

External Tools

Wireshark Integration

  • Wireshark Path: Path to Wireshark executable
  • Auto-open: Open packets in Wireshark
  • Filter Sync: Sync filters with Wireshark

Network Tools

  • Ping Tool: Enable built-in ping functionality
  • Traceroute: Enable traceroute tool
  • DNS Lookup: Enable DNS resolution

API Configuration

REST API

  • Enable API: Turn on REST API server
  • API Port: Port for API server
  • Authentication: API authentication method
  • Rate Limiting: API request rate limits

WebSocket

  • Enable WebSocket: Turn on WebSocket server
  • WebSocket Port: Port for WebSocket server
  • Real-time Updates: Enable real-time data streaming

πŸ“± User Interface

Display Settings

Layout Configuration

  • Sidebar Position: Left or right sidebar
  • Panel Order: Customize panel arrangement
  • Window Size: Default window dimensions
  • Fullscreen Mode: Enable/disable fullscreen

Information Display

  • Show Timestamps: Display packet timestamps
  • Show MAC Addresses: Display MAC addresses
  • Show IP Addresses: Display IP addresses
  • Show Ports: Display port numbers

Accessibility

Visual Aids

  • High Contrast: High contrast mode
  • Large Fonts: Increase font sizes
  • Color Blind Support: Color blind friendly themes
  • Focus Indicators: Clear focus indicators

Keyboard Navigation

  • Keyboard Shortcuts: Custom keyboard shortcuts
  • Tab Navigation: Tab order configuration
  • Hotkeys: Global hotkey support

πŸš€ Startup Configuration

Launch Settings

Auto-start Options

  • Start with Windows: Launch on system startup
  • Start Minimized: Start in minimized state
  • Auto-capture: Start capture automatically
  • Remember Settings: Restore previous session

Performance Options

  • Preload Libraries: Preload required libraries
  • Background Services: Start background services
  • Memory Pre-allocation: Pre-allocate memory

Environment Variables

System Variables

# Windows
set DHCP_MONITOR_DEBUG=1
set DHCP_MONITOR_LOG_LEVEL=debug

# Linux/macOS
export DHCP_MONITOR_DEBUG=1
export DHCP_MONITOR_LOG_LEVEL=debug

Application Variables

  • DHCP_MONITOR_DEBUG: Enable debug mode
  • DHCP_MONITOR_LOG_LEVEL: Set log level
  • DHCP_MONITOR_CONFIG: Custom config file path
  • DHCP_MONITOR_DATA: Custom data directory

πŸ“‹ Configuration Files

File Locations

Windows

%APPDATA%\DHCP Monitor\config.json
%APPDATA%\DHCP Monitor\settings.json

Linux/macOS

~/.config/dhcp-monitor/config.json
~/.config/dhcp-monitor/settings.json

Configuration Format

JSON Structure

{
  "general": {
    "theme": "auto",
    "language": "en",
    "autoUpdate": true
  },
  "network": {
    "interface": "auto",
    "bufferSize": 67108864,
    "promiscuous": true
  },
  "monitoring": {
    "option50Detection": true,
    "alertThreshold": 5,
    "logLevel": "info"
  }
}

πŸ”„ Configuration Management

Import/Export

Export Configuration

  1. Go to Settings β†’ Configuration
  2. Click "Export Configuration"
  3. Choose export format (JSON, YAML)
  4. Select export location
  5. Click "Export"

Import Configuration

  1. Go to Settings β†’ Configuration
  2. Click "Import Configuration"
  3. Select configuration file
  4. Choose import options
  5. Click "Import"

Reset Configuration

Reset to Defaults

  1. Go to Settings β†’ Configuration
  2. Click "Reset to Defaults"
  3. Confirm reset action
  4. Restart application

Selective Reset

  1. Go to Settings β†’ Configuration
  2. Select specific sections to reset
  3. Click "Reset Selected"
  4. Confirm reset action

πŸ“š Next Steps

After configuring the application:

  1. Read the Usage Guide to learn how to use the features
  2. Check Troubleshooting for configuration issues
  3. Review API Reference for advanced integration
  4. Return to Wiki Home for more information

Clone this wiki locally