Skip to content

doxx/truffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Truffle

Truffle Logo

Truffle is a sophisticated network traffic analysis tool that combines packet capture capabilities with AI-powered analysis. It monitors network traffic in real-time, identifies patterns, and provides intelligent insights about network behavior and potential anomalies.

Features

  • Real-time network packet capture and analysis
  • TLS/SNI detection and tracking
  • DNS request monitoring
  • AI-powered traffic analysis and anomaly detection
  • Configurable filtering system
  • Rate-limited API usage
  • Detailed connection tracking
  • Debug mode for detailed output

Prerequisites

  • Go 1.16 or later
  • libpcap development libraries
  • OpenAI API key

Installation

  1. Clone the repository:
git clone https://github.com/doxx/truffle.git
cd truffle
  1. Install dependencies:
go mod download
  1. Build the project:
make build

Usage

Run Truffle with the following command:

./bin/truffle -i <interface> -k <openai-api-key> [-debug]

Command Line Arguments

  • -i: Network interface to capture on (required)
  • -k: OpenAI API key (required)
  • -debug: Enable debug output (optional)

Development

The project consists of several key components:

  • truffle.go: Main application logic and packet capture
  • ai_analyzer.go: AI-powered analysis and OpenAI integration
  • filter.go: Filtering system implementation
  • types.go: Common type definitions

Building

make build

Testing

make test

License

To be determined.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

AI detection and monitoring system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published