Re: Add FreeBSD PF Firewall to libbsd

2016-08-08 Thread Christian Mauderer
Am 03.08.2016 um 02:54 schrieb Chris Johns: >> - The PF modules can now be linked by using the SYSINIT_NEED_FIREWALL_PF >> and SYSINIT_NEED_FIREWALL_PFLOG configuration macros. > > Can you please add RTEMS_BSD_CONFIG_FIREWALL_PF and > RTEMS_BSD_CONFIG_FIREWALL_PFLOG to rtems-bsd-config.h. > > Thi

Re: Add FreeBSD PF Firewall to libbsd

2016-08-03 Thread Chris Johns
On 3/08/2016 5:00 PM, Christian Mauderer wrote: > Am 03.08.2016 um 08:46 schrieb Chris Johns: >> On 03/08/2016 16:15, Christian Mauderer wrote: >>> Basically it boils down to the following: Currently I use an >>> __attribute__ on every variable that has to be initialized. That makes >>> updates a l

Re: Add FreeBSD PF Firewall to libbsd

2016-08-03 Thread Christian Mauderer
Am 03.08.2016 um 08:46 schrieb Chris Johns: > On 03/08/2016 16:15, Christian Mauderer wrote: >> Basically it boils down to the following: Currently I use an >> __attribute__ on every variable that has to be initialized. That makes >> updates a little more difficult because we would have to look out

Re: Add FreeBSD PF Firewall to libbsd

2016-08-02 Thread Chris Johns
On 03/08/2016 16:15, Christian Mauderer wrote: Basically it boils down to the following: Currently I use an __attribute__ on every variable that has to be initialized. That makes updates a little more difficult because we would have to look out for changed variables. In addition it is difficult f

Re: Add FreeBSD PF Firewall to libbsd

2016-08-02 Thread Christian Mauderer
Am 03.08.2016 um 08:02 schrieb Chris Johns: > On 03/08/2016 15:56, Christian Mauderer wrote: >> Am 03.08.2016 um 02:54 schrieb Chris Johns: >>> On 02/08/2016 21:27, Christian Mauderer wrote: - A basic support for the FreeBSD cdev subsystem. This subsystem uses devfs which I implementati

Re: Add FreeBSD PF Firewall to libbsd

2016-08-02 Thread Chris Johns
On 03/08/2016 15:56, Christian Mauderer wrote: Am 03.08.2016 um 02:54 schrieb Chris Johns: On 02/08/2016 21:27, Christian Mauderer wrote: - A basic support for the FreeBSD cdev subsystem. This subsystem uses devfs which I implementation based on the RTEMS IMFS. Is this automatically included

Re: Add FreeBSD PF Firewall to libbsd

2016-08-02 Thread Christian Mauderer
Am 03.08.2016 um 02:54 schrieb Chris Johns: > On 02/08/2016 21:27, Christian Mauderer wrote: >> - A basic support for the FreeBSD cdev subsystem. This subsystem uses >> devfs which I implementation based on the RTEMS IMFS. > > Is this automatically included and what can we configure and control?

Re: Add FreeBSD PF Firewall to libbsd

2016-08-02 Thread Chris Johns
On 02/08/2016 21:27, Christian Mauderer wrote: - A basic support for the FreeBSD cdev subsystem. This subsystem uses devfs which I implementation based on the RTEMS IMFS. Is this automatically included and what can we configure and control? - The PF modules can now be linked by using the SYSI

Add FreeBSD PF Firewall to libbsd

2016-08-02 Thread Christian Mauderer
Hello, I've been working on a port of the FreeBSD firewall PF to libbsd. The first results are available in the libbsd HEAD (commits b5db3321b5b22 to f1941b2b828e). The patch set introduced the following new features: - A basic support for the FreeBSD cdev subsystem. This subsystem uses devfs wh