Unidata / LDM

The Unidata Local Data Manager (LDM) system includes network client and server programs designed for event-driven data distribution, and is the fundamental component of the Unidata Internet Data Distribution (IDD) system.
http://www.unidata.ucar.edu/software/ldm
Other
43 stars 27 forks source link

Add support for registry parameter "/server/ip-addr" #58

Open semmerson opened 7 years ago

semmerson commented 7 years ago

The parameter is there, but not code attempts to use it.

mustbei commented 3 years ago

In ldmadmin.pl, line 918: $cmd_line = $cmd_line . " $ip_addr" if $ip_addr ne "0.0.0.0"; where a different ip_addr than "0.0.0.0" could be set in the registry and used here. What other usage of ip_addr should there be?

semmerson commented 3 years ago

Good idea.

Do you think you can do it?

mustbei commented 3 years ago

It's currently implemented in ldmadmin.py.

semmerson commented 3 years ago

Did you also modify all the registry stuff, including the documentation?

mustbei commented 3 years ago

There is currently no mention of ip_addr setting in the registry.xml within the ldmadmin man page. Probably because ip_addr is NOT an argument to any ldmadmin commands that the user could set / overwrite default.

semmerson commented 3 years ago

The registry parameters are documented in file "regutil/regpar.tab.in".

mustbei commented 3 years ago

Will do. Thank you! It looks like it's already documented correctly there: IP_ADDR:/server/ip-addr:The IP address of the interface on which the LDM server should listen for incoming connections. An address of 0.0.0.0 will cause the server to listen on all available interfaces.:0.0.0.0:ip_addr