Linking via IRC

These are old archives. They are kept for historic purposes only.
Post Reply
XeKToReX

Linking via IRC

Post by XeKToReX »

Hi,

i was just wondering what the command and syntax is to add a link via the ircd, i dont have access to the shell account to modify the unrealircd.conf.


Thanks,

XeKToReX
crazytoon
Posts: 20
Joined: Thu Jul 15, 2004 11:27 am
Location: Germany
Contact:

Post by crazytoon »

well this can be ugly :) ( I've never added a Link block from IRC ;P)

First you need "can_addline" Operflag to have access to /addline command :)

then you can add something like this :


/addline link server.blah.tld { username *; hostname ip/host_here; bind-ip *; port link_port_here; hub *; //compression-level num_here_only_with_zip_option; password-connect "pass"; password-receive "pass"; class servers; options { //zip; //autoconnect; //ssl; }; };

and /rehash (things with // in front are uncommented) (and I really don't know its work or not ;o )
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

yeah you could use addline, but that of course requires that the ircd itself can write to the conf (maybe the admin is that überparanoid and did chmod 400 on the .conf?)

but then it'd be really fun for someone with that flag to do /addline include "/dev/random"; :P
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

aquanight wrote:but then it'd be really fun for someone with that flag to do /addline include "/dev/random"; :P
Actually not, leastwise on Linux systems, because:

Code: Select all

[angrywolf@localhost Unreal3.2]$ stat /dev/random
  File: `/dev/random'
  Size: 0               Blocks: 0          IO Block: 4096   character special file
(...)
As you can see, /dev/random is 0 bytes long, and Unreal fails to load files with such size (that is, empty files):
*** Notice -- Loading IRCd configuration ..
*** Notice -- error: Could not load config file /dev/random
*** Notice -- error: IRCd configuration failed to load
Winbots
Posts: 65
Joined: Wed Apr 21, 2004 12:26 am
Location: irc://irc.winbots.org/Winbots
Contact:

Post by Winbots »

[quote=aquanight]
but then it'd be really fun for someone with that flag to do /addline include "/dev/random"; [/quote]
but then again, the ircd adds //added by nick!ident@host before each line added via /addline... so the admin could find out and remove the oline :P
Post Reply