[CBRD-24404] Implementation of user specific hosts file
http://jira.cubrid.org/browse/CBRD-24404
Purpose
- For security reasons, there are some cases that CUBRID components cannot access the hosts file which is essential for conversion of a hostname to the IP address. For this reason, it is required to implement user specific hosts file supporting library which convert the IP address from the given hosts file.
Implementation
- Add hosts.conf file
- Add host look up function
- Add system parameter : hosts_conf
Remarks
- N/A
I pushed a commit to resolve windows build error.
- win/cubridcs/cubridcs.def
- win/cubridsa/cubridsa.def
If you change host_lookup.c as I suggested, the windows build is successful.
I pushed a commit to resolve windows build error.
- win/cubridcs/cubridcs.def
- win/cubridsa/cubridsa.def
If you change host_lookup.c as I suggested, the windows build is successful.
Oh I see. I will try to apply it and then commit again.
Please consider windows build also.
I will execute "git rebase to" eliminate conflict error.
In master process and broker, we need to change the code execution flow to allocate system parameters.
Thank you for your 1st contribution as a member of the team dev1. I hope you do well in the future.
Thank you sir! :)