Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xtaci authored Dec 11, 2024
1 parent 7fa52f1 commit a491f7d
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,27 @@
## Architecture
Grasshopper functions as a chained relay system. Take a chained DNS query For example:
```
┌────────────┐ ┌───────────────┐
│ ENCRYPTED │ │ RE-ENCRYPTION │
└──────┬─────┘ │ AES ───► 3DES │
│ └───┬───────────┘
│ │
┌─────────┐▼ ┌────────────┐│ ┌─────────┐
<HOP0> HOPS(AES) │ DECRYPTED │▼ <HOP5> HOPS(FINAL)
┌─────────────── └ ┌────┐ └ DATA HOPS(3DES) │
│ dig xxx @hop0 ┼──► CLEAR TEXT │HOP1┼── CIPHER ──► PACKET ┌─┴──┐ └ DNS ┌─┼──┐ ┌────────────┐
└───────────────┘ ┌ │Hop2│ (AES) ┌ │Hop4├─ CIPHER ──► QUERY │Hop6│───►│ 8.8.8.8:53 │
│ ▲ │HOP3│ <HOP2> ▲ │Hop5│ (3DES) ┌ │Hop7│ └────────────┘
│ │ └────┘ │ │ └─┬──┘ │ └────┘
└──┼──────┘ └─────┼──────┘ └─────────┘
│ │
┌──┼────────┐ │
│ │ │
│ OPTIONAL ──────────────────┘
│ PACKET │
│ PROCESSOR │
│ │
└───────────┘
┌────────────┐ ┌───────────────┐
│ ENCRYPTED │ │ RE-ENCRYPTION │
└──────┬─────┘ │ AES ───► 3DES │
│ └───┬───────────┘
│ │
┌─────────┐▼ ┌────────────┐│ ┌─────────┐
<HOP0> HOPS(AES) │ DECRYPTED │▼ <HOP5> HOPS(FINAL)
┌─────────┐ └ ┌────┐ └ DATA HOPS(3DES) │ ┌─┴──┐ ┌────────────┐
│ dig xxx ├─► CLEAR TEXT │HOP1┼── CIPHER ──► PACKET ┌─┴──┐ └ DNS │Hop6├────► 8.8.8.8:53 │
│ @hop0 ┌ │Hop2│ (AES) ┌ │Hop4├─ CIPHER ──► QUERY │Hop7│ └────────────┘
└─────────┘ │ ▲ │HOP3│ <HOP2> ▲ │Hop5│ (3DES) ┌ └─┬──┘
│ │ └────┘ │ │ └─┬──┘ │
└──┼──────┘ └─────┼──────┘ └─────────┘
│ │
┌──┼────────┐ │
│ │ │
│ OPTIONAL ──────────────────┘
│ PACKET │
│ PROCESSOR │
│ │
└───────────┘
```

## Installation
Expand Down

0 comments on commit a491f7d

Please sign in to comment.