All Projects → csujedihy → Proximac

csujedihy / Proximac

Licence: lgpl-3.0
An open-source alternative to proxifier

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Proximac

Monconn
A TCP connection monitoring tool written in Go.
Stars: ✭ 69 (-93.59%)
Mutual labels:  tcp, traffic
Pingtunnel
ping tunnel is a tool that advertises tcp/udp/socks5 traffic as icmp traffic for forwarding.
Stars: ✭ 1,904 (+76.95%)
Mutual labels:  tcp, traffic
Syncookied
syn flood protection
Stars: ✭ 274 (-74.54%)
Mutual labels:  tcp, traffic
Hev Socks5 Server
A simple, lightweight socks5 server for Unix (Linux/BSD/macOS)
Stars: ✭ 33 (-96.93%)
Mutual labels:  tcp
Tools
C# 工具箱,提供Socket(TCP、UDP协议)、Redis、activemq、数据库访问等技术的封装实现
Stars: ✭ 34 (-96.84%)
Mutual labels:  tcp
Objecttransport
Send and Receive objects over TCP or UDP
Stars: ✭ 39 (-96.38%)
Mutual labels:  tcp
Zazkia
tcp proxy to simulate connection problems
Stars: ✭ 49 (-95.45%)
Mutual labels:  tcp
Wait4x
Wait4X is a cli tool to wait for everything! It can be wait for a port to open or enter to rquested state.
Stars: ✭ 30 (-97.21%)
Mutual labels:  tcp
Deep traffic
MIT DeepTraffic top 2% solution (75.01 mph) 🚗.
Stars: ✭ 47 (-95.63%)
Mutual labels:  traffic
Rf24gateway
TCP/IP (RF24Ethernet) and RF24Network Gateway
Stars: ✭ 36 (-96.65%)
Mutual labels:  tcp
Bash Dev Tcp
collection of scripts using /dev/tcp
Stars: ✭ 36 (-96.65%)
Mutual labels:  tcp
Cim
📲cim(cross IM) 适用于开发者的分布式即时通讯系统
Stars: ✭ 8,109 (+653.62%)
Mutual labels:  tcp
Veza
IPC/TCP Networking Utility to connect several processes with great concurrency.
Stars: ✭ 45 (-95.82%)
Mutual labels:  tcp
Mts
Project of Multi-protocol Test Tool opensourced by Ericsson
Stars: ✭ 34 (-96.84%)
Mutual labels:  tcp
Node Tunnel
Port forwarding (tunneling) on node.js. Connect to host without public ip easily!
Stars: ✭ 48 (-95.54%)
Mutual labels:  tcp
Gensio
A library to abstract stream I/O like serial port, TCP, telnet, UDP, SSL, IPMI SOL, etc.
Stars: ✭ 30 (-97.21%)
Mutual labels:  tcp
Media Tutorial
流处理,TCP和UDP,WebRTC和Blob
Stars: ✭ 47 (-95.63%)
Mutual labels:  tcp
Cocoaasyncsocket demo
基于AsyncSocket搭建即时通讯体系 . 包含TCP连接 , 消息发送 , 消息接收 , 心跳处理 ,断网重连 , 消息超时 , 消息分发 , 数据库结构设计 , 消息丢失等 . 以及UI设计, 文本表情消息/语音消息/图片消息/视频消息/文件消息/撤回消息/提示语消息的实现思路讲解
Stars: ✭ 981 (-8.83%)
Mutual labels:  tcp
Anette
Simple haxe network library
Stars: ✭ 35 (-96.75%)
Mutual labels:  tcp
Sumo
Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
Stars: ✭ 992 (-7.81%)
Mutual labels:  traffic

image

Overview

Proximac is an command-line open-source alternative to Proxifier. With Proximac, it can force App to use SOCKS5 proxy. In the other words, it can forward any App's traffic to a certain SOCKS5 proxy. Moreover, Proximac now can forward all network traffic in your system to a proxy which means you may not need a VPN to do this job. I hope more developers can join this project.

😊 Welcome to contribute code to this project! If you have any idea, feel free to contact me!

Website: http://proximac.app

Features:

  1. Support global traffic forwarding (VPN mode).
  2. Support SOCKS5 authentication using username/password.

Note: Proximac only works on Mac OSX.

Usage

  1. If you plan to use Proximac on OSX 10.10+, please run sudo nvram boot-args="debug=0x146 kext-dev-mode=1". For 10.11, do Restart -> Press COMMAND + R -> Recovery Mode -> Terminal -> csrutil enable --without kext --without debug.

  2. Install libuv first. Run brew install libuv or whatever works

  3. Run curl -fsSL https://raw.githubusercontent.com/proximac-org/proximac-install/master/install.py |sudo python

  4. Set up your config file which indicates Proximac's work mode (VPN or per-App) and proxy configuration

  5. Run proximac start -c [path of your config file] to start Proximac

  6. Run proximac stop to stop Proximac

How to build from source

NOTE: Proximac is based on libuv. So, before compile this project, make sure libuv was successfully installed:

$ git clone https://github.com/libuv/libuv.git
$ cd libuv
$ sh autogen.sh
$ ./configure
$ make install

Then, open Xcode project file and build it.

An example of the config file

We use almost the same config file as shadowsocks do but add new arguments. (Not in VPN mode)

{
    "process_name":
    ["Unibox", "Google Chrome", "Thunder"],
    "local_port":1080,
    "local_address":"127.0.0.1",
    "proximac_port":8558,
    "username":"foo",
    "password":"bar"
}

Note:

process_name are names of processes that you want to force to use SOCKS5 proxy, which can be found in Contents/MacOS folder inside those Apps (right click on Apps to get inside).

local_address and local_port is the ip address and the listen port of your SOCKS5 proxy, respectively.

Leave proximac_port alone because this is now hardcoded in kext source. username and password are for SOCKS5 proxy required authentication if needed. If your SOCKS5 proxy does not require authentification, just remove these two lines.

There is another example (VPN mode)

{
    "local_port":1080,
    "local_address":"127.0.0.1",
    "proximac_port":8558,
    "VPN_mode":1,
    "proxyapp_name":"ShadowsocksX"
}

Set VPN_mode to 1 to enable VPN mode. Set proxyapp_name to your proxy's process name in case network traffic are trapped in a loop or we can call it a white-list but now Proximac only supports one proxy.

References

This software is partly based on projects below.

  1. Shadowsocks-libev: libev port of shadowsocks.
  2. Shadowsocks-libuv: A Lightweight and Super Fast Server for shadowsocks.
  3. libuv: Cross-platform asynchronous I/O.
  4. js0n: Flexible Zero-Footprint JSON Parser in C.
  5. tcplognke: The tcplognke demonstrates the implementation of a network socket filter for processing incoming and outgoing http packets using the new Kernel Programming Interfaces.
  6. drcom4mac: As my kext dev guide book.

Copyright:

This project is under GPL v3.0.

Contact:

csujedi at icloud dot com

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].