Disconnected and oper ?

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

bekeme
Posts: 14
Joined: Mon Nov 01, 2021 8:44 pm

Disconnected and oper ?

Post by bekeme »

Hi,

The server does not work every time unless you enter the site by ssh Server running
And when you get out of The server stops and goes out of service Disconnected ؟ What's the solution

The following error message appears OperServ- Access denied.
-
Use the following
CentOS v7.9.2009
unrealircd-5.2.2
anope-2.0.10

thanks for the support
Lord255
Posts: 86
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Disconnected and oper ?

Post by Lord255 »

i just really cant connect the first and the second part of your "problem".

"OperServ- Access denied." means you dont have oper block for services; you didnt log in?

first part refers for i dont know.. not sure about your "real" question here.
bekeme
Posts: 14
Joined: Mon Nov 01, 2021 8:44 pm

Re: Disconnected and oper ?

Post by bekeme »

The first question is that the server does not work every time I log in to the IRC until after entering the site via
ssh And run the server if the currency out of the site by ssh
Server shuts down automatically, can't log in, doesn't work
Unable to connect to server (Connection refused)
Lord255
Posts: 86
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Disconnected and oper ?

Post by Lord255 »

well, how do you start unrealircd? do you have any firewall rules on? never heard such "issue".
the only thing i can imagine, that you don't start unrealircd as a daemon so whenever you quit from your shell (ssh), it just kills the started process.
bekeme
Posts: 14
Joined: Mon Nov 01, 2021 8:44 pm

Re: Disconnected and oper ?

Post by bekeme »

Lord255
Thank you for the support
Already after removing ImunifyAV
Things are back to normal
I will search for a topic operserv
Thanks
Lord255
Posts: 86
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Disconnected and oper ?

Post by Lord255 »

nice. so solution has been found.
(in case you would share the cause and the solution in one piece, others could just learn from it. :))
------
for operserv issue (not part of unreal, but oh well. :)):

you have to make sure about the followings:
1, connect to server
2, identify for your nick
3, oper up on ircd side
4, oper up on anope side (/os login <pw>)

hints: https://github.com/anope/anope/blob/aa0 ... #L894-L920
good luck :)
bekeme
Posts: 14
Joined: Mon Nov 01, 2021 8:44 pm

Re: Disconnected and oper ?

Post by bekeme »

Hi,
ou need to use a secure connection (SSL/TLS) in order to /OPER.

https://www.unrealircd.org/docs/Using_L ... UnrealIRCd

Where can I find fullchain.pem and privkey.pem


I have a certified certificate on the site
thanks for the help
Lord255
Posts: 86
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Disconnected and oper ?

Post by Lord255 »

\o
well. since this is your first, i wouldn't try to use let's encrypt's certificate yet.
when you install unrealircd, it does generate the needed self signed certs.
files should be in ~/unrealircd/conf/tls
server.req.pem
server.cert.pem
server.key.pem

see docs here: https://www.unrealircd.org/docs/SSL/TLS
https://www.unrealircd.org/docs/Set_blo ... ertificate

with these, you should be able to connect to your ircd on port 6697 (thats the default tls port) and oper up :)
no need to mess around with let's encrypt yet.
bekeme
Posts: 14
Joined: Mon Nov 01, 2021 8:44 pm

Re: Disconnected and oper ?

Post by bekeme »

when using port 6697
It gives this message
ERROR NON-SSL command received on SSL-only port. Check your connection settings.
[10053] Software caused connection abort

Is it server error? Software

/connect -tls name.of.server 6697
Does it have an extension in the configuration file?
Thank you for your help
DonTCry
Posts: 44
Joined: Mon Feb 06, 2012 6:01 pm
Contact:

Re: Disconnected and oper ?

Post by DonTCry »

try servername:+6697
Lord255
Posts: 86
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Disconnected and oper ?

Post by Lord255 »

yeah. its a software error. :)
try what dontcry said.
(tls ports are usually have to be marked with "+"; so in this case +6697. :))
bekeme
Posts: 14
Joined: Mon Nov 01, 2021 8:44 pm

Re: Disconnected and oper ?

Post by bekeme »

I've tried this method before
This message appears
Unable to connect to server (SSL wrong version number)
thank you DonTCry and Lord255
Lord255
Posts: 86
Joined: Sat Feb 29, 2020 12:58 am
Location: offline

Re: Disconnected and oper ?

Post by Lord255 »

hello.
sorry, that i link you soo many documents, but i do think it's good for you if you read what are you setting and why. :)

https://www.unrealircd.org/docs/TLS_Cip ... _protocols
here you can see two settings:
set::tls::protocols
set::tls::ciphers
( maybe 3rd set::tls::ciphersuites )

in your case, i would set these to basic (enable all of them) and see if it's working or not.
( main set block info: https://www.unrealircd.org/docs/Set_block )
bekeme
Posts: 14
Joined: Mon Nov 01, 2021 8:44 pm

Re: Disconnected and oper ?

Post by bekeme »

Using STS secure port +6697
Syzop
UnrealIRCd head coder
Posts: 1995
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: Disconnected and oper ?

Post by Syzop »

Hmm... "Unable to connect to server (SSL wrong version number)"?
That's strange and usually means you use an IRC client that is outdated, like 5+ years or even 10+ years old.
What client (name and version) do you use?
Post Reply