Data Collection
The collection proxy runs in transparent pass-through mode, without modifying any packets, only analyzing and recording heartbeat data to the data pool.
Page Layout
┌─────────────────────────────────────────────────────────┐
│ Listen Port: [1080] [Start Collection] [Stop] ● Run │
│ │
│ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────┐ │
│ │ Complete │ │ Fragment │ │ Sticky │ │ Records │ │
│ │ 125 │ │ 3 │ │ 0 │ │ 88 │ │
│ └──────────┘ └──────────┘ └──────────┘ └──────────┘ │
│ │
│ [Game Config] [Signatures] [ID Filters] [Records] │
│ ┌───────────────────────────────────────────────────┐ │
│ │ (Current tab content area) │ │
│ └───────────────────────────────────────────────────┘ │
│ │
│ Packet List │
│ Header Filter: [☑01] [☑0A] [☐FF]... [Show All] [Hide] │
│ ┌────┬──────┬──────┬──────┬────────┬────┬────┬───┐ │
│ │ ID │ Type │Header│ Time │ GameID │Bits│Size│...│ │
│ ├────┼──────┼──────┼──────┼────────┼────┼────┼───┤ │
│ │ │ │ │ │ │ │ │ │ │
│ └────┴──────┴──────┴──────┴────────┴────┴────┴───┘ │
└─────────────────────────────────────────────────────────┘
Top Control Bar
Listen Port
The collection proxy listens on port 1080 by default (range 1-65535). Point the game client's SOCKS5 proxy to this port to begin collection.
Start and Stop
Click "Start Collection"/"Stop Collection" to control the service. Running status is displayed on the right.
Real-time Statistics
Four statistics cards at the top display in real-time:
| Card | Color | Description |
|---|---|---|
| Complete | Green | Non-fragmented packet count |
| Fragment | Yellow | TCP-fragmented packet count |
| Sticky | Red | Multiple packets merged together |
| Records | Blue | Records displayed in the current list |
Tab 1: Game Configuration
Manage game type labels identified during collection.
- Current Type: Dropdown to select the current game type for collection
- Delete: Remove the selected game type
- Add New Game Type: Enter a name and click "Add" to create a new type
The game type list syncs to the heartbeat simulation page's game type filter dropdown.
Tab 2: Signature Management
The signature system provides more precise packet matching than simple header type filtering.
Left Panel: Signature List
Displays all configured signatures, each showing:
- Enable Toggle: CheckBox to enable/disable
- Signature Name
- Feature Pattern: Byte matching pattern (e.g.,
01 0A 00 23) - Match Mode: Header and other matching methods
- Purpose Description
- Category Tag and Priority
- Delete Button
The top shows "Enabled X/Y" statistics.
Right Panel: Settings & Actions
System Settings:
| Setting | Description |
|---|---|
| Enable Signature System | Master toggle |
| Fallback to Legacy Matching | Fall back to header type matching when signatures don't match |
| Apply Template | Dropdown to select pre-built signature templates |
Add Custom Signature:
- Enter signature name
- Enter feature pattern (e.g.,
01 0A 00 23) - Click "Add Signature"
Tab 3: Special ID Filters
Define which GameID data should be collected.
Left Side: Rule List
Displays all filter rules, each containing:
- Rule Name
- Enable Toggle: ToggleSwitch to enable/disable
- Match Type Tag
- Pattern Info
- Delete Button
Shows "No filter rules" when the list is empty.
Right Side: Add New Rule
- Enter rule name
- Select match type (dropdown)
- Enter match pattern
- Click "Add Rule"
An example hint card at the bottom explains common rule patterns.
Tab 4: Records & Filters
Left Side: Record Controls
| Setting | Description |
|---|---|
| Enable Packet Recording | ToggleSwitch toggle |
| Max Records | Maximum packets in memory (50-5000, default 200) |
| Clear List | Manually delete all displayed collection records |
Current record statistics are shown below.
Right Side: Target Address Filtering
Filter collection scope by connection target using radio buttons:
| Filter Type | Description |
|---|---|
| None | Collect from all connections |
| By IP | Only collect from connections to specified IP |
| By Domain | Only collect from connections to specified domain |
| By Port | Only collect from connections to specified port |
After selecting a filter type, enter the target in the "Filter Value" field, click "Apply Filter" to activate, or "Clear" to resume full collection. Current filter status is displayed.
If unsure what data to collect, start with "None" mode to observe traffic, then set up filtering after identifying targets.
Bottom Packet List
Header Filter Bar
Check which header types to display in the list. Use "Show All"/"Hide All" buttons for quick operations.
Data Grid
| Column | Description |
|---|---|
| ID | Sequence number |
| Type | Packet type |
| Header | Header bytes |
| Time | Collection time |
| GameID | Extracted player identifier |
| Bits | GameID byte length |
| Size | Packet size |
| Status | Processing status |
| Stored | Whether stored in data pool |
| Skip Reason | Reason for filtering or skipping |
| Data Preview | Hex preview of raw data |