LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-01-2003, 09:00 AM   #1
alke
LQ Newbie
 
Registered: Jul 2003
Location: Finland
Distribution: Debian
Posts: 8

Rep: Reputation: 0
IPchains and IRC DCC file transfer problems


Hi all,

I have a Red Hat box with a 2.4.9-ac12 patched kernel running otherwise smoothly (ie. IRC, ICQ work fine) but the FTP and IRC file transfers do not work. i've tried searching help for this problem and tried all sorts of stuff but I think what I am missing are the ip_masq_irc/ftp modules that you need to modprobe.
I've tried locating them but there's no such thing as a /lib/modules/2.2.9-ac12/ipv4 directory. Can I make the transfers work with IPChains WITHOUT the masq modules?

I know I should probably update to IPTables in stead of IPChains... if that is the case, can I just fetch the package, install it and use it as I do ipchains now? Here's the part of my rc.local file concerning the masquerade:


echo "1" >> /proc/sys/net/ipv4/tcp_syncookies
echo "1" >> /proc/sys/net/ipv4/ip_dynaddr
echo "1" >> /proc/sys/net/ipv4/ip_forward

/sbin/modprobe ipchains
/sbin/ipchains -F
/sbin/ipchains -P forward DENY
/sbin/ipchains -P output ACCEPT
/sbin/ipchains -P input ACCEPT
/sbin/ipchains -M -S 604800 604800 604800
/sbin/ipchains -A forward -s 192.168.0.0/24 -d 0.0.0.0/0 -j MASQ


Edit: Well.. i found the ipv4 stuff on the net, can I just use it as is and how do I compile the stuff?

Thanks in advance!

Last edited by alke; 07-01-2003 at 09:13 AM.
 
Old 07-01-2003, 08:24 PM   #2
domingo-br
LQ Newbie
 
Registered: Jul 2003
Location: São Paulo
Distribution: Red Hat
Posts: 6

Rep: Reputation: 0
hi!!!

do you try to load ip_nat_irc and ip_conntrack_irc ???
maybe loading this modules its works..
the same is for ftp transfers... we need to load ip_conntrack_ftp and ip_nat_ftp


sorry my poor english!
good bye.
domingo
 
Old 07-03-2003, 11:27 PM   #3
alke
LQ Newbie
 
Registered: Jul 2003
Location: Finland
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by domingo-br
hi!!!
do you try to load ip_nat_irc and ip_conntrack_irc ???
maybe loading this modules its works..
the same is for ftp transfers... we need to load ip_conntrack_ftp and ip_nat_ftp
hi domingo!

probably a very good idea,but like i said, i have none of the aforementioned modules installed :)
i found them later on from the net but they're source code, not compiled modules - how can i compile them and use them as is? is gcc enough?
 
  


Reply



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
DCC in IRC doesn't work with IPTABLES?! zr0gravity Linux - Networking 2 02-05-2005 10:02 PM
irc, NAT, dcc - almost there..but.. b0uncer Linux - Networking 7 08-22-2004 02:17 PM
DCC and MSN File transfer with Firewall NAT WORST Linux - Software 0 03-29-2004 03:11 PM
IRC iptables dcc transfers phatbastard Linux - Security 1 03-09-2004 04:17 AM
xchat dcc file transfer accept problem nakkaya Linux - Software 0 02-24-2003 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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

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
Open Source Consulting | Domain Registration