Never send packets with a source of ::1 on the wire.
Doing so is obviously invalid, and certain carriers will tear
down the connection if such packets are sent on their network.
This is done by adding an ip6tables rule to fw_OUTPUT that drops
all packets with a non-lo egress interface and a source of ::1.
Test: boot device, "adb root && adb shell ip6tables-save | egrep fw_OUTPUT"
Signed-off-by: Maciej Żenczykowski <email@example.com>
(cherry picked from commit 350dbdb697eac51310e48044ed57933944617cd5)
4 files changed