Commit Graph

15992 Commits

Author SHA1 Message Date
jim-p
b676a6a9db Remove unneeded reference. 2010-10-05 10:52:11 -04:00
jim-p
070343cbd0 Remove unused variable. 2010-10-05 10:49:29 -04:00
jim-p
b51f12bb47 No need for a reference here. 2010-10-05 10:49:17 -04:00
jim-p
4178a1ddf6 Add contributed patch to allow certain IPsec mobile clients to save Xauth passwords. Fixes #933. 2010-10-05 08:34:11 -04:00
gnhb
d62b164af6 Report dynamic gateways as default even when they are down.
If gateways appear to lose their default status when they are down it can
be confusing for users. This is purely a UI change.
2010-10-05 16:18:24 +07:00
gnhb
8d3556c221 Add $g variable to global declaration so we can access it later. 2010-10-05 16:12:20 +07:00
Warren Baker
dc9975f4e7 Print the theme correctly. 2010-10-05 11:06:35 +02:00
jim-p
68b0452720 Fix OpenVPN client kill. Reported at http://forum.pfsense.org/index.php/topic,28784.0.html 2010-10-04 15:01:40 -04:00
Ermal
e9b0bcf765 Ticket #931. Check that directory exist before trying to tar up. Do this for rrd and dhcpleases scripts used during shutdown. 2010-10-04 13:26:59 +00:00
Ermal
b211666fb3 Mark subsystem as dirty. 2010-10-04 13:20:42 +00:00
Ermal
da3ee8238a Do not use mwexec when unlink can be used and is faster. This also avoids errors on log from rm(1). 2010-10-04 13:13:10 +00:00
Ermal
a17027a6b3 Do not try to update dyndns for an interface that no ip can be determined, since it will not suceed. Reported-by: http://forum.pfsense.org/index.php/topic,28750.0.html 2010-10-04 13:09:29 +00:00
Ermal
9cc0dd730e Bring l2tp users page back to latest world of 2.0 to avoid errors. Reported-by: http://forum.pfsense.org/index.php/topic,28829.0.html 2010-10-04 13:00:49 +00:00
Ermal
54b78cc139 Fix checking the status of gateways. Typos and unset variables! Spotted-by: Mark Huijgen 2010-10-04 12:39:03 +00:00
Ermal
c6865c5ec2 Fix intended behaviour when the default gateway changes interface. 2010-10-02 07:29:11 +00:00
Ermal
a531d6875a This breaks the code because the ASSUMPTION is to reload the gateway interface that was a defaultgw previously and not the interface that just became defaultgw. Mostly for dynamic connections like dhcp/ppp*
Pointy-hat: gnhb

Revert "Update code to actually accomplish the intended behavior of NOT reloading the interface"

