LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 05-27-2009, 05:13 AM   #1
priyadarshan
Member
 
Registered: Feb 2009
Location: Ahmedabad, Gujarat, India
Posts: 133
Thanked: 1
Question Yahoo Messenger Blocking/Unblocking through IPTables


[Log in to get rid of this advertisement]
We have Linux Box working as Gateway .... Now I want to block some users from using yahoo/msn/aol messenger and I also want to give access of so to some users........

Now what I wanna know is how to do so using SOLE IPTables.......???
priyadarshan is offline     Reply With Quote
Old 05-28-2009, 12:02 AM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,434
Thanked: 24
The answer is: yes and no.

Yes: you can accomplish this with iptables using the l7-filter module. Then institute matches to your layer-7 protocols with iptables rules, and drop packets originating from selected IP addresses or other criteria.

No: you probably shouldn’t as l7-filter was designed to let you throttle such traffic, not drop it. There are always false positives, so legitimate traffic may be dropped. Besides, it is not really a security measure since anyone with half a brain will be able to bypass it.
osor is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Blocking Yahoo messenger aq_mishu Linux - Networking 8 12-18-2006 07:52 AM
blocking yahoo messenger jitheshmurali Linux - Security 2 05-14-2006 04:34 AM
using squid -blocking yahoo messenger gadekishore Linux - Software 1 10-19-2005 07:53 AM
blocking yahoo messenger with iptables mardanian Linux - Networking 5 04-24-2004 03:32 PM
blocking yahoo messenger with iptables linuxboy_inside Linux - Security 3 01-20-2004 10:12 PM


All times are GMT -5. The time now is 09:56 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration