2b9da571f3
- Added char convertion without iconv for some charsets. - Added rules for anonymous access based on user's IP address masks. - Added rules for user access only from defined IPs. - Allow or disallow delete files by anonymous. - Added chowning anonymous uploaded files by user IP. - Added new parametr double_377 (by default 1). This paramert switch off telnet specific character \377. - Changed find libs in "vsf_findlibs.sh". - Different speed for upload and download data transfer rates for anonymous and local users. WWW: http://vsftpd.devnet.ru/eng/ PR: ports/132556 Submitted by: Maxim Ignatenko
13 lines
427 B
Text
13 lines
427 B
Text
--- utility.c.orig Fri Jul 2 18:26:30 2004
|
|
+++ utility.c Mon Oct 10 01:19:02 2005
|
|
@@ -33,6 +33,10 @@
|
|
void
|
|
bug(const char* p_text)
|
|
{
|
|
+ static int inside_bug = 0;
|
|
+ if (inside_bug)
|
|
+ vsf_sysutil_exit(1);
|
|
+ inside_bug++;
|
|
/* Rats. Try and write the reason to the network for diagnostics */
|
|
vsf_sysutil_activate_noblock(VSFTP_COMMAND_FD);
|
|
(void) vsf_sysutil_write_loop(VSFTP_COMMAND_FD, "500 OOPS: ", 10);
|