Linux Sequence Number Generation



Hello,
Can anybody tell me about Linux 2.6 sequence number
generation???
Suppose i caught a packet using PRE_ROUTING hook and i want to modify
the packet that will be response for our caught packet.. So how can I
map an outgoing packet (a reply) to a recieved packet..

Regards,
Sunny

.



Relevant Pages

  • Re: Unexpected behavior after altering inetsw[] switch table
    ... Everytime an IP datagram with a TCP header is sent, ... So I was attempting to modify the pr_output hook for TCP (which I now know ... You should tap into the generic IP packet filter hook and modify the packet ...
    (freebsd-net)
  • Re: Problem Modifing the NDIS packet
    ... You cannot modify NDIS_PACKET in place. ... > I am trying to modify the NDIS packet. ... Calculate the Checksum. ... Calculate the 16 bit IP sum. ...
    (microsoft.public.development.device.drivers)
  • Re: How to intercept IP packet from an application ???
    ... If you're just trying to wrap the data or modify source / destination headers, I'd search for a NAT solution that's written in .NET, it should help you get closer. ... Actually, i need to modify the IP packet, is there any other solution ... regarding intercepting IP packet from a specific process. ... It's done through opening raw socket and setting socket IO control to ...
    (microsoft.public.dotnet.framework)
  • RE: Network routing issue
    ... If you can modify the routes on A and B (ie route A via C on B, ... then you can use iptables to modify the packet in various ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: modify packet in IM driver
    ... Although this is true of NDIS5 (that you may not modify a packet in the send path) this is no longer true of NDIS6. ... each component specifies it 'header' requirements and the sender is required to allocate NetBufferwith the required 'head-room' for packet header insertion. ...
    (microsoft.public.development.device.drivers)