How sensepost/mallet works
Main Components
a) Core Components:
• Proxy Engine (Netty-based)
• Graph Editor Interface
• Channel Handler System
• Interceptor Components
• Protocol Codec Framework
b) Supporting Components:
• SSL/TLS Handling System
• Script Engine Integration
• Data Model & Persistence Layer
• User Interface Components
Key Relationships to Highlight
• Data flow paths through the pipeline system
• Protocol transformation points
• Demonstrate the relationship between interceptors and the main proxy flow
Implementation Details
• Relationship between:
• Channel handlers (com.sensepost.mallet.handlers/*)
• SSL components (com.sensepost.mallet.ssl/*)
• Graph management (com.sensepost.mallet.graph/*)
• Model components (com.sensepost.mallet.model/*)
Specific Features to Highlight
• Dynamic protocol detection
• SSL/TLS interception capabilities
• Script-based message manipulation
• Real-time traffic inspection
• Multiple protocol support in a single instance
Remember to show both the static architecture (component relationships) and the dynamic aspects (message flow through the system) in separate but related views if necessary.
This design should reflect Mallet's nature as a flexible, extensible proxy framework while clearly showing how it leverages Netty's pipeline architecture for protocol handling.