Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1] 2   Go Down

Author Topic: Connecting but possibly dropping  (Read 20150 times)

0 Members and 1 Guest are viewing this topic.

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Connecting but possibly dropping
« on: December 28, 2009, 03:07:53 PM »

Hello,

The log is telling me it's connected to the server (Connected to Server 1 (109.73.x.x:6667)) but it's not listed in /lists and i can't pm chanserv. Someone told me it might be connecting and then dropping. What could I have done to cause that?

Thanks
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #1 on: December 28, 2009, 03:16:45 PM »

Could be many things.

Run ./services -support (or anope.exe -support)

And show us the output from the logfile.
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #2 on: December 28, 2009, 03:29:01 PM »

Apparently I need to install extra software to copy an entire text file so here's the last section. If you need the whole thing i'll have to install it.

http://pastebin.com/m670f3ac9
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #3 on: December 28, 2009, 03:31:14 PM »

I think you've got your listen/link info incorrectly set.

Can you paste those sections from your insp and anope configs.
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #4 on: December 28, 2009, 03:55:27 PM »

services.conf - http://pastebin.com/m4e5e7afa
links.conf - http://pastebin.com/m5321c328

I've changed the password to 'password'. It's not actually 'password'.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #5 on: December 28, 2009, 03:57:09 PM »

And the bind stuff for 6667?
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #6 on: December 28, 2009, 04:24:15 PM »

Which bind stuff are you referring to? The links config file?
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #7 on: December 28, 2009, 04:26:26 PM »

I'm after the info configured for port 6667. (bind/listen tags).

I ask because you have two linkblocks in links.conf, the first for an ircd on 6667 telling it to use gnutls and the second for Anope.

If the gnutls one is accurate then anope won't link to 6667 if its being told to use gnutls (which would be odd as normal client connections would fail).

Clarification of your configs here would help.

Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #8 on: December 28, 2009, 04:30:16 PM »

Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #9 on: December 28, 2009, 04:37:13 PM »

That'd explain that, you're asking for SSL on connections inbound on 6667 which Anope won't support. (nor will irc clients that aren't expecting it either).

I'd suggest you turn that off on port 6667 and use a port such as 6697 for SSL.

Change the anope port to 7000 or 7001 which you have set up properly for servers. (you'll need to fix the linkblock and services.conf)
« Last Edit: December 28, 2009, 04:40:08 PM by Charles Kingsley »
Logged

Syloq

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Connecting but possibly dropping
« Reply #10 on: December 28, 2009, 04:37:40 PM »

It appears that you're having a server connect to a client port. You need to have a port that only servers connect to for this to work properly.
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #11 on: December 29, 2009, 02:08:10 PM »

Sorry to be dense, but the services log is telling me "FATAL: Can't connect to any servers: Connection refused". Have I made the correct changes?

services.conf - http://pastebin.com/m416fe07a
inspircd.conf - http://pastebin.com/m5f75c70d
links.conf - http://pastebin.com/md698e65
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #12 on: December 29, 2009, 02:11:33 PM »

Is m_spanningtree loaded on inspircd? (Looks like port 7000 isn't open)
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #13 on: December 29, 2009, 03:03:13 PM »

I enabled m_spanningtree and opened port 7000 but I get the same result.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #14 on: December 29, 2009, 03:05:41 PM »

Can you show us a debug log from anope please.

./services -support
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 303
    • LEthaLity
Re: Connecting but possibly dropping
« Reply #15 on: December 29, 2009, 03:08:34 PM »

dont forget to sort out that uline in links.conf
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #16 on: December 29, 2009, 03:28:31 PM »

http://pastebin.com/m647a4a23

I've fixed the uline.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #17 on: December 29, 2009, 03:41:37 PM »

From your shell try and telnet to 109.73.162.21 on port 7000 I don't think it's open.

Certainly not when I'm trying from here.
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #18 on: December 29, 2009, 09:23:19 PM »

It's open but I can't telnet it either. If I change this bind to 7000 or any other port I get access.

<bind address="109.73.162.21" port="6668" type="clients">

Even though I have this line I don't have access

<bind address="109.73.162.21" port="7000" type="servers">

The firewall definitely has ports 666 to 7001 open. But I can't access ports that aren't for clients, opposed to servers.
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 303
    • LEthaLity
Re: Connecting but possibly dropping
« Reply #19 on: December 29, 2009, 09:28:30 PM »

that really would suggest that m_spanningtree isnt loaded, as server binds dont work without it, i noticed your include in inspircd.conf was modules.conf.example, have you actually edited modules.conf, spanning tree is right at the bottom of it
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #20 on: December 29, 2009, 09:38:14 PM »

Yes that was it!

Now I get "
  • Unable to load m_spanningtree.so: Can't find transport type 'openssl' for port 109.73.162.21:6668 - maybe you forgot to load it BEFORE m_spanningtree in your config file?

"

Isn't this correct?

<bind address="109.73.162.21" port="6668" type="servers" transport="openssl">
Logged

LEthaLity

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 303
    • LEthaLity
Re: Connecting but possibly dropping
« Reply #21 on: December 29, 2009, 10:04:13 PM »

openssl is also in modules.conf : <module name="m_ssl_openssl.so"> it needs uncommenting.
It also requries you to re-run ./configure for inspircd and doing some extra stuff, for the sake of just getting services to run, i'd take out the transport part of your binds. Also Anope doesnt support ssl, in case you're connecting anope to an ssl port.
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #22 on: December 30, 2009, 02:33:20 PM »

I keep getting this even though the gnutls module isn't loaded and nothing is using it, not even hub.penguin.net. I've looked in the configs of links, modules, inspircd.conf, services.conf and hub.penguin.net doesn't even exist.

  • Unable to load m_spanningtree.so: Can't find transport type 'gnutls' for link 'hub.penguin.org' - maybe you forgot to load it BEFORE m_spanningtree in your config file? Skipping <link> tag completely.
Logged

Charles Kingsley

  • Contributor
  • *
  • Offline Offline
  • Posts: 1405
Re: Connecting but possibly dropping
« Reply #23 on: December 30, 2009, 02:34:15 PM »

It will exist, look for it.
Logged

pea

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Connecting but possibly dropping
« Reply #24 on: December 30, 2009, 03:08:37 PM »

Ok, I found another module I forgot to rename from .example. Now I get Connected to Server 1 (109.73.162.21:6668). I can't whois chanserv though.
Logged
Pages: [1] 2   Go Up