LinuxQuestions.org
Visit Jeremy's Blog.
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 05-17-2007, 03:28 AM   #1
saifurab
Member
 
Registered: Mar 2007
Posts: 30

Rep: Reputation: 15
Audio/Video restriction through IPtables


Dear Experts,

My network users use lots of streaming websites like youtube.com, video.google.com, rapidshare.com etc.

Please help me, how can i stop streaming (Audio/Video) clips through iptables without restricting these websites

REgards
Saif ur Rab
 
Old 05-17-2007, 01:19 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
the only way this would be feasible with vanilla iptables is if all those videos were streamed from some fixed port/range (or some other characteristic you could match)... i just did a quick netstat while watching a video on youtube and it seemed to me it was getting streamed via port 80 (HTTP) on the server... =/

the optimal way to filter this is with a proxy server... you could set it to, for example, deny access to any URLs that contain flash video/animation extensions (.swf, etc.)... in squid (the most popular proxy server for linux) this is easily done using ACLs (look into the urlpath_regex one)...

http://www.visolve.com/squid/squid24...ntrols.php#acl

Last edited by win32sux; 05-17-2007 at 01:24 PM.
 
  


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
Video Playback-speeded up audio & video howone SUSE / openSUSE 1 10-20-2005 01:24 AM
audio and video arunswarup Linux - General 2 10-14-2005 06:26 PM
Audio and Video Out aeuzent Linux - Hardware 3 05-21-2005 03:49 AM
Audio and Video in same program arthurzap Linux - Software 1 07-16-2003 01:10 PM
IPTables + MSN Audio Conferencing marmalade Linux - Networking 0 07-08-2003 08:56 PM

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

All times are GMT -5. The time now is 11:22 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