Commit Graph

18319 Commits

Author SHA1 Message Date
jim-p
9bfa57b39b Always clear the OpenVPN route when using shared key, no matter what the tunnel network "CIDR" is set to, it still needs it. 2013-02-25 15:21:08 -05:00
Renato Botelho
343266ccf7 Encrypt backup after rrd data is added, it fixes #2836 2013-02-24 10:52:26 -03:00
jim-p
51204df1d9 Fix reference to SNMP interface binding. 2013-02-21 08:51:51 -05:00
Renato Botelho
c6a69aedb1 fix typo 2013-02-20 15:11:35 -03:00
jim-p
83e18db533 Use our own git package and not the really old one from FreeBSD's ftp archive for 8.1 2013-02-15 15:57:16 -05:00
jim-p
d6d775a6b5 Fix page name. Fixes #2640 2013-02-12 16:22:38 -05:00
jim-p
ef84458311 Use the actual openvpn restart routine when starting/stopping from services rather than killing/restarting manually. 2013-02-11 14:03:01 -05:00
Ermal
b9f6677017 If more than 2 minutes have passed from the prunning process ignore the lock 2013-02-11 11:03:24 +00:00
Ermal
b16d70ebb1 Test that timeout value is bigger than 0 2013-02-11 10:56:37 +00:00
jim-p
25d0e8c3cd Fix fallback pool monitor selection. 2013-02-08 15:56:11 -05:00
jim-p
053876753e Restart ntpd a little differently, seems to stabilize it when restarted from rc.newwanip 2013-02-08 15:02:57 -05:00
Ermal
89ad939052 Actually let xmlrpc construct the url internally from the passed info it is doing same checks 2013-02-06 20:01:42 +00:00
Ermal
d06b30eaf6 Correct url creation for xmlrpc. Fix lock order with voucher expire. Bring from master fixes for exec_php xmlrpc code generation 2013-02-06 19:46:15 +00:00
Ermal
b36c115f70 When going through the xmlrpc calls do not hold the lock since deadlock might occur. 2013-02-06 19:38:46 +00:00
Ermal
7b2c22a956 Unlink pid file before starting a new process 2013-02-05 16:07:17 +00:00
jim-p
506c6bee89 Test var before using as array. Should fix #2794 2013-02-05 08:29:34 -05:00
jim-p
a9488104aa Bring in the RCFILEPREFIX as constant fixes from HEAD, since otherwise rc.stop_packages was globbing in the wrong dir and executing the wrong scripts. Also seems to have fixed the "bad fd" error. 2013-01-30 15:13:18 -05:00
jim-p
3942066cd5 Whitespace fixes 2013-01-30 10:22:19 -05:00
jim-p
256a2a51b7 Change output style to follow halt.php and reboot.php so the shutdown output appears in the correct location on the page.
Conflicts:

	usr/local/www/diag_defaults.php
