Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portmaster should use NPCAP to capture all the packet from the network adapter #1756

Closed
rajagopalan181 opened this issue Nov 25, 2024 · 5 comments
Labels
suggestion TYPE: idea for new feature or improvements

Comments

@rajagopalan181
Copy link

What would you like to add or change?:

Portmaster should use NPCAP to capture all the packet from the network adapter.
through that data it should block all the traffic from the network adapter.
without leaving the single traffic

Why do you and others need this?:

Portmaster should use NPCAP to capture all the packet from the network adapter.
through that data it should block all the traffic from the network adapter.
without leaving the single traffic

@rajagopalan181 rajagopalan181 added the suggestion TYPE: idea for new feature or improvements label Nov 25, 2024
@vlabo
Copy link
Member

vlabo commented Nov 25, 2024

Can you elaborate more on the proposal?
NPCAP is software for capturing network traffic, there is no functionality for blocking or redirecting as far as I know.
And we are using the same technology as NPCAP for monitoring and also we block the traffic with a kernel driver (kernel extension).

@rajagopalan181
Copy link
Author

rajagopalan181 commented Nov 25, 2024 via email

@vlabo
Copy link
Member

vlabo commented Nov 26, 2024

Wireshark is a monitoring tool, Portmaster is a firewall the scope of the application is different.
As I said we are using the same API as the npcap driver so there is no need capture the traffic with it.

And Portmaster does more since it is also linking connection to process and collecting the dns traffic for each application. Which cannot be done with the npcap driver.

You can explore the code if you want to compare the two drivers and see the difference in functionality.
https://github.com/safing/portmaster/tree/develop/windows_kext

@vlabo vlabo closed this as completed Nov 26, 2024
@rajagopalan181
Copy link
Author

rajagopalan181 commented Nov 26, 2024 via email

@vlabo
Copy link
Member

vlabo commented Nov 26, 2024

Can you provide example what traffic is not captured by Portmaster.
Portmaster captures traffic the same way as wireshark, so if its not captured by Portmaster it will also not be captured by Wireshark.

You cannot run a dll by itself, its always link to an executable on windows. And Portmaster does not monitor traffic only by exe files it monitors all traffic and has extra logic for linking connections to processes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
suggestion TYPE: idea for new feature or improvements
Projects
None yet
Development

No branches or pull requests

2 participants