PFSence source code structure
-
Hi,
I'm interested how PFSence is organized. Would you tell me in details what framework do you use, what programming languages do you use and that is the core structure.regards
-
PFSense is a FreeBSD based system.
WebGUI writed on PHP.https://rcs.pfsense.org/
-
Well, I'm confused. it's better to discuss it with you.
I'm designing a open source management system for network. I want to make my software like PFSence.
The software will be like PFSence - php web GUI with optimized and customized linux distribution (Centos with minimum packages). The problem is in the software structure - I want to use the PFSence model.
As far as I understand php sends commands to he system terminal. Would you tell more about the architecture and what php framework is used? -
Scheme:
- Admin ==> WebGUI (php) ==> FreeBSD + applications
Config stored in xml file:
2) WebGUI (php) < - > config.xmlWebGUI take config from XML and configure scripts or App config's:
3) config.xml -> WebGUI (php) -> [shell scripts, application configs, direct call applications ( php exec function) ] -
config.xml is used to store the configuration? Only the configuration?
-
config.xml is used to store the configuration? Only the configuration?
Hm.. config.xml, how know, only full system configuration (packages too). You can move config.xml to new pfSense and configure it as old (RTFM).
But other XML files used also for define WebGUI Forms (as Package system)
-
Ok, do you use php framework or you use plain php?
-
-
Just plain PHP, no framework yet. That has been talked about for a far-future release (3.0 or later)
-
What framework are you planning to use?
Which framework do you find best for pfsence -
What framework are you planning to use?
Which framework do you find best for pfsenceI don't think that has been decided. There has been talk of CakePHP but some people like it and others say it's too slow.
Given that it's so far in the future for a topic, it's far too early to say.