From 54892a227a77839ee81df90df904675f958831a3 Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Mon, 23 Oct 2023 15:55:11 +0000 Subject: epic18: tracker control while tor is activated. --- trackers/build.gradle | 1 + .../trackers/domain/externalinterfaces/TrackersServiceSupervisor.kt | 5 +++++ 2 files changed, 6 insertions(+) (limited to 'trackers') 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? } -- cgit v1.2.1