Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
01131493
Commit
01131493
authored
May 17, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: update bogons, private ranges in there after first update anyway
(cherry picked from commit
5f3538e4
)
parent
d6f47734
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
bogons.sample
src/etc/bogons.sample
+4
-0
filter.inc
src/etc/inc/filter.inc
+2
-4
No files found.
src/etc/bogons.sample
View file @
01131493
0.0.0.0/8
10.0.0.0/8
100.64.0.0/10
127.0.0.0/8
169.254.0.0/16
172.16.0.0/12
192.0.0.0/24
192.0.2.0/24
192.168.0.0/16
198.18.0.0/15
198.51.100.0/24
203.0.113.0/24
...
...
src/etc/inc/filter.inc
View file @
01131493
...
...
@@ -2937,10 +2937,8 @@ EOD;
}
}
foreach
(
$FilterIflist
as
$on
=>
$oc
)
{
/* block bogon networks */
/* http://www.cymru.com/Documents/bogon-bn-nonagg.txt */
/* file is automatically in cron every 3000 minutes */
foreach
(
$FilterIflist
as
$on
=>
$oc
)
{
/* block bogon networks via http://www.cymru.com/Documents/bogon-bn-nonagg.txt */
if
(
!
isset
(
$config
[
'syslog'
][
'nologbogons'
]))
{
$bogonlog
=
'log'
;
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment