From owner-freebsd-pf@FreeBSD.ORG Sun Jul 4 18:07:37 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34633106566B for ; Sun, 4 Jul 2010 18:07:37 +0000 (UTC) (envelope-from vchepkov@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id D9CB28FC15 for ; Sun, 4 Jul 2010 18:07:36 +0000 (UTC) Received: by qwg5 with SMTP id 5so1958640qwg.13 for ; Sun, 04 Jul 2010 11:07:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=vOy0gj1CRJSEX/ysVbTGH4+Quz/ZKFT6Vc+UOe9qGsc=; b=a7EV43FyniPcZQEglHDw21El2m8QLSaahdGmPrVUrvPjRORtukLxhE9lXv7RAJIAoj LXQaeKKYOAwl3WB553AzFnim02svsA75q/G8mTXGdGR0fQlsTbDjje7xFQiaM1aq9/V0 Y0u+UwL3w8EFH1weSfn+iITR/o1HO4o7niEzo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=sHpwpPHMIOPqRI+GW1sGhIW+iWEsJn01vRAo6ZIAr7kKv0AqQ3yGXV39A66m7nZWJf 8PWjJy1hVorNj3fpuVMEtJtKlejkzJQLD4E4nS/ntihCyE5Ww+F51Wync/pfSAbrx2+8 oka15ApT53P4GwlOTXt5F0gCSHbjG78P5jeGQ= Received: by 10.224.6.142 with SMTP id 14mr845897qaz.196.1278266849543; Sun, 04 Jul 2010 11:07:29 -0700 (PDT) Received: from vvcmac.chepkov.lan (pool-70-109-58-70.clppva.fios.verizon.net [70.109.58.70]) by mx.google.com with ESMTPS id h20sm13997018qcm.21.2010.07.04.11.07.28 (version=SSLv3 cipher=RC4-MD5); Sun, 04 Jul 2010 11:07:28 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Vadym Chepkov In-Reply-To: <0C366FF8-DD80-4F5E-A04F-5C61EA5ED66E@elvandar.org> Date: Sun, 4 Jul 2010 14:07:27 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: 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> To: Remko Lodder X-Mailer: Apple Mail (2.1081) Cc: freebsd-pf@FreeBSD.org Subject: Re: pf and ftp X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 18:07:37 -0000 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