Linux Netfilter discussions
 help / color / mirror / Atom feed
* Re: Simple question about ipset
@ 2006-09-20 13:38 Ming-Ching Tiew
  2006-09-20 13:57 ` Jozsef Kadlecsik
  0 siblings, 1 reply; 4+ messages in thread
From: Ming-Ching Tiew @ 2006-09-20 13:38 UTC (permalink / raw)
  To: netfilter



>I have been reading ipset from http://ipset.netfilter.org/features.html
>quite a few times but still do not understand what does it mean
>by this :-
>
>    iptables -A FORWARD -m set --set servers dst,dst -j ACCEPT
>
>My question is why the flag is dst,dst ?
>
>And similarly what is the significance if it is src,dst ?
>What if it is src,dst,dst and so on ?

Gosh I think something sudden sparked my mind, I think I understand it now.
The number of flags ties to the bindings, ie this example it is ip->port, 
then dst,dst would means check the destination ip, and destination port.
Had the flags be src,dst, then it is checking the source ip and destination port.

I hope my understanding is correct. Perhaps the docs should explain it more 
clearly.

Cheers. 




^ permalink raw reply	[flat|nested] 4+ messages in thread
* Simple question about ipset
@ 2006-09-20  6:54 Ming-Ching Tiew
  0 siblings, 0 replies; 4+ messages in thread
From: Ming-Ching Tiew @ 2006-09-20  6:54 UTC (permalink / raw)
  To: netfilter


I have been reading ipset from http://ipset.netfilter.org/features.html
quite a few times but still do not understand what does it mean
by this :-

    iptables -A FORWARD -m set --set servers dst,dst -j ACCEPT

My question is why the flag is dst,dst ?

And similarly what is the significance if it is src,dst ?
What if it is src,dst,dst and so on ?

Regards






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-24 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-20 13:38 Simple question about ipset Ming-Ching Tiew
2006-09-20 13:57 ` Jozsef Kadlecsik
2006-09-24 20:34   ` Ming-Ching Tiew
  -- strict thread matches above, loose matches on Subject: below --
2006-09-20  6:54 Ming-Ching Tiew

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox