* 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
* Re: iptables domain match
2011-05-03 9:08 iptables domain match tingwei liu
@ 2011-05-05 3:44 ` tingwei liu
2011-05-05 5:15 ` Jozsef Kadlecsik
0 siblings, 1 reply; 3+ messages in thread
From: tingwei liu @ 2011-05-05 3:44 UTC (permalink / raw)
To: netfilter-devel
On Tue, May 3, 2011 at 5:08 PM, tingwei liu <tingw.liu@gmail.com> wrote:
> 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.
>
怎么没人回复啊?
那就用汉语问一下,问题同上。
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: iptables domain match
2011-05-05 3:44 ` tingwei liu
@ 2011-05-05 5:15 ` Jozsef Kadlecsik
0 siblings, 0 replies; 3+ messages in thread
From: Jozsef Kadlecsik @ 2011-05-05 5:15 UTC (permalink / raw)
To: tingwei liu; +Cc: netfilter-devel
[-- Attachment #1: Type: TEXT/PLAIN, Size: 1088 bytes --]
On Thu, 5 May 2011, tingwei liu wrote:
> On Tue, May 3, 2011 at 5:08 PM, tingwei liu <tingw.liu@gmail.com> wrote:
> > 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.
> >
> ????????
Send the patch to netfilter-devel, that's all. If it's not large, the best
form is inlined and not attached.
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ 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).