netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* iptables domain match
@ 2011-05-03  9:08 tingwei liu
  2011-05-05  3:44 ` tingwei liu
  0 siblings, 1 reply; 3+ messages in thread
From: tingwei liu @ 2011-05-03  9:08 UTC (permalink / raw)
  To: netfilter-devel

I have written a netfilter match called domain.
Such as: iptables -A OUTPUT -m domain --domain ".google.com" -j DROP
                     Then it will drop the dns query which domain like
"www.google.com,news.google.com,mail.google.com,..."
              iptables -I OUTPUT -m domain --domain "map.google.com" -j ACCEPT
                     Then it will accept the dns query which domain is
"map.google.com".
I known this match is trival,but I want to know how to submit this patch.

Thanks for any response.

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

end of thread, other threads:[~2011-05-05  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-03  9:08 iptables domain match tingwei liu
2011-05-05  3:44 ` tingwei liu
2011-05-05  5:15   ` Jozsef Kadlecsik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).