bareos: master 4c430541
Author | Committer | Branch | Timestamp | Parent | |
---|---|---|---|---|---|
Marco van Wieringen | Marco van Wieringen | master | 2014-10-26 16:17 | master a20c11c9 | Pending |
Changeset | Refactor socket handling. Try to align the socket server in each daemon to work in the same way. Extracted the code for this socket server into a seperate file which dispatches to the right connection handler. Added first steps for allowing different type of connections on the socket the director has open. Analog to how the filed and stored determines based on the Hello message what type of connections is established. For now things should always connect as a normal console connection but the logic for determining if a Client connects are implemented only there is nothing done and the connection gets aborted right away. Use same kind of refactoring that already happened to FD and SD for allowing to reuse the two way challenge authentication for multiple connections without recoding the same over and over again. |
||||
mod - src/dird/Makefile.in | Diff File | ||||
mod - src/dird/authenticate.c | Diff File | ||||
mod - src/dird/dird.c | Diff File | ||||
mod - src/dird/dird_conf.c | Diff File | ||||
mod - src/dird/dird_conf.h | Diff File | ||||
mod - src/dird/fd_cmds.c | Diff File | ||||
mod - src/dird/protos.h | Diff File | ||||
mod - src/dird/sd_cmds.c | Diff File | ||||
add - src/dird/socket_server.c | Diff File | ||||
mod - src/dird/ua_server.c | Diff File | ||||
mod - src/filed/Makefile.in | Diff File | ||||
mod - src/filed/authenticate.c | Diff File | ||||
mod - src/filed/dir_cmd.c | Diff File | ||||
mod - src/filed/filed.c | Diff File | ||||
mod - src/filed/protos.h | Diff File | ||||
add - src/filed/socket_server.c | Diff File | ||||
mod - src/stored/Makefile.in | Diff File | ||||
mod - src/stored/authenticate.c | Diff File | ||||
mod - src/stored/dir_cmd.c | Diff File | ||||
mod - src/stored/ndmp_tape.c | Diff File | ||||
mod - src/stored/protos.h | Diff File | ||||
mod - src/stored/sd_cmds.c | Diff File | ||||
add - src/stored/socket_server.c | Diff File | ||||
mod - src/stored/status.c | Diff File | ||||
mod - src/stored/stored.c | Diff File | ||||
mod - src/win32/dird/Makefile | Diff File | ||||
mod - src/win32/filed/Makefile | Diff File | ||||
mod - src/win32/stored/Makefile | Diff File |