compatibility with opnsense #16
Replies: 8 comments 76 replies
-
Initial conversation here: https://community.home-assistant.io/t/pfsense-integration/349746/21 |
Beta Was this translation helpful? Give feedback.
-
Don't make me lose hope of having a proper integration for OPNsense...:( If we stick on xmlrpc, that makes more sense in terms of sharing the project, you're afraid it could brake at a certain point because they remove it completely? I know they use it for High Availability Sync, so I don't expect they remove it... |
Beta Was this translation helpful? Give feedback.
-
@fichtner: Franco, sorry to bother you, can you give us a feedback on what Travis proposed when you can? Much appreciated, thank you. :) |
Beta Was this translation helpful? Give feedback.
-
Sorry for the delay. We went over the situation internally and here are our thoughts. For xmlrpc unused functions were scrubbed a long time ago, especially such things that could exfiltrate (configuration) data or execute code which is what seems to be missing for proper support. With that being said xmlrpc has a drop in directory that can hold plugin-based extensions for the missing methods for example, but for previous reason an inclusion of two questionable functions into our direct ecosystem is unlikely. The other issue is that apart from that situation the queries done in php need to be ported or adapted. In some cases I'm not sure you can grab the relevant data. I think this is where more work will have to be done anyway. Since something has to be dropped into an OPNsense installation anyway it might make sense to move the queries to the server and have xmlrpc methods for returning the whole data so that nothing has to be done in RPC style and it's a bit easier to do maintenance and versioning on internal and external changes especially across major version changes on the OPNsense side. Long term xmlrpc is a candidate for replacement. Most of our central management already lives on top of our APIs and it's less friction in general plus it doesn't require an external xmlrpc library that is not well-maintained in the first place. Cheers, |
Beta Was this translation helpful? Give feedback.
-
Travis, I really appreciate your efforts, and all OPNsense+HA users will be really happy about this. A unified pfsense/opnsense component. That is awesome. :) Can I test it? I know it still PoC but no problems, I'm used to beta testing... |
Beta Was this translation helpful? Give feedback.
-
Great job!!! :) Works. But there's a problem for interface traffic stats: |
Beta Was this translation helpful? Give feedback.
-
Also the gateway info doesn't seem correct: this is opnsense: |
Beta Was this translation helpful? Give feedback.
-
I updated the community repo https://github.com/mimugmail/opn-repo |
Beta Was this translation helpful? Give feedback.
-
How feasible is it to make the integration work with opnsense?
Beta Was this translation helpful? Give feedback.
All reactions