summaryrefslogtreecommitdiffstats
path: root/clatd.conf
diff options
context:
space:
mode:
authorJP Abgrall <jpa@google.com>2013-12-20 14:51:26 -0800
committerJP Abgrall <jpa@google.com>2013-12-20 16:34:24 -0800
commita94a1a921bba6303cb7414627cb127af859a2d9b (patch)
treea63ff9ab95c72bc736064bbc46bd0255df7d8c61 /clatd.conf
parent454effd5b3a1c771b153063cada22b1aa2a22d94 (diff)
downloadandroid_external_android-clat-a94a1a921bba6303cb7414627cb127af859a2d9b.tar.gz
android_external_android-clat-a94a1a921bba6303cb7414627cb127af859a2d9b.tar.bz2
android_external_android-clat-a94a1a921bba6303cb7414627cb127af859a2d9b.zip
Add ip6 dummy address to keep data usage stats consistent.
Because of the way the tunnel pumps packets into the networking stack, the netfilter xt_qtaguid module can't track stats accurately: the totals don't add up. With "clat" having an ip address, qtaguid will track stats against it, which then can be deducted from the external iface. Bug: 11687690 Change-Id: I22ebf26dd9249e821da87665d2bfb0e54d3cdf64
Diffstat (limited to 'clatd.conf')
-rw-r--r--clatd.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/clatd.conf b/clatd.conf
index b17b862..0d4b79e 100644
--- a/clatd.conf
+++ b/clatd.conf
@@ -5,6 +5,9 @@ ipv6_host_id ::464
# ipv4 subnet for the local traffic to use. This is a /32 host address
ipv4_local_subnet 192.0.0.4
+# ipv6 extra link local address for the ip6 iface.
+ipv6_local_address fe80::c000:0004
+
# get the plat_subnet from dns lookups (requires DNS64)
plat_from_dns64 yes
# hostname to use to lookup plat subnet. must contain only A records