View previous topic :: View next topic |
Author |
Message |
Master One l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/992238945413080ce122fc.gif)
Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Thu Apr 21, 2005 6:53 pm Post subject: [IRC] Couldn't look up your hostname |
|
|
I just tried to use IRC the very first time, but I can not connect to any IRC server due to the above mentioned error message.
This is what I did so far:
On the firewall-router I opened port 113 to be forwarded to my lanserver.
On my lanserver, I emerged fakeidentd, started it, and opened port 113 in shorewall.
On my workstation I also have shorewall runnning (but did not open any specific ports for IRC/identd).
I tried to connect to some irc servers using telnet from both machines (lanserver and workstation), but I always only get a response like the following: Code: | telnet irc.inet.tele.dk 6667
Trying 193.163.220.3...
Connected to irc.inet.tele.dk.
Escape character is '^]'.
NOTICE AUTH :*** Looking up your hostname...
NOTICE AUTH :*** Checking Ident
NOTICE AUTH :*** Couldn't look up your hostname
NOTICE AUTH :*** Got Ident response
ERROR :Closing Link: [nobody@255.255.255.255] (Connection Timed Out)
Connection closed by foreign host. |
The line with the "ERROR :Closing Link: ..." seems to differ depending on the server I try to connect to (one time this line did not show up at all, another time it showed my external IP address).
What am I missing here, so why can't it look up my hostname? _________________ Las torturas mentales de la CIA |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Master One l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/992238945413080ce122fc.gif)
Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Thu Apr 21, 2005 9:34 pm Post subject: |
|
|
Ok, in the meantime, I found out, that I can connect to IRC servers. No idea, why the telnet-test did not work out, and why kopete is causing problems too, but KSirc definitely worked.
Nevertheless, the questions still remains, why it can not look up my hostname. _________________ Las torturas mentales de la CIA |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Master One l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/992238945413080ce122fc.gif)
Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Tue Apr 26, 2005 10:31 pm Post subject: |
|
|
Still noone any idea, what the problem could be, if the hostname can not be looked up? _________________ Las torturas mentales de la CIA |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
opentaka l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/397335634883fae30a84a.jpg)
Joined: 18 Feb 2005 Posts: 840 Location: Japan
|
Posted: Wed Apr 27, 2005 12:07 am Post subject: |
|
|
prb your iptaables config? _________________ "Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Master One l33t
![l33t l33t](/images/ranks/rank_rect_4.gif)
![](images/avatars/992238945413080ce122fc.gif)
Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Wed Apr 27, 2005 12:10 am Post subject: |
|
|
I'm using shorewall, and I have no idea, if there is any special port to open for this to work. _________________ Las torturas mentales de la CIA |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Omadon Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 Jan 2004 Posts: 108
|
Posted: Sun Aug 28, 2005 10:26 pm Post subject: Re: [IRC] Couldn't look up your hostname |
|
|
Master One wrote: | I just tried to use IRC the very first time, but I can not connect to any IRC server due to the above mentioned error message.
This is what I did so far:
On the firewall-router I opened port 113 to be forwarded to my lanserver.
On my lanserver, I emerged fakeidentd, started it, and opened port 113 in shorewall.
On my workstation I also have shorewall runnning (but did not open any specific ports for IRC/identd).
I tried to connect to some irc servers using telnet from both machines (lanserver and workstation), but I always only get a response like the following: Code: | telnet irc.inet.tele.dk 6667
Trying 193.163.220.3...
Connected to irc.inet.tele.dk.
Escape character is '^]'.
NOTICE AUTH :*** Looking up your hostname...
NOTICE AUTH :*** Checking Ident
NOTICE AUTH :*** Couldn't look up your hostname
NOTICE AUTH :*** Got Ident response
ERROR :Closing Link: [nobody@255.255.255.255] (Connection Timed Out)
Connection closed by foreign host. |
The line with the "ERROR :Closing Link: ..." seems to differ depending on the server I try to connect to (one time this line did not show up at all, another time it showed my external IP address).
What am I missing here, so why can't it look up my hostname? |
The remote ircd (irc daemon) is responsible for looking up your hostname. It queries some given nameserver it has stored locally against the IP of your machine; the error cannot be helped from your side.
As for the "closing link" error, this is because you timed out from your registration commands. The ircd is waiting for you to send the NAME and NICK packets. Try it with some client that automates those commands (xchat) and you should connect fine.
[edit]
Also, you don't need to run an ident server. If the ircd cannot connect to port 113, it will just assign you some ident with a ~ in front ("~masterone") depending on the information specified with the NAME command. If your hostname times out (which it seems to be doing), it will just assign your hostname to be the same as your unresolved IP.
I suggest using X-Chat as your client. It's easy to use and has lots of configuration options. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|