lkml.org 
[lkml]   [1998]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Questions about Packet Filter
Date
> Are the BPF devices capable of "intercept" packages passing through
> them?

There are no BPF 'devices'. 2.1.x allows BPF filters on arbitary sockets
BPF does not write packets just test them.

> I mean is it possible that after it intercepts the outgoing package it
> can modify the package contents(e.g. destination port) and inject into
> NIC? Or, modify the package contents when intercept the incoming
> packages and poll them back to the higher level protocols or
> applications?

Not trivially.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:42    [W:0.030 / U:0.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site