Commit Graph

43 Commits

Author SHA1 Message Date
garywill 749b82a137 fix TMPDIR
better cleanup

dump support for old dnsmasq and networkmanager
2018-08-31 18:41:06 +08:00
garywill c69d7daa89 simply use nmcli to handle networkmanager
only support NM >= 0.9.9
2018-08-31 18:41:06 +08:00
garywill 650d78d456 version 0.5.1 2018-08-31 18:41:06 +08:00
garywill 251c0aec40 when interface and NetworkManager in different namespace
https://github.com/oblique/create_ap/pull/317
2018-08-31 18:41:06 +08:00
garywill 1e80edff82 delete uneeded code 2018-08-31 18:41:06 +08:00
garywill 0370cc1895 better cleanup and watchdog
delete lock

better exit

conf readable for users
2018-08-31 18:41:06 +08:00
garywill eebe767a19 hostapd foreground 2018-08-31 18:41:06 +08:00
garywill 47844d7049 change signal trap
fix waiting for pid file loop
2018-08-31 18:41:06 +08:00
garywill f816160fc1 use memory as temporary dir if available 2018-08-31 18:41:06 +08:00
garywill ddb59d3237 fix dnsmasq and hostapd pid 2018-08-31 18:41:06 +08:00
garywill 7815bce574 iptables NAT rule: do not masquerade client to client connections 2018-08-31 18:41:06 +08:00
garywill 4022d798b0 License LGPL 2.1 , upstream copyright notice 2018-08-31 18:41:06 +08:00
garywill 887d6059d8 iptables rules with comment 2018-08-31 18:41:06 +08:00
garywill 0338291599 now it works not creating wifi ap 2018-08-31 18:41:06 +08:00
garywill 9cc0f40aa4 cleanup echo
able to list clients via dns lease file

del bridge-nf-call-iptables
2018-08-31 18:41:06 +08:00
garywill 7f03b321f0 rename wifi_iface to subn_iface 2018-08-31 18:41:06 +08:00
garywill b905ea86f1 disable dnsmasq DNS if no Internet sharing
change inner name from create_ap to lnxrouter
2018-08-31 18:41:06 +08:00
garywill 3039b9a497 transparent proxy 2018-08-31 18:41:06 +08:00
garywill b7d4a70c24 fix dns log repeated 2018-08-31 18:41:06 +08:00
garywill d2f659117e change virtual interface name 2018-08-31 18:41:06 +08:00
garywill 7ec3f4bd18 parameters 2018-08-31 18:41:06 +08:00
garywill 0740e16da0 update iptables rules 2018-08-31 18:41:06 +08:00
garywill 49413b62ea differ dns and dhcp-dns 2018-08-31 18:41:06 +08:00
garywill 9fb6099bca enhance dnsmasq 2018-08-31 18:41:06 +08:00
garywill d13778d47f dns listen 53 2018-08-31 18:41:06 +08:00
garywill ee18930c84 rename to lnxrouter 2018-08-31 18:41:06 +08:00
garywill ad1b0e473f --ap and --password 2018-08-31 18:41:06 +08:00
garywill 9cd59d3975 put code into function 2018-08-31 18:41:06 +08:00
garywill 90dc5fdd8d fix _cleanup() didn't judge NO_DNSMASQ 2018-08-31 18:41:06 +08:00
garywill f31006f401 add var 2018-08-31 18:41:06 +08:00
garywill 47e8e80618 warn if no password 2018-08-31 18:41:06 +08:00
garywill c75dde77d8 delete piping ssid and password 2018-08-31 18:41:06 +08:00
garywill 10513edb17 not specify internet interface
cancel internet_iface parameter. now internet is shared via any interface
2018-08-31 18:41:06 +08:00
garywill d31d161842 show iptables change when applying network sharing rules 2018-08-31 18:41:06 +08:00
garywill c97c3c3b30 change default gateway ip to 18 2018-08-31 18:41:06 +08:00
garywill 052bf9d59f delete dns hijack 2018-08-31 18:41:06 +08:00
garywill d0c1451995 delete .conf 2018-08-31 18:41:06 +08:00
garywill 5a27e96851 delete uneeded 2018-08-31 18:41:06 +08:00
garywill 8d75d7324e delete bridge method 2018-08-31 18:41:06 +08:00
garywill 6fbd865345 dnsmasq run in frontground 2018-08-31 18:41:06 +08:00
garywill b8d82dd6c2 fix possible incomplete cleaning up 2018-08-31 18:41:06 +08:00
garywill a0146ce877 fix port 67 & 5353 accept any interface connection 2018-08-31 18:41:06 +08:00
garywill 517a2ea695 create_ap 2018-08-31 18:41:06 +08:00