multiple instances of ftp-proxy ?
Hello! is anybody running multiple instances of ftp-proxy in reverse mode? I'd afraid of anchor ftp-proxy/*, ftp-proxy doesn't allow to specify anchor, also, many instances of ftp-proxy can break each others anchors. can somebody provide me with example of multiple ftp-proxies ? Cheers, Ilya Shipitsin
Re: multiple instances of ftp-proxy ?
2012/6/12 Илья Шипицин chipits...@gmail.com: Hello! is anybody running multiple instances of ftp-proxy in reverse mode? I'd afraid of anchor ftp-proxy/*, ftp-proxy doesn't allow to specify anchor, also, many instances of ftp-proxy can break each others anchors. No, they will not, see prepare_commit() in /usr/src/usr.sbin/ftp-proxy/filter.c: snprintf(an, PF_ANCHOR_NAME_SIZE, %s/%d.%d, FTP_PROXY_ANCHOR, getpid(), id); can somebody provide me with example of multiple ftp-proxies ? I've done it simple. In /etc/rc.local: if [ X${ftpproxy2_flags} != XNO ]; then echo -n ' ftp-proxy2'; /usr/sbin/ftp-proxy ${ftpproxy2_flags} fi In /etc/rc.conf.local: ftpproxy2_flags=-p 8022 -R 172.27.4.2 -v That's all.
Re: multiple instances of ftp-proxy ?
On 12.6.2012. 12:32, Илья Шипицин wrote: Hello! is anybody running multiple instances of ftp-proxy in reverse mode? I'd afraid of anchor ftp-proxy/*, ftp-proxy doesn't allow to specify anchor, also, many instances of ftp-proxy can break each others anchors. can somebody provide me with example of multiple ftp-proxies ? Cheers, Ilya Shipitsin hello, maybe this is what you need http://marc.info/?l=openbsd-miscm=133061681116026w=1