LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 08-11-2003, 02:12 PM   #1
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
Iptables and logging networks by domain name.


Hey,
I'm trying to log a host who I blocked before, but the user has a dynamic address. So lets say they are on the network xxx.com, how would I do a block similar to this:

*.xxx.com

I ask, because the IP of the user is different than xxx.com (of course,) I have tried *.xxx.com, and I get errors:

iptables -A INPUT -s *.xxx.com -j LOG

gives me and error saying it can't recognize the source address. I know I am missing something foolish, but it isn't coming to mind.

Thanks.
Mike.
 
Old 08-12-2003, 05:48 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Look up and block their network address range.
 
  


Reply



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
Need Help w/ logging into win domain (almost there) jrmontg Red Hat 3 11-04-2005 08:35 AM
logging to nt domain hyalevel Linux - Networking 4 04-13-2005 08:32 PM
Working IPTABLES STRONG firewall for TWO internal networks kennedy01 Linux - Wireless Networking 3 08-24-2004 11:10 PM
logging linux onto a windows domain dicom Linux - Networking 1 10-30-2003 12:38 AM
Logging to windows Domain PDC rsekhar03 Linux - General 1 04-25-2003 02:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:33 PM.

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