75 Commits

Author SHA1 Message Date
bolvan
ea5d008ee4 init functions : add QNUM parameter 2019-05-16 17:48:08 +03:00
bolvan
34f1ca1192 ipt/ipt6 quote 2019-05-16 17:28:12 +03:00
bolvan
80d42f5d44 openwrt : move to the single firewall include 2019-05-16 13:35:07 +03:00
bolvan
a8aeee6f2e remove dup line 2019-05-16 11:45:20 +03:00
bolvan
e10a3d881b openwrt: remove any fw activity (create_ipset) from init script. move to fw3 include 2019-05-16 11:24:14 +03:00
root
92ba726869 Revert "openwrt init : remove old create_ipset call"
This reverts commit 5b5f4c85a70946c608e2ca3037e0ffa2883c6523.
2019-05-16 10:58:00 +03:00
bolvan
5b5f4c85a7 openwrt init : remove old create_ipset call 2019-05-16 10:48:05 +03:00
bolvan
547d15cd2b remove test line 2019-05-16 10:39:13 +03:00
bolvan
c58243be4f remove test line 2019-05-16 10:37:13 +03:00
bolvan
aab391897e sysv init : fix quoting of 2019-05-16 09:11:20 +03:00
bolvan
cc006c2337 sysv init : more code dedup 2019-05-16 08:06:32 +03:00
bolvan
8d182f0692 init sysv : remove create_ipset from run_daemons 2019-05-15 23:25:21 +03:00
bolvan
11b839c43c firewall code deduplication 2019-05-15 22:58:24 +03:00
bolvan
c5c55e5419 init : do not query for dnat6_target more than once 2019-05-15 17:25:44 +03:00
bolvan
4e3ce37c51 sysv init : start-daemons, stop-daemons 2019-05-15 06:27:56 +03:00
bolvan
087c374959 sysv init calls : start-fw,stop-fw 2019-05-14 23:14:14 +03:00
bolvan
3b61dbc20f openwrt hotplug : start zapret on lan ifup only if zapret is enabled 2019-05-14 21:18:25 +03:00
bolvan
2a8b0d83cc openwrt init : more no running at boot hunting 2019-05-14 21:05:16 +03:00
bolvan
7ea288f93a openwrt init : more no running at boot hunting 2019-05-14 20:49:33 +03:00
bolvan
38d5b639de fixing lots of problems with getting link local address after reboot 2019-05-14 18:26:09 +03:00
bolvan
b0f0cd1c75 sysv init : separate daemon launch and firewall 2019-05-14 12:27:04 +03:00
bolvan
a2a75bb34b sysv helper functions : APPLY_FW=1 to override INIT_APPLY_FW 2019-05-14 11:50:19 +03:00
bolvan
12757467f2 sysv init : separate functions to shell include 2019-05-14 11:34:29 +03:00
bolvan
b4505d7239 init sysv: enable route_localnet only for IFACE_LAN 2019-05-14 09:53:39 +03:00
bolvan
01d39b34be init.d openwrt functions : deduplicate code 2019-05-14 08:52:48 +03:00
bolvan
ffbeb7989e readme : route_localnet notice 2019-05-13 21:40:07 +03:00
bolvan
561c82bf79 ipv6 support 2019-05-13 18:27:16 +03:00
bolvan
dcabaedddf systemd timer : run on even dates (close to cron */2) 2019-05-11 21:43:11 +03:00
bolvan
a3930e12d9 systemd: use timers instead of cron 2019-05-11 20:02:21 +03:00
bolvan
fbdf577606 systemd: KillMode=none 2019-05-11 12:57:07 +03:00
bolvan
e9f2b6209e RemainAfterExit=no 2019-05-11 12:30:51 +03:00
bolvan
73bf37ee8c move to native systemd. use links , no copy 2019-05-11 12:27:01 +03:00
bolvan
be487f7475 init scripts : minor cleanup 2019-05-10 16:42:02 +03:00
bolvan
af7610741b config : INIT_APPLY_FW parameter can disable iptables in init script 2019-05-10 09:50:16 +03:00
bolvan
c5dc07d049 gzip support in ipset/*.sh and tpws 2019-05-09 19:03:50 +03:00
bolvan
7d59377009 sysv init : minor changes 2019-05-09 09:59:52 +03:00
bolvan
198225bc4f sysv init : simplify daemon launch. remove nohup 2019-05-09 09:28:29 +03:00
bolvan
e786abbbdc sysv: remove daemonize. use pgrep to detect already running state 2019-05-08 13:41:49 +03:00
bolvan
bce09d0772 sysv: remove daemonize. use pgrep to detect already running state 2019-05-08 13:38:37 +03:00
bolvan
838692a814 sysv init : remove deprecated --oknodo in start-stop-daemon 2019-05-08 13:13:07 +03:00
bolvan
4013b75e1c sysv init : simplify iptables 2019-05-07 15:58:09 +03:00
bolvan
d940d41a2a shells: use (()) for math. not all support let. expr is external command 2019-05-07 14:23:54 +03:00
bolvan
a91c0c29c8 sysv init : change shell to bash. some shitty dash-es hash problems with jobs 2019-05-07 13:52:08 +03:00
bolvan
653887b94a install_easy : ask MODE and GETLIST 2019-05-07 13:20:31 +03:00
bolvan
db5b2c2d39 openwrt : simplify iptables in firewall include scripts 2019-05-07 11:30:15 +03:00
bolvan
5cdf6b3469 separate config from init script 2019-05-06 16:02:22 +03:00
bolvan
b410ef2e35 remove firewall.user code in init 2019-05-06 12:36:16 +03:00
bolvan
2014d46132 easy install on openwrt. separate firewall include 2019-05-06 12:18:58 +03:00
bolvan
2acd50e130 init script http+https 2019-05-05 23:35:10 +03:00
bolvan
f59feffd8c fw_tpws_add separate from prepare_tpws 2019-05-05 20:17:46 +03:00