On Thursday 19 May 2005 13:37, Claudiu Cismaru wrote:
> > >>iptables -t mangle -A PREROUTING -p icmp -j MARK --set-mark 0x1
> > >>
> > >>iptables -t mangle -A PREROUTING -s 192.168.0.1 -j MARK
>
> Atunci valoarea va fi the new 0x1, adica 7 :)
Daca, totusi, vrei ca icmp-urile cu sursa 192.168.0.1 sa le marcheze cu 
1, atunci faci:

$IPT -t mangle -A ... -p icmp -j MARK_ICMPS

$IPT -t MARK_ICMPS -A -s ... -j MARK ... 1
$IPT -t MARK_ICMPS -A -j MARK ... 7

sau
$IPT -t mangle -A -s ... -p icmp -j MARK ... 1

-- 
  Claudiu Cismaru
  GPG Key: http://maya.cnixs.com/~claudiu/claudiu.gpg

-- Attached file included as plaintext by Ecartis --

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.7 (GNU/Linux)

iD8DBQBCjG19hU2qCxfP7CoRAk6aAJ9Kf2/NG9scC2FCZu1fV+Y91R87HACg9Ouk
xHFHOHjcfl6p8ShqfpBSuPg=
=nTgc
-----END PGP SIGNATURE-----



--- 
Detalii despre listele noastre de mail: http://www.lug.ro/


Raspunde prin e-mail lui