SagerNet / SagerNet/sing-box

Suggestion for supporting MAC address filter in the route rules

Open
#1,263 7 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
38.1k
Forks
4.6k
Avg merge
19d 15h
Merged PRs (30d)
1

Description

As title, sing-box is perfect for me except MAC address filter in the route rules.

I have to add many iptables rules for implement MAC address filter now, it's a simple functionality, but really important to make sing-box perfect!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review sing-box's route-rule handling and the current iptables-based workaround described in the issue. Determine how MAC addresses should be represented and matched in route rules, then verify that traffic can be filtered by MAC address without requiring separate iptables rules.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
networking
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.