This reverts commit 318baca5f6.
2010-10-02 07:14:59 +00:00
gnhb
318baca5f6 Update code to actually accomplish the intended behavior of NOT reloading the interface
if not necessary when a GW record is saved.
2010-10-02 12:27:16 +07:00
Erik Fonnesbeck
1bbd3d997f Fix height of plus button, reported at http://forum.pfsense.org/index.php/topic,28764.0.html 2010-10-01 12:40:44 -06:00
Ermal
db91013a39 Be sane at what was supposed to be done.: 2010-10-01 17:51:35 +00:00
Ermal
e62fe74895 Do not show statically configured interfaces as with dynamic gateways because the gateway is already referenced/monitored on its own entry. 2010-10-01 17:41:40 +00:00
Ermal
b314ab724d Better initialize this. 2010-10-01 17:38:15 +00:00
Ermal
23fafd1482 Do not allow a gateway to be renamed. Possibly a better solution is to rename the gateway in all pointed places! 2010-10-01 17:08:25 +00:00
Ermal
c568e68281 Handle the cases to not save data on config better. 2010-10-01 17:03:06 +00:00
Ermal
78ae2b1406 Make sure we do not overwrite the gateway stored in config with a dynamic gateway info. Correct POST var name(Found by ghnb). Also correctly reload only the defaultgw interface changed only if it is different than the present one. 2010-10-01 16:51:21 +00:00
Ermal
d44d26c13e Fix the problem of not saving data when most of the information is not being posted. Also do not disable any field anymore to allow people to choose static gateways for dynamic interfaces. Also do not save any information when the user Clicks save but has not posted any information not known already. Do not prevent to post a dynamic value for gateway on an interface that is configured with static ip. 2010-10-01 16:08:45 +00:00
pierrepomes
07bdaacd93 Fix syslog.conf generation. Ticket #929 2010-10-01 08:55:49 -04:00
gnhb
80a5b5f7e6 We don't store monitor ip in the <interfaces> config any more.
Requested by cbuechler in ticket #919.
2010-10-01 09:10:49 +07:00
gnhb
24d4a39050 When a dynamic interface is up, we still need to report that it's "dynamic" to this GUI in system_gateways_edit.php.
If user edits a dynamic gateway that is up, the gateway IP address (reported by return_gateways_array) will end up
in the "Gateway" field, and then the gateway will get saved as a static gateway unless user manually changes field
to "dynamic" again.
2010-10-01 07:04:52 +07:00
gnhb
e0df9716e7 cbuechler says monitorip should not be stored in <interfaces><$if>. See ticket #919 2010-10-01 07:01:23 +07:00
Ermal
3640c56765 Ticket #921. Actually reconfigure apinger in case of newip event because it might impact a previous down event. 2010-09-30 16:52:25 +00:00
Ermal
a02708b12b Make this code more readble and clear on what it does. 2010-09-30 16:04:54 +00:00
Ermal
ccea4c49c2 Remove legacy code for static routes. 2010-09-30 15:58:23 +00:00
Ermal
8d29cef48b Oops fix long standing variable name mistype. 2010-09-30 15:54:42 +00:00
Ermal
dd88e65afd Remove legacy code 2010-09-30 15:53:04 +00:00
Ermal
a63d867a9f Catch up with gateway changes on static routes. 2010-09-30 15:49:37 +00:00
Ermal
dd8b859e26 Remove support for this legacy code. The upgrade path handles this. 2010-09-30 15:42:27 +00:00
Ermal
11d2be5485 Revert previous change to enter a hidden value when interface is disabled. GHNB broke this on revision 58611e3a1d and it does not make sense. 2010-09-30 15:39:43 +00:00
Ermal
f5d3a5ce7f Do not support anymore an ip in the 'gateway' section of an interface. 2010-09-30 15:20:31 +00:00
Ermal
bc50b3321a Remove forgotten code. 2010-09-30 15:20:10 +00:00
Ermal
bb849003af Initialize variable properly. Handle the case when the interfaces select box is disabled and it will not be posted(Reported-by: ghnb 2010-09-30 15:14:32 +00:00
gnhb
9fd19334bf Don't refer to non-existent variable.
Reported in forum http://forum.pfsense.org/index.php/topic,28643.0.html
2010-09-30 19:20:07 +07:00
jim-p
5b3f9124df Fix state sorting 2010-09-29 13:09:25 -04:00
Vinicius Coque
433ebfab75 Update serviceproviders.xml to a newer version 2010-09-29 11:00:53 -03:00
Erik Fonnesbeck
295764d5a8 Clean up Firewall: NAT: 1:1: Edit page.
- Change order of fields to be more consistent with the old order and the order shown on the rule listing, placing more relevant fields nearer to the top.
- Make appearance of source and destination fields consistent.
- Add a description for external subnet.
- Fix description of the subnet size.
- Change default destination to any.
- Remove VIP list from destination, since the router is not going to be the destination. (the order of binat's syntax is based on outbound NAT, not inbound)
- Add a description for destination.
2010-09-29 03:09:27 -06:00
Erik Fonnesbeck
6fa7374575 Fix input validation with "no rdr" for ticket #570 2010-09-29 00:38:45 -06:00
Erik Fonnesbeck
44374c0aff Hide redirect and filter rule association fields when "no rdr" is checked. Ticket #570 2010-09-29 00:05:04 -06:00
Erik Fonnesbeck
3e74107e59 Unhide the source port options on firewall rules when they are not at the defaults. 2010-09-28 23:29:17 -06:00
Erik Fonnesbeck
70a9056f34 Revert "Shows source ports when they are already defined" - this only made it so they were never hidden.
This reverts commit d886ebd6d4.
2010-09-28 22:31:28 -06:00
Erik Fonnesbeck
96160768af Simplify the logic here so that it only uses this conditional expression once. 2010-09-28 22:15:46 -06:00
Erik Fonnesbeck
727b04dfb7 Revert "Remove unnecessary JS variable" - it had a purpose.
This reverts commit ec325889dc.
2010-09-28 22:02:36 -06:00