diff options
author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-10-23 15:55:13 +0000 |
---|---|---|
committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-10-23 15:55:13 +0000 |
commit | 0312ce64f85b5530a00bdc72eb310ba9dc1de05b (patch) | |
tree | 030ccbed3f44a2a1f96413947f50ec0520fb064d /trackers | |
parent | d0c2b36ec81cd2a102d4b0a5b0fbeb1c1aa52e70 (diff) | |
parent | 54892a227a77839ee81df90df904675f958831a3 (diff) |
Merge branch 'epic18-standalone_trackers_tor_alone' into 'main'
epic18: tracker control while tor is activated.
See merge request e/os/advanced-privacy!148
Diffstat (limited to 'trackers')
-rw-r--r-- | trackers/build.gradle | 1 | ||||
-rw-r--r-- | trackers/src/main/java/foundation/e/advancedprivacy/trackers/domain/externalinterfaces/TrackersServiceSupervisor.kt | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/trackers/build.gradle b/trackers/build.gradle index 737db5a..69faabd 100644 --- a/trackers/build.gradle +++ b/trackers/build.gradle @@ -49,6 +49,7 @@ dependencies { libs.bundles.koin, libs.bundles.kotlin.android.coroutines, libs.google.gson, + libs.pcap4j, libs.retrofit, libs.retrofit.scalars, diff --git a/trackers/src/main/java/foundation/e/advancedprivacy/trackers/domain/externalinterfaces/TrackersServiceSupervisor.kt b/trackers/src/main/java/foundation/e/advancedprivacy/trackers/domain/externalinterfaces/TrackersServiceSupervisor.kt index d9674fc..79f721b 100644 --- a/trackers/src/main/java/foundation/e/advancedprivacy/trackers/domain/externalinterfaces/TrackersServiceSupervisor.kt +++ b/trackers/src/main/java/foundation/e/advancedprivacy/trackers/domain/externalinterfaces/TrackersServiceSupervisor.kt @@ -16,8 +16,13 @@ */ package foundation.e.advancedprivacy.trackers.domain.externalinterfaces +import org.pcap4j.packet.DnsPacket +import java.util.function.Function + interface TrackersServiceSupervisor { fun start(): Boolean fun stop(): Boolean fun isRunning(): Boolean + + val dnsFilterForIpScrambling: Function<DnsPacket?, DnsPacket?>? } |