Changeset 302
- Timestamp:
- 12/19/04 14:18:08 (9 years ago)
- Location:
- trunk/wifidog
- Files:
-
- 2 modified
-
ChangeLog (modified) (2 diffs)
-
src/fw_iptables.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog/ChangeLog
r301 r302 1 1 # $Header$ 2 3 2004-12-19 Alexandre Carmel-Veilleux <acv@acv.ca> 4 * src/fw_iptables.c: Tweak of auth_server firewall rule setting 5 code. 6 2 7 2004-12-16 Benoit Gr�goire <bock@step.polymtl.ca> 3 8 * src/fw_iptables.c: Display iptables command that is run in debug mode. … … 6 11 * src/firewall.c: Fix reversed incoming and outgoing connections in statistics code 7 12 * bump version to alpha3 8 13 9 14 2004-11-29 Alexandre Carmel-Veilleux <acv@acv.ca> 10 15 * wifidog.conf: Fixed firewall rule bug. -
trunk/wifidog/src/fw_iptables.c
r301 r302 164 164 for (auth_server = config->auth_servers; auth_server != NULL; 165 165 auth_server = auth_server->next) { 166 if (auth_server->last_ip == NULL || 167 strcmp(auth_server->last_ip, "0.0.0.0") == 0) { 168 iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->authserv_hostname); 169 } else { 170 iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->last_ip); 171 } 166 iptables_do_command("-t nat -A " TABLE_WIFIDOG_AUTHSERVERS " -d %s -j ACCEPT", auth_server->authserv_hostname); 172 167 } 173 168
