Page 1 of 1

Raising connections per ip, via command

Posted: Sun Jul 26, 2020 2:45 pm
by ComputerTech
Hey all, so if i add a eline to a ip address, i realise it can let as many connections via that ip, but can you raise the limit, (eg, default 3 connections per ip) can i raise this via command on unrealircd like anope?

Re: Raising connections per ip, via command

Posted: Sun Jul 26, 2020 3:52 pm
by Syzop
Right, you mean an ELINE with type 'm' (paste from HELPOP ELINE):

Code: Select all

Syntax:  ELINE <user@host> <bantypes> <expire-time> <reason> (Adds an E-Line)
[..]
Valid <bantypes> are:
     m   |    maxperip   | Bypass allow::maxperip restriction
So something like: /ELINE *@1.2.3.4 m 0 No IP limit for this host.
This will bypass the limit completely, allowing an unlimited number of connections. It should only be used for really trusted IP addresses. There is no way via ELINE to set a specific limit.

If you want to bump the limit for some IP to a specific limit, for example you have a generic limit of 3 per IP and you want to raise it to 10 for a specific IP address, then you have to use an allow { } block, specifically for that IP. See the example at the very end of that allow { } block page, it will show you how to do this.

And, this was not your question, but: maybe you have multiple servers and find it a pain to keep some configuration settings the same on all? Then you should know we have a feature called remote includes which makes configuration file management a lot easier. Basically you put all settings that should be the same on all servers in one or more separate files that are served from a webserver, and then in UnrealIRCd you use include with an https url to fetch it, from all servers.

Re: Raising connections per ip, via command

Posted: Sun Jul 26, 2020 10:28 pm
by ComputerTech
Yeah!! that was my problem, too many servers to add the block, and thanks a lot again Syzop, your direct answers is always appreciated :D :D

Re: Raising connections per ip, via command

Posted: Sun Jul 26, 2020 11:11 pm
by ComputerTech
hmm, does it have to be a http page to use remote include?

or can it simply use the vps/shell's address?

Re: Raising connections per ip, via command

Posted: Mon Jul 27, 2020 11:09 am
by Lord255
what kind of question is that?:D
i don't really understand.

you need a web server so serve the configs. it doesn't matter if you call it via domain or ip, http or https protocol..