Skip to content

Commit

Permalink
Add fixed Bisq 2 onion-grater profile
Browse files Browse the repository at this point in the history
  • Loading branch information
alvasw committed Jun 11, 2024
1 parent 476f02f commit 7476fbf
Showing 1 changed file with 78 additions and 0 deletions.
78 changes: 78 additions & 0 deletions network/tor/tor/onion-grater/40_bisq.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
## Copyright (C) 2018 - 2023 ENCRYPTED SUPPORT LP <[email protected]>
## See the file COPYING for copying conditions

#### meta start
#### project Whonix
#### category tor-control
#### description
## Shipped but not enabled by default onion-grater profile.
#### meta end

---
- exe-paths:
- '*'
users:
- '*'
hosts:
- '*'
commands:
GETINFO:
- pattern: 'status/bootstrap-phase'
response:
- pattern: '250-status/bootstrap-phase=*'
replacement: '250-status/bootstrap-phase=NOTICE BOOTSTRAP PROGRESS=100 TAG=done SUMMARY="Done"'
ADD_ONION:
- pattern: 'NEW:(\S+) Port=9999,(\S+)'
replacement: 'NEW:{} Port=9999,{client-address}:{}'
- pattern: '(\S+) Port=(\S+),(\S+)'
replacement: '{} Port={},{client-address}:{}'
- pattern: '(\S+):(\S+) Port=9999,(\S+)'
replacement: '{}:{} Port=9999,{client-address}:{}'
DEL_ONION:
- '.+'
HSFETCH:
- '.+'

## Bisq 2
SETCONF:
- pattern: 'DisableNetwork.*'
response:
- pattern: '250 DisableNetwork=.*'
replacement: '250 DisableNetwork=0'
events:
## Bisq 2
SIGNAL:
suppress: true

CIRC:
suppress: true
ORCONN:
suppress: true
INFO:
suppress: true
NOTICE:
suppress: true
WARN:
suppress: true
ERR:
suppress: true
HS_DESC:
response:
- pattern: '650 HS_DESC CREATED (\S+) (\S+) (\S+) \S+ (.+)'
replacement: '650 HS_DESC CREATED {} {} {} redacted {}'
- pattern: '650 HS_DESC FAILED (\S+) \S+ \S+ \S+ (.+)'
replacement: '650 HS_DESC FAILED {} redacted redacted redacted {}'
- pattern: '650 HS_DESC UPLOAD (\S+) (\S+) (\S+) (\S+) (\S+)'
replacement: '650 HS_DESC UPLOAD {} {} {} {} {}'
- pattern: '650 HS_DESC UPLOADED (\S+) (\S+) .+'
replacement: '650 HS_DESC UPLOADED {} {} redacted'
- pattern: '650 HS_DESC REQUESTED (\S+) NO_AUTH'
replacement: '650 HS_DESC REQUESTED {} NO_AUTH'
- pattern: '650 HS_DESC REQUESTED (\S+) NO_AUTH \S+ \S+'
replacement: '650 HS_DESC REQUESTED {} NO_AUTH redacted redacted'
- pattern: '650 HS_DESC RECEIVED (\S+) NO_AUTH \S+ \S+'
replacement: '650 HS_DESC RECEIVED {} NO_AUTH redacted redacted'
- pattern: '.*'
replacement: ''
HS_DESC_CONTENT:
suppress: true

0 comments on commit 7476fbf

Please sign in to comment.