Page 1 of 1
Deny DCC
Posted: Tue Sep 07, 2004 9:53 am
by jailmann
Hello
Dukat says to me i need to star a new post for this so forget what i write in Deny DCC the other post
My problem is i use Unreal 3.2 and Anope 1.7.5
i want do so user only can send Zip or Rar files who to do that i have try to pust this in the Unrealircd.conf but still works for user
i have tried whit jpg
deny dcc {
filename "*.jpg";
reason "Picture files may not be exchanged on this server.";
};
Posted: Tue Sep 07, 2004 10:31 am
by Dukat
You could just alter dccallow.conf or copy the lines you need to the unrealircd.conf...
Something like
Code: Select all
/* first.. deny everything, then allow known-good stuff... */
deny dcc { filename "*"; reason "Not allowed content"; soft yes; };
/* The Two allowed Formats */
allow dcc { filename "*.zip"; soft yes; };
allow dcc { filename "*.rar"; soft yes; };
should do what you want.
Posted: Tue Sep 07, 2004 10:49 am
by jailmann
Hello
now i have put this in the unrealircd
/*
* NEW: deny dcc {}
* OLD: dccdeny.conf
* Use this to block dcc send's... stops
* viruses better.
* Syntax:
* deny dcc
* {
* filename "file to block (ie, *exe)";
* reason "reason";
* };
*/
/* first.. deny everything, then allow known-good stuff... */
deny dcc { filename "*"; reason "Not allowed content"; soft yes; };
/* The Two allowed Formats */
allow dcc { filename "*.zip"; soft yes; };
allow dcc { filename "*.rar"; soft yes; };
);
User can still send jpg or bmp and so on you say i could make a dccallow.conf but how do i load it in unrealircd
Posted: Tue Sep 07, 2004 10:56 am
by Dukat
You would have to "include dccallow.conf;", BUT
- are you sure you didn't already do this?
- are you always rehashing the server after editing the config file?
- are you trying to send as a NORMAL user, not as IRCop?
Posted: Tue Sep 07, 2004 11:03 am
by jailmann
Hello
I have not include dccallow.conf file
i upload the new Unrealircd.con and then /rehash and try again
i am logget in as normale user
Posted: Tue Sep 07, 2004 11:30 am
by jailmann
Hello
LOL sorry i rehash on the wrong server now it works

:)
Thx for the help
i use this line
in unrealircd
/* first.. deny everything, then allow known-good stuff... */
deny dcc { filename "*"; reason "Not allowed content"; soft YES; };
/* The Two allowed Formats */
allow dcc { filename "*.zip"; soft yes; };
allow dcc { filename "*.rar"; soft yes; };