Filter packets comming in/out

Home Forums Discussions Support Portal Filter packets comming in/out

This topic contains 1 reply, has 2 voices, and was last updated by  Vadim Smirnov 8 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5305

    fabiojrb
    Participant

    First all, sorry for my limited English….
    I need edit/drop some packets that comming out from my station.
    These packets have the name of the application that I’m using. For exemple, I want to edit the packet that is going to 80 port and have the string “explorer.exe” in your content.
    How can I intercept these packets?
    After intercept I need edit it….
    Can anyone helpe me?

    #6837

    Vadim Smirnov
    Moderator

    You can use WinpkFilter built-in filters to intercept only packets destined to port 80. For the intercepted packet you can get a pointer to packet data and search for the “explorer” string. If you modify the packet you have to recalculate packets TCP and IP checksums. Also, if you modify packet length you also have to affect TCP header.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.