Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

irc DCC sends and routers

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Lockup
Guru
Guru
User avatar
Posts: 430
Joined: Thu Jul 25, 2002 3:20 pm

irc DCC sends and routers

  • Quote

Post by Lockup » Sat Feb 22, 2003 11:53 pm

i have a D-Link DI-614+ router, and my linux box is connected to the internet through it, and im getting this weird problem...
i can receive files through DCC sends on irc, but i cant SEND files(which seems pretty weird, as the router is supposed to allow everything out)
i looked a bit on google for info about that, and on dlink.com too and only found vague allusions to some port forwarding(anyways, wasnt really able to make something intelligent out of it:P
im guessing its some rule id have to add, any suggestions?
Top
krt
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 102
Joined: Wed Nov 27, 2002 4:41 am
Location: Earth

  • Quote

Post by krt » Sun Feb 23, 2003 7:27 am

There shouldn't be anything that you have to do with your firewall .. its probably your irc client. When you preform a dcc send, the irc client is using your boxes IP address. The receipient of the DCC packet will see your private IP address and not the routeable IP address from your firewalls public side. You can alleviate this problem in modern IRC clients by setting your DCC IP address to your public address. I know that xchat has support for this.

You can verify that this behavior is happening by asking the receipient of your DCC what IP address their seeing your send come from. You'll probably see that its coming from your private address.
Everyone has something clever for a signature but me.
Top
puddpunk
l33t
l33t
User avatar
Posts: 680
Joined: Sat Jul 20, 2002 11:07 pm
Location: New Zealand

  • Quote

Post by puddpunk » Sun Feb 23, 2003 9:46 am

No, It's not anything to do with your hardware, It's the way EVERY IRC client has DCC implimented.

When someone wants to send a file, they send a CTCP (Client to Client Protocol) message to the reciever (with information such as IP and port, then the reciever opens a connection to the sender. Which can't happen since you are behind a firewall.

Have a look at KVIrc, It has a new feature called RDCC (Reverse DCC) and it's the only way short of hacking my firewall to send files.
Top
Lockup
Guru
Guru
User avatar
Posts: 430
Joined: Thu Jul 25, 2002 3:20 pm

  • Quote

Post by Lockup » Sun Feb 23, 2003 2:30 pm

and yes...just tested with a friend and my ip was at 192.168.0.100 for him :roll:

thanks for the tip:) ill look into irssi to see if theres a var i can set for that...worst case ill just switch client
Top
Lockup
Guru
Guru
User avatar
Posts: 430
Joined: Thu Jul 25, 2002 3:20 pm

  • Quote

Post by Lockup » Sun Feb 23, 2003 4:07 pm

(11:04) [dcc]
(11:04) dcc_autorename = OFF
(11:04) dcc_autoresume = ON
(11:04) dcc_timeout = 300
(11:04) dcc_autoget = OFF
(11:04) dcc_upload_path = ~
(11:04) dcc_autoget_masks =
(11:04) dcc_autoget_max_size = 0
(11:04) dcc_send_replace_space_with_underscore = OFF
(11:04) dcc_own_ip = [xx.xx.xx.xxx]
(11:04) dcc_download_path = ~
(11:04) dcc_file_create_mode = 644
(11:04) dcc_port = 0
(11:04) dcc_autochat_masks =
(11:04) dcc_mirc_ctcp = OFF
(11:04) dcc_autoaccept_lowports = OFF



thats the list of set-able dcc stuff in irssi.... as you can see, i set dcc_own_ip to my ip (censored)...it still times out though, any ideas? theres no logs on the router so i cant check if its a prob with that
port 0 simply means a random port for this client btw
Top
Tuna
Guru
Guru
User avatar
Posts: 485
Joined: Fri Jul 19, 2002 5:37 pm
Location: Berlin
Contact:
Contact Tuna
Website

  • Quote

Post by Tuna » Mon Feb 24, 2003 12:15 pm

iptables/kernel related.

you need ip_conntrack_irc and ip_nat_irc either as a module or compiled in the kernel. if it is a module, load it of course.

no special rules are needed for iptables as far as i know, connections should beeing rejected of course.

as for irssi - i set my dcc_own_ip to my local maschine ip (192.168.0.x) and it works. i dont know if that is even neccesary.
as for irssi part2: while testing, dont try to send files with spaces in filenames as for me this was heavily broken and thus doesnt work. also dont use dcc_send_replace_space_with_underscore, as it seems to be broken too :/
Top
Post Reply

6 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic