index
:
FreeBSD-src
RELENG_2_2
RELENG_2_3
RELENG_2_3_0
RELENG_2_3_1
RELENG_2_3_2
RELENG_2_3_3
RELENG_2_3_4
RELENG_2_4
RELENG_2_4_4
RELENG_2_4_OLD
devel
devel-11
releng/10.1
releng/10.3
releng/11.0
releng/11.1
stable/10
stable/11
Raptor Engineering's fork of pfsense FreeBSD src with pfSense changes
Raptor Engineering, LLC
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
sbin
/
hastd
/
primary.c
Commit message (
Expand
)
Author
Age
Files
Lines
*
Declare directions for sockets between primary and secondary.
pjd
2011-04-02
1
-0
/
+5
*
Handle the problem described in r220264 by using GEOM GATE queue of unlimited
pjd
2011-04-02
1
-1
/
+1
*
Use timeout from configuration file not only when sending and receiving,
pjd
2011-03-25
1
-1
/
+1
*
Use role2str() when setting process title.
pjd
2011-03-25
1
-1
/
+1
*
After synchronization is complete we should make primary counters be
trociny
2011-03-22
1
-3
/
+3
*
For requests that are sent only to remote component use the
trociny
2011-03-22
1
-2
/
+7
*
White space cleanups.
pjd
2011-03-22
1
-3
/
+3
*
When dropping privileges prefer capsicum over chroot+setgid+setuid.
pjd
2011-03-21
1
-1
/
+1
*
Initialize localcnt on first write. This fixes assertion when we create
pjd
2011-03-21
1
-2
/
+6
*
In hast.conf we define the other node's address in 'remote' variable.
pjd
2011-03-21
1
-11
/
+21
*
For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incoming
trociny
2011-03-17
1
-8
/
+4
*
Make workers inherit debug level from the main process.
trociny
2011-03-11
1
-1
/
+3
*
- Log size of data to synchronize in human readable form (using %N).
pjd
2011-03-07
1
-6
/
+18
*
Allow to compress on-the-wire data using two algorithms:
pjd
2011-03-06
1
-0
/
+8
*
Allow to checksum on-the-wire data using either CRC32 or SHA256.
pjd
2011-03-06
1
-10
/
+19
*
Setup another socketpair between parent and child, so that primary sandboxed
pjd
2011-02-03
1
-30
/
+60
*
Add missing locking after moving keepalive_send() to remote send thread
pjd
2011-02-03
1
-3
/
+9
*
Let the caller log info about successful privilege drop.
pjd
2011-02-03
1
-0
/
+1
*
Allow to specify connection timeout by the caller.
pjd
2011-02-02
1
-2
/
+2
*
- Use pjdlog for assertions and aborts as this will log assert/abort message
pjd
2011-01-31
1
-37
/
+36
*
Drop privileges in worker processes.
pjd
2011-01-28
1
-0
/
+5
*
Use newly added descriptors_assert() function to ensure only expected
pjd
2011-01-28
1
-0
/
+2
*
Close all unneeded descriptors after fork(2).
pjd
2011-01-28
1
-6
/
+11
*
Add comments to places where we treat errors as ciritical, but it is possible
pjd
2011-01-28
1
-0
/
+3
*
Don't open configuration file from worker process. Handle SIGHUP in the
pjd
2011-01-24
1
-50
/
+27
*
The 'ret' variable is of type ssize_t and we use proper format for it (%zd), so
pjd
2010-12-16
1
-3
/
+2
*
Improve problems logging.
pjd
2010-12-16
1
-7
/
+34
*
Don't ignore errors from remote requests.
pjd
2010-12-16
1
-1
/
+1
*
Move timeout.tv_sec initialization outside the loop - sigtimedwait(2) won't
pjd
2010-11-15
1
-1
/
+1
*
1. Exit when we cannot create incoming connection.
pjd
2010-11-15
1
-2
/
+4
*
Send packets to remote node only via the send thread to avoid possible
pjd
2010-11-02
1
-40
/
+57
*
Before this change on first connect between primary and secondary we
pjd
2010-10-24
1
-3
/
+40
*
Plug memory leaks.
pjd
2010-10-24
1
-0
/
+1
*
We can't zero out ggio request, as we have some fields in there we initialize
pjd
2010-10-08
1
-1
/
+0
*
Clear ggate structures before using them. We don't initialize all the field
pjd
2010-10-07
1
-1
/
+4
*
Log error message when we fail to destroy ggate provider.
pjd
2010-10-07
1
-1
/
+2
*
Start the guard thread first, so we can handle signals from the very begining.
pjd
2010-10-07
1
-3
/
+7
*
Don't close local component on exit as we can hang waiting on g_waitidle.
pjd
2010-10-07
1
-6
/
+0
*
Switch to sigprocmask(2) API also in the main process and secondary process.
pjd
2010-09-22
1
-13
/
+0
*
Fix possible deadlock where worker process sends an event to the main process
pjd
2010-09-22
1
-4
/
+12
*
Add __dead2 to functions that we know they are going to exit.
pjd
2010-09-20
1
-2
/
+2
*
Mask only those signals that we want to handle.
pjd
2010-08-31
1
-1
/
+4
*
Because it is very hard to make fork(2) from threaded process safe (we are
pjd
2010-08-30
1
-19
/
+20
*
Use pjdlog_exit() before fork().
pjd
2010-08-30
1
-2
/
+2
*
Execute hook when connection between the nodes is established or lost.
pjd
2010-08-30
1
-2
/
+5
*
Execute hook when split-brain is detected.
pjd
2010-08-30
1
-0
/
+3
*
Use sigtimedwait(2) for signals handling in primary process.
pjd
2010-08-30
1
-81
/
+40
*
- Move functionality responsible for checking one connection to separate
pjd
2010-08-29
1
-52
/
+75
*
Disconnect after logging errors.
pjd
2010-08-29
1
-1
/
+1
*
Allow to run hooks from the main hastd process.
pjd
2010-08-29
1
-0
/
+2
[next]