android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti 175fefc795 Correctly dump IPv4 downstream flows.
The current code does not print these correctly: it prints the
public address twice and then the NAT address. Fix this to print
the src, nat, and dst addresses.

Also dump the output MAC address.

Example output:

    IPv4 Upstream: [inDstMac] iif(iface) src -> nat -> dst [outDstMac] age
      [66:f1:6f:d8:66:0a] 31(31) 192.168.146.173:48594 -> 11(rmnet_data1) 100.100.109.185:48594 -> 8.8.8.8:853 [00:00:00:00:00:00] 32305ms
      [66:f1:6f:d8:66:0a] 31(31) 192.168.146.173:45806 -> 11(rmnet_data1) 100.100.109.185:45806 -> 8.8.4.4:853 [00:00:00:00:00:00] 32305ms
    IPv4 Downstream: [inDstMac] iif(iface) src -> nat -> dst [outDstMac] age
      [00:00:00:00:00:00] 11(rmnet_data1) 8.8.8.8:853 -> 31(31) 100.100.109.185:48594 -> 192.168.146.173:48594 [0e:a8:7f:ba:76:48] 32305ms
      [00:00:00:00:00:00] 11(rmnet_data1) 8.8.4.4:853 -> 31(31) 100.100.109.185:45806 -> 192.168.146.173:45806 [0e:a8:7f:ba:76:48] 32305ms

Test: manual
Bug: 190783768
Original-Change: https://android-review.googlesource.com/1737399
Merged-In: I93a82064c95027c7c63cb30baf8482ecddcbd09d
Change-Id: I93a82064c95027c7c63cb30baf8482ecddcbd09d
2021-06-16 13:25:33 +00:00
..
apex Mark tethering apex as compressible 2021-05-27 15:21:33 +01:00
apishim bpf: Add interface index to BPF devmap 2021-05-12 19:57:18 +08:00
bpf_progs import copy of bpf_net_helpers.h from system/netd/bpf_progs 2021-06-10 15:24:19 +00:00
common/TetheringLib Merge history of packages/Connectivity 2021-05-24 04:40:14 +00:00
jni Fix memory access violation in NetworkStack 2021-05-25 08:01:17 +00:00
res Merge "wifi: Add bridged pre-fix for tethering interface" am: 7e9e19c1ea am: 8f9ffbb097 am: 46116ca234 2021-01-18 02:57:22 +00:00
src Correctly dump IPv4 downstream flows. 2021-06-16 13:25:33 +00:00
tests Update TetheringTests for new connectivity shims 2021-06-10 13:44:00 +00:00
Android.bp Add tethering bootclasspath fragment to its sdk 2021-06-07 15:46:33 +01:00
AndroidManifest.xml Update language to comply with Android's inclusive language guidance 2020-08-07 05:40:26 +00:00
AndroidManifest_InProcess.xml Change tethering file structure to respect its package name 2020-04-14 12:25:03 +00:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-19 08:56:10 +00:00
jarjar-rules.txt Update sources of Tethering module since it is renamed 2021-03-11 07:36:55 +00:00
OWNERS Revert "Add OWNERS block to prevent the tree from mooving during migration." 2020-11-05 03:16:29 +00:00
proguard.flags Fix proguard rules for Struct in NetworkStack 2021-04-14 01:30:59 +00:00
TEST_MAPPING Move TetheringTests to presubmit 2020-06-10 02:33:37 +00:00