LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-05-2006, 01:38 PM   #1
zoony23
LQ Newbie
 
Registered: Jul 2006
Location: USA, South Korea
Distribution: Fedora
Posts: 12

Rep: Reputation: 0
Unhappy IRC connection problem


I have IRC connection problem on my FC5. My gaim and other network applications work ok, but only IRC cannot connect to any server. It just hangs forever when connecting to a server. When I installed FC4 before, I had the same issue. It seems like I may need to do something with configuration for my router or something like that. Please, any geek gives me a hint!!

p.s. : BTW, I turned both Firewall and SELinux off, but neither Xchat nor KSirc can connect to an IRC server.
 
Old 08-05-2006, 01:55 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
so this is multiple clients and multiple servers? if so certainly sounds like a network issue of some sort. pick an irc server and run "tcpdump -vn host your.irc.server.com" so we can see what the interaction between the two are. just try and connect a few times and paste the output that is generated from tcpdump.
 
Old 08-05-2006, 02:15 PM   #3
zoony23
LQ Newbie
 
Registered: Jul 2006
Location: USA, South Korea
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
IRC connection hanging

The following is from Xchat window.
* Looking up irc.freenode.net
* Connecting to chat.freenode.net (212.204.214.114) port 6667...
(Then, hanging forever)

Here's tcpdump result. I have no idea, though.
Code:
$ /usr/sbin/tcpdump -vn host irc.freenode.net
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
03:10:21.850947 IP (tos 0x0, ttl  64, id 48929, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.100.60111 > 140.211.166.4.ircd: S, cksum 0x97d2 (correct), 850122233:850122233(0) win 5840 <mss 1460,sackOK,timestamp 2660054 0,nop,wscale 2>
03:11:07.035806 IP (tos 0x0, ttl  64, id 62691, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.100.43952 > 212.204.214.114.ircd: S, cksum 0xb523 (correct), 1339438613:1339438613(0) win 5840 <mss 1460,sackOK,timestamp 2671350 0,nop,wscale 2>
03:11:10.035551 IP (tos 0x0, ttl  64, id 62692, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.100.43952 > 212.204.214.114.ircd: S, cksum 0xb235 (correct), 1339438613:1339438613(0) win 5840 <mss 1460,sackOK,timestamp 2672100 0,nop,wscale 2>
03:11:16.039624 IP (tos 0x0, ttl  64, id 62693, offset 0, flags [DF], proto: TCP (6), length: 60) 192.168.1.100.43952 > 212.204.214.114.ircd: S, cksum 0xac59 (correct), 1339438613:1339438613(0) win 5840 <mss 1460,sackOK,timestamp 2673600 0,nop,wscale 2>
 
Old 08-05-2006, 02:20 PM   #4
zoony23
LQ Newbie
 
Registered: Jul 2006
Location: USA, South Korea
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
Ooops, it looks like some router problem. My ip shows my LAN ip How can I configure that to use WAN ip to connect a server?
 
Old 08-05-2006, 02:41 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
hmm, still looks a lot like a firewall issue (your address is fine, it's only seen as your ISP address once it leaves the router) is the firewall not blocking the traffic? what iptables rules do you have on the linux box (run "iptables -L")
 
Old 08-05-2006, 02:56 PM   #6
zoony23
LQ Newbie
 
Registered: Jul 2006
Location: USA, South Korea
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
I'm not sure what you're looking for but here's what I got.

/sbin/iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
Old 08-05-2006, 03:07 PM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well we're looking for a lot more than that, so there's clearly no firewall on the box. in which case i'd be looking at the firewall on the router? can you ping the remote address of 212.204.214.114? doesn't really show much if there's a protocol specific drop on a firewall somewhere...
 
Old 08-05-2006, 03:14 PM   #8
zoony23
LQ Newbie
 
Registered: Jul 2006
Location: USA, South Korea
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
$ ping 212.204.214.114
PING 212.204.214.114 (212.204.214.114) 56(84) bytes of data.
64 bytes from 212.204.214.114: icmp_seq=1 ttl=46 time=298 ms
64 bytes from 212.204.214.114: icmp_seq=2 ttl=46 time=297 ms
64 bytes from 212.204.214.114: icmp_seq=3 ttl=46 time=297 ms
64 bytes from 212.204.214.114: icmp_seq=4 ttl=46 time=297 ms
64 bytes from 212.204.214.114: icmp_seq=5 ttl=46 time=297 ms
64 bytes from 212.204.214.114: icmp_seq=6 ttl=46 time=297 ms

--- 212.204.214.114 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 5017ms
rtt min/avg/max/mdev = 297.349/297.780/298.160/0.606 ms

I should have said thx before for helping me out
 
Old 08-05-2006, 03:35 PM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
no problems.

ok, so what about the router then? any logs?
 
Old 08-05-2006, 03:48 PM   #10
zoony23
LQ Newbie
 
Registered: Jul 2006
Location: USA, South Korea
Distribution: Fedora
Posts: 12

Original Poster
Rep: Reputation: 0
I think there might be a problem in router settings, such as port forwarding or any security-related configs. Probably, it will be a good move to connect a cable directly to my computer and see what's going on so that we can focus on router settings. I'll try it tomorrow cuz the cables are messy behind my desk and it's 5 a.m.

Thanks, anyway. Great helps, really!
And, please check this thread tomorrow or sometime later when you're free.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about IRC connection!!! skate Linux - Enterprise 1 02-13-2006 05:52 PM
irc problem bruse Linux - Networking 2 04-14-2005 06:04 AM
How speak irc client and irc server program? mech Linux - Networking 1 03-31-2004 06:23 PM
Identd/IRC problem Druidboi Linux - Networking 3 12-14-2003 04:45 AM
IRC problem... cipanu Linux - Newbie 0 02-24-2002 07:01 AM


All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration