[Bug 779080] New: [Proxy-suite] ftp-proxy doesn't work
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c0 Summary: [Proxy-suite] ftp-proxy doesn't work Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: 64bit OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: paolo.tezza@sys-tema.it QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 Hi all, I've configured ftp-proxy like transparent proxy, and it doesn't work... it keep the FTP packet in local and not forward them to remote FTP server. It doesn't work with Opensuse 12.1 and 12.2 both 32 and 64 bit (same config in debian works) Everythings works well but ftp-proxy I can use the Server to NAT all client to surf the web, but not to proxy FTP connection Here some detailed information: - OpenSuse 12.1 - Proxy-suite Version 1.9.2.4 - little Iptables configuration #!/bin/bash LAN_IF="eth1" WORLD_IF="eth0" BAD_IP="95.242.xx.xx" echo "1" > /proc/sys/net/ipv4/ip_forward /sbin/modprobe ip_conntrack_ftp /sbin/modprobe ip_nat_ftp IPTB=/usr/sbin/iptables $IPTB -F $IPTB -t nat -F $IPTB -t nat -A PREROUTING -p tcp -i $LAN_IF --dport 21 -j REDIRECT --to 21 $IPTB -t nat -A POSTROUTING -o $WORLD_IF -j SNAT --to-source $BAD_IP #EOF - Configuration of ftp-proxy Config-File: '/etc/proxy-suite/ftp-proxy.conf' Config-Section ------ '(-global-)' Config: AllowTransProxy = 'yes' Config: LogDestination = '/var/log/ftp-proxy.log' Config: LogLevel = 'DBG' Config: ServerType = 'standalone' When I try to connect with the client the /var/log/ftp-proxy.log show something like ftp-proxy [6023] <08/17-09:04:34> TECH-DBG daemon runs in '/' with uid=0 gid=0 ftp-child [6026] <08/17-09:04:53> USER-INF connect from 192.168.88.22 ftp-child [6026] <08/17-09:04:53> TECH-DBG socket name address is 192.168.88.60:21 ftp-child [6026] <08/17-09:04:53> TECH-DBG ipchains transparent destination: 192.168.88.60:21 ftp-child [6026] <08/17-09:04:53> TECH-DBG requested transparent destination 192.168.88.60 is local ftp-child [6026] <08/17-09:04:53> USER-ERR unknown destination address ftp-child [6026] <08/17-09:04:53> USER-INF closing connect from 192.168.88.22 after 0 secs - read 0/0, sent 0/0 byte/sec ftp-child [6027] <08/17-09:04:53> USER-INF connect from 192.168.88.22 ftp-child [6027] <08/17-09:04:55> TECH-DBG socket name address is 192.168.88.60:21 ftp-child [6027] <08/17-09:04:55> TECH-DBG ipchains transparent destination: 192.168.88.60:21 ftp-child [6027] <08/17-09:04:55> TECH-DBG requested transparent destination 192.168.88.60 is local ftp-child [6027] <08/17-09:04:55> USER-ERR unknown destination address ftp-child [6027] <08/17-09:04:57> USER-INF closing connect from 192.168.88.22 after 4 secs - read 0/0, sent 0/0 byte/sec ftp-child [6132] <08/17-09:19:28> USER-INF connect from 192.168.88.22 ftp-child [6132] <08/17-09:19:32> TECH-DBG socket name address is 192.168.88.60:21 ftp-child [6132] <08/17-09:19:32> TECH-DBG ipchains transparent destination: 192.168.88.60:21 ftp-child [6132] <08/17-09:19:32> TECH-DBG requested transparent destination 192.168.88.60 is local ftp-child [6132] <08/17-09:19:32> USER-ERR unknown destination address ftp-child [6132] <08/17-09:19:32> USER-WRN 'SYST' without login from 192.168.88.22 ftp-child [6132] <08/17-09:19:36> USER-INF 'QUIT' from 192.168.88.22 ftp-child [6132] <08/17-09:19:36> USER-INF closing connect from 192.168.88.22 after 8 secs - read 0/0, sent 0/0 byte/sec Reproducible: Always Steps to Reproduce: 1.Clean install of OpenSuse 2.Configure repository server:proxy, install proxy-suite 3.set minimal configuration between iptables and ftp-proxy 4.Try to connect from client Actual Results: FTP packets won't be forwarded to external nic (tcpdump and remote server confirm that nothing leave the local proxy server) Expected Results: Let FTP packets go away I tried ftp-proxy, frox and ftp.proxy with the same result. I tried kernel desktop and default (server) with the same result. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |bili@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c1 Li Bin <bili@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Network |Basesystem AssignedTo|bili@suse.com |bnc-team-screening@forge.pr | |ovo.novell.com --- Comment #1 from Li Bin <bili@suse.com> 2012-09-19 08:54:23 UTC --- Reassign to the screen team. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c2 --- Comment #2 from Paolo Tezza <paolo.tezza@sys-tema.it> 2012-09-19 09:22:09 UTC --- Is it confirmed as a bug? Unfortunately now I must say something to my customer... Is it better if I wait a little bit more or is it better if I switch to something else like Debian, or some firewall/proxy distro? I'd rather to stay on OpenSuse if it is possible... Thank you -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c kk zhang <kkzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |mt@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c3 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #3 from Marius Tomaschewski <mt@suse.com> 2012-09-20 12:20:10 UTC --- I've to look at this. It seems, there is a build problem and it fails to compile with iptables and fails back to ipchains... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c4 --- Comment #4 from Marius Tomaschewski <mt@suse.com> 2012-09-20 12:40:18 UTC --- I'd say this is the problem (from build log): checking linux/netfilter_ipv4.h usability... no checking linux/netfilter_ipv4.h presence... yes configure: WARNING: linux/netfilter_ipv4.h: present but cannot be compiled configure: WARNING: linux/netfilter_ipv4.h: check for missing prerequisite headers? configure: WARNING: linux/netfilter_ipv4.h: see the Autoconf documentation configure: WARNING: linux/netfilter_ipv4.h: section "Present But Cannot Be Compiled" configure: WARNING: linux/netfilter_ipv4.h: proceeding with the compiler's result checking for linux/netfilter_ipv4.h... no linux && !iptables -> ipchains. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c5 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |paolo.tezza@sys-tema.it --- Comment #5 from Marius Tomaschewski <mt@suse.com> 2012-09-20 14:54:21 UTC --- OK, please try out $OBS/server:proxy/proxy-suite as soon as it is built. It should have a version > 1.9.2.4-147.1 or the following changelog: Thu Sep 20 14:42:12 UTC 2012 - Fixed configure check for linux/netfilter headers (bnc#779080) Does it work for you now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c6 Paolo Tezza <paolo.tezza@sys-tema.it> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|paolo.tezza@sys-tema.it | --- Comment #6 from Paolo Tezza <paolo.tezza@sys-tema.it> 2012-09-20 18:02:24 UTC --- I upgraded proxy-suite to new version from 1.9.2.4-147.1 to 1.9.2.4-148.1 and now it seems to work well in my test server, using exactly the same configuration declared above I'll try to upgrade the customer's firewall and I'll let you know if it will work for him too (but I'm pretty sure it will do) Thank you so much Paolo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779080 https://bugzilla.novell.com/show_bug.cgi?id=779080#c7 Marius Tomaschewski <mt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Marius Tomaschewski <mt@suse.com> 2012-09-21 07:37:47 UTC --- OK, I'm pretty sure it will work there as well. Please reopen if not. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com