VpnServiceを利用し、指定のアプリ以外の通信をブロックするシンプルなユーティリティツールです。
対象 OS:Android10+
- ブロックした通信をリアルタイムで表示
- アプリ指定で通信許可
- IPv4/IPv6 対応
Android Studio (Electric Eel 以降) をインストールしてください。
- Kotlin 1.8.10
- Android Gradle Plugin 7.4.2
- Gradle 8.3
- JDK 17+
- NDK 25.2.9519653
以下のコマンドを実行し、JNI から使用しているネイティブライブラリ(Pcap++)をセットアップしてください。
./gradlew setup
fastlane を使用しアップロードしています。VSCode で本リポジトリを開き、コマンドパレット(Ctrl+Shift+P)から[Open Folder in Container]を選択し、DevContainer で開きます。
※ Android Studio のMarkdownプラグインでプレビューするには、JRE を JCEF に切り替えてください。
また、PlantUML ダイアグラムを有効にするためにSettings
> Languages & Frameworks
> Markdown
から PlantUML 拡張を有効にしてください。
Copyright 2022 CASL0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.