[2957] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: [masq] Re: ftp problems w/masq & 1.99.5 kernel

daemon@ATHENA.MIT.EDU (Nigel Metheringham)
Mon May 20 14:29:19 1996

To: "William E. Roadcap" <roadcapw@cfw.com>
cc: masq@indyramp.com, Bjorn Ekwall <bj0rn@blox.se>,
        linux-net@vger.rutgers.edu, Alan Cox <alan@cymru.net>
From: Nigel Metheringham <Nigel.Metheringham@theplanet.net>
In-reply-to: Your message of "Mon, 20 May 1996 10:57:33 EDT."
             <Pine.LNX.3.91.960520103020.300A-100000@titus.cfw.com> 
Date: 	Mon, 20 May 1996 16:16:14 +0100

[Cc: list reduced - this doesn't seem to need Linus and others 
included]

[elided original message and answer suggesting that the ftp module is 
needed]

roadcapw@cfw.com said:
} I tried this, and now the ftp session hangs BEFORE I get the 
} "...command successful.." message and never returns at all.  Prior to 
} using ip_masq_ftp.o "ls" would return the "successful" message, a 
} _long_ wait and the  "...can't open data connection..." message.  

Odd.... seems OK here.

} In addition, when I first load the ipmasq_ftp module, lsmod reports that it
} is used by "0" until I try to make a ftp connection from the localnet, then
} lsmod reports it is used by "1" and then it can't be unloaded even if I
} shutdown all network interfaces. 

Thats correct.  The module should stay inuse until the control 
connection terminates - ie 2 minutes after a TCP FIN packet, or 15 
minutes after the last activity.  Use "ipfwadm -l -M" or "cat 
/proc/net/ip_masquerade" to see connections that are still active.


} Bjorn, THIS MIGHT INTEREST YOU:
} If I load the module with insmod or modprobe and don't use it within a 
} short time, kerneld unloads it even though it wasn't loaded by 
} kerneld or marked as autoclean!  So, I killed kerneld and the module 
} doesn't auto-unload, but it still doesn't work...

I don't see this problem with my config - using modules 1.3.69j


} If there is another step I need to take, please tell me.  I can find no 
} docs on using ip_masq_ftp, I'm stumped.  If there is any particular info 
} from my systems that might help anyone, I'll cheerfully send it over.

Fragmentation may be a problem.  In fact MTU discovery could be.

} I'm about to install 1.99.6, but I don't see anything in the patch that 
} might help this.

Try 1.99.6 with the patch I posted to the masq list and linux-net an 
hour or 2 ago (or I can send it direct - just ask).

	Nigel.
-- 
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]




home help back first fref pref prev next nref lref last post