OPNsense Forum
English Forums => Zenarmor (Sensei) => Topic started by: otto001 on May 22, 2022, 01:20:36 am
-
Hi everyone!
I am having a strange problem…
In the daily report (which is sent by email) the uploaded and downloaded stats seem to be swapped.
Does anyone know about this? Is a minor problem, but somehow strange.
Additional question: Can these reports be modified? The colors are somehow not so good, I have to mark the text in my mail client to read it, text seems to be white on white as in the pic attached...
Best regards and thanks in advance,
Otto
-
Hi,
Normally it has black text color and seems like the attached screenshot. Maybe it is related to your email client. What is your email client?
The download / upload swapped issue should be related to interface tags. Do you have any interface tagged as WAN? Can you share a bug report by selecting Zenarmor log and config check boxes?
-
Hi,
thanks for your answer.
Hm, I am using thunderbird on my linux desktop and nine on my phone. Both are showing white font on white background.
The interface swapping was corrected, after I re-applied zenarmor config. Strange.
This is the html-part of the email. If I am not wrong, there is no color information for the text in there, expect for the download link, which is displayed correctly? I suppose, this is causing the problem.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body style="background-color:#EEE">
<div style="display:flex;background:linear-gradient(0deg, #09A3C6 50%, #09A3C6 50%);background-size:100% 200px;background-repeat:no-repeat">
<div style="width:640px;margin-top:50px;margin-left:auto;margin-right:auto;padding:20px">
<div style="background-color:#FFF;border-radius:5px;padding:20px 30px">
<h3 style="text-align:center">
Quick Facts (OPNsense.fritz.box)
</h3>
<table style="width:100%;border-collapse:collapse;">
<tbody>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Connections</td>
<td style="text-align:right;padding:10px">85,199</td>
</tr>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Bytes Uploaded</td>
<td style="text-align:right;padding:10px">1.46 GB</td>
</tr>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Bytes Downloaded</td>
<td style="text-align:right;padding:10px">25.94 GB</td>
</tr>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Packets Uploaded</td>
<td style="text-align:right;padding:10px">11,816,557</td>
</tr>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Packets Downloaded</td>
<td style="text-align:right;padding:10px">21,494,730</td>
</tr>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Unique Local Hosts</td>
<td style="text-align:right;padding:10px">71</td>
</tr>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Unique Remote Hosts</td>
<td style="text-align:right;padding:10px">2,778</td>
</tr>
<tr style="border-top:1px solid #E3E3E3">
<td style="padding:10px;">Unique Apps</td>
<td style="text-align:right;padding:10px">138</td>
</tr>
</tbody>
</table>
</div>
<a style="display:block;background-color:#09A3C6;border-radius:5px;padding:20px;margin-top:20px;text-align:center;color:#FFF;text-decoration:none" href="cid:attach1">
Click to download and view detailed reports
</a>
<div style="text-align:center;font-size:10px;margin-top:10px;color:#09A3C6">
<i>*If download link does not work, use email client's attachment download link.</i>
</div>
</div>
</div>
</body>
</html>