IPtProxyUI 4.7.0

IPtProxyUI 4.7.0

Maintained by Benjamin Erhart.



 
Depends on:
IPtProxy~> 4.0.0
Eureka~> 5.3
 

IPtProxyUI

Version License Platform

IPtProxyUI provides a UI to configure bridges for all Pluggable Transports available in the IPtProxy package.

This package provides some scenes and configuration code which is shared between different apps using the IPtProxy package together with Tor.framework.

The UI is complete for your users to configure all aspects of the Transports, including MOAT/rdsys support to fetch new Obfs4 proxies.

The configuration provided is good for using the PTs together with Tor.

Additionally there's a helper class IpSupport which can aid in better supporting IPv6-only networks which are common with some mobile network carriers.

Installation

IPtProxyUI is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'IPtProxyUI'

Getting Started

use IPtProxyUI

// ATTENTION: Since IPtProxy 2.0.0 this needs to be set explicitly before starting a transport!
Settings.stateLocation = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first!.appendingPathComponent("pt_state")

Transport.obfs4.start(log: true)

print((try? String(contentsOf: Transport.obfs4.logFile!)) ?? "throwed")

Transport.obfs4.stop()

Localization

Localization is done with BartyCrouch, licensed under MIT.

Just add new NSLocalizedStrings calls to the code. After a build, they will automatically show up in Localizable.strings.

Don't use storyboard and xib file localization. That just messes up everything. Localize these by explicit calls in the code.

Dependencies

Author

Benjamin Erhart, [email protected] for the Guardian Project

License

IPtProxyUI is available under the MIT license. See the LICENSE file for more info.