Klines gone...
Klines gone...
I'm still a beginner....
But after restarting the server (it doesn't happen much) all my klines are gone.
Can someone tell if that's also the case with glines etc.
Thank you much foor any help here...
greetz,
KinG
But after restarting the server (it doesn't happen much) all my klines are gone.
Can someone tell if that's also the case with glines etc.
Thank you much foor any help here...
greetz,
KinG
klines are stored in memory, restarting the server will cause you to loose them all.
Yes it's the same with glines and other server side bans.
however, with glines, since they are network, the server will re-import them from a linked server if it's still live (I use this when i upgrade the two servers to keep my gline list)
shut down one server, upgrade it. Link it to the existing server (glines/spamfilters carry over) shut down the second, then restart it, it will then re-aquire the glines.
Klines are local, so they won't carry over in this manner.
http://www.unrealircd.com/index.php?pag ... es&mod=cat
look at the modules m_tkl_export and m_tkl_import
This will allow you to back up the klines before a restart, then reimport them after the restart
Yes it's the same with glines and other server side bans.
however, with glines, since they are network, the server will re-import them from a linked server if it's still live (I use this when i upgrade the two servers to keep my gline list)
shut down one server, upgrade it. Link it to the existing server (glines/spamfilters carry over) shut down the second, then restart it, it will then re-aquire the glines.
Klines are local, so they won't carry over in this manner.
http://www.unrealircd.com/index.php?pag ... es&mod=cat
look at the modules m_tkl_export and m_tkl_import
This will allow you to back up the klines before a restart, then reimport them after the restart
Never argue with an idiot. They will bring you down to their level, then beat you with experience.
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
K:Lines are kept in memory because memory is fastest. If they were kept in a file, it would take more HDD space, constantly need to read the file, and be much slower. They are not kept when the server restarts, because there is no reason to. Like Matridom said, use those 2 modules to keep them, or use 2 servers and G:Lines.
They *can* be (see.. is it ban user { }?), but for most this wouldn't be a good thing, it'd be too slow.
Either use glines, or add them to your conf, or get a module to export them to a file, and re-import them (I think AngryWolf did one, although I'm not sure how well it'll cope since last I heard some of those modules had issues, and I've not used it myself.)
Either use glines, or add them to your conf, or get a module to export them to a file, and re-import them (I think AngryWolf did one, although I'm not sure how well it'll cope since last I heard some of those modules had issues, and I've not used it myself.)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Uhm, point taken.
And let's not forget the bad old days when klines were cleared on /rehash
And let's not forget the bad old days when klines were cleared on /rehash
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Yup, this is exactly why exporting *lines to file isn't really needed - there are enough ways to have persistant bans (for kline == ban user{}@conf, zline == ban ip{}@conf, gline == /os akill, gzline == /os szline (or whatever - or akill if it's not available), nickbans == /os sqline or ban nick{}@conf, etc...). Unfortunately conffile bans don't expire so you'd really only use those for permanent bans ;) .
Ok...thanks for the answers.....Matridom wrote:klines are stored in memory, restarting the server will cause you to loose them all.
Yes it's the same with glines and other server side bans.
however, with glines, since they are network, the server will re-import them from a linked server if it's still live (I use this when i upgrade the two servers to keep my gline list)
shut down one server, upgrade it. Link it to the existing server (glines/spamfilters carry over) shut down the second, then restart it, it will then re-aquire the glines.
Klines are local, so they won't carry over in this manner.
http://www.unrealircd.com/index.php?pag ... es&mod=cat
look at the modules m_tkl_export and m_tkl_import
This will allow you to back up the klines before a restart, then reimport them after the restart
I will take a look at the mods...
KinG
Ok...thanks..it's working...
One last question....
I've put all network admins, serveradmins servicesadmins in the except ban list (eline).
When adding a gline on my own connection it stil bans me or the toher netadmin and services admins etc.
I'm guessing that the except ban list is only working for the kline?
How can i configure the unrealird.config with a except banlist for glines?
thanks....
KinG
One last question....
I've put all network admins, serveradmins servicesadmins in the except ban list (eline).
When adding a gline on my own connection it stil bans me or the toher netadmin and services admins etc.
I'm guessing that the except ban list is only working for the kline?
How can i configure the unrealird.config with a except banlist for glines?
thanks....
KinG