Hide map and links

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Locked
Gusman
Posts: 3
Joined: Tue Apr 03, 2018 7:50 am

Hide map and links

Post by Gusman » Sun Mar 22, 2020 4:10 am

Hello admin, I use the most recent Unreal5.xx
sorry I want to ask about the hide map module for commands /maps and commands /links
to hide the data from the user
because the command can be used by normal users now, you must know about this concern

DonTCry
Posts: 33
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: UnrealIRCd 5.0.0-alpha3 released

Post by DonTCry » Thu Mar 26, 2020 11:40 am


acidvegas
Posts: 7
Joined: Sat Feb 04, 2017 12:58 am
Location: Olympia, Greece
Contact:

Re: Hide map and links

Post by acidvegas » Sun May 10, 2020 2:42 pm

You do not have to use restrict-commands, there is a module for this built into unreal that (i believe is disabled by default)

Add this to your modules.conf file if it doesnt already exist, or uncomment it if it is commented"

Code: Select all

loadmodule "hideserver";
Then add this to your unrealircd.conf file:

Code: Select all

hideserver {
    disable-map yes;
    disable-links yes;
    map-deny-message "Denied";
    links-deny-message "Denied";
}
for more info check the documentation on it here: https://www.unrealircd.org/docs/Hideserver_block

also check see this:

Code: Select all

set::options::flat-map

Syntax: set::options::flat-map

If this is present, all servers will appear as directly linked in /map and /links, thus you can no longer see which server is linked to which. This is a little help against (D)DoS attacks because evil people now no longer can easily see the 'weak points'. 
Last edited by acidvegas on Sun May 10, 2020 3:14 pm, edited 1 time in total.

Lord255
Posts: 46
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Hide map and links

Post by Lord255 » Sun May 10, 2020 2:48 pm

hideserver gives more lines than it should give.
like you can set to hide all your servers, but the one which you are on will always be there. so /links will always work, but will give you the warning/msg that you are not allowed to see this.

use what dontcry suggested. :) restric-commands are easier and works like a charm.

Locked