Addline !!

These are old archives. They are kept for historic purposes only.
Post Reply
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Addline !!

Post by GouroB »

ok in 3.2.3 , oper flag " X " needs to be added to have addline access . My question is if i give this access to a oper , can he add a oper block with it ?
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Yes, the oper will be able to add anything (s)he wants (that's why it's moved to a seperate flag and will ultimately be removed).
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

Yes, the oper will be able to add anything (s)he wants
ok then what would (s)he needs to add to add a oper block ? i mean the whole thing we use in config file ? like add all these lines one by one ?
/addline oper maga {
/addline class clients;
/addline from {
/addline userhost *@*;
/addline };
/addline password "******************";
/addline flags "OarhwgcLkKbBZtnGCHvY";
/addline snomask frebWqFvckjGns;
/addline };
or what else ?
and will ultimately be removed).
didnt get ur this point ... if it will get removed ultimately why would a oper will add it .
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

ok then what would (s)he needs to add to add a oper block ?
sorry I'm not gonna help you with that, I presume someone else will, I just completely hate the command and discourage anyone to use it.
didnt get ur this point ... if it will get removed ultimately why would a oper will add it .
I meant that the command will ultimately be removed.
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

addline is a terrible command and i agree should have been removed a long time ago! :)
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

ok both of u hates it but is there any one who knows the cmd and can give me plz ?
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Dukat
Posts: 1083
Joined: Tue Mar 16, 2004 5:44 pm
Location: Switzerland

Post by Dukat »

It is possible to write an oper block all on one line, you don't have to add newlines.

But you really really really shouldn't use addline, it's evil.
GouroB
Posts: 182
Joined: Thu Oct 28, 2004 7:42 pm
Location: London
Contact:

Post by GouroB »

It is possible to write an oper block all on one line, you don't have to add newlines.
this is what i am asking :D
But you really really really shouldn't use addline, it's evil.
ok i wont use it but just to know how ....
-=GouroB=-
https://www.shunno.info
Your complete web Solution
Irc.BanglaCafe.com
LargesT Chat server in BanglaDesH
Jason
Posts: 570
Joined: Mon Jun 14, 2004 5:09 pm

Post by Jason »

How to do it on one line?
Simply remove the linebreaks, the format of the oper block doesnt change.

The command should be removed?
HECK YEAH!

I have seen servers attacked very well when hackers spoofed a oper (no they dont need any access at all) and added netadmin oper blocks for themselves. They then glined everyone on the net.
Before this operflag, I did the extra work of removing the addline module.
Why the hell can't my signature be empty?
"Your message contains too few characters."
Mr_S
Posts: 70
Joined: Sat Jun 26, 2004 7:44 pm
Location: United Kingdom
Contact:

Post by Mr_S »

Quick query then,

If its so discouraged, why was it put there in the 1st place?? and why not removed a version or 2 later? or even on 3.2.3?

not whinging - jus curious :)
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

why was it put there in the 1st place?
that was before I joined.. And then there are several other examples as well, such as the *** +W umode which we all hate :P.

Why it is still there.. I don't know. IIRC I wanted to completely remove it but got hit by some resistance, so then I just made it an operflag... if you use it and get screwed, then it's your fault :P.

Anyway, it will be removed in 3.3* ;)
We tend to cleanup a lot more when working on a major release, during regular stable development we usually just fix bugs and add new features and don't really think that much about removing certain stuff, reorganising things more clearly, etc.
Ron2K

Post by Ron2K »

Well, I'd vote against. In my opinion, it's too dangerous a command to have in an IRCd.
DeadNotBuried
Posts: 44
Joined: Wed Mar 10, 2004 5:30 am
Location: irc.majestic-liaisons.com
Contact:

Post by DeadNotBuried »

i agree, get rid of it, it's too much of a security risk
Majestic Liaisons Adult Chat - [url=irc://irc.majestic-liaisons.com:6667]IRC[/url] , Java
Syzop
UnrealIRCd head coder
Posts: 2112
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post by Syzop »

Yeah, we already decided too.
Syzop: I think that the most right way to decide what to remove would be ask the users for them to vote as you did it about /helpop
I told a similar story to someone else on the bugtracker a month ago or so, but it seems worth to repeat here:

We only do that in case we have doubts about anything, in this case (and many others) we both say "that should be removed" or "we'll change that" and thus don't need to ask anyone anything.. We are not like california with all it's referendums etc ;P. Quite to the contrary.. which is a good thing IMO ("overdemocracy" would lead to a severely bloated ircd).
Post Reply