zhiming99 c67453b879 | 4 days ago | |
---|---|---|
... | ||
testcfgs | 12 months ago | |
Dockerfile | 4 days ago | |
Makefile.am | 2 months ago | |
README.md | 2 years ago | |
btinrtst.sh | 7 months ago | |
buildall-deb.sh | 1 week ago | |
buildall-fed.sh | 1 week ago | |
cfg4gmssl.sh | 11 months ago | |
cfg4ssl.sh | 11 months ago | |
fusetest.sh | 5 months ago | |
gmsslkey.sh | 7 months ago | |
initkrb5.sh | 8 months ago | |
initws.sh | 8 months ago | |
krbparse.py | 8 months ago | |
makerpcf.sh | 3 weeks ago | |
opensslkey.sh | 7 months ago | |
rpcfg.py | 2 months ago | |
rpcfgnui.py | 7 months ago | |
runtest.sh.in | 5 months ago | |
updcfg.py.in | 4 months ago | |
updgmskey.py | 12 months ago | |
updinitcfg.py | 12 months ago | |
updk5cfg.py | 7 months ago | |
updwscfg.py | 7 months ago |
rpcfg.py
is a GUI tool for rpcrouter configuration. It generate the configuration files including driver.json, router.json, rtauth.json, and authprxy.json
. Please refer to this article, for rpcrouter
's concept.
The UI dialog has the following tab pages
Connection page. Mainly to setup the IP address and port number to listen to remote connections. It is recommended not to use 0.0.0.0
whenever possible. Otherwise, you have to manually setup the destination IP addresses in router.json
, rtauth.json
and authprxy.json
.
Security Page. The infomation on this page takes effect only when you have enabled the related options on the Connection Page. The detailed illustration of generation of key and certification files can be found at SSL. And the explaination of Auth Information
can be found here.
Multihop Page. To add or remove the downstream nodes which also provide RPC services to the remote client. And this link is an introduction to multihop
technology. The parameters are for the current rpcrouter
to connect to the downstream node, but not for connections from the user clients.
Load Balance Page. Based on the multihop
technology, rpcrouter
can easily be configured to have the load balance
support. However, currently the load balance
support just one policy, the round robin
. And you can refer to this article for more information.
Depending on the location of rpcfg.py, the set of config files updated will be different. If rpcfg.py is under the installation directory, it will update all the config files installed. If rpcfg.py is under the source tree, it will update all the config files under the source tree, which will finally go to the installation directory by make install
.
rpcfg.py
accepts a command line option -c
, to config the local host to be a client only. The UI has just connection
and security
tabs.
rpcfgnui.py
is a command line config tool in case the target host is not running X. There are two steps to get the settings update.
SaveAs
button to generate the config file, initcfg.json
.initcfg.json
to the target host, and type python3 rpcfgnui.py initcfg.json
. You may want to use sudo
when you are updating the config files in the priviledged directory.rpcfgnui.py
have the same behavor as rpcfg.py
in updating the different set of config files according to its location.If you are familiar with docker, you can use this tool to quickly setup the building/running environemt.
Dockerfile
as shown above.docker build -t 'rpcf-buildenv' .
in the same directory the Dockerfile
is downloaded.Dockerfile
to customize the image you want to build. Ubuntu Focal (20.04LTS) is a tested platform, higher version of Ubuntu would be more preferable.rpcfgnui.py
to update the container's settings as described in the above section.