Page 1 of 1

Disconnect Link without restarting server

Posted: Sat May 14, 2005 4:22 pm
by Gaudeamus
I would like to temporarily disconnect a remote leaf from my hub but i do not wish to restart my hub (which is local). Could not find any command that is the opposite of /connect and have tried some commands I think would be like it and could not figure it out.

Posted: Sat May 14, 2005 4:33 pm
by Gaudeamus
Also need a command to remove all glines, made a script for an oper who seems to never be active online anymore and it looks like he configured it wrong and it's glining TONS of hosts that are connecting, wish to disconnect his server from my hub and remove all the glines since all of them have been made with my script.

Posted: Sat May 14, 2005 5:36 pm
by mexx3k
Gaudeamus wrote:I would like to temporarily disconnect a remote leaf from my hub but i do not wish to restart my hub (which is local).
try on the hub:

Code: Select all

/squit leaf.net.tld
Gaudeamus wrote:Also need a command to remove all glines
check the module "rm_tkl", could be by angrywolf ...

Posted: Sat May 14, 2005 10:27 pm
by Winbots

Code: Select all

#ungline_wild off 
raw 223:*G*:{ 
   if (%ungline_wc iswm $3-) { gline - $+ $3 } 
} 
raw 219:*:{  
  disable #ungline_wild | unset %ungline_wc  
} 
#ungline_wild end 
alias ungline_wild
  set %ungline_wc $1- | enable #ungline_wild | stats g  
}
that should do what ya want... just /ungline_wild *wild*card*here... or just to ungline everyone, /ungline_wild *

Posted: Sun May 15, 2005 12:47 am
by Gaudeamus
The /squit works great, but the script doesn't. It neither removes any glines or shows stats g, but i get no unknown command errors so it's loaded right, thanks for the help and i'm looking for the rm_tkl for win32 3.2.3....

Posted: Sun May 15, 2005 1:10 am
by aquanight

Posted: Sun May 15, 2005 2:44 pm
by Jason
Did you read the help for rm_tkl? /rmtkl G * to remove all glines

Posted: Mon May 16, 2005 1:39 am
by Winbots

Code: Select all

#ungline_wild off 
raw 223:*G*:{ 
   if (%ungline_wc iswm $3-) { gline - $+ $3 } 
} 
raw 219:*:{  
  disable #ungline_wild | unset %ungline_wc  
} 
#ungline_wild end 
alias ungline_wild {
  set %ungline_wc $1- | enable #ungline_wild | stats g  
}
oops :oops: ya kinda need the "{" after the alias ungline_wild

Posted: Mon May 16, 2005 2:11 pm
by Matridom
I guess i'm lazy. I use neostats to report a lot of the server information. then wrote a web interface(php with a socket connection) to remove bans based on that information.

Posted: Mon May 16, 2005 11:06 pm
by Gaudeamus
that's really nice, would you be willing to share the php code?

Posted: Tue May 17, 2005 1:30 pm
by Matridom
Gaudeamus wrote:that's really nice, would you be willing to share the php code?
it's messy, but i don't mind sharing. I can get up late tonight sometime.

Posted: Fri May 20, 2005 4:07 pm
by Gaudeamus
Kewl, i'll be home tomorrow

Posted: Fri May 20, 2005 4:13 pm
by Matridom
Gaudeamus wrote:Kewl, i'll be home tomorrow
I posted it here.

http://forums.unrealircd.com/viewtopic.php?t=1996

Posted: Fri May 20, 2005 4:30 pm
by Gaudeamus
Got it, thanks