Re: Revised Web UI for NPF as a GSoC project

2016-03-15 Thread Mateusz Kocielski
On Tue, Mar 15, 2016 at 12:48:29AM +0300, Aleksej Saushev wrote: > co...@sdf.org writes: > > Feedback needed: > > > > Security: > > It seems like there's a big need for security. I've learned of one > > attack called cross-site request forgery. Seems like the way to tackle > > it is an awkward dan

Re: Revised Web UI for NPF as a GSoC project

2016-03-14 Thread Aleksej Saushev
Hello! co...@sdf.org writes: > After feedback and some thought, I've come up with a revised plan. > > Mostly chosen some tools, namely purecss for front-end (I would like to > mostly avoid angularJS because I don't want to require JavaScript), > nginx+Lapis for Lua framework, etc. > > I get the

Revised Web UI for NPF as a GSoC project

2016-03-14 Thread coypu
After feedback and some thought, I've come up with a revised plan. Mostly chosen some tools, namely purecss for front-end (I would like to mostly avoid angularJS because I don't want to require JavaScript), nginx+Lapis for Lua framework, etc. I get the impression that we want something that offer

Re: Web UI for NPF as a GSoC project

2016-03-14 Thread Marc Balmer
Good morning! > Am 14.03.2016 um 08:03 schrieb Mateusz Kocielski : > > On Sun, Mar 13, 2016 at 10:24:35PM +0100, Kamil Rytarowski wrote: >> On 13.03.2016 22:11, Martin Husemann wrote: >>> On Sun, Mar 13, 2016 at 08:59:58PM +, Christos Zoulas wrote: I meant using some of the javascript fr

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread Christos Zoulas
On Mar 13, 10:11pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: Web UI for NPF as a GSoC project | I am not the right one to comment on pros and conse here, but I have | some very nice browser based router configuration interfaces seen | implemented in Lua, so I guess there is

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread Aleksej Saushev
Hello! co...@sdf.org writes: > On Sun, Mar 13, 2016 at 04:34:09PM +, Christos Zoulas wrote: >> >> This looks good, but I am wondering if it is not going to be easier >> and better for you to use one of the existing web-ui frameworks so >> you can have more time to spend on functionality. >

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread Travis Paul
> On Mar 13, 2016, at 5:24 PM, Kamil Rytarowski wrote: > > I propose to start with a webui plugin (bozohttp works with > plugin-like approach) for blacklistd, once finished add a more > advanced one for npf(7). > > An example of a Lua plugin is is located here: > src/libexec/httpd/printenv.lua

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread Kamil Rytarowski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 13.03.2016 22:11, Martin Husemann wrote: > On Sun, Mar 13, 2016 at 08:59:58PM +, Christos Zoulas wrote: >> I meant using some of the javascript frameworks like angular >> etc... > > I am not the right one to comment on pros and conse here, bu

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread Martin Husemann
On Sun, Mar 13, 2016 at 08:59:58PM +, Christos Zoulas wrote: > I meant using some of the javascript frameworks like angular etc... I am not the right one to comment on pros and conse here, but I have some very nice browser based router configuration interfaces seen implemented in Lua, so I gue

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread Christos Zoulas
In article <20160313165431.ga15...@sdf.org>, wrote: >On Sun, Mar 13, 2016 at 04:34:09PM +, Christos Zoulas wrote: >> >> This looks good, but I am wondering if it is not going to be easier >> and better for you to use one of the existing web-ui frameworks so >> you can have more time to spend

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread coypu
On Sun, Mar 13, 2016 at 04:34:09PM +, Christos Zoulas wrote: > > This looks good, but I am wondering if it is not going to be easier > and better for you to use one of the existing web-ui frameworks so > you can have more time to spend on functionality. > > christos > Qualifying again that

Re: Web UI for NPF as a GSoC project

2016-03-13 Thread Christos Zoulas
In article <20160313123548.gb7...@sdf.org>, wrote: >Hi! > >You may know from pkgsrc-wip, and making a lot of noise^Wbug reports. >I'm a long time NetBSD user and a somewhat experienced web developer, >and also an electrical engineering student. > >I've got a plan for the aforementioned project. >

Web UI for NPF as a GSoC project

2016-03-13 Thread coypu
Hi! You may know from pkgsrc-wip, and making a lot of noise^Wbug reports. I'm a long time NetBSD user and a somewhat experienced web developer, and also an electrical engineering student. I've got a plan for the aforementioned project. I plan to implement it using Lua and bozohttpd, given that t