[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ports



Hi!


I saw in the example 5.1 of Werner paper "Differentiated Services on Linux" the following
syntax.


tc filter add dev eth0 parent 1:0 prio 4 u32
    match ip dst 10.1.0.0/16
    match ip src 192.1.0.0/16
    match ip protocol 6 0xff
    match ip dport 0x17 0xffff
    flowid 1:3


Can anyone explain me what is the meaning of   match ip dport 0x17 0xffff  . I know that it
refers to a port but wich one ?    For example if i wanted to transfer traffic to another
machine trough port 20 which number would it be?
What is the meaning of the two numbers?


Thanks
 
-------------------------------------------------------
Joao Brandao Reis ,  email: ee94002@fe.up.pt
WWW: http://members.fortunecity.com/ee94002
Pagina Projecto: http://netlab.fe.up.pt/~ee94002