Browse Source

wip

pull/1/head
Jeffrey Paul 2 years ago
parent
commit
06ceca7c58
4 changed files with 54 additions and 0 deletions
  1. +9
    -0
      launchagents-for-cock.li/Makefile
  2. +5
    -0
      launchagents-for-cock.li/README.md
  3. +20
    -0
      launchagents-for-cock.li/cloud.sneak.launchagent.cockli-imap-tor.plist
  4. +20
    -0
      launchagents-for-cock.li/cloud.sneak.launchagent.cockli-smtp-tor.plist

+ 9
- 0
launchagents-for-cock.li/Makefile View File

@@ -0,0 +1,9 @@
default: install

install:
cp *.plist $(HOME)/Library/LaunchAgents/
launchctl load -w $(HOME)/Library/LaunchAgents/cloud.sneak.launchagent.*.plist

uninstall:
cd $(HOME)/Library/LaunchAgents && launchctl unload cloud.sneak.launchagent.*.plist
cd $(HOME)/Library/LaunchAgents && rm cloud.sneak.launchagent.*.plist

+ 5
- 0
launchagents-for-cock.li/README.md View File

@@ -0,0 +1,5 @@
# prereqs

* `brew install tor socat`
* `brew services start tor`


+ 20
- 0
launchagents-for-cock.li/cloud.sneak.launchagent.cockli-imap-tor.plist View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>cloud.sneak.launchagent.cockli-imap-tor</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Users/sneak/Library/Homebrew/bin/socat</string>
<string>TCP-LISTEN:22143,reuseaddr,fork</string>
<string>SOCKS4A:127.0.0.1:mail.cockmailwwfvrtqj.onion:143,socksport=9050</string>
</array>
<key>StandardErrorPath</key>
<string>/Users/sneak/Library/Homebrew/var/log/socat.cockli.imap-tor.log</string>
</dict>
</plist>

+ 20
- 0
launchagents-for-cock.li/cloud.sneak.launchagent.cockli-smtp-tor.plist View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>cloud.sneak.launchagent.cockli-smtp-tor</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Users/sneak/Library/Homebrew/bin/socat</string>
<string>TCP-LISTEN:22587,reuseaddr,fork</string>
<string>SOCKS4A:127.0.0.1:mail.cockmailwwfvrtqj.onion:587,socksport=9050</string>
</array>
<key>StandardErrorPath</key>
<string>/Users/sneak/Library/Homebrew/var/log/socat.cockli.smtp-tor.log</string>
</dict>
</plist>

Loading…
Cancel
Save