cubrid icon indicating copy to clipboard operation
cubrid copied to clipboard

[CBRD-24404] Implementation of user specific hosts file

Open eido5 opened this issue 3 years ago • 5 comments

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

eido5 avatar Jul 21 '22 06:07 eido5

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.

kisoo-han avatar Aug 11 '22 08:08 kisoo-han

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.

eido5 avatar Aug 12 '22 07:08 eido5

Please consider windows build also.

kisoo-han avatar Aug 26 '22 05:08 kisoo-han

I will execute "git rebase to" eliminate conflict error.

eido5 avatar Sep 02 '22 06:09 eido5

In master process and broker, we need to change the code execution flow to allocate system parameters.

eido5 avatar Sep 08 '22 00:09 eido5

Thank you for your 1st contribution as a member of the team dev1. I hope you do well in the future.

Thank you sir! :)

eido5 avatar Nov 14 '22 07:11 eido5