From owner-freebsd-pf@FreeBSD.ORG Sun Jul 4 17:57:15 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 68AE91065675 for ; Sun, 4 Jul 2010 17:57:15 +0000 (UTC) (envelope-from vchepkov@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 1B3148FC15 for ; Sun, 4 Jul 2010 17:57:14 +0000 (UTC) Received: by qyk30 with SMTP id 30so1569526qyk.13 for ; Sun, 04 Jul 2010 10:57:09 -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=sLm5/IQXbtFX8BA9vdN4l8Vv3c2pJ1VfDhL/CpV1pB4=; b=rAswzxVn8UrBmRhmaRmVVsfDCI11o1fjMAnY95TAU5g7drSXOfJ2oiDD4QERtzzKnb nfoEcPvGW9LhCZxhqaXZ1+wJfWnsmChK3E1FJx2+1nBsCM0qjrwog9c/7C38IzZYSdqs u4shHtdhXL2YLNnlaq91kbv0UXSoKXOr2BIF4= 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=SQ/wnAv1rLGiBxpOQrE8ybxRphdRlkSKggjP/eU3l/rCSR5iR6zvYUN8S4S/LQGsun fTNY7MiO/vFIobZGgaKXYaV1lsO5fex4aqroa7Flnv8zpCG05zIbcndoecGbA8og9Th+ udPUARYKc9sZag6h1iWdXb5KnjVgpSkSiwnWo= Received: by 10.229.218.14 with SMTP id ho14mr889065qcb.44.1278266227929; Sun, 04 Jul 2010 10:57:07 -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 m24sm13963183qck.17.2010.07.04.10.57.06 (version=SSLv3 cipher=RC4-MD5); Sun, 04 Jul 2010 10:57:07 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Vadym Chepkov In-Reply-To: <4C30C4CE.7060907@gmx.de> Date: Sun, 4 Jul 2010 13:57:05 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9AECD800-E7D2-4354-B3B1-A02A6AC15F66@gmail.com> References: <2E7C4886-FF06-4FA8-A651-97057FA86239@gmail.com> <4C30BE7C.5000206@quis.cx> <0A7A9334-BCA6-426E-A0F8-4BDA5F2EED8F@gmail.com> <4C30C4CE.7060907@gmx.de> To: olli hauer 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 17:57:15 -0000 And it's broken now too :( =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 On Jul 4, 2010, at 1:28 PM, olli hauer wrote: > 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"