Skip to content
Snippets Groups Projects
Verified Commit caec1456 authored by Clayton Craft's avatar Clayton Craft :speech_balloon:
Browse files

postmarketos-base: add sysctl config to disable rp_filter on ipv4 (MR 2943)

MMS support (via mmsd-tng) involves sending/receiving network
requests/responses over the wwan interface. If it's ipv4-only and the
device is connected to some other ipv4 network on another iface (like
wifi), this can cause the rp_filter to reject responses on wwan iface
because it incorrectly thinks they are martian packets.

This does theoretically disable some "security" feature in the kernel,
but it's worth noting that:

1) rp_filter isn't implemented at all in the kernel for ipv6

2) other distros (mobian, pureos at least) are also disabling rp_filter

3) this seems to be a relatively common problem with folks using mms on
   pmOS, since many carriers' data networks are ipv4-only

also see:
https://gitlab.com/kop316/mmsd/-/merge_requests/55/diffs?commit_id=b22c253fb939ff1eb949ea4e628706e6a28c851a

[ci:skip-build] already built successfully in CI
parent 3c9dc84b
No related branches found
No related tags found
No related merge requests found
Pipeline #199310 passed
Loading
  • Administrator @root

    mentioned in commit 6a168313

    By clayton craft on 2022-02-16T20:14:37

    · Imported

    mentioned in commit 6a168313

    By clayton craft on 2022-02-16T20:14:37

    Edited by Ghost User
    Toggle commit list
  • Administrator @root

    mentioned in commit a0956464

    By clayton craft on 2022-02-16T20:16:49

    · Imported

    mentioned in commit a0956464

    By clayton craft on 2022-02-16T20:16:49

    Edited by Ghost User
    Toggle commit list
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment