LuLu Documentation

LuLu is the free open-source macOS firewall

13,372 stars Objective-C 2 files ยท ~594 tokens
RAW Doc

Technical Documentation: objective-see/LuLu

โ„น๏ธ Provenance: Multi-Tier Ingestion ยท CodeWiki Reference

Overview (`README.md`)

LuLu

็ฎ€ไฝ“ไธญๆ–‡ | ๆญฃ้ซ”ไธญๆ–‡

LuLu is the free open-source macOS firewall:

Documentation:
Full details and usage instructions can be found here.

To Support:
❤  Love this product and want to support it? Please check out my patreon page.


Overview (`LuLu/Tests/README.md`)

LuLu Passive Mode Improvements Tests

This directory contains tests for the passive mode FQDN rule creation improvements.

What's Tested

๐ŸŽฏ Domain Name Prioritization

  • Prioritizes flow.URL.host over flow.remoteHostname over remoteEndpoint.hostname
  • Ensures rules use domain names like github.com instead of IP addresses like 140.82.112.3

๐ŸŽจ Smart Port Display

  • Hides common ports (80, 443) for cleaner UI display
  • Shows uncommon ports (8080, 3000, etc.) to highlight important information
  • Preserves full data internally for precise filtering

๐Ÿ”— End-to-End Integration

  • Validates complete flow from network traffic to final rule display
  • Tests real-world scenarios with complex URLs and various port configurations

Running Tests

bash
# Run the complete test suite
./run_passive_mode_tests.sh

Test Results

โœ… 9/9 tests pass covering all functionality

Before/After Examples

Before (IP-based) After (Domain-based)
140.82.112.3:443 github.com
52.36.184.210:443 api.slack.com
127.0.0.1:8080 localhost:8080

Files

  • test_passive_mode_improvements.m - Comprehensive test suite
  • run_passive_mode_tests.sh - Build and run script
  • README.md - This file

--- METRICS ---