> > I want to create a rule with iptables, which applies to any traffic which > > is created by a given command name. Is this possible? > > > I mean I want to mark the packets created for example by the 'telnet' > executable. Try the owner match http://iptables-tutorial.frozentux.net/iptables-tutorial.html#OWNERMATCH and make sure you have the ipt_owner module loaded