android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lorenzo Colitti e9bc8c9db7 Dump the input destination MAC address for IPv4 flows.
This is needed for forwarding to work, so it should be dumped.

New output:

  Forwarding rules:
    29(29) -> 14(rmnet2) 86dd 00:00:00:00:00:00 00:00:00:00:00:00
    [ap_br_wlan2]: iif(iface) oif(iface) v6addr srcmac dstmac
      14(rmnet2) 29(ap_br_wlan2) 2001:240:2423:13fa:3c21:e35a:6a59:ff8a da:17:fd:70:3d:14 26:5b:b2:ee:bc:ba
    IPv4: [inDstMac] iif(iface) src -> nat -> dst
      [da:17:fd:70:3d:14] 29(29) 192.168.222.151:39208 -> 14(rmnet2) 100.102.14.231:39208 -> 172.217.175.3:80
      [da:17:fd:70:3d:14] 29(29) 192.168.222.151:47386 -> 14(rmnet2) 100.102.14.231:47386 -> 216.58.197.196:443

Also add a call to getHostAddress() to remove the / on IPv6
forwarding rules.

Test: manual
Change-Id: I347ea5a3fd88c51f1fae0c76c75dfa30c68a55ad
2021-04-02 05:42:22 +00:00
..
apex Add ServiceConnectivityResources to in-process APEX 2021-03-14 12:33:30 +09:00
apishim [NFCT.TETHER.15] Attach BPF program in the mainline module 2021-03-11 17:49:42 +08:00
bpf_progs bpf_progs - remove unused dependencies 2021-03-19 03:39:42 +00:00
common/TetheringLib Add dependency on system API in connectivity 2021-02-26 19:36:06 +09:00
jni [NFCT.TETHER.15] Attach BPF program in the mainline module 2021-03-11 17:49:42 +08:00
res wifi: Add bridged pre-fix for tethering interface 2021-01-18 01:21:32 +00:00
src Dump the input destination MAC address for IPv4 flows. 2021-04-02 05:42:22 +00:00
tests Rename members in TestConnectivityManager. 2021-03-31 20:23:20 +09:00
Android.bp Update sources of Tethering module since it is renamed 2021-03-11 07:36:55 +00:00
AndroidManifest.xml Update language to comply with Android's inclusive language guidance 2020-07-29 12:05:04 +08:00
AndroidManifest_InProcess.xml Change tethering file structure to respect its package name 2020-04-14 14:33:45 +08:00
AndroidManifestBase.xml Add usesCleartextTraffic to Tethering 2020-08-18 09:00:58 +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-10-31 04:50:11 +00:00
proguard.flags Provide a easy way to access bpf maps from java 2021-01-11 17:43:27 +08:00
TEST_MAPPING Move TetheringTests to presubmit 2020-06-10 02:33:37 +00:00