Linux Netfilter discussions
 help / color / mirror / Atom feed
From: "Leonardo Rodrigues Magalhães" <leolistas@solutti.com.br>
To: netfilter@lists.netfilter.org
Subject: Re: How to block only MX query made to DNS server
Date: Tue, 30 Nov 2004 08:46:22 -0300	[thread overview]
Message-ID: <000c01c4d6d2$3756ad00$8b00000a@casa> (raw)
In-Reply-To: OF477B7587.3D58856F-ON65256F5C.00384B89@pricol.co.in


    Dont forget that this rule will block ANY type of resolutions for 
domains that contains MX in their names, just like 'flashmx.com' for 
example.

    I think you should get some tcpdump's and get the exactly HEX dump of 
the MX query type and use with --string --hex-string instead of using simple 
string rules.


    Sincerily,
    Leonardo Rodrigues

----- Original Message ----- 
From: <hclfm@pricol.co.in>
To: "pravin rane" <pgr_80@yahoo.com>
Cc: <netfilter@lists.netfilter.org>
Sent: Tuesday, November 30, 2004 7:36 AM
Subject: RE: How to block only MX query made to DNS server


>
>>>I tried to run following command
>
>>># iptables -t filter -A INPUT -p udp --dport 53 -m
> string --string "MX" -j DROP
>
>>>But I am getting Error like
>
>>>iptables v1.2.8: Couldn't load match
>>>`string':/lib/iptables/libipt_string.so: cannot open
>>>shared object file: No such file or directory
>
>>>:-( Do I need to upgrade my iptables RPM
>
> Yes. Or rebuild kernel with strings modules support and compile iptables
> userspace
> again if necessary. Sorry for top posting in my previous reply.



  reply	other threads:[~2004-11-30 11:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-30 10:36 How to block only MX query made to DNS server hclfm
2004-11-30 11:46 ` Leonardo Rodrigues Magalhães [this message]
2004-11-30 11:50 ` pravin rane
     [not found] <OFF16F8905.C3905D39-ON65256F5C.002D9EA6@pricol.co.in>
2004-11-30  8:53 ` pravin rane
2004-11-30 12:35   ` a.ledvinka
  -- strict thread matches above, loose matches on Subject: below --
2004-11-29 18:27 Hudson Delbert J Contr 61 CS/SCBN
2004-11-30  7:26 ` pravin rane
2004-11-30 13:17   ` Jason Opperisano
2004-11-30 14:28     ` Jason Opperisano
2004-11-27 21:23 Daniel Chemko
2004-11-28  4:17 ` pravin rane
2004-11-28  6:21   ` Jason Opperisano
2004-11-27  9:51 pravin rane
2004-11-28  7:40 ` Tom Marshall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000c01c4d6d2$3756ad00$8b00000a@casa' \
    --to=leolistas@solutti.com.br \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox