LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   IRC connection problem (https://www.linuxquestions.org/questions/linux-newbie-8/irc-connection-problem-471063/)

zoony23 08-05-2006 12:38 PM

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!! :confused:

p.s. : BTW, I turned both Firewall and SELinux off, but neither Xchat nor KSirc can connect to an IRC server.

acid_kewpie 08-05-2006 12:55 PM

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.

zoony23 08-05-2006 01:15 PM

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>


zoony23 08-05-2006 01:20 PM

Ooops, it looks like some router problem. My ip shows my LAN ip :mad: How can I configure that to use WAN ip to connect a server?

acid_kewpie 08-05-2006 01:41 PM

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")

zoony23 08-05-2006 01:56 PM

I'm not sure what you're looking for :confused: 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

acid_kewpie 08-05-2006 02:07 PM

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...

zoony23 08-05-2006 02:14 PM

$ 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 :)

acid_kewpie 08-05-2006 02:35 PM

no problems.

ok, so what about the router then? any logs?

zoony23 08-05-2006 02:48 PM

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.


All times are GMT -5. The time now is 06:31 PM.