Hi, > ftp> get test > local: test remote: test > 227 Entering Passive Mode (203,200,72,102,12,231) ^^^^^^^^^^^^ > 150 Opening BINARY mode data connection for test (1025830 bytes). > ############################################################## > ########...................################ > 226 Transfer complete. > 1025830 bytes received in 262 secs (3.8 Kbytes/sec) > ftp>
This log shows that you are using Passive FTP > tc filter add dev eth0 parent 10: protocol ip prio 100 u32 match ip sport > 20 0xffff flowid 10:10 now you put up a rule for sport 20. Passiv FTP does not use sport 20, it uses any port > 1024, only "active" FTP uses port 20 as sport for data transfare,.. Jan Gerritsen x%,S ffvZXmݳ֧Ybا~j\:mj\?