Comments (4)
"interception" is a feature of https://github.com/openziti/ziti-tunnel-apple, which implements an Apple NetworkExtension and uses this SDK. It can intercept IP addresses, route the traffic over Ziti, and intercept DNS requests to return addresses that are then routed over Ziti.
You can intercept HTTP/HTTPS in code using this library using ZitiUrlProtocol
(see the main repo README; there are some sample apps in this repo).
If using the SDK directly, this sample app (https://github.com/openziti/ziti-sdk-swift/blob/main/sample-mac-host/main.swift) shows how to use the listen/accept/dial primatives, which are similar to using sockets. The Ziti C-SDK has lower-level functions as part of Ziti_lib that work more directly with sockets, but that still needs to be wrapped by this SDK.
from ziti-sdk-swift.
Is this reply helpful? Are you willing to share more details about what you're trying to do?
from ziti-sdk-swift.
Thank you very much for your reply
What I want to achieve is all the traffic of proxy mobile phones, which is the concept of zero trust
If it's android, I can use ziti-sdk-jvm. If it's ios, I can use ziti-tunnel-apple. Is that right?
from ziti-sdk-swift.
Looks like what you want is:
- iPhone: https://apps.apple.com/us/app/ziti-mobile-edge/id1460484353
- Android: https://play.google.com/store/apps/details?id=org.openziti.mobile
These apps are written using the Ziti SDKs, and these apps can intercept any network traffic initiated on the phone.
from ziti-sdk-swift.
Related Issues (17)
- Jazzy documentation update needed
- NetFoundry info embedded in project
- [email protected] "hardcoded", I don't think I can "Build Manually" HOT 1
- README Artifactory reference is obsolete
- XCFramework, binary distribution as Swift Package
- Move API docs to github pages HOT 6
- Add sample with acync/await REST calls HOT 1
- Deprecate CZiti-iOS.podspec and CZiti-macOS.podspec in favor of CZiti.podspec HOT 1
- some error after import CZiti.xcframework HOT 2
- How to change the TLS handshake signature algorithm? HOT 2
- TLS handshake error on iPhone device HOT 13
- Ziti Mobile Edge crashes HOT 3
- Whether to change hosts HOT 1
- initCallback is not called when first Ziti event is received
- 'ziti/ziti.h' file not found HOT 3
- crash uv_now(ts_loop) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ziti-sdk-swift.