github.com/sagernet/sing-box@v1.9.0-rc.20/docs/clients/android/features.md (about)

     1  # :material-decagram: Features
     2  
     3  #### UI options
     4  
     5  * Display realtime network speed in the notification
     6  
     7  #### Service
     8  
     9  SFA allows you to run sing-box through ForegroundService or VpnService (when TUN is required).
    10  
    11  #### TUN
    12  
    13  SFA provides an unprivileged TUN implementation through Android VpnService.
    14  
    15  | TUN inbound option            | Available        | Note               |
    16  |-------------------------------|------------------|--------------------|
    17  | `interface_name`              | :material-close: | Managed by Android |
    18  | `inet4_address`               | :material-check: | /                  |
    19  | `inet6_address`               | :material-check: | /                  |
    20  | `mtu`                         | :material-check: | /                  |
    21  | `gso`                         | :material-close: | No permission      |
    22  | `auto_route`                  | :material-check: | /                  |
    23  | `strict_route`                | :material-close: | Not implemented    |
    24  | `inet4_route_address`         | :material-check: | /                  |
    25  | `inet6_route_address`         | :material-check: | /                  |
    26  | `inet4_route_exclude_address` | :material-check: | /                  |
    27  | `inet6_route_exclude_address` | :material-check: | /                  |
    28  | `endpoint_independent_nat`    | :material-check: | /                  |
    29  | `stack`                       | :material-check: | /                  |
    30  | `include_interface`           | :material-close: | No permission      |
    31  | `exclude_interface`           | :material-close: | No permission      |
    32  | `include_uid`                 | :material-close: | No permission      |
    33  | `exclude_uid`                 | :material-close: | No permission      |
    34  | `include_android_user`        | :material-close: | No permission      |
    35  | `include_package`             | :material-check: | /                  |
    36  | `exclude_package`             | :material-check: | /                  |
    37  | `platform`                    | :material-check: | /                  |
    38  
    39  | Route/DNS rule option | Available        | Note                              |
    40  |-----------------------|------------------|-----------------------------------|
    41  | `process_name`        | :material-close: | No permission                     |
    42  | `process_path`        | :material-close: | No permission                     |
    43  | `package_name`        | :material-check: | /                                 |
    44  | `user`                | :material-close: | Use `package_name` instead        |
    45  | `user_id`             | :material-close: | Use `package_name` instead        |
    46  | `wifi_ssid`           | :material-check: | Fine location permission required |
    47  | `wifi_bssid`          | :material-check: | Fine location permission required |
    48  
    49  ### Override
    50  
    51  Overrides profile configuration items with platform-specific values.
    52  
    53  #### Per-app proxy
    54  
    55  SFA allows you to select a list of Android apps that require proxying or bypassing in the graphical interface to
    56  override the `include_package` and `exclude_package` configuration items.
    57  
    58  In particular, the selector also provides the “China apps” scanning feature, providing Chinese users with an excellent
    59  experience to bypass apps that do not require a proxy. Specifically, by scanning China application or SDK
    60  characteristics through dex class path and other means, there will be almost no missed reports.
    61  
    62  ### Chore
    63  
    64  * The working directory is located at `/sdcard/Android/data/io.nekohasekai.sfa/files` (External files directory)
    65  * Crash logs is located in `$working_directory/stderr.log`