1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
Commit graph

461 commits

Author SHA1 Message Date
georgejhunt
84da40c40d
Cap2 (#1300)
* move captive portal to its own role

* runrole still not working

* make apache name consistent, define py_captive_portal_port

* record android fixes

* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows

* works all platforms

* one captive_portal_install not changed to py_captive...

* port into defaults

* windows 7,8,10,mac,ios,android 5,7

* add # to dnsmasq.d/captive

* guess what android 8 might need

* move captive portal to its own role

* runrole still not working

* make apache name consistent, define py_captive_portal_port

* record android fixes

* some progress -- windows8.1 works but detectportal.firefox active for both mac and windows

* works all platforms

* one captive_portal_install not changed to py_captive...

* port into defaults

* windows 7,8,10,mac,ios,android 5,7

* add # to dnsmasq.d/captive

* guess what android 8 might need

* restart apache2 and dnsmasq in role

* do not hard code apache name

* cut out disfunctional experiments

* variable py_captive_portal_port misspelled

* add wildcard serveralias to box.lan vhost to fix default

* add in STDOUT to log

* remove the py_

* add in msn to urls to capture

* missed a few py_
2018-11-17 20:09:40 -08:00
A Holt
57e0747564
Update restart.yml 2018-11-03 23:39:03 -04:00
A Holt
c7854d760d
Update named.yml 2018-10-31 14:12:08 -04:00
A Holt
858306b547
Update named.yml 2018-10-31 14:02:37 -04:00
A Holt
7c79fed0ae
Update squid.yml 2018-10-31 13:51:10 -04:00
A Holt
f8b28cfc6d
Update enable_services.yml 2018-10-31 03:58:55 -04:00
A Holt
b3adcfff6e
Update dansguardian.yml 2018-10-30 20:53:32 -04:00
A Holt
ca15a70c00
Update squid.yml 2018-10-30 20:51:21 -04:00
A Holt
5e956b9203
Update dansguardian.yml 2018-10-28 12:19:01 -04:00
A Holt
b6e842f38b
Update squid.yml 2018-10-28 12:09:55 -04:00
A Holt
1b1744c2b5
Update named.yml 2018-10-28 12:07:44 -04:00
A Holt
d37c0acc88
Update captive_portal.yml 2018-10-27 20:54:44 -04:00
root
b5efe25edb /etc/iiab/iiab.ini -> {{ iiab_ini_file }} 2018-10-15 07:01:09 -04:00
root
b973906dc3 iiab_env_file -> {{ iiab_env_file }} or "{{ iiab_env_file }}" 2018-10-15 06:41:58 -04:00
root
d9c73cc804 service_filelist -> iiab_ini_file 2018-10-15 06:13:57 -04:00
A Holt
a0d62e87fb
Update detected_network.yml 2018-10-15 04:54:01 -04:00
A Holt
ad247eb8b4
Update computed_services.yml 2018-10-15 04:53:40 -04:00
A Holt
89cf8be11d
Update computed_network.yml 2018-10-15 04:53:20 -04:00
A Holt
15df488fce
Update rpi_debian.yml 2018-10-09 17:21:25 -04:00
A Holt
eaf81d0d6b
Update computed_services.yml 2018-10-09 16:52:20 -04:00
A Holt
65972dafbc
Update main.yml 2018-10-09 16:40:54 -04:00
Jerry Vonau
9d616cf301 explicitly identify which primary dhcp server is being disabled
dhcp_service2 is used in restart.yml when not in Appliance mode
2018-10-09 12:20:03 -05:00
Jerry Vonau
bb6b3c2ab2 Explicitly disable dnsmasq when in Appliance mode
otherwise dnsmasq will become active upon reboot because enable_services.yml
would still be acting upon local_vars.yml where dnsmasq_enabled is set to True
while there is not LAN interface available to bind the service to.
2018-10-09 11:50:00 -05:00
A Holt
0d33d7aef0
Update main.yml 2018-10-08 20:27:25 -04:00
A Holt
ababc0cba7
Update hosts.yml 2018-10-08 19:34:04 -04:00
A Holt
2f3fb69e01
Merge branch 'master' into dnsmasq-initial-cleanup 2018-10-08 19:32:08 -04:00
A Holt
691fb23f83
Update avahi.yml 2018-10-08 19:14:10 -04:00
A Holt
b96b6f42ac
Update main.yml 2018-10-08 19:03:26 -04:00
A Holt
aa1c8287d5
Update edit_ifcfg.yml 2018-10-08 19:00:25 -04:00
A Holt
30c4f2a868
Update enable_wan.yml 2018-10-08 18:55:09 -04:00
A Holt
c6e6f7967c
Update hosts.yml 2018-10-08 18:49:04 -04:00
A Holt
27e04ebe0e
Update named.yml 2018-10-08 18:40:11 -04:00
A Holt
e94077fc3d
Update redetect.yml 2018-10-08 18:34:16 -04:00
A Holt
20988fda38
Update squid.yml 2018-10-08 18:30:21 -04:00
A Holt
73a2ce03da
Update static.yml 2018-10-08 18:29:15 -04:00
A Holt
d81a6788a6
Update wondershaper.yml 2018-10-08 18:24:17 -04:00
A Holt
0d0ef2fd39
Update NM.yml 2018-10-08 18:15:50 -04:00
A Holt
62e1a07e53
Update avahi.yml 2018-10-08 18:09:49 -04:00
A Holt
31388eee9d
Rename create_ifcfg.yml to create_ifcfg.yml.deprecated 2018-10-08 18:00:22 -04:00
A Holt
2004e621e9
Update detected_network.yml 2018-10-08 17:58:38 -04:00
A Holt
535dca7fca
Update detected_redhat.yml 2018-10-08 17:52:40 -04:00
A Holt
4986aef070
Update detected_redhat.yml 2018-10-08 17:51:15 -04:00
A Holt
394a308d72
Update dhcpd.yml 2018-10-08 17:44:35 -04:00
A Holt
d80e0771ac
Update main.yml 2018-10-08 17:29:57 -04:00
A Holt
6269aa590d
Update main.yml 2018-10-08 17:20:00 -04:00
A Holt
c32fc5c7d6
Update dhcpd.yml 2018-10-08 17:13:03 -04:00
A Holt
5bf67f847c
Update computed_services.yml 2018-10-08 17:05:44 -04:00
A Holt
5b129ec79b
Update computed_network.yml 2018-10-08 17:04:00 -04:00
A Holt
ed81633f65
Update main.yml 2018-10-08 17:02:34 -04:00
A Holt
30550052f1
Update computed_services.yml 2018-10-08 15:51:21 -04:00
A Holt
151f93fc6a
Update main.yml 2018-10-08 15:45:35 -04:00
A Holt
6645cc284e
Update hosts.yml 2018-10-03 18:20:00 -04:00
A Holt
9cbf08cf8f
Update captive_portal.yml 2018-10-03 16:14:15 -04:00
A Holt
a6b0bceef8
Update captive_portal.yml 2018-10-03 15:57:07 -04:00
A Holt
d41abbbbc3
Update hosts.yml 2018-10-03 14:52:04 -04:00
A Holt
a73c638181
Update iiab-gen-iptables 2018-10-03 14:47:21 -04:00
A Holt
e713a0705b
Update iiab-uncatch 2018-10-03 14:42:17 -04:00
A Holt
e6650b1313
Update iiab-catch 2018-10-03 14:41:20 -04:00
George Hunt
ac6c854646 change name of service, and test 2018-10-03 16:47:22 +00:00
George Hunt
b11b46ccd0 use hard coded iiab-servar.lan as a link between client redirects and our server 2018-10-02 02:30:52 +00:00
George Hunt
d90b6becb9 hard code a ficticious, but stable, server name for url linked to by captive portal 2018-10-01 19:48:08 +00:00
George Hunt
e26aa688c7 with_items 2018-10-01 18:52:00 +00:00
George Hunt
18d2315438 service->systemd 2018-10-01 18:27:54 +00:00
George Hunt
c91cb6cd32 no change to hosts 2018-10-01 18:18:36 +00:00
George Hunt
f91c67ad58 fix dual when 2018-10-01 18:16:51 +00:00
George Hunt
25eb4acada remove the default debug logging that will use up SD card 2018-09-30 02:46:58 +00:00
George Hunt
f59dbfbce9 fix android 7 -- return non 204 2018-09-29 19:42:49 +00:00
George Hunt
4ee9c3e2b5 add in template dir
rebase bassed upon copy in

cut out obvious dead code

working on put-204

make users a sqlite db

sqlite db has users, and agent info

android timeouts not yet working

android 5 and 6 both work. lost mac

return to a working version for the MAC. Missing the splash

android,mac,windows all appear to work

sqlite get status of execute row == Null

initialize lasttimestamp with ajax call when home is triggered

remove commented code, move towards logging vs print statements

add logging with the -l flag

no changes to default_vars.yml

drop iptables captive portal stuff not using port 8090, and dnsmasq

missed deleting trap_enabled

fixes for 6.7 defaults

add in template dir

rebase bassed upon copy in

cut out obvious dead code

working on put-204

make users a sqlite db

sqlite db has users, and agent info

android timeouts not yet working

android 5 and 6 both work. lost mac

return to a working version for the MAC. Missing the splash

android,mac,windows all appear to work

sqlite get status of execute row == Null

initialize lasttimestamp with ajax call when home is triggered

remove commented code, move towards logging vs print statements

drop iptables captive portal stuff not using port 8090, and dnsmasq

missed deleting trap_enabled

fixes for 6.7 defaults

dispense with apache logs for captive portal, use the rotating portal.log instead

bring in clean defaults and py

Squash debugging details

remove backup file

still cannot dispense with cna on iphone. mac escape from cna broke with these changes

captive comes after iiab in apache config

one filename wrong

logging used for debug, lost mac escape from cna

typos

got mac/iphone full browser back

remove dead code

python was not creating db, or putting ip when first encountered
2018-09-29 03:40:14 +00:00
Tim Moody
746ce5f262 sync dhcpd so comes up at boot on rpi w 2018-09-08 17:46:59 -04:00
A Holt
11c2441059
Merge pull request #137 from arky/transmission
sync from arky/transmission
2018-08-28 16:41:23 -04:00
A Holt
472e85951b
Merge pull request #1019 from holta/sugar-stats-tweak
More fully deprecate sugar-stats
2018-08-21 12:54:11 -04:00
A Holt
d97f62edf9
Update main.yml 2018-08-21 12:45:38 -04:00
A Holt
f1dea552c4
Update hostapd.service.j2 2018-08-21 12:17:30 -04:00
Arky
62ed40a792 Correctly assign transmission_peer_port in iiab-gen-iptables 2018-08-20 16:36:02 +07:00
Arky
a4d4144156 Correct transmission variables and use 'to_json'
Ensure that transmission_http_port variable is not reset in
iiab-gen-iptables.

Remote the extra qoutes and also use to_json to clean the
transmission_kalite_languages output.

Restructure the defaults section.

Update the README documentation.
2018-08-20 16:36:02 +07:00
Arky
6e84639902 Proof-of-Concept: Install and Start downloading a torrent 2018-08-20 16:36:02 +07:00
A Holt
2f238ec811
Merge pull request #932 from holta/named
Deleting link requires 1 param not 2; named.yml cleanup
2018-07-20 05:22:50 -04:00
A Holt
b3a7af09c5
Update named.yml 2018-07-20 05:16:57 -04:00
A Holt
7866041f2b
Update main.yml 2018-07-19 22:09:15 -04:00
A Holt
1d128593ee
Update debian.yml 2018-07-17 02:01:01 -04:00
A Holt
5161152432
Update debian.yml 2018-07-17 01:57:12 -04:00
A Holt
b3dbf16a27
Update ifcfg_mods.yml 2018-07-17 01:56:14 -04:00
A Holt
0247ee1930
Update debian.yml 2018-07-17 01:54:14 -04:00
A Holt
74dca68882
Update down-debian.yml 2018-07-17 01:49:14 -04:00
A Holt
7790fd6624
Update ifcfg_mods.yml 2018-07-17 01:48:19 -04:00
A Holt
44c1c0293a
Update restart.yml 2018-07-17 01:41:51 -04:00
A Holt
be2a9eb1ac
Update iiab-gen-iptables 2018-07-17 01:23:43 -04:00
A Holt
3c031c88a3
Update iiab-gen-iptables 2018-07-17 01:10:37 -04:00
A Holt
16e2cccec3
Update iiab-gen-iptables 2018-07-17 01:05:49 -04:00
A Holt
b0aea6e136
Update main.yml 2018-07-12 14:10:34 -04:00
A Holt
eb1f6a5dcc
Update enable_services.yml 2018-07-12 14:04:52 -04:00
A Holt
281e0de791
Update enable_services.yml 2018-07-12 13:51:59 -04:00
A Holt
1337b651ac
modern Ansible syntax/style for readability 2018-07-12 13:50:32 -04:00
A Holt
d9398e39a7
modern Ansible syntax/style for readability 2018-07-12 13:36:44 -04:00
A Holt
01197db87c
Understandability/Context for outsiders 2018-07-12 13:36:09 -04:00
Jerry Vonau
ca7c291ba5 use py_ for new captive_portal variables 2018-07-05 12:24:20 -05:00
Jerry Vonau
2f47e84696 use py_captive_portal_enabled and restore captive_portal_enabled 2018-07-05 10:57:38 -05:00
Jerry Vonau
516daefb27 use dns_jail_enabled for dnsmasq blackhole 2018-07-05 10:55:12 -05:00
Jerry Vonau
cc09adb677 replace named-iiab.conf to pickup changes in dns_jail_enabled 2018-07-04 09:29:05 -05:00
Jerry Vonau
ef58b913aa use lan_ip in place of hardcoding 2018-07-04 08:32:24 -05:00