Love Hornquist Astrand
0879b9831a
remove trailing whitespace
2011-05-21 11:57:31 -07:00
Love Hornquist Astrand
3c053a2e09
fix up the paranoid code to make it work with ipv6.
2009-07-16 22:21:59 -07:00
Love Hörnquist Åstrand
29fc07df5b
add paranoid check for PORT and EPRT, make it default
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-15 22:18:25 +00:00
Love Hörnquist Åstrand
22673e4df8
Hide home directory when chrooted or guest. From Ake Holmlund
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-25 16:25:36 +00:00
Love Hörnquist Åstrand
a21969d84d
drop krb4 support
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-26 01:09:16 +00:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
99a6bdb769
Fix shadow warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 18:33:08 +00:00
Love Hörnquist Åstrand
70e4fce904
Add Kerberos 5 klist, old patch from Tomas Nyström (remove krb4 support).
...
Support klist in client for kerberos 5 clase.
Clean up delegation of gss tokens and do afslog.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-19 17:08:11 +00:00
Love Hörnquist Åstrand
b2c54991a2
sprinkel check_secure, check if CCC was passed in check_secure
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-09 15:43:54 +00:00
Love Hörnquist Åstrand
bf0ab85d2e
Remove all traces of setjmp/longjmp.
...
Handle those command that is needed in oobhandler,
those are ABOR, STAT, ENC, CONF, MIC.
add options to turn off insecure OOB handling and document the option
Changes inspired by openbsd and netbsd changes but quite diffrent is
most places since the code no longer look and is structured the same
way.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-20 13:31:20 +00:00
Love Hörnquist Åstrand
4e8ab3a81f
make cbuf 64k to handle lager tickets
...
From: MAAAAA MOOOR <huaraz@btinternet.com >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-20 17:07:47 +00:00
Johan Danielsson
67e6f2f7eb
strncasecmp returns integer so don't compare with NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-19 18:19:17 +00:00
Love Hörnquist Åstrand
b8149a5910
support afslog <cell> and afslog when compiled with krb5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-14 21:51:28 +00:00
Assar Westerlund
98a8b2f4c6
add some (unsigned char) casts to is*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-05 06:39:29 +00:00
Johan Danielsson
7ffb13e372
only allow pasv if logged in
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-05 16:53:20 +00:00
Johan Danielsson
2392cd7bc2
change unix test to be negative
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-06 14:24:14 +00:00
Assar Westerlund
c7c7a33ef6
rename all st_mtime variables to avoid conflict with #define.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-02 21:25:29 +00:00
Assar Westerlund
85ff7204cc
make sure to always call time, ctime, and gmtime with `time_t's.
...
there were some types (like in lastlog) that we believed to always be
time_t. this has proven wrong on Solaris 8 in 64-bit mode, where they
are stored as 32-bit quantities but time_t has gone up to 64 bits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8066 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-03-26 19:46:45 +00:00
Assar Westerlund
dec6af64d5
(help): it's unnecessary to interpret help strings as printf commands
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7234 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-26 11:56:23 +00:00
Assar Westerlund
76ab5ccd3f
(OPTS): shouldn't this be a STRING instead of foo?
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7111 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 20:40:50 +00:00
Johan Danielsson
4fbe521c04
FEAT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7109 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-04 15:37:50 +00:00
Johan Danielsson
333c91b357
(LIST): call list_file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7087 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 16:37:02 +00:00
Assar Westerlund
bf75fac82a
large strc{py,at}_truncate -> strlc{py,at} replacement
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Assar Westerlund
2d425c89f4
save file names when doing commands that might get aborted (and
...
longjmp:ed out of) to avoid overwriting them
also remove extra closing brace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6680 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-02 21:57:27 +00:00
Johan Danielsson
c599086c16
change site find' to
site locate' (to match what it does, and other
...
implementations) keep find as an alias
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6675 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-01 20:11:13 +00:00
Assar Westerlund
4bc7ce877b
add EPRT and EPSV
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6630 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-28 13:36:20 +00:00
Assar Westerlund
f88e911ef5
rename getline -> ftpd_getline
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6160 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-08 02:22:57 +00:00
Assar Westerlund
9b192a4705
moved all FTPSEC commands from cmd to rcmd to avoid resetting
...
`restart_point'. see my start complain about this grammar :-)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5874 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-08 09:25:56 +00:00
Assar Westerlund
3abd468399
moved all check_login and check_login_no_guest to the end of the rules
...
to ensure we don't generate several (independent) error messages.
once again, having a yacc-grammar for FTP with embedded actions
doesn't strike me as the most optimal way of doing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5275 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-01-13 22:52:54 +00:00
Assar Westerlund
a56394cd44
(toolong): fix type
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5119 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-08-15 22:42:35 +00:00
Assar Westerlund
e9fea047b0
random fixes to make it build with socks
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5028 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-13 00:06:56 +00:00
Johan Danielsson
a5f54865d4
merge strcpy_truncate branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Johan Danielsson
a4f35c76e6
Back out of previous change, it doesn't work with bison. Rename STAT
...
to sTAT instead.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4788 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-20 04:28:08 +00:00
Johan Danielsson
5a655c8a53
fix for AIX
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4775 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-18 19:34:40 +00:00
Johan Danielsson
5f4f0ccfc6
Some casts.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4768 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-04-13 10:23:33 +00:00
Johan Danielsson
6d51cd1dfc
Make compile w/o krb4.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4684 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-26 23:46:03 +00:00
Johan Danielsson
3722f46d6f
Changes for new merged security stuff.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4670 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-26 02:56:10 +00:00
Johan Danielsson
8a3bfa99a2
rfc2228
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4059 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-28 01:46:59 +00:00
Assar Westerlund
3367bfadcd
added kdestroy, krbtkfile and afslog
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3659 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-24 10:17:29 +00:00
Assar Westerlund
6ca5505eef
(SYST): Check for `__unix'. This is (apparently) a standard with many
...
representations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1773 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-25 14:38:49 +00:00
Björn Groenvall
fc86080ec8
Fix for socks5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1757 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-21 09:23:00 +00:00
Assar Westerlund
327a4d2bd9
added __attribute__ ((format (printf)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1707 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 11:04:38 +00:00
Assar Westerlund
f4812b0463
hack for reget.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1696 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-11 08:59:39 +00:00
Assar Westerlund
2a4375828c
always cast to (long) before printing out an `off_t'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1674 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-07 02:20:56 +00:00
Assar Westerlund
d844ace4c4
Year 2000 fix
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1672 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-07 00:38:36 +00:00
Assar Westerlund
dd02a92a8b
replace sprintf all over the place
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1635 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-05-02 14:29:33 +00:00
Assar Westerlund
02b12a9a7e
removed unused code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1476 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-23 05:02:21 +00:00
Assar Westerlund
77ec5783ea
missing semicolon
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1469 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-22 17:51:39 +00:00
Assar Westerlund
0ba0e6664f
Use strupr
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1092 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-12-14 20:46:30 +00:00
Assar Westerlund
e5a0fdfb0e
Renamed delete' and
store' to do_delete' and
do_store' to avoid
...
conflict with DBM-functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1061 ec53bebd-3082-4978-b11e-865c3cabbd6b
1996-11-21 20:02:54 +00:00