Skip to content

Commit

Permalink
initial Tailscale lsrules
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaundry committed Jan 3, 2025
1 parent 248fb4f commit 40e971d
Show file tree
Hide file tree
Showing 4 changed files with 1,836 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/little_snitch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ jobs:
python3 update_crl.py
python3 update_icloud.py
python3 update_microsoft.py
python3 update_tailscale.py
cd ../..
message='Automated lsrules update'
# Add / update and commit
Expand Down
4 changes: 3 additions & 1 deletion macos/little_snitch/helpers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ def create_rule(process, ports, protocol="tcp", dest_ip=None, dest_host=None, de
"ports": ports,
"process": process,
"protocol": protocol,
"owner": owner,
}

if owner is not None:
rule['owner'] = owner

if notes is not None:
rule['notes'] = notes
Expand Down
Loading

0 comments on commit 40e971d

Please sign in to comment.