Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add SO_MARK SetSockOpt for Linux #873

Merged
merged 1 commit into from
Mar 22, 2018
Merged

add SO_MARK SetSockOpt for Linux #873

merged 1 commit into from
Mar 22, 2018

Conversation

mcginty
Copy link
Contributor

@mcginty mcginty commented Mar 8, 2018

SO_MARK allows traffic to be filtered by a "tag" using fwmark (see: https://www.linux.org/docs/man8/tc-fw.html).

Tested on Linux as root - the test will skip over when not being run as root, as I noticed a few other tests do this in the suite already.

@asomers
Copy link
Member

asomers commented Mar 21, 2018

Looks good, but could you please add an entry to the CHANGELOG too?

@mcginty
Copy link
Contributor Author

mcginty commented Mar 21, 2018

Rebased and added an entry to CHANGELOG.

@asomers
Copy link
Member

asomers commented Mar 22, 2018

bors r+

bors bot added a commit that referenced this pull request Mar 22, 2018
873: add SO_MARK SetSockOpt for Linux r=asomers a=mcginty

SO_MARK allows traffic to be filtered by a "tag" using fwmark (see: https://www.linux.org/docs/man8/tc-fw.html).

Tested on Linux as root - the test will skip over when not being run as root, as I noticed a few other tests do this in the suite already.
@bors
Copy link
Contributor

bors bot commented Mar 22, 2018

@bors bors bot merged commit 3be575a into nix-rust:master Mar 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants