- Jan 01, 2012
-
-
Translation System authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
applications/luci-firewall: fix crash in rule formatting helper when a rule with an /128 ipv6 prefix is encountered
-
Jo-Philipp Wich authored
-
- Dec 26, 2011
-
-
Jo-Philipp Wich authored
-
- Dec 22, 2011
-
-
Translation System authored
-
- Dec 21, 2011
-
-
Jo-Philipp Wich authored
-
- Dec 20, 2011
-
-
Jo-Philipp Wich authored
modules/admin-core: use luci.model.uci.apply() in service control to restart dependencies of the current config as well
-
Jo-Philipp Wich authored
libs/core: rework luci.model.uci.apply() to return the commandline as table, suitable for passing to nixio.exec()
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
For SimpleSection, use the section name (always "1") instead of the section type in the CBI-like string used to identify the upload. This allows upload fields to be placed in SimpleSections. The fix changes a minimal number of lines, but does introduce some unnecessary confusion, it may or may not be better than a more thorough/invasive fix. Set the enctype for the form element in the simpleform view to be multipart/form-data because the default application/x-www-form-urlencoded does not support input files. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
-
Jo-Philipp Wich authored
libs/web: show input/forward hints in zonelist widget only if bnoth allowany and allowlocal are enabled
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
applications/luci-firewall: use option "name" instead of deprecated "_name", expose "extra" option, add enable/disable toggles for portforwards, snats and rules
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
- Dec 19, 2011
-
-
Translation System authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
- split zone setup, port forwards, traffic rules and firewall.user - add quickadd forms for various common rules like port forwards - add tool class for textual formatting and descriptions of rules - simplify controller, remove old mini admin remainders
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
- Dec 16, 2011
-
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
In #274, I stated abstract namespace and autobound abstract namespace datagram UNIX domain sockets work perfectly with nixio. However, I may have jumped the gun on that conclusion. Turns out they work perfectly for only one concurrent connection. The problem is that when binding to an abstract address socket, which begins with a NULL byte, nixio strncpy's the name into the sockaddr_un structure, which effectively copies nothing. It then binds to an address of 180 NULLs, which is completely legal, but obviously you run into problems when a second client tries to bind to the same address. The rules are as follows ( http://linux.die.net/man/7/unix) for the names: * If the name is blank, bind() should pass that the addrlen of sizeof(sa_family_t) and Linux will autobind a name that begins with null and is followed by 5 digits. * If the first character of the name is non-null, the name is a pathname and is null-terminated. addrlen should be sizeof(sockaddr_un), but the length can also be the pathname len + sizeof(sa_family_t) as the value will be null-terminated by the kernel unix socket driver * If the first character is null, the address is abstract and the value should not be null-terminated and addrlen is pathname + sizeof(sa_family_t) The attached patch fixes bind/connect/sendto by shortening the addrlen passed to be pathname len + sizeof(sa_family_t), which generates the correct socket names for all 3 cases above. It also fixes the address returned by recvfrom, which currently returns a blank string for any abstract address socket (as they begin with a null).
-
Jo-Philipp Wich authored
applications/luci-firewall: allow negated uci identifiers, hostnames and ip addresses in zone masq src/dest fields
-
Jo-Philipp Wich authored
-
Jo-Philipp Wich authored
-
- Dec 14, 2011
-
-
Translation System authored
-
Translation System authored
-
Jo-Philipp Wich authored
-