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.";
};
Deny DCC
You could just alter dccallow.conf or copy the lines you need to the unrealircd.conf...
Something like
should do what you want.
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; };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
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
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; };
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; };