Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Unreal and Anope Linking (Its a simple mistake, i just cant catch it)  (Read 5947 times)

0 Members and 1 Guest are viewing this topic.

riot

  • Anope User
  • Offline Offline
  • Posts: 1

Please note i am using the same server/IP for the services and ircd

DEBUG:
[Oct 08 06:04:18.489587 2008] debug: Received: :67.202.101.28 NOTICE AUTH :*** Looking up your hostname...
[Oct 08 06:04:18.490219 2008] debug: Received: :67.202.101.28 NOTICE AUTH :*** Couldn't resolve your hostname; using your IP address instead
[Oct 08 06:04:18.490735 2008] debug: Received: ERROR :Link denied (No matching link configuration) [@67.202.101.28.59956]
[Oct 08 06:04:18.490783 2008] debug: Link denied (No matching link configuration) [@67.202.101.28.59956]
[Oct 08 06:04:18.490829 2008] Error: Your IRCD's link block may not setup correctly, please check unrealircd.conf
[Oct 08 06:04:18.491390 2008] debug: Received: ERROR :Closing Link: [67.202.101.28] (Link denied (No matching link configuration))
[Oct 08 06:04:18.491441 2008] debug: Closing Link: [67.202.101.28] (Link denied (No matching link configuration))
[Oct 08 06:04:18.491483 2008] Error: Your IRCD's link block may not setup correctly, please check unrealircd.conf
[Oct 08 06:04:18.491578 2008] debug: Emitting event "db_saving" (1 args)
[Oct 08 06:04:18.491646 2008] [hs_request] Succesfully saved database
[Oct 08 06:04:18.491714 2008] debug: Saving FFF databases
[Oct 08 06:04:18.492773 2008] debug: Emitting event "db_saving" (1 args)
[Oct 08 06:04:18.492820 2008] debug: Emitting event "shutdown" (1 args)
[Oct 08 06:04:18.492863 2008] Read error from server: Broken pipe (error num: 32)
[Oct 08 06:04:18.492919 2008] debug: Sent: SQUIT services.localhost.net :Read error from server: Broken pipe (error num: 32)
[Oct 08 06:04:18.492965 2008] debug: firstuser() returning NULL (end of list)
[Oct 08 06:04:18.493007 2008] debug: Emitting event "shutdown" (1 args)


services.conf

RemoteServer    67.202.101.28 30 "password"
ServerName  "services.localhost.net"


unrealircd.conf

link                    services.localhost.net
{
        username        *;
        hostname        172.0.0.1;
        bind-ip         172.0.0.1;
        port            30;
        hub             *;
        password-connect "password";
        password-receive "password";
        class           servers;
};
« Last Edit: October 08, 2008, 11:54:41 PM by riot »
Logged

illusion

  • Anope User
  • Offline Offline
  • Posts: 5
Re: Unreal and Anope Linking (Its a simple mistake, i just cant catch it)
« Reply #1 on: October 08, 2008, 09:36:40 AM »

My services/server are on the same IP address, and it works fine.

You'll need to change your hostname, and bind-ip in unrealircd.conf from 172.0.0.1 to 67.202.101.28
Logged

T-rexke

  • Guest
Re: Unreal and Anope Linking (Its a simple mistake, i just cant catch it)
« Reply #2 on: October 08, 2008, 12:23:37 PM »

or name your remoteserver for your services to 127.0.0.1 thats fine to
Logged

deiks

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 139
  • Shizle my nizle
Re: Unreal and Anope Linking (Its a simple mistake, i just cant catch it)
« Reply #3 on: October 08, 2008, 07:33:02 PM »

also check link password :]
Logged

Master

  • Anope User
  • Offline Offline
  • Posts: 56
Re: Unreal and Anope Linking (Its a simple mistake, i just cant catch it)
« Reply #4 on: October 10, 2008, 03:19:45 PM »

Erm...


I noticed you used port 30. Anope cannot bind to ports below 1024 because you're not supposed to be running as root...unless you changed the port when you pasted it for security reasons...
Logged
Always believe Murphy's Law. If you don't, watch what happens.

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
Re: Unreal and Anope Linking (Its a simple mistake, i just cant catch it)
« Reply #5 on: October 10, 2008, 03:47:15 PM »

Erm...


I noticed you used port 30. Anope cannot bind to ports below 1024 because you're not supposed to be running as root...unless you changed the port when you pasted it for security reasons...

Unless you specify the LocalAddress param, Anope doesnt bind to ANY port anyway (well it picks a random port way above 1024 so isnt a problem)

But on that note, last I checked, UnrealIRCd won't even run as root, thus can't bind to port 30 anyway.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up