I'm using PF under OpenBSD 4.1 to classify traffic generated by many users and assign it to queues with different priority.

The only problem I have is how to recognize the RTP streams of VoIP (both SIP and Skype), as there are non predefined ports or servers.

I thought to use the TOS (or DiffServ) field but it's too easy for the users to abuse it and mark all desired traffic as high-priority.

I thought that a solution could be to use the TOS field but ONLY FOR SMALL PACKETS (RTP flows are made by many small packets).

So, is there any way to specify a minimum packet size in a PF rule?

Any other suggestions on how to recognize RTP flows with a PF rule?


Thanks.

--
___________________________________________________
    __
   |-                      [EMAIL PROTECTED]
   |ederico Giannici      http://www.neomedia.it
___________________________________________________

Reply via email to