krishnabn

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Create New Ethernet Packet problem #6375
    krishnabn
    Participant
      SerpentFly wrote:
      Quote:
      Can winpkfilter be used to send packet as if it is coming from remote PC ( internet remote host like yahoo ? )

      Sure. The easiest way for you to start is take and parse the normally received packet (intercepted from the network). You can do it with one of the network sniffers (like Network Monitor or Ethereal). Then just build your own packet with WinpkFilter on the same way. Of course it requires some understanding of how TCP/IP works..

      Thanks for the reply serpertine, I am able to send the packet to local host it self. But its not TCP/IP packet. It becomes LLC packet. I want to send the packet to my PC itself but as if its coming from remote server with IP, TCP and Ether header. Can I do it using winpkfilter ? If yes how can I do that ?

      in reply to: Create New Ethernet Packet problem #6373
      krishnabn
      Participant
        SerpentFly wrote:
        Quote:
        If I use this code and trace it using packet sniffer it sends the packets. I am sending the packet to local PC itself. But in the sniffed packet I see Frame check sequence error. Will it create any problem. Can u please tell me why the error occurring ? And what I am missing here ?

        The code above initializes only Ethernet header and sets next protocol as IP without initializing the IP header. This may cause sniffers to show this packet as a bogus one.

        Can you please tell me how to set IP header. I tried to create one and send it to my own PC, I am able to sniff it but its not like a typical IP, TCP header packet. Instead it shows as Logical Link Control packet. Can winpkfilter be used to send packet as if it is coming from remote PC ( internet remote host like yahoo ? ) Please please help me out. I am in deep trouble …

        in reply to: Create New Ethernet Packet problem #6371
        krishnabn
        Participant
          SerpentFly wrote:
          Hi,
          If I use this code and trace it using packet sniffer it sends the packets. I am sending the packet to local PC itself. But in the sniffed packet I see Frame check sequence error. Will it create any problem. Can u please tell me why the error occurring ? And what I am missing here ?
          Thanks in advance
          in reply to: Modify Packet #5448
          krishnabn
          Participant

            Thanks a lot for the code snippet. Am using this with the example of passthru. It works with http requests. But its not working with the IM’s like yahoo/gtalk. Can any one please helpe me out.
            Thanks in advance

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