57 Commits

Author SHA1 Message Date
garywill
a56a7cc5f4 0.5.4 2018-08-31 18:41:06 +08:00
garywill
e5e1c96a53 transparent DNS proxy 2018-08-31 18:41:06 +08:00
garywill
0f498e043d random IP
firejail
2018-08-31 18:41:06 +08:00
garywill
e551d6e412 disable IPv6 if not enabled 2018-08-31 18:41:06 +08:00
garywill
4c10adf3ce support specify Internet iface 2018-08-31 18:41:06 +08:00
garywill
2b103e3838 Setting this host's name replied by DNS 2018-08-31 18:41:06 +08:00
garywill
5532b4d1a9 support setting upstream DNS server 2018-08-31 18:41:06 +08:00
garywill
21a386aba2 serve inner DNS for no-Internet LAN
add 'domain-needed' to dnsmasq
2018-08-31 18:41:06 +08:00
garywill
b4d60dd3aa drop TKIP 2018-08-31 18:41:06 +08:00
garywill
4f0ea10e43 0.5.3 2018-08-31 18:41:06 +08:00
garywill
3a55f526c2 DNS proxy: use dnsmasq forward 2018-08-31 18:41:06 +08:00
garywill
c75ca0ce81 support IPv6
nat method sets global forwarding and don't restore when exit

use <<-
2018-08-31 18:41:06 +08:00
garywill
8970ba2607 run hostapd before setting ip 2018-08-31 18:41:06 +08:00
garywill
258181055c version 0.5.2
add lxd
2018-08-31 18:41:06 +08:00
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