LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-08-2014, 08:54 AM   #16
NewLegend
LQ Newbie
 
Registered: Oct 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by voleg View Post
Thanks for your update, but what I looking now is different totally.

Just I looking on any way to convert domain-string to hex.

Thanks ,,,,
 
Old 05-09-2014, 05:43 AM   #17
gknetw
LQ Newbie
 
Registered: Mar 2012
Posts: 6

Rep: Reputation: Disabled
Quote:
iptables --insert INPUT -p udp --dport 53 -m string --from 34 --to 80 --algo bm --hex-string '|696e6e6f76616465782e636f6d|' -j DROP -m comment --comment "DROP DNS Q innovadex.com"

--from 34 to 80 has 46 bytes comparison but your string has only 13 byte data, can you change the --from to values and check.

In the meantime post "packet capture" along with ip tables rule you used for filtering.

-Ganesh
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it necessary to drop specific flags in IPTABLES with an INPUT DROP policy? rootaccess Linux - Networking 5 08-22-2012 08:10 PM
DNS Resolving kaitech76 Linux - Networking 14 04-08-2009 02:59 PM
iptables - drop all -> allow needed OR allow all -> drop specific lucastic Linux - Security 5 12-21-2004 02:07 AM
DNS Resolving sarukie Linux - Networking 1 11-22-2004 10:41 AM
/etc/hosts resolving before DNS resolving ? markraem Linux - Networking 4 11-02-2003 04:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration