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

Baseline sysctl-17: Enable logging of martian packets #96

Merged
merged 1 commit into from
Jul 8, 2017

Conversation

mcgege
Copy link
Member

@mcgege mcgege commented Jul 4, 2017

As this feature can produce large log files, it can be disabled via 'log_martians'

This PR implements sysctl-17 as discussed in dev-sec/linux-baseline#48 and dev-sec/linux-baseline#72 and should fix #66

Signed-off-by: Michael Geiger michael.geiger@telekom.de

Copy link
Member

@artem-sidorenko artem-sidorenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mcgege great! Many thanks!

Maybe we will have to change the defaults later depending on the discussion in dev-sec/linux-baseline#48

@bitvijays looks good to me!

@bitvijays
Copy link
Contributor

@mcgege Thank you for your pull request :) Although the variable name "log_martians" speaks for itself, what are your thoughts if we keep it "enable_log_martians" ? (I might be completely wrong) Just a thought :) may be just to follow the trend? enable_ ? @artem-sidorenko Any thoughts?

@mcgege
Copy link
Member Author

mcgege commented Jul 6, 2017

@bitvijays Well, I think the variable name should be sufficient to understand what it's all about, but I'm open to change it ...

@bitvijays
Copy link
Contributor

@mcgege Cool.. Let's change it to enable_log_martians. and this is just to follow the trend of the variables defined above

$enable_ipv6
$enable_ipv6_forwarding
$arp_restricted
$enable_sysrq
$enable_core_dump
$enable_stack_protection
$enable_rpfilter

and I will merge the pull request :)

@bitvijays
Copy link
Contributor

@mcgege You may have to rebase with master to correct the conflict.

As this feature can produce large log files, it can be disabled via 'log_martians'

Signed-off-by: Michael Geiger <michael.geiger@telekom.de>
@mcgege
Copy link
Member Author

mcgege commented Jul 8, 2017

@bitvijays rebase + change done

@bitvijays
Copy link
Contributor

@mcgege Thank you for the Pull request and your contribution :) Merged

@bitvijays bitvijays merged commit 8c92ec8 into dev-sec:master Jul 8, 2017
@mcgege mcgege deleted the log-martians branch July 11, 2017 12:02
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.

Log martian packets
3 participants