Commit Graph

15844 Commits

Author SHA1 Message Date
Scott Ullrich
61ba386b8b Ensure count is valid. Submitted-by: Josh Little 2010-09-10 15:30:11 -04:00
Ermal
68f291ffe2 Ticket #876. Show all gateways even though apinger is not monitoring them, for various reasons, this removes user confusion in the status pages. 2010-09-09 21:25:49 +00:00
Ermal
3d471a14d4 Ticket #876. Add the ip to the respective files on ppp linkup event so the code of dynamic gateways finds them. Also reorganize/simplify/optimize the apinger config generation code. Do not use that 127.0.0.x hack anymore and avoid loops as much as possible. 2010-09-09 17:25:06 +00:00
jim-p
4b887ef464 Since the OpenVPN management is done via unix socket and not tcp, we no longer need to require the local_port be set in order to activate the daemon. 2010-09-09 12:40:09 -04:00
Scott Ullrich
41d507a58a Reload cron after changes. Submitted-by: robiscool 2010-09-09 09:19:50 -04:00
Erik Fonnesbeck
7eaf04fd5b On vpn_pptp.php only unset variables that are set. 2010-09-08 17:37:48 -06:00
Warren Baker
e11aa16151 Converted all print() statements to echo() and also added 2 new XML tags for packages to create an 'Advanced Features' section.
Tags are <advanced_options/> and <advancedfield/> which when enabled will add the advanced field into the new advanced section and also gives it a shiny new 'Advanced' button to click.
2010-09-08 22:06:09 +02:00
Ermal
6dcd80af70 Check for proper type. 2010-09-08 17:04:45 +00:00
Ermal
41fb483ad8 Correct typo in file name. Also do not delete users just expire them. 2010-09-08 17:02:50 +00:00
Ermal
e5953c6811 Use foreach and check for type to avoid errors. 2010-09-08 16:56:52 +00:00
Ermal
e8d0903de4 Start-up first check_reload_status than call rc.bootup since this is the new world order. This unbreaks booting and removes spurious messages during boot. While here for all binaries use full path for correctnes and avoid any 'strange' issues. 2010-09-08 16:45:47 +00:00
jim-p
245da5436b Typo: choosen -> chosen 2010-09-08 08:49:43 -04:00
Erik Fonnesbeck
9b485e512a Expand alias for redirect target port and truncate to first port or range if destination port is not that same alias, since the translation port in PF does not accept lists. 2010-09-07 23:44:31 -06:00
Erik Fonnesbeck
22d323b338 Fix variable name typo in status_services.php and fix return value of is_pid_running. Fixes #877 2010-09-07 22:06:48 -06:00
Erik Fonnesbeck
392687e563 Fix hyphen validation for host name on Services: DHCP: Edit static mapping page. 2010-09-07 19:47:23 -06:00
Ermal
c29ff7bd76 Provide a button to reload the filter at status->filter reload status. 2010-09-07 22:18:16 +00:00
Ermal
f4e8db1f82 Do the check regarding 'none' configured interfaces properly. This fixes breakage on VIP configuration. Reported-by: http://forum.pfsense.org/index.php/topic,28120.0.html 2010-09-07 20:37:43 +00:00
Ermal
c3b1ba3fcd Ticket #876. Reload gateways/apinger before filter_reload so the new ip/gateway is considered up from the beginning. 2010-09-07 19:44:02 +00:00
Ermal
0ae6daf834 Use the new events mechanisms to dispatch events. 2010-09-07 19:36:53 +00:00
Ermal
298e5e0ab9 Ticket #876. Remove old status file of apinger before restarting because it might confuse gui. 2010-09-06 16:13:42 +00:00
Ermal
cfdf944442 Delete previous route if present. 2010-09-06 15:04:54 +00:00
Ermal
401a6674c7 Actually there is a script that will run ntpd on bootup. Revert partially the change to fix ntp. 2010-09-06 13:15:18 +00:00
Ermal
45611d02b8 Ticket #877. Some cleanup and fixes so that openvpn status works correctly. 2010-09-06 13:10:08 +00:00
Ermal
c89609705b Fix ntpd starting at boot time and also status->services checking/stop/start/restart display. Previously ntpd would not start at all either though it should. 2010-09-06 13:04:35 +00:00
Erik Fonnesbeck
4c5b865340 Add upgrade code for NAT 1:1 rules and bump config version. 2010-09-05 02:16:22 -06:00
Erik Fonnesbeck
aecbc33ef1 Fix "use system default" setting for reflection on NAT 1:1 rule edit page and remove reference to nonexistent "externalmask" field. 2010-09-05 02:16:20 -06:00
Erik Fonnesbeck
d3690bcb51 Fix reflection on 1:1 rules and properly reinitialize the variable holding the CIDR mask on each iteration of the loop since having none specified is allowed. 2010-09-05 02:15:36 -06:00
gnhb
8920455d1e Revert "Add missing break statement in input validation code."
This reverts commit 52bebb6f44.
2010-09-05 14:32:49 +07:00
gnhb
52bebb6f44 Add missing break statement in input validation code. 2010-09-05 13:39:29 +07:00
Erik Fonnesbeck
3896d93ec5 Do this check earlier rather than later, instead of moving the interface_bring_down call. 2010-09-03 18:58:45 -06:00
Erik Fonnesbeck
0a28d38599 Revert "Rearrange function calls for wireless to prevent killing hostapd/wpa_supplicant at the wrong time."
This reverts commit e93385d06d.
2010-09-03 18:50:04 -06:00
Erik Fonnesbeck
fb2f0db170 Revert "Ticket #867. Do not destory interfaces other than preventing a loop for ppp interfaces during interface configuration."
This reverts commit 990fb7a9a9.
2010-09-03 18:49:32 -06:00
Erik Fonnesbeck
67e77adf47 Protect against wpa_supplicant dying when bringing down interfaces to change wireless regulatory configuration. 2010-09-03 17:42:39 -06:00
Ermal
b2a6623150 Ticket #873. Call write_config() before including file to avoid loosing already done modifications. While here do some code cleanup and formating to make it more readble. 2010-09-03 22:54:14 +00:00
Erik Fonnesbeck
e93385d06d Rearrange function calls for wireless to prevent killing hostapd/wpa_supplicant at the wrong time.
- Moved interface_wireless_configure call to after the new location of the interface_bring_down call to prevent it from killing hostapd and wpa_supplicant right after they start.
- Replaced the original interface_wireless_configure call with the call to the wireless cloning function so that the interface still exists soon enough in the function.
2010-09-03 16:50:40 -06:00
Ermal
e49a2031bd Ticket #843. Disable for now bringing down the interface unless we want to destroy it. While this is not all correct this seems to help alleviate problems when the parent is shared on cloned types. 2010-09-03 17:59:49 +00:00
Ermal
c12fb6cb54 Allow 1:1 rules to specify source and destination. This is almost the same as on Port Forward tab rules without protocol and ports. 2010-09-03 17:45:12 +00:00
Ermal
8fc0b2dcb8 Add missing break; 2010-09-03 17:28:11 +00:00
Ermal
90388e4812 Actually decode before writing to mpd.secret. Alos correct variable names. Discovered-by: Efonne(IRC) 2010-09-03 11:50:54 +00:00
Warren Baker
08d97c590f Added wiki help page for Tables and removed help link for Bogons (now included in Tables). 2010-09-03 11:47:16 +02:00
Ermal
2fc2902022 Base64 encode passowrd fields for safer operations. Suggested-by: Efonne(IRC) 2010-09-03 11:36:59 +00:00
Ermal
ce96805161 Upgrade user data too for new pppoe world. 2010-09-03 10:54:15 +00:00
Ermal
18de072801 Correct function name. Pointy-hat: jimp@ 2010-09-03 10:46:11 +00:00
jim-p
7e91b28a66 We no longer need system_usermanager_addcert.php, its redundant functionality has been merged with system_certmanager.php 2010-09-02 16:56:08 -04:00
jim-p
ad9b5c6783 Allow creating a user certificate, pre-fill some info, direct back to user edit screen if that is what led us here. If we are making a user certificate, give another choice to select a pre-existing certificate to associate with that user. 2010-09-02 16:50:15 -04:00
jim-p
b0884cde4a Adjust add link. 2010-09-02 16:50:14 -04:00
jim-p
c25f73ae85 Adjust the user manager to use cert references on the user instead of the actual certs. 2010-09-02 16:50:13 -04:00
jim-p
3554c9f05c When generating a user cert, put it in with the rest of the certificates and store a reference in the user. 2010-09-02 16:50:13 -04:00
jim-p
79e1ffedf1 Update sync code since CERT/CA have moved. 2010-09-02 16:50:12 -04:00
jim-p
0879599c4e Only allow a certificate to be deleted if it is not currently in use. 2010-09-02 16:50:11 -04:00