Re: Correct tftpproxy in faq/pf/ftp.html

2017-06-20 Thread Theo Buehler
On Tue, Jun 20, 2017 at 10:35:14AM +0200, Martin Ziemer wrote:
> Since OpenBSD 5.3 the tftpproxy is no longer startet via inetd, but as
> a daemon. The faq section in ftp.html still instructs you to use
> inetd.
> 
> Below is a diff which instructs the reader to use the service instead
> of inetd.

Committed, thanks!

sthen pointed out that the pf rules were in need of some fixing as
well, so I did that in addition to your diff.



Re: Correct tftpproxy in faq/pf/ftp.html

2017-06-20 Thread Theo Buehler
On Tue, Jun 20, 2017 at 10:35:14AM +0200, Martin Ziemer wrote:
> Since OpenBSD 5.3 the tftpproxy is no longer startet via inetd, but as
> a daemon. The faq section in ftp.html still instructs you to use
> inetd.
> 
> Below is a diff which instructs the reader to use the service instead
> of inetd.

Could someone familiar with the matter please confirm this?

Thanks

> 
> Index: ftp.html
> ===
> RCS file: /cvs/www/faq/pf/ftp.html,v
> retrieving revision 1.60
> diff -u -p -r1.60 ftp.html
> --- ftp.html15 Jan 2017 11:33:04 -  1.60
> +++ ftp.html20 Jun 2017 08:29:20 -
> @@ -243,16 +243,12 @@ The rules above allow TFTP outbound from
>  servers on the external network.
>  
>  
> -The last step is to enable tftp-proxy in
> -http://man.openbsd.org/inetd.conf;>inetd.conf(5) so that it
> -listens on the same port that the divert-to rule specified above,
> -in this case 6969.
> +The last step is to enable and start tftp-proxy(8).
>  
>  
> -127.0.0.1:6969  dgram   udp   wait  root  /usr/libexec/tftp-proxy tftp-proxy
> +# rcctl enable tftpproxy
> +# rcctl start  tftpproxy
>  
> -
> -Unlike ftp-proxy(8), tftp-proxy(8) is spawned from inetd.
>  
>  
>  
> 



Correct tftpproxy in faq/pf/ftp.html

2017-06-20 Thread Martin Ziemer
Since OpenBSD 5.3 the tftpproxy is no longer startet via inetd, but as
a daemon. The faq section in ftp.html still instructs you to use
inetd.

Below is a diff which instructs the reader to use the service instead
of inetd.

Index: ftp.html
===
RCS file: /cvs/www/faq/pf/ftp.html,v
retrieving revision 1.60
diff -u -p -r1.60 ftp.html
--- ftp.html15 Jan 2017 11:33:04 -  1.60
+++ ftp.html20 Jun 2017 08:29:20 -
@@ -243,16 +243,12 @@ The rules above allow TFTP outbound from
 servers on the external network.
 
 
-The last step is to enable tftp-proxy in
-http://man.openbsd.org/inetd.conf;>inetd.conf(5) so that it
-listens on the same port that the divert-to rule specified above,
-in this case 6969.
+The last step is to enable and start tftp-proxy(8).
 
 
-127.0.0.1:6969  dgram   udp   wait  root  /usr/libexec/tftp-proxy tftp-proxy
+# rcctl enable tftpproxy
+# rcctl start  tftpproxy
 
-
-Unlike ftp-proxy(8), tftp-proxy(8) is spawned from inetd.