block file sharing

These are old archives. They are kept for historic purposes only.
Locked
Pepper-Tech
Posts: 3
Joined: Fri Jul 30, 2004 7:50 pm
Location: British Columbia, Canada
Contact:

block file sharing

Post by Pepper-Tech » Mon Aug 16, 2004 3:58 pm

spamfilter {
regex "{mp3|mp4|m4a|ogg|zip|rar|ace|exe}";
target dcc;
action dccblock;
reason "Filesharing not allowed";
};

We're trying to block file sharing on our IRC server, what are we doing wrong??

aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight » Mon Aug 16, 2004 4:15 pm

First of all note that this could catch:

C:\unzip dump\someinfo.txt

try: \.{mp3|mp4|m4a|ogg|zip|rar|ace|exe}$

Pepper-Tech
Posts: 3
Joined: Fri Jul 30, 2004 7:50 pm
Location: British Columbia, Canada
Contact:

Post by Pepper-Tech » Mon Aug 16, 2004 4:26 pm

spamfilter {
regex "\.{mp3|mp4|m4a|ogg|zip|rar|ace|exe}$";
target dcc;
action dccblock;
reason "Filesharing not allowed";
};

Still not going. :S I know netadmins and IRCops are immune yet a java client should be blocked when a non-oper.

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Mon Aug 16, 2004 7:14 pm

Thats why there are deny DCC blocks:

Code: Select all

deny dcc { filename "*.mp3"; reason "File sharing is not permitted"; };
deny dcc { filename "*.mp4"; reason "File sharing is not permitted"; };
deny dcc { filename "*.m4a"; reason "File sharing is not permitted"; };
deny dcc { filename "*.ogg"; reason "File sharing is not permitted"; };
deny dcc { filename "*.zip"; reason "File sharing is not permitted"; };
deny dcc { filename "*.rar"; reason "File sharing is not permitted"; };
deny dcc { filename "*.ace"; reason "File sharing is not permitted"; };
deny dcc { filename "*.exe"; reason "File sharing is not permitted"; };
Don't use spamfilter for such basic things, especially when you cannot figure it out.

Locked