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
01b31af6
Commit
01b31af6
authored
Jun 26, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
src: whitespace sweep
parent
846353ec
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
7 deletions
+2
-7
QueryFilter.php
...nse/mvc/app/library/OPNsense/Base/Filters/QueryFilter.php
+1
-1
log.py
src/opnsense/scripts/suricata/lib/log.py
+0
-2
params.py
src/opnsense/scripts/suricata/lib/params.py
+0
-1
rulecache.py
src/opnsense/scripts/suricata/lib/rulecache.py
+0
-1
queryAlertLog.py
src/opnsense/scripts/suricata/queryAlertLog.py
+1
-1
actions_ids.conf
src/opnsense/service/conf/actions.d/actions_ids.conf
+0
-1
No files found.
src/opnsense/mvc/app/library/OPNsense/Base/Filters/QueryFilter.php
View file @
01b31af6
...
@@ -40,4 +40,4 @@ class QueryFilter
...
@@ -40,4 +40,4 @@ class QueryFilter
{
{
return
preg_replace
(
"/[^0-9,a-z,A-Z, ,*,-]/"
,
""
,
$value
);
return
preg_replace
(
"/[^0-9,a-z,A-Z, ,*,-]/"
,
""
,
$value
);
}
}
}
}
\ No newline at end of file
src/opnsense/scripts/suricata/lib/log.py
View file @
01b31af6
...
@@ -69,5 +69,3 @@ def reverse_log_reader(filename, block_size = 8192, start_pos=None):
...
@@ -69,5 +69,3 @@ def reverse_log_reader(filename, block_size = 8192, start_pos=None):
if
file_byte_start
==
0
:
if
file_byte_start
==
0
:
break
break
src/opnsense/scripts/suricata/lib/params.py
View file @
01b31af6
...
@@ -47,4 +47,3 @@ def updateParams(parameters):
...
@@ -47,4 +47,3 @@ def updateParams(parameters):
if
cmd
in
parameters
and
arg
.
strip
()
!=
''
:
if
cmd
in
parameters
and
arg
.
strip
()
!=
''
:
parameters
[
cmd
]
=
arg
.
strip
()
parameters
[
cmd
]
=
arg
.
strip
()
cmd
=
None
cmd
=
None
src/opnsense/scripts/suricata/lib/rulecache.py
View file @
01b31af6
...
@@ -239,4 +239,3 @@ class RuleCache(object):
...
@@ -239,4 +239,3 @@ class RuleCache(object):
result
.
append
(
record
[
0
])
result
.
append
(
record
[
0
])
return
sorted
(
result
)
return
sorted
(
result
)
src/opnsense/scripts/suricata/queryAlertLog.py
View file @
01b31af6
...
@@ -113,4 +113,4 @@ for line in reverse_log_reader(filename=suricata_log, start_pos=log_start_pos):
...
@@ -113,4 +113,4 @@ for line in reverse_log_reader(filename=suricata_log, start_pos=log_start_pos):
break
break
# output results
# output results
print
(
ujson
.
dumps
(
result
))
print
(
ujson
.
dumps
(
result
))
\ No newline at end of file
src/opnsense/service/conf/actions.d/actions_ids.conf
View file @
01b31af6
...
@@ -45,4 +45,3 @@ command:/usr/local/etc/rc.d/suricata status
...
@@ -45,4 +45,3 @@ command:/usr/local/etc/rc.d/suricata status
parameters
:
parameters
:
type
:
script_output
type
:
script_output
message
:
get
suricata
daemon
status
message
:
get
suricata
daemon
status
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