8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 06:43:04 +01:00
Commit Graph

39 Commits

Author SHA1 Message Date
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
asfernandes
9e0c4f06f2 Misc 2009-04-04 16:28:33 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
robocop
2fadc0e456 Style. 2008-12-22 09:00:05 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
alexpeshkoff
59cbc9e72a Do not ignore errors in our API calls when working with security database 2008-09-04 13:16:59 +00:00
robocop
e44a99f339 Style and minor cleanup. 2008-05-10 03:44:57 +00:00
dimitr
51cdfd50e0 Enabled security database connection caching and brute-force attack protection for SuperClassic.
This code is almost useless for the regular Classic, but it doesn't hurt either.
2008-05-02 11:10:00 +00:00
robocop
28a8dffc54 Misc. 2008-03-04 06:56:15 +00:00
asfernandes
5d2ca89242 Misc 2008-03-01 18:24:06 +00:00
alexpeshkoff
00c63c1f8d 1. Make signals handling in yValve MT safe.
2. Introduce new private API calls, fb__shutdown() and fb__shutdown_callback().
3. Introduce fb_smp_server - binary to run superclassic on posix.
4. Various cleanups.
2008-02-28 18:42:30 +00:00
asfernandes
1ce834c8dc Misc 2008-02-14 01:31:15 +00:00
alexpeshkoff
dbf65528b8 Fixed CORE-1726: isc_service_start failed, use InitHolder for SecurityDatabase in services too. 2008-02-13 13:10:23 +00:00
alexpeshkoff
ee6c433597 Mutexes cleanup:
1. Make all firebird mutexes recursive.
2. Enable exceptions to be thrown by mutexes and process them in code where needed.
3. Catch and ignore exceptions in various MutexGuard dtors.
2008-02-05 08:21:18 +00:00
alexpeshkoff
3625cc2af4 partially roll back my last changes - use single mutex to synchronize access to security database 2008-01-30 08:57:29 +00:00
alexpeshkoff
35520bc1f1 fixed posix SS - use recursive mutex to protect security DB access 2008-01-29 15:03:34 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
d1e8f67a5d The merge continued. 2008-01-16 09:29:37 +00:00
alexpeshkoff
3e0d8ebc5b Fixed CORE-1603: Possible buffer overflow with long user name 2007-11-19 16:18:59 +00:00
dimitr
8e07223ebf Threading cleanup. More to follow. 2006-04-30 16:28:30 +00:00
alexpeshkoff
5274a7361c Security fix - temporary disable logins for clients, making too many wrong attempts to login 2005-08-23 06:52:55 +00:00
alexpeshkoff
f4cd5a154f Changed name to security2.fdb 2005-02-24 12:24:38 +00:00
alexpeshkoff
6510b9501f take autoconfig.h into account 2004-11-16 11:41:35 +00:00
alexpeshkoff
daa112c705 replaced platform-dependent SHA1 with in-tree sha.cpp 2004-11-14 18:09:14 +00:00
alexpeshkoff
3bd02ee852 security fix
1. Use SHA1 hash instead of ENC_crypt.
2. Disable any remote (non-embedded) access to security.fdb.
3. Use services in gsec and isc_*_user() fucntions.
    In gsec switch -database replaced with -server.
4. Protect from attempts to brut-force accounts/passwords.
2004-11-07 14:50:53 +00:00
brodsom
80b424e346 -Replace define with const
-Move SYS_ERR, ERRNO, H_ERRNO and INET_ERRNO(ERRNO in inet.cpp) macros to common.h
-Remove unused macros
2004-05-05 21:55:13 +00:00
robocop
16cbc204df Cleanup 2003-12-31 05:36:12 +00:00
dimitr
1958811522 Some cleanup. 2003-10-05 10:27:08 +00:00
dimitr
cfb95505df A few corrections. 2003-10-03 12:28:54 +00:00
brodsom
2aeb693d06 extern cleaning
removing underscores in macros
DLL_EXPORT cleaning
2003-10-03 01:53:34 +00:00
dimitr
3ecade90cb It's useless to care about handle leaks when both the engine and thread scheduler are shutdown.
Please also note, that THREAD_* macros shouldn't be used in atexit()-handlers or static destructors.
2003-05-07 07:06:42 +00:00
dimitr
57efb1eb46 Fixed threading issues in the security database manager. 2003-05-02 18:41:12 +00:00
dimitr
829d9ac0c4 Fixed crash in the embedded server. 2003-04-17 08:30:17 +00:00
aafemt
e5146fd644 Introduce of ISC_STATUS_ARRAY 2003-04-16 10:18:51 +00:00
aafemt
19bb54f2a8 STATUS -> ISC_STATUS 2003-04-10 06:49:16 +00:00
dimitr
3a23615884 Make sure attachment handle is closed on server shutdown. 2003-03-20 09:28:34 +00:00
eku
796a4e4e31 Fixed more issues with pwd.h. 2003-02-19 06:14:39 +00:00
bellardo
456ac1b639 Opps, I should at least commit the newly renamed file :-) 2003-02-13 22:44:00 +00:00