From 3e579676ecf6a38c5af3b088610a6aa00b9d3fe0 Mon Sep 17 00:00:00 2001 From: Daniel Hartmeier Date: Tue, 6 Jul 2004 19:49:12 +0000 Subject: The 'reverse ftp-proxy' mode adds a command line option -R to ftp-proxy which proxies connection from external ftp clients to an internal ftp server, supporting client passive mode (where server listens on a random port for data connections, and the client connects to the server for data connections). This is the reverse mode to normal operation, where ftp-proxy proxies connections from local clients to external servers, supporting client active mode. ok beck@, henning@ --- libexec/ftp-proxy/util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libexec/ftp-proxy/util.h') diff --git a/libexec/ftp-proxy/util.h b/libexec/ftp-proxy/util.h index 597cd18d33b..057ed26f6a6 100644 --- a/libexec/ftp-proxy/util.h +++ b/libexec/ftp-proxy/util.h @@ -1,4 +1,4 @@ -/* $OpenBSD: util.h,v 1.3 2002/05/23 10:22:14 deraadt Exp $ */ +/* $OpenBSD: util.h,v 1.4 2004/07/06 19:49:11 dhartmei Exp $ */ /* * Copyright (c) 1996-2001 @@ -55,7 +55,7 @@ extern int telnet_getline(struct csiob *iobp, struct csiob *telnet_passthrough); extern int get_proxy_env(int fd, struct sockaddr_in *server_sa_ptr, - struct sockaddr_in *client_sa_ptr); + struct sockaddr_in *client_sa_ptr, struct sockaddr_in *proxy_sa_ptr); extern int get_backchannel_socket(int type, int min_port, int max_port, int start_port, int direction, struct sockaddr_in *sap); -- cgit v1.2.3