A method and an electronic unit are disclosed for controlling traffic on a
network, especially for controlling peer-to-peer related traffic. A
filter unit is intercepting messages related to peer-to-peer application
from a network line, irrespective of the messages' destination, A control
logic then manages a request represented by an intercepted message
subject to its content and subject to peering specific information.