Date: Sun, 4 Jul 2010 14:07:27 -0400 From: Vadym Chepkov <vchepkov@gmail.com> To: Remko Lodder <remko@elvandar.org> Cc: freebsd-pf@FreeBSD.org Subject: Re: pf and ftp Message-ID: <A26B333E-6620-4DAE-B3A3-1FFAA8814EA5@gmail.com> In-Reply-To: <0C366FF8-DD80-4F5E-A04F-5C61EA5ED66E@elvandar.org> References: <2E7C4886-FF06-4FA8-A651-97057FA86239@gmail.com> <4C30BE7C.5000206@quis.cx> <0A7A9334-BCA6-426E-A0F8-4BDA5F2EED8F@gmail.com> <4C30C4CE.7060907@gmx.de> <9AECD800-E7D2-4354-B3B1-A02A6AC15F66@gmail.com> <0C366FF8-DD80-4F5E-A04F-5C61EA5ED66E@elvandar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
true that, but 6.4 still didn't reach EOL On Jul 4, 2010, at 2:01 PM, Remko Lodder wrote: >=20 > It's included in 8 by default, and perhaps even 7. >=20 > 'man ftp-proxy' does miracles, perhaps you do not even need to build = it :) >=20 >=20 > On Jul 4, 2010, at 7:57 PM, Vadym Chepkov wrote: >=20 >> And it's broken now too :( >>=20 >> =3D=3D=3D> ftp-proxy-4.4p1_1 depends on shared library: event-1.4 - = found >> =3D=3D=3D> Configuring for ftp-proxy-4.4p1_1 >> =3D=3D=3D> Building for ftp-proxy-4.4p1_1 >> Warning: Object directory not changed from original = /usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.4p1 >> cc -O -pipe -march=3Dathlon-mp = -I/usr/ports/ftp/ftp-proxy/work/ftp-proxy-4.4p1 -Wall = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith = -Wno-uninitialized -c ftp-proxy.c >> ftp-proxy.c:32:19: event.h: No such file or directory >> ftp-proxy.c: In function `client_error': >> ftp-proxy.c:194: error: `EVBUFFER_EOF' undeclared (first use in this = function) >> ftp-proxy.c:194: error: (Each undeclared identifier is reported only = once >> ftp-proxy.c:194: error: for each function it appears in.) >> ftp-proxy.c:196: error: `EVBUFFER_ERROR' undeclared (first use in = this function) >> ftp-proxy.c:196: error: `EVBUFFER_READ' undeclared (first use in this = function) >> ftp-proxy.c:198: error: `EVBUFFER_TIMEOUT' undeclared (first use in = this function) >> ftp-proxy.c:200: error: `EVBUFFER_WRITE' undeclared (first use in = this function) >> ftp-proxy.c: In function `client_parse_anon': >> ftp-proxy.c:251: warning: implicit declaration of function = `bufferevent_write' >> ftp-proxy.c: In function `client_read': >> ftp-proxy.c:304: warning: implicit declaration of function = `bufferevent_read' >> ftp-proxy.c: In function `end_session': >> ftp-proxy.c:354: warning: implicit declaration of function = `evbuffer_write' >> ftp-proxy.c:354: error: dereferencing pointer to incomplete type >> ftp-proxy.c:356: error: dereferencing pointer to incomplete type >> ftp-proxy.c:364: warning: implicit declaration of function = `bufferevent_free' >> ftp-proxy.c: In function `handle_connection': >> ftp-proxy.c:561: warning: implicit declaration of function = `bufferevent_new' >> ftp-proxy.c:562: warning: assignment makes pointer from integer = without a cast >> ftp-proxy.c:567: warning: implicit declaration of function = `bufferevent_settimeout' >> ftp-proxy.c:568: warning: implicit declaration of function = `bufferevent_enable' >> ftp-proxy.c:568: error: `EV_READ' undeclared (first use in this = function) >> ftp-proxy.c:568: error: `EV_TIMEOUT' undeclared (first use in this = function) >> ftp-proxy.c:571: warning: assignment makes pointer from integer = without a cast >> ftp-proxy.c: In function `main': >> ftp-proxy.c:660: error: storage size of 'ev' isn't known >> ftp-proxy.c:660: error: storage size of 'ev_sighup' isn't known >> ftp-proxy.c:660: error: storage size of 'ev_sigint' isn't known >> ftp-proxy.c:660: error: storage size of 'ev_sigterm' isn't known >> ftp-proxy.c:842: warning: implicit declaration of function = `event_init' >> ftp-proxy.c:846: warning: implicit declaration of function = `signal_set' >> ftp-proxy.c:849: warning: implicit declaration of function = `signal_add' >> ftp-proxy.c:853: warning: implicit declaration of function = `event_set' >> ftp-proxy.c:853: error: `EV_READ' undeclared (first use in this = function) >> ftp-proxy.c:853: error: `EV_PERSIST' undeclared (first use in this = function) >> ftp-proxy.c:854: warning: implicit declaration of function = `event_add' >> ftp-proxy.c:859: warning: implicit declaration of function = `event_dispatch' >> ftp-proxy.c:660: warning: unused variable `ev' >> ftp-proxy.c:660: warning: unused variable `ev_sighup' >> ftp-proxy.c:660: warning: unused variable `ev_sigint' >> ftp-proxy.c:660: warning: unused variable `ev_sigterm' >> ftp-proxy.c: In function `server_error': >> ftp-proxy.c:978: error: `EVBUFFER_EOF' undeclared (first use in this = function) >> ftp-proxy.c:980: error: `EVBUFFER_ERROR' undeclared (first use in = this function) >> ftp-proxy.c:980: error: `EVBUFFER_READ' undeclared (first use in this = function) >> ftp-proxy.c:982: error: `EVBUFFER_WRITE' undeclared (first use in = this function) >> ftp-proxy.c:984: error: `EVBUFFER_TIMEOUT' undeclared (first use in = this function) >> *** Error code 1 >>=20 >>=20 >>=20 >> On Jul 4, 2010, at 1:28 PM, olli hauer wrote: >>=20 >>> If I remember correctly the there was first pftpx and a (unusable) = buid-in >>> ftp-proxy. >>> Then ftpseesame was build as successor of pftpx and this went into = the system. >>> Now the build-in ftp-proxy was extend to for ipv6 ... >>>=20 >>> pftpx/ftpsesame site: >>> http://www.sentia.org/projects/ftpsesame/ >>>=20 >>> lasted version ftpsesame-0.95 (OpenBSD 3.6) >>>=20 >>>=20 >>>=20 >>> On 2010-07-04 19:09, Vadym Chepkov wrote: >>>> interesting, at some point pftpx was claimed to be a replacement = for ftp-proxy, I distinctly remember that. >>>> But according to port it's now part of the base FreeBSD. I guess = these things do happen :) >>>>=20 >>>> Thanks, >>>> Vadym >>>>=20 >>>>=20 >>>>=20 >>>> On Jul 4, 2010, at 1:01 PM, Jille Timmermans wrote: >>>>=20 >>>>> Hi, >>>>>=20 >>>>> ftp-proxy(8) is what you are looking for :) >>>>> http://www.openbsd.org/faq/pf/ftp.html >>>>>=20 >>>>> -- Jille >>>>>=20 >>>>> Vadym Chepkov schreef: >>>>>> Hi, >>>>>>=20 >>>>>> pftpx port was removed in FreeBSD. How does one configure pf = firewall to work with ftp protocol nowadays? >>>>>>=20 >>>>>> Thank you, >>>>>> Vadym Chepkov_______________________________________________ >>>>>> freebsd-pf@freebsd.org mailing list >>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-pf >>>>>> To unsubscribe, send any mail to = "freebsd-pf-unsubscribe@freebsd.org" >>>>=20 >>>> _______________________________________________ >>>> freebsd-pf@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-pf >>>> To unsubscribe, send any mail to = "freebsd-pf-unsubscribe@freebsd.org" >>>>=20 >>> _______________________________________________ >>> freebsd-pf@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-pf >>> To unsubscribe, send any mail to = "freebsd-pf-unsubscribe@freebsd.org" >>=20 >> _______________________________________________ >> freebsd-pf@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-pf >> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >=20 > --=20 > /"\ Best regards, | remko@FreeBSD.org > \ / Remko Lodder | remko@EFnet > X http://www.evilcoder.org/ | > / \ ASCII Ribbon Campaign | Against HTML Mail and News >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A26B333E-6620-4DAE-B3A3-1FFAA8814EA5>