views:

144

answers:

1

I want to develop a bandwidth allocator to a network which will be behind my machine.

Now, I've read about NDIS but I am not sure whether the network traffic that is neither originating from my machine nor is destined for my machine will enter my TCP/IP stack, so that I can block/unblock packets via NDIS on a windows machine.

+1  A: 

NDIS (kernel) drivers live in the Windows network stack, and so can only intercept packets which are handled by this stack.

You cannot filter packets which are not send to your computer.

(When the computer acts as a router, the packets are send to the computer and the computer forwards the packets to the actual recepient, if that was the question)

Christopher