Changeset 10201 in hybrid for branches/releng-9.0/nanobsd/files/usr
- Timestamp:
- Mar 17, 2012, 1:19:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/releng-9.0/nanobsd/files/usr/local/www/wlportal/index.cgi
r10200 r10201 181 181 self.ip_in_firewall = {} 182 182 if sp.returncode == 0: 183 # 10010 32 1920 allow tcp from 172.20.145.30 to not 172.16.0.0/12 dst-port 80 183 # 10010 32 1920 allow tcp from 172.20.145.30 to not 172.16.0.0/12 dst-port 80,443 184 184 for line in output.strip().split('\n'): 185 185 t = line.split() … … 227 227 self.load() 228 228 if not self.ip_in_firewall.has_key(ipaddr): 229 rule = "NUMBER allow tcp from IPADDR to not 172.16.0.0/12 dst-port 80 ".split()229 rule = "NUMBER allow tcp from IPADDR to not 172.16.0.0/12 dst-port 80,443".split() 230 230 rule[0] = str(self.available_rule) 231 231 rule[4] = str(ipaddr)
Note:
See TracChangeset
for help on using the changeset viewer.