henrypp / simplewall

Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer.
GNU General Public License v3.0
6.2k stars 484 forks source link

Show log button does not work as expected #1757

Closed secured2k closed 5 months ago

secured2k commented 6 months ago

Checklist

App version

3.8

Windows version

10 22H2

Steps to reproduce

The program is running with elevated permissions under the same user context. Log file is saved to %Userprofile%\simplewall.log. It can be opened and viewed manually. Data inside the file is valid.

Click the Show log button or use the shortcut key (CTRL+I).

Expected behavior

The log file should open using the viewer configured.

Actual behavior

If enable packet logging interface is enabled, nothing happens. If enable packet logging interface is disabled, notepad opens and displays the contents of notepad.exe.

Logs

No response

OlsiIgitt commented 5 months ago

I can confirm this bug! It occurs at least since version 3.7.7: Having definined an external Log viewer app and using "Show Log" will start this external viewer with showing the defined simplewall.log file and additional the defined viewer exe file itself!

henrypp commented 5 months ago

now it is fixed

OlsiIgitt commented 5 months ago

I am using the (newest) version 3.8.1, and the problem persists.

now it is fixed Do you mean version >= 3.8.2 ???

Marabunta159 commented 4 months ago

Not fixed. Protocol Tab is empty. Logfile exists and can be opend. Installed today 3.8.2 on WIndows 11 x64

Message: component of the object path was not a directory object.

Status: -1073741767 (0xC0000039)

Description: "C:\WINDOWS\notepad.exe" C:\Users\user\simplewall.log

OlsiIgitt commented 4 months ago

Hi, I can confirm, that the bug has gone with version 3.8.2. But I don't use notepad as an external viewer...

henrypp commented 3 months ago

Sorry for waiting, i release 3.8.3 when i finish it, and problem in idiotic NT function NtCreateUserProcess which is not documented and realized like idiot creating this func, does not support Image Hijack (which i need myself calling LdrOpenImageFileOptionsKey/LdrQueryImageFileKeyOption, not idiotic?) and some other problems (like i need to close file and section which you open/create every time), thanks @microsoft.

ReaperIM commented 2 months ago

HELP!! "Somethings went wrong..." and "Turn off rules" do not working

henrypp commented 2 months ago

@ReaperIM what a hell are u talking about?

ReaperIM commented 2 months ago

@ReaperIM what a hell are u talking about?

simplewall_debug.log изображение_2024-07-20_234142245

henrypp commented 2 months ago

@ReaperIM

  1. it is offtopic
  2. it is access denied problem of your software which u installed and not right configured
ReaperIM commented 2 months ago

@ReaperIM

  1. it is offtopic
  2. it is access denied problem of your software which u installed and not right configured

I uninstalled the app but the rules keep working, how do I fix this?