ProxyKit
SOCKS proxy server and socket client built upon GCDAsyncSocket.
Install / Use
/learn @chrisballinger/ProxyKitREADME
ProxyKit
Objective-C SOCKS 5 / RFC 1928 proxy server and socket client libraries built upon GCDAsyncSocket.
Usage
SOCKSProxy - Dead simple SOCKSv5 proxy server for OS X or iOS. Supports acting as background "VoIP" sockets on iOS via GCDAsyncSocket.
SOCKSProxy *proxy = [[SOCKSProxy alloc] init];
[proxy startProxyOnPort:9050];
GCDAsyncProxySocket - Proxy-compatible subclass and drop-in replacement for (most of) GCDAsyncSocket.
GCDAsyncProxySocket *socket = [[GCDAsyncProxySocket alloc] init];
[socket setProxyHost:@"127.0.0.1" port:9050 version:GCDAsyncSocketSOCKSVersion5];
[socket connectToHost:@"example.com" onPort:80 error:nil];
For more documentation check out ProxyKit on Cocoadocs.
Installation
We use Cocoapods. There are two subspecs for the server and client code. By default both are included. Put one of these your Podfile:
pod 'ProxyKit'
pod 'ProxyKit/Server' # Just the server code
pod 'ProxyKit/Client' # Just the client code
To install:
$ pod install
Tests
You can run tests by opening up ProxyKit.xcworkspace after installing the Pods.
Dependencies
- GCDAsyncSocket - GCD-based Async Objective-C socket library
- CocoaLumberjack - A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Apps Using This Library
- Tether - Tethering for non-jailbroken iOS Devices over USB.
- ChatSecure - free and open source encrypted chat client for iPhone and Android that supports OTR encryption over XMPP.
TODO
- Better documentation
- More tests
Contributing
Thank you for your interest in contributing to ProxyKit! Check out the TODO for things that still need to be done.
- Fork the project and work in a feature branch.
- Ensure that the existing tests are passing and/or write more tests.
- Open a pull request on GitHub.
- Thank you!
Author
License
MIT
Related Skills
node-connect
349.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
