LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IPchains and IRC DCC file transfer problems (https://www.linuxquestions.org/questions/linux-networking-3/ipchains-and-irc-dcc-file-transfer-problems-69273/)

alke 07-01-2003 09:00 AM

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!

domingo-br 07-01-2003 08:24 PM

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

alke 07-03-2003 11:27 PM

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?


All times are GMT -5. The time now is 11:37 AM.