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
a0f1a88a
Commit
a0f1a88a
authored
Jul 01, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
firewall: fix logs service annotation, had embedded html...
(cherry picked from commit
e9cb6519
)
parent
54fb4abe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
diag_logs_filter.php
src/www/diag_logs_filter.php
+3
-3
No files found.
src/www/diag_logs_filter.php
View file @
a0f1a88a
...
...
@@ -410,7 +410,7 @@ function get_port_with_service($port, $proto) {
$service
=
getservbyport
(
$port
,
$proto
);
$portstr
=
""
;
if
(
$service
)
{
$portstr
=
sprintf
(
'<span title="Service %s/%s: %s">'
.
html
specialchars
(
$port
)
.
'</span>'
,
$port
,
$proto
,
$service
);
$portstr
=
sprintf
(
'<span title="Service %s/%s: %s">'
.
html
_safe
(
$port
)
.
'</span>'
,
html_safe
(
$port
),
html_safe
(
$proto
),
html_safe
(
$service
)
);
}
else
{
$portstr
=
htmlspecialchars
(
$port
);
}
...
...
@@ -819,7 +819,7 @@ include("head.inc");
<input
type=
"hidden"
value=
"
<?=
$int
;
?>
"
class=
"intf"
/>
<input
type=
"hidden"
value=
"
<?=
$ipproto
;
?>
"
class=
"ipproto"
/>
<span
class=
"glyphicon glyphicon-remove"
alt=
"Icon Easy Rule: Add to Block List"
></span></a>
<?=
html_safe
(
$srcstr
)
?>
<span
class=
"RESOLVE-
<?=
html_safe
(
$src_htmlclass
)
?>
"
></span>
<?=
$srcstr
?>
<span
class=
"RESOLVE-
<?=
html_safe
(
$src_htmlclass
)
?>
"
></span>
</td>
<td>
<span
onclick=
"javascript:resolve_with_ajax('
<?=
html_safe
(
$filterent
[
'dstip'
])
?>
');"
title=
"
<?=
gettext
(
"Click to resolve"
);
?>
"
class=
"ICON-
<?=
$dst_htmlclass
;
?>
"
alt=
"Icon Reverse Resolve with DNS"
><span
class=
"btn btn-default btn-xs glyphicon glyphicon-info-sign"
></span></span>
...
...
@@ -831,7 +831,7 @@ include("head.inc");
<input
type=
"hidden"
value=
"
<?=
$proto
;
?>
"
class=
"proto"
/>
<input
type=
"hidden"
value=
"
<?=
$ipproto
;
?>
"
class=
"ipproto"
/>
<span
class=
"glyphicon glyphicon-play"
alt=
"
<?=
gettext
(
'Icon Easy Rule: Pass this traffic'
)
?>
"
></span></a>
<?=
html_safe
(
$dststr
)
?>
<span
class=
"RESOLVE-
<?=
html_safe
(
$dst_htmlclass
)
?>
"
></span>
<?=
$dststr
?>
<span
class=
"RESOLVE-
<?=
html_safe
(
$dst_htmlclass
)
?>
"
></span>
</td>
<?php
if
(
$filterent
[
'proto'
]
==
"TCP"
)
{
...
...
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