diff options
author | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-07-06 19:49:12 +0000 |
---|---|---|
committer | Daniel Hartmeier <dhartmei@cvs.openbsd.org> | 2004-07-06 19:49:12 +0000 |
commit | 3e579676ecf6a38c5af3b088610a6aa00b9d3fe0 (patch) | |
tree | 4cd83c6b127bbd4ff889c7b32a4faebfe988b79c /libexec/ftp-proxy/util.h | |
parent | b732e5c70f50d525a60ba89ec028d8de17436cb1 (diff) |
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@
Diffstat (limited to 'libexec/ftp-proxy/util.h')
-rw-r--r-- | libexec/ftp-proxy/util.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |