Channel restriction based on connected server?!

These are old archives. They are kept for historic purposes only.
Post Reply
atdheu78
Posts: 6
Joined: Sat Jan 20, 2007 12:46 pm
Contact:

Channel restriction based on connected server?!

Post by atdheu78 » Tue Jun 12, 2007 10:23 pm

How can i restrict joining to an channel based on the server the user is connected on.

Example:

2 servers are linked.

irc1.bla.net
irc2.bla.net

On channel #bla are only users from irc1-bla.net allowd. But on channel #blub are users from both servers allowd.

How could i implement it?

Thanx for help!

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth » Tue Jun 12, 2007 10:39 pm

Why would you want this?

atdheu78
Posts: 6
Joined: Sat Jan 20, 2007 12:46 pm
Contact:

Re: Channel restriction based on connected server?!

Post by atdheu78 » Sat Aug 25, 2007 2:37 pm

hello,

because of this problem:

I want to link my server with the server of a fried. But i dont want that the users of the friends server join my channel! How could i do this?

best regards

Stealth
Head of Support
Posts: 2086
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Re: Channel restriction based on connected server?!

Post by Stealth » Sat Aug 25, 2007 8:17 pm

If you make it so only a certain server could join your channel, what's to keep users from the other server from switching servers to be able to join?

Other than that, a few suggestions:
+i and +I
+b and +e
Services "restricted channel" setting (ie: only people with access can join)
A bot to check each users server when they join

Oyarsa
Posts: 54
Joined: Wed Feb 14, 2007 12:35 pm
Location: irc.otherworlders.org
Contact:

Re: Channel restriction based on connected server?!

Post by Oyarsa » Sun Aug 26, 2007 5:56 pm

on other ircds this is done with local channels &channel instead of #channel. but local channels arent supported in unreal at this time ... dont think they will be either ... not much use for them

SNU
Posts: 19
Joined: Sun Aug 05, 2007 5:30 pm

Re: Channel restriction based on connected server?!

Post by SNU » Mon Aug 27, 2007 6:58 pm

hmm local channel wouldn't be bad.
I think of the main server where only my opers are able to join so the operchannel could be local there and it would give me a better feeling .D

SpaceDoG
Posts: 301
Joined: Mon Feb 27, 2006 5:44 am
Contact:

Re: Channel restriction based on connected server?!

Post by SpaceDoG » Mon Aug 27, 2007 7:03 pm

Set the channel to restricted/invite only. Give your users access to chanserv's invite command then when they connect they can just do /chanserv invite #channel. Unreal does not have a local channels feature at present.

Shining Phoenix
Posts: 21
Joined: Sun Dec 17, 2006 4:36 am

Re: Channel restriction based on connected server?!

Post by Shining Phoenix » Wed Aug 29, 2007 3:16 am

I prefer restricted and +R, so that when someone on the access list tries to join, they don't get banned if they haven't identified yet and don't need to use /cs invite.

SpaceDoG
Posts: 301
Joined: Mon Feb 27, 2006 5:44 am
Contact:

Re: Channel restriction based on connected server?!

Post by SpaceDoG » Wed Aug 29, 2007 1:23 pm

Shining Phoenix the only downfall with doing it that way is that everyone who is registered with ChanServ can join the room.

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Channel restriction based on connected server?!

Post by Jobe1986 » Wed Aug 29, 2007 3:47 pm

SpaceDoG wrote:Shining Phoenix the only downfall with doing it that way is that everyone who is registered with ChanServ can join the room.
And as he said "restricted AND +R" they would get kick/banned immediatly.
Your IP: Image

Smithsonian
Posts: 1
Joined: Wed Aug 29, 2007 9:26 pm

Re: Channel restriction based on connected server?!

Post by Smithsonian » Wed Aug 29, 2007 9:32 pm

Uses +b on the hidden host prefix?

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Channel restriction based on connected server?!

Post by Jobe1986 » Thu Aug 30, 2007 4:04 am

Smithsonian wrote:Uses +b on the hidden host prefix?
Scenario:
Channel on server A has ban on the hidden host prefix for server B
Server B doesnt have +x as a restricted user mode
User on server B tries to join channel on server A
User on server B sets mode -x
User on server B's host is no longer prefixed
User on server B can now join

Also not to mention I think the prefix needs to be the same net-wide. The cloak keys definatly do however.
Your IP: Image

NaBiL
Posts: 10
Joined: Tue Sep 04, 2007 6:07 am

Re: Channel restriction based on connected server?!

Post by NaBiL » Tue Sep 04, 2007 6:21 am

Hello Everybody & atdheu78.

Your wish is possible via the deny and allow channel. Let me explain :)

1. You have two servers as you stated namely : irc1.bla.net and irc2.bla.net and u wish that

2.
On channel #bla are only users from irc1-bla.net allowd. But on channel #blub are users from both servers allowd.
To do this go to the unrealircd.conf of the second server that you doesn't want users to enter #bla and put this code

Code: Select all

deny channel {
    channel "#bla";
    reason "Channel not allowed from this server !!! ";
};
And for the channel #blub, it may be accessible by both servers :)

Note:- I have registered myself here just to answer this question :) because i can see u didnt get a good response.

NaBiL
(If have questions about how to implement it, u may private message me :D)

Jobe1986
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: Channel restriction based on connected server?!

Post by Jobe1986 » Tue Sep 04, 2007 8:29 am

The problem as I read it was that he wants to have his server stop users on the OTHER server joining his channel, a deny channel would require the cooperation of the other server's admin. If the other admin refuses then deny channel is then ruled out.

Although, im not sure if the author of this thread still reads it but there is one method which is still included in Unreal as a feature but may not be forever.

User a channel name with the format #CHANNEL:SERVER.MASK eg: #test:alpha.domain.tld can only be joined by users connected to alpha.domain.tld.
Your IP: Image

Post Reply