Simplewall: Corrupt log encoding

Created on 12 Feb 2020  路  8Comments  路  Source: henrypp/simplewall

On Windows 7 the log is corrupt, it looks like Unicode but no app can open it properly. Check the sample simplewall.log

Tested on simplewall-2.4.6 and simplewall-3.1.

OK on Windows 10.

bug

All 8 comments

Not confirmed. Are you sure log file doesn't touched by thirdparty?

Default installation of simplewall, no third parties.
Windows 7 set to US/Eng location/encoding.

More observations:

  • if I overwrite the first two 0x00 bytes of the log ("utf-16 le byte order mask") with "{0xFF, 0xFE}", it displays properly.

  • according to your source code, there should be a "csv header" just after the "utf-16 le byte order mask" but I do not see it Win7 nor Win10.

When you remove log file manual and start SW, byte order mask & csv header adds correctly?

Yes, it works this way, mask/csv OK, thanks!
Will there be a permanent fix for it in a future SW version?

I need to know who/what action corrupt the log.

If it SW itself, then fix out. If 3rd-party, then i dont know.

If you want me to test, modify or run something, please let me know.

Thanks for the best Windows firewall!

If it happpens again just let me know what steps you do.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ltGuillaume picture ltGuillaume  路  3Comments

pwn0r picture pwn0r  路  3Comments

gameb0y picture gameb0y  路  3Comments

p-groarke picture p-groarke  路  4Comments

Jtasiu picture Jtasiu  路  4Comments