2013-01-30 10:22:03 -05:00
jim-p
ee6bd11d4c Add header to DHCP static mappings table 2013-01-28 10:02:20 -05:00
Ermal
eaf87cb0f9 No need for escaping here since this is php internal functions 2013-01-26 16:37:33 +00:00
jim-p
a216db0faf Add a note about rdr pass not supporting Multi-WAN. 2013-01-26 10:55:36 -05:00
jim-p
35b443af73 No reason for the ppp log to use this display method, use dump_clog() instead. 2013-01-21 10:02:48 -05:00
Ermal
f8bb2aacdc Enable cgi for the webgui since some ports like lightsquid need it 2013-01-21 14:36:11 +00:00
jim-p
25dc1bb059 Run IPsec logs through htmlspecialchars before display. 2013-01-21 09:34:13 -05:00
Renato Botelho
633c02c1ac Previous attempt to fix #1995 allow to set more than one default queues, prevent it with this change. It should fix #1995 2013-01-21 09:48:40 -02:00
Renato Botelho
473129bbc3 Allow to edit default queue. Should fix #1995 2013-01-17 17:00:03 -02:00
Renato Botelho
c1ce0c5160 Preserve "Idle timeout" parameter on interfaces gui. It fixes a problem pointed out on ticket #2641 2013-01-17 14:17:14 -02:00
jim-p
87537cf387 Validate passed parameters to smart commands, and the target device. Also escape when used in shell commands even after validation.
Discovered-By: Bernhard Thaler
2013-01-16 20:14:42 -05:00
jim-p
170a855022 Allow editing an imported CRL, and refresh OpenVPN CRLs when saving. Implements #2652 2013-01-16 08:25:10 -05:00
jim-p
f26c1f794e Use functions to reduce code duplication; Add function to clear route to the interface IP before starting openvpn, otherwise the process cannot start. Ticket #2712 2013-01-15 12:08:43 -05:00
jim-p
4683015021 Better test if we're running at the cli or in lighty. Also suppress output for the session start if it fails. 2013-01-15 11:30:20 -05:00
jim-p
6f165ffcdf Something in the LDAP libraries has changed and it no longer likes spaces in the CA filename. Use the refid for the CA filename since it will always be unqiue, and it will never contain any spaces, unlike authname or the CA's descr. 2013-01-14 16:27:33 -05:00
jim-p
e550b82c03 Bold and note manifest entries that match the current architecture, and add a note cautioning against a cross-architecture upgrade. 2013-01-14 15:16:49 -05:00
jim-p
e6b741a59c Put syslogd into secure mode so no remote log messages are accepted. Sending to a remote syslog server still works with this option. 2013-01-10 14:02:45 -05:00
jim-p
43ba395259 Show the hostname if it doesn't match 2013-01-10 13:51:43 -05:00
Jim P
78efa29451 Merge pull request #319 from bcyrill/patch-4
Update etc/inc/voucher.inc
2013-01-10 08:09:36 -08:00
bcyrill
9cdb8eeed9 Update etc/inc/voucher.inc
Apply to branch 2.0 as well.
Fix array initialization as noted by 'elratt0r' in http://forum.pfsense.org/index.php/topic,49799.0.html
2013-01-10 17:06:46 +01:00
Warren Baker
016d152054 Stack the queue graphs. Fixes #2692 2013-01-10 14:28:35 +02:00
jim-p
f424778cf1 Update zoneinfo to 2012.j 2013-01-09 21:10:55 -05:00
Warren Baker
e817ad19f9 Make values look a little prettier and prevent a potential problem 2013-01-09 23:00:58 +02:00
Warren Baker
f0fb3d447f In the case that no bandwidth limits are configured for queues but PRIQ is been used then rather set a default otherwise a value of 0 is used in the CDEFs for RRD 2013-01-09 20:51:33 +02:00
Renato Botelho
202699ad01 Interface assignment wrongly changing:
When WAN is set to PPPoE and user set other interfaces IP address using
console, it wrongly change the interface assignment to use the same
device of wan. It was caused by a hard coded "wan" on
console_get_interface_from_ppp() call, when it should use $interface
instead. It should fix #2074
2013-01-07 18:09:01 -02:00
jim-p
f9a109a308 Make option 11 kill php and lighty like it does on HEAD 2013-01-07 13:10:02 -05:00
Ermal
df0207cea9 Since php_sapi_name() is useless in pfSense test if argc has been registered or not to avoid warnings on bootup 2013-01-05 17:02:27 +00:00
Ermal
9f1e3d6480 Sync rc.php_init_setup with master 2013-01-05 16:38:53 +00:00
Ermal
f2d7436a70 Add to obsolete files as well 2013-01-05 13:35:13 +00:00
Ermal
65ce97d21d Remove diag_backup.js progress.php upload_progress.php since they are not used since long time 2013-01-05 13:34:25 +00:00
Ermal
df53d679b1 Remove upload_progress_meter references not used 2013-01-05 13:22:20 +00:00
Ermal
9ec91e36f7 Merge: Just check the file_exists let pkill decide if its a vaild file or not. 2013-01-04 22:15:03 +00:00