On Thu, 5 May 2011, tingwei liu wrote: > On Tue, May 3, 2011 at 5:08 PM, tingwei liu <tingw.liu@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx 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