Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ip_conntrack_ftp module/changing FTP port
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Akaihiryuu
l33t
l33t


Joined: 08 May 2003
Posts: 801
Location: Columbus, OH

PostPosted: Sat Mar 31, 2007 1:41 pm    Post subject: ip_conntrack_ftp module/changing FTP port Reply with quote

I want to change the port my FTP server runs on to a nonstandard one. Unfortunately, the connection tracking module (which opens up incoming ports on the firewall for passive mode) expects FTP to be on port 21...this is where it looks for stuff, and obviously if the server is on a nonstandard port, the module won't see it and won't know to open ports, thus causing FTP sessions to time out. Is there a way to configure this module to use a different port, other than source diving? I poked around in /proc to see if there might be a setting, but if so I can't find it.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3943
Location: Hamburg

PostPosted: Sat Mar 31, 2007 1:48 pm    Post subject: Reply with quote

Code:
n22 ~ # modinfo ip_conntrack_ftp
filename:       /lib/modules/2.6.19-gentoo-r5/kernel/net/ipv4/netfilter/ip_conntrack_ftp.ko
license:        GPL
author:         Rusty Russell <rusty@rustcorp.com.au>
description:    ftp connection tracking helper
vermagic:       2.6.19-gentoo-r5 mod_unload PENTIUMM
depends:        ip_conntrack
parm:           loose:bool
parm:           ports:array of ushort
Maybe the parameter ports you look for ?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum