alexpeshkoff
20e846369e
Implemented CORE-3370: Resolve additional aspects of multiple security databases from services and cross-database requests POV (mapping names)
2014-04-04 15:57:18 +00:00
robocop
2810026363
Misc and warnings.
2013-12-29 00:35:50 +00:00
alexpeshkoff
4a8fe5a0de
Implemented CORE-4273: Per-database control on access to database from remote stations
2013-11-22 15:21:11 +00:00
alexpeshkoff
d6297bebd4
Fixed some gcc warnings
2013-11-19 13:19:11 +00:00
alexpeshkoff
5a054cca16
Fix found by Jim Starkey man-in-themiddle attack on ATTACH packet.
...
That packet may contain database name, command line for service and/or some other important and critical information.
To avoid such attack wire encryption is started before attaching database or service manager, right after connect.
Also should fix a number of issues found in Alpha1 regarding services attach.
2013-10-16 12:53:04 +00:00
alexpeshkoff
1ef34fdf39
Fixed CORE-3942: Restore from gbak backup using service doesn't report an error
2013-06-07 10:41:12 +00:00
alexpeshkoff
538dc8cd87
New fix for CORE-3995: Slight problem with GBAK parameter checking
2013-03-12 11:43:46 +00:00
alexpeshkoff
6822569a93
Fixed CORE-3575:Support of backup volumes with size more than 4Gb
2013-03-05 12:53:09 +00:00
alexpeshkoff
c1a4759915
Fixed CORE-3995: Slight problem with GBAK parameter checking
2012-12-20 15:27:54 +00:00
dimitr
9f2a992078
Implemented:
...
CORE-2780: Include client library version and protocol version in mon$attachments
CORE-2187: Return the Hostname in mon$attachments
CORE-3779: Report OS user name in MON$ATTACHMENTS
+ some cleanup.
2012-09-12 07:45:51 +00:00
alexpeshkoff
477e14a820
Implemented CORE-2666: Make it possible to use API to do remote backups/restores
2012-06-20 11:47:30 +00:00
alexpeshkoff
0afd11b7ee
Postfix for AV due to CORE-3649
2012-03-19 09:09:21 +00:00
alexpeshkoff
e0eda0c873
Fixed use of UTF8 strings in services
2012-03-15 15:05:31 +00:00
alexpeshkoff
aa64bc7424
Fixed CORE-3649: gbak deletes backup file even if error happens when it's already successfully closed
2012-03-03 16:47:30 +00:00
alexpeshkoff
4e795f4047
Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports.
2012-03-01 08:55:43 +00:00
alexpeshkoff
db80e18dc7
Fixed CORE-3658: FBSVCMGR connects to server as OS user name rather than value of ISC_USER environment variable
2011-12-30 14:11:24 +00:00
alexpeshkoff
70ddf7a875
Make services work correctly with multiple security databases
2011-10-04 12:51:57 +00:00
alexpeshkoff
256cb1e853
1. Use reference counted stable in global pool objects instead PublicHandle's validation.
...
2. Avoid massive segfaults when closing heavily loaded server.
3. Restored logic in YValve required for correct shutdown.
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
dimitr
d640d04922
Fixed assertion during restore.
2011-03-03 14:12:07 +00:00
alexpeshkoff
511daaca67
warnings
2011-01-21 16:43:49 +00:00
alexpeshkoff
740351638f
Fixed CORE-3261: Assertion when running restore service
2010-11-26 16:54:53 +00:00
asfernandes
b46abf3984
Misc
2010-11-21 02:36:57 +00:00
alexpeshkoff
23813add62
Fixed CORE-3249: gbak file is not truncated during backup operation
2010-11-19 15:12:49 +00:00
alexpeshkoff
694fb30f8f
Fixed assertion
2010-11-15 17:03:30 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
d6e4b53865
Misc
2010-05-08 02:25:58 +00:00
alexpeshkoff
965b851b77
Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup
2010-05-06 13:42:20 +00:00
alexpeshkoff
e8acf155b0
Cleanup - avoid 2 unneeded calls "tdgbl->uSvc->output("");"
2010-04-16 14:49:00 +00:00
alexpeshkoff
4f249d5269
Frontported - fixed delivery of status vector from service thread
2009-12-18 12:42:26 +00:00
robocop
87b38cc1c5
Style.
2009-11-06 10:47:32 +00:00
robocop
b19999bb7c
Adriano prefers a constant.
2009-11-06 05:26:54 +00:00
asfernandes
87e274b76a
Misc
2009-11-06 01:21:14 +00:00
robocop
08a33d50cc
Unfortunately several of these are intertwined:
...
CORE-462 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 Utilities need a more coherent way to show help and version
CORE-2541 Too many hardcoded messages in nbackup
CORE-2542 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 nbackup may hide the real cause of failure
CORE-2545 Lack of several validations in gbak
CORE-2547 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
alexpeshkoff
dbbea09f2b
Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services
2009-10-02 16:44:00 +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
2cb136d9b8
Misc
2009-08-05 02:12:46 +00:00
robocop
895fa9fa55
Start from our minimum accepted page size instead of the legacy value.
2009-08-04 12:59:09 +00:00
alexpeshkoff
b053182f60
Fixed gbak logic when using -TRUSTED switch - thanks to Claudio
2009-07-10 07:52:56 +00:00
robocop
ba89580753
CORE 2540: Utilities need a more coherent way to show help and version
...
Now all utilities react to -z for version and -? for help (qli was left for another time)
CORE-2541: Too many hardcoded messages in nbackup (done partially)
2009-07-07 10:25:50 +00:00
robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
robocop
9d17ba5a42
Debug check.
2009-06-25 10:50:11 +00:00
asfernandes
c986de33a2
Misc
2009-04-22 01:58:40 +00:00
robocop
6780b8c31e
Comments.
2009-04-17 14:10:11 +00:00
robocop
096d8e78e6
Trying to be more consistent in the detection of headers (HAVE_* macros).
2009-02-08 11:38:00 +00:00
asfernandes
75c0d0f353
Misc
2009-02-05 01:08:13 +00:00
robocop
6559d18d12
Cleaning the dust that has accumulated over years.
2009-02-03 10:50:53 +00:00
robocop
562f5faa05
Misc.
2009-02-02 10:39:49 +00:00
asfernandes
79e89d573d
Misc
2009-01-03 19:02:04 +00:00
robocop
750485cc8a
Some platforms have problems promoting char to int inside the ctype functions (the value becomes negative). If someone has better idea than this fix, please commit it.
2009-01-03 10:00:58 +00:00
robocop
21bb7f3d20
Style.
2009-01-03 09:14:29 +00:00
robocop
2c6dcd5f38
Booleans.
2009-01-02 09:48:57 +00:00
robocop
d11c994960
Style.
2008-12-31 05:06:08 +00:00
hvlad
7c026e2a64
Restore ability to specify few starting chars (i.e. not full word) of optional switch OVERWRITE in gbak (it was accidentally brocken before 2.5 alpha1)
2008-12-19 12:43:30 +00:00
robocop
9f52942ab0
Style.
2008-12-02 07:09:49 +00:00
robocop
eb6ea18df4
Misc.
2008-12-01 09:21:31 +00:00
alexpeshkoff
9431183e42
Implemented CORE-1667: Reading password from file/stdin
2008-11-30 17:11:56 +00:00
asfernandes
5ab801f09d
Misc
2008-11-26 00:45:20 +00:00
alexpeshkoff
000f7b3d3e
added support to enter password from terminal
2008-11-25 14:27:12 +00:00
alexpeshkoff
17ae73b5d7
This is the first attempt to fix CORE-1667 (Reading password from file/stdin).
...
Please take a look at it and comment, before adding support to other utilities.
Main problems seen:
- Name of a switch (now -@PASSWORD, may be -PASSFILE is better?)
- How to provide support for stdin?
2008-11-24 17:22:44 +00:00
alexpeshkoff
a3c947ea76
Renamed Service's methods according to Claudio's request to reflect data movement direction
2008-09-11 11:51:25 +00:00
alexpeshkoff
de1cc4f41a
Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko
2008-09-05 11:41:00 +00:00
robocop
07c087094d
Mostly remove useless parentheses.
2008-06-03 06:14:59 +00:00
asfernandes
84603f1169
Misc
2008-05-25 01:39:16 +00:00
robocop
a84cc0ec05
Cleanup.
2008-05-23 13:27:47 +00:00
robocop
73994d24c8
CORE-1911: Make the inline gbak help print its options again.
2008-05-23 13:19:20 +00:00
robocop
6a439b2866
Solved CORE-1911 in a simple albeit not very clever way.
...
svc.cpp only needs to read the gbak switches table, but burp.cpp needs to toggle the in_sw_state field, hence I made the global instance a constant and copied it to a local array inside burp.cpp's "gbak" function.
2008-05-23 13:05:35 +00:00
alexpeshkoff
796e02d2a5
1. Cleanup - use constants ISC_USER/ISC_PASSWORD instead of always repeated string constants.
...
2. Let services uses environment and OS auth when run embedded.
2008-05-19 13:58:37 +00:00
alexpeshkoff
990c259373
Fixed CORE-1843: gbak with service manager don't allow path with space
2008-05-16 14:08:45 +00:00
alexpeshkoff
7ff8e4d2be
Fixed CORE-1879: Server uses wrong authentication method
2008-05-04 13:38:02 +00:00
asfernandes
1679cfdd17
Fix POSIX build
2008-04-30 01:47:10 +00:00
hvlad
2d7379aa3b
Fixed broken restore via service API
2008-04-29 12:24:07 +00:00
robocop
272ab7fb99
Misc.
2008-04-21 12:14:16 +00:00
asfernandes
a9413397a7
Feature CORE-1831 - Creation of GBAK restore switches FIX_FSS_DATA and FIX_FSS_METADATA
2008-04-11 12:57:52 +00:00
alexpeshkoff
e3d7732078
Fix for CORE-1805: do not let svc_status blink during utility operation, instead copy it at service exit time
2008-04-07 10:52:34 +00:00
alexpeshkoff
71703e1d17
1. Fixed CORE-1805: Database is not restored correctly using Services API.
...
2. Made index activation independent from verbose flag - helps with broken backups.
2008-04-04 09:42:42 +00:00
alexpeshkoff
aafed20fe1
Fixed problems with shutting down actively running engine - related with CORE-1805.
2008-04-02 14:26:17 +00:00
alexpeshkoff
7dacbbbd74
Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
...
Related cleanup.
2008-03-03 17:47:09 +00:00
robocop
0d1985d1f0
Misc, explicit constructors, extra commas in enumerations, constness, etc.
2008-02-02 16:57:15 +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
067b04f988
Fixed CORE-1703.
2008-01-19 13:30:46 +00:00
dimitr
12c4322ab9
The merge continued.
2008-01-16 06:11:50 +00:00
robocop
3a7d93f658
Misc tweaks with Firebird::string.
2007-08-26 09:53:08 +00:00
asfernandes
0abf92fb9b
Misc
2007-05-09 02:03:49 +00:00
alexpeshkoff
6758baebf8
use ClumpletWriter for spb
2007-05-08 15:13:57 +00:00
alexpeshkoff
8274d3213d
Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible
2007-04-25 14:10:47 +00:00
asfernandes
72d139baf3
Misc
2007-04-07 15:52:45 +00:00
alexpeshkoff
1932c8f4e7
added switch -trusted to most of firebird utilities
2007-04-07 08:47:58 +00:00
asfernandes
e3ce7f7104
Misc
2007-03-30 01:57:36 +00:00
robocop
e71a03261c
This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash.
2007-03-28 04:20:36 +00:00
robocop
409ff041dd
Misc and replaced "IB" by "FB" where it made sense to me.
2007-02-11 09:04:54 +00:00
alexpeshkoff
1a4652f01a
Trusted authentication for windows
2006-12-08 18:38:15 +00:00
asfernandes
05a44671d1
Corrections
2006-11-06 00:47:04 +00:00
asfernandes
570b6cd4b4
1) CORE-645 and CORE-745: Database triggers
...
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
aafemt
c662ea7d9e
Warnings
2006-08-17 12:08:49 +00:00
alexpeshkoff
028ab3c597
fixed AV related with SVC_TRMNTR in services
2006-07-27 14:24:09 +00:00
robocop
db5f743685
Misc.
2006-06-16 08:13:20 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
alexpeshkoff
85c5ad885f
return error in case of unexpected status_exception
2006-03-15 17:27:53 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00