OpenBSD CVS

CVS log for src/libexec/ftp-proxy/Attic/util.c


[BACK] Up to [local] / src / libexec / ftp-proxy

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20, Thu Nov 24 17:12:51 2005 UTC (18 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
FILE REMOVED

code is not being used; toss into Attic

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 6 19:49:11 2004 UTC (19 years, 11 months ago) by dhartmei
Branch: MAIN
CVS Tags: OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.18: +11 -6 lines
Diff to previous 1.18 (colored)

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@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Jan 22 16:10:30 2004 UTC (20 years, 4 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.17: +8 -4 lines
Diff to previous 1.17 (colored)

Add a -a address option to set the address which the proxy will use
to bind the local end of outgoing connections, and some man page
cleanup. Based on diff provided in pr 3538 by Karl O. Pinc <kop@meme.com>
Closes pr 3538. ok dhartmei@

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 22 21:53:40 2003 UTC (20 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored)

use socklen_t; andrushock@korovino.net

Revision 1.16 / (download) - annotate - [select for diffs], Sat Jun 28 01:04:57 2003 UTC (20 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.15: +3 -1 lines
Diff to previous 1.15 (colored)

missing protos

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 27 12:47:03 2003 UTC (21 years, 1 month ago) by tdeval
Branch: MAIN
Changes since 1.14: +1 -2 lines
Diff to previous 1.14 (colored)

Duplicate include.  Pointed out by andrushock at korovino dot net

Revision 1.14 / (download) - annotate - [select for diffs], Thu Jan 23 23:15:16 2003 UTC (21 years, 4 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

Honour TCP_WRAPPERS mk.conf setting; ok millert@

Revision 1.13 / (download) - annotate - [select for diffs], Thu Dec 19 18:19:10 2002 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.12: +10 -10 lines
Diff to previous 1.12 (colored)

various tweaks.  someone mailed in a huge diff that was so wrong in so
many ways, and i wasted 2 hours finding the gems in it...

Revision 1.12 / (download) - annotate - [select for diffs], Thu Dec 19 01:29:03 2002 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.11: +9 -9 lines
Diff to previous 1.11 (colored)

accidental commit

Revision 1.11 / (download) - annotate - [select for diffs], Thu Dec 19 01:27:56 2002 UTC (21 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.10: +10 -10 lines
Diff to previous 1.10 (colored)

missing .Pp

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 24 08:42:52 2002 UTC (21 years, 10 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

spaces

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jun 9 01:03:12 2002 UTC (21 years, 11 months ago) by beck
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

no newlines in syslog

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 23 10:22:14 2002 UTC (22 years ago) by deraadt
Branch: MAIN
Changes since 1.7: +5 -5 lines
Diff to previous 1.7 (colored)

KNF during an audit; found an improperly initialized sockaddr

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 15 12:40:59 2002 UTC (22 years, 3 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +3 -9 lines
Diff to previous 1.6 (colored)

Fix memory leak in get_proxy_env().

deraadt@ ok

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 15 03:54:40 2001 UTC (22 years, 8 months ago) by frantzen
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.5: +6 -4 lines
Diff to previous 1.5 (colored)

IPv6 support from Ryan McBride (mcbride@countersiege.com)

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 5 20:40:10 2001 UTC (22 years, 9 months ago) by beck
Branch: MAIN
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored)

-Make ftp-proxy drop privs to user "proxy" by default.
   *WARNING* this means that it will die when it can't find user proxy
   if you are not running with a passwd database generated from current
- Speling cleanup and missing va_end() noticed by  <d.doroshenko@omnitel.net>
- fix logging of getpwnam|getgrnam failures.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Sep 5 12:42:31 2001 UTC (22 years, 9 months ago) by dhartmei
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

s/pf_natlook/pfioc_natlook (ioctl parameter struct)

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 28 19:35:04 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.2: +14 -15 lines
Diff to previous 1.2 (colored)

oh, some cleanups etc etc

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 19 13:43:09 2001 UTC (22 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +48 -70 lines
Diff to previous 1.1 (colored)

1564 lines of cleanup

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 19 04:11:12 2001 UTC (22 years, 9 months ago) by beck
Branch: MAIN

transparent ftp proxy, based on Obtuse Systems juniper stuff with much
modernizing and cleanup. still needs looking at.

Currently supports PORT PASV EPRT data connections with only a pf rdr to
capture the control connection. (I.E. you don't need ip forwarding
or other NAT stuff). Runs from inetd.

Supports all passive (EPSV PASV) when using -n flag, where the proxy
ignores passive mode data connections (and assumes nat will get them
through).

Todo yet:
	More audit
	IpV6
	Handle EPSV in proxy (with an rdr added then removed)
	Option to Daemonize and bind only to the loopback
	More Content/Login filtering, etc. etc. and more bloat

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.