Commit Graph

10 Commits

Author SHA1 Message Date
Stijn Tintel f82287cf5c treewide: use name in define and eval lines
For consistency, use full name instead of $(PKG_NAME) in define and eval
lines for all packages.

I've seen reviews that asked to do this before, and I am asking the same
during reviews now. To avoid this in the future, fix this treewide so
when people use existing packages as example, we will not have to
request this change anymore.

This makes all packages consistent with both LEDE and OpenWrt base
repositories.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
2017-03-08 21:15:20 +01:00
Stan Grishin 37439f5ac8 vpnbypass: reworked output formatting and logic.
vpnbypass: No longer depends on hardcoded WAN interface name).
vpnbypass: Table ID, IPSET name and FW_MARK as well as FW_MASK can be defined in config file.
vpnbypass: Uses iptables, not ip rules for handling local IPs/ranges.
vpnbypass: More reliable creation/destruction of VPNBYPASS iptables chain.
vpnbypass: Updated Web UI enables/start and stops/disables service.
vpnbypass: Beautified output.

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-03-05 06:36:11 -08:00
Stan Grishin 2210bea9ef vpnbypass: fix for flushing mangle table
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-16 20:23:37 -08:00
Stan Grishin 891f970c3e vpnbypass: fixed makefile and removed screenshot from .files/
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-14 18:23:07 -08:00
Stan Grishin aea4fc846d vpnbypass: makefile hotfix
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-14 08:08:27 -08:00
Hannu Nyman b2e1dfefa3 vpnbypass: remove problematic sed command from Makefile
Makefile had sed commands in "prepare" step that modified the
source files directly. That lead to feed update failure at the
buildbot.

Remove those commands as the first aid.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-02-14 17:45:11 +02:00
Stan Grishin 7a484df6cb vpnbypass: updated README (linked from luci app)
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-13 20:04:59 -08:00
Stan Grishin a7a003a720 vpnbypass: new service triggers, typo fix, more reliable start
Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-13 01:01:11 -08:00
Stan Grishin 42d00b19ed vpnbypass: HOTFIX no longer incorrectly stopping service/reliable start
fixed: stop function used to kill the hotplug file
fixed: despite ubus wait_for network.interface.wan and WAN-IF hotplug, sometimes we'd get no WAN ip on start

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-02-04 05:25:10 -08:00
Stan Grishin d23ef292ba vpnbypass: initial commit
Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: fixed renamed option in stop_service

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: fixed typo in makefile, switch FW_MARK to 0x010000 to play nice with SQM/mwan (thanks Hannu)

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: proper masking in setting mark

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: separating luci-app-vpnbypass into different tree

Signed-off-by: Stan Grishin <stangri@melmac.net>

vpnbypass: fixed incorrect use of procd_add_reload_interface_trigger according to http://wiki.prplfoundation.org/wiki/Procd_reference

Signed-off-by: Stan Grishin <stangri@melmac.net>
2017-01-27 04:24:39 -08:00