https://github.com/fulvius31/ip-neigh-sdk30
Ip neigh for android using android NDK. Avoiding restriction of bind socket on Android apps targeting sdk 30
https://github.com/fulvius31/ip-neigh-sdk30
android android-application arp arp-table ip iproute2
Last synced: 11 months ago
JSON representation
Ip neigh for android using android NDK. Avoiding restriction of bind socket on Android apps targeting sdk 30
- Host: GitHub
- URL: https://github.com/fulvius31/ip-neigh-sdk30
- Owner: fulvius31
- License: cc0-1.0
- Created: 2022-04-30T10:48:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T01:52:51.000Z (almost 2 years ago)
- Last Synced: 2025-04-10T19:15:24.608Z (about 1 year ago)
- Topics: android, android-application, arp, arp-table, ip, iproute2
- Language: C
- Homepage:
- Size: 719 KB
- Stars: 37
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IP neighbour for Android with TargetSDK 30 and above
#### [View Releases and Changelogs](https://github.com/fulvius31/ip-neigh-sdk30/releases)
[](http://creativecommons.org/publicdomain/zero/1.0/)
---
# What this library does?
This library is born because Google has removed the possibility to use command like `ip neigh` for all the apps with targetSDK `30`.
More precisely apps cannot bind netlink socket when targeting Android API 30, then apps cannot retreive Arp table anymore.
With this library, you can easily do that!
# Screenshot

# How to import
Step 1. Add the JitPack repository in your root `build.gradle` file at the end of repositories
```gradle
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
```
Step 2. Add the dependency
```gradle
dependencies {
...
implementation 'com.github.fulvius31:ip-neigh-sdk30:v0.0.3alpha'
}
```
# How to use
Use this library, is pretty easy. You have to call a method from the library that returns a String.
``` java
import it.alessangiorgi.ipneigh30.ArpNDK;
...
String arpTable = ArpNDK.getARP();
```
# Important Note
This library **does not** work with Android 13 devices if you use `targetSdk` equals to `32` .
## Apps Using this Library
- https://play.google.com/store/apps/details?id=com.sangiorgisrl.wifimanagertool
- https://play.google.com/store/apps/details?id=com.tester.wpswpatester