pf and ftp

Vadym Chepkov vchepkov at gmail.com
Sun Jul 4 17:57:15 UTC 2010


And it's broken now too :(

===>   ftp-proxy-4.4p1_1 depends on shared library: event-1.4 - found
===>  Configuring for ftp-proxy-4.4p1_1
===>  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=athlon-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 ...
> 
> pftpx/ftpsesame site:
> http://www.sentia.org/projects/ftpsesame/
> 
> lasted version ftpsesame-0.95 (OpenBSD 3.6)
> 
> 
> 
> 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 :)
>> 
>> Thanks,
>> Vadym
>> 
>> 
>> 
>> On Jul 4, 2010, at 1:01 PM, Jille Timmermans wrote:
>> 
>>> Hi,
>>> 
>>> ftp-proxy(8) is what you are looking for :)
>>> http://www.openbsd.org/faq/pf/ftp.html
>>> 
>>> -- Jille
>>> 
>>> Vadym Chepkov schreef:
>>>> Hi,
>>>> 
>>>> pftpx port was removed in FreeBSD. How does one configure pf firewall to work with ftp protocol nowadays?
>>>> 
>>>> Thank you,
>>>> Vadym Chepkov_______________________________________________
>>>> freebsd-pf at freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
>>>> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>> 
>> _______________________________________________
>> freebsd-pf at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
>> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>> 
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"



More information about the freebsd-pf mailing list