mark ftp passive connections

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

 



I would like how to mark ftp passive connections with connmark.
Currently I have resolved this problem in the following manner:

# mark ftp active conn (no problem)
--protocol tcp --dports 20,21 -j MARK --set-mark 1
# mark ftp passive data conn with helper's help
-m helper --helper ftp -j MARK --set-mark 1

TIA




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux