View Full Version : Question about IRC disconnects.
07-25-02, 10:34 AM
Im on IRC A LOT....and for those of you who dont know much about IRC you can use DCC for file sharing, and when you use DCC it goes over port 1024 (with my setup anyways) and it never even actually goes through the IRC server, it connects directl to the other persons computer. and for the longest time I had a question that baffled me...WTF cant I send anything, I had no problem recieving files, but when i tried to send anything it would disconnecto me from the IRC server. I traced the problem back to my router, and everytime I was sending something for some retarted reason it would just close all the ports over # 1013 (which includes the IRC port which is usually around 7000) I have a netgear RT311 internet gateway router, and it has 'SVA Server port forwarding' so i set it up to forward port 1024 to the IP of the computer I usually use IRC on..and it fixed the problem...for about a week, and now for some retarted reason its doing it again...the port is the same..and the IP of the computer is the same, anyone have ANY ideas on WTF is causing this problem?
BTW: im sure i did a lot of rambling in that post...its a bad habbit i have...hopefully I actually asked the question I had in mind :rolleyes:
07-25-02, 03:24 PM
Your firewall's doing it. It took me a while of hard searching and playing around with it to solve the problem. Here's what you've got to do. Choose a range of ports (any ports). I use 1024-1026 for my computer. You then need to route all of those ports to your machine. You then go into your DCC setup and set the first port (1024 in my case) and last port (1026) to the top and bottom of the range. You have to forward ALL the ports in that range to your machine because it will use any or all of them. The reason your firewall blocks is that a DCC works like this.
1.) You initiate a DCC send.
2.) Your IRC program sends a message out to that person's computer (through the irc server) requesting to send a file. The request contains your IP address, the filename, file size (i think) as well as the port to use. That's also why if you try to send, for example, an .exe file the server will often block the send.
3.) The user gets a message saying you're wanting to send such and such file. They click accept.
4.) Their computer then initiates a connection going directly INTO your computer through the specified port/s. This is why the firewall will normally mess up the sends.
5.) Your computer receives the connection and starts sending the file.
Like I said, took me a bit to figure it out. Please share it. With firewalls and broadband being more common, more people are going to run into this problem.
07-25-02, 04:16 PM
Yeah thats what I did, and actually it worked, and then stopped working...but i figured it out about 5 minutes ago, my router acts as a DHCP server (which ****es me off) and it renewed the IP on my machine...bleh, so thanks for the input
you should have control over how your router operates. Try to see if you can stop it from renewing an ip address or disable the dhcp all together and start using static ips.
07-28-02, 12:04 AM
The router will probably provide a DHCP server regardless. Just set up your computers to use a static IP and be done with it.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.