Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Porkbun has a custom API that is required to do DDNS against their hosts. I built a script that's housed on an internal server that accepts a custom URL and then builds the appropriate API calls. This was used in the legacy plugin and is running fine. In the new plugin, when trying to use the Custom POST functionality, my URL is getting changed:
My "server" value:
http://10.1.104.12/porkbun_ddns.php?domain=__HOSTNAME__&hosts=ipv4&ip=__MYIP__
What is sent:
SENDING: GET //10.1.104.12/porkbun_ddns.php?domain=hostname&hosts=ipv4&ip=myip/nic/update?system=dyndns&hostname=myhostname.com&myip=1xx.xxx.xxx.xxx HTTP/1.1
Full config:
Service: Custom
Protocol: custom POST
Server: http://10.1.104.12/porkbun_ddns.php?domain=__HOSTNAME__&hosts=ipv4&ip=__MYIP__
Username: none <-- the actual word "none" because a value here appears to be required even though I don't use authentication
Password: none
Wildcard: unchecked
Hostname(s): myhostname.com
Check ip method: dyndns
Interface to monitor: WAN
Force SSL: unchecked
This is on OPNsense 23.7.1_3-amd64 and this is my first time trying to use the new POST options.
To Reproduce
Steps to reproduce the behavior:
- Set it up like above
- See error
Expected behavior
I believe the "server" value should go through untouched with the variables added in.
Environment
OPNsense 23.7.1_3-amd64
FreeBSD 13.2-RELEASE-p2
OpenSSL 1.1.1v 1 Aug 2023
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
Porkbun has a custom API that is required to do DDNS against their hosts. I built a script that's housed on an internal server that accepts a custom URL and then builds the appropriate API calls. This was used in the legacy plugin and is running fine. In the new plugin, when trying to use the Custom POST functionality, my URL is getting changed:
My "server" value:
http://10.1.104.12/porkbun_ddns.php?domain=__HOSTNAME__&hosts=ipv4&ip=__MYIP__
What is sent:
SENDING: GET //10.1.104.12/porkbun_ddns.php?domain=hostname&hosts=ipv4&ip=myip/nic/update?system=dyndns&hostname=myhostname.com&myip=1xx.xxx.xxx.xxx HTTP/1.1
Full config:
Service: Custom
Protocol: custom POST
Server: http://10.1.104.12/porkbun_ddns.php?domain=__HOSTNAME__&hosts=ipv4&ip=__MYIP__
Username: none <-- the actual word "none" because a value here appears to be required even though I don't use authentication
Password: none
Wildcard: unchecked
Hostname(s): myhostname.com
Check ip method: dyndns
Interface to monitor: WAN
Force SSL: unchecked
This is on OPNsense 23.7.1_3-amd64 and this is my first time trying to use the new POST options.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I believe the "server" value should go through untouched with the variables added in.
Environment
OPNsense 23.7.1_3-amd64
FreeBSD 13.2-RELEASE-p2
OpenSSL 1.1.1v 1 Aug 2023