Project

General

Profile

Download (26.6 KB) Statistics
| Branch: | Tag: | Revision:
1
<?php
2
/*
3
 * help.php
4
 *
5
 * part of pfSense (https://www.pfsense.org)
6
 * Copyright (c) 2004-2016 Rubicon Communications, LLC (Netgate)
7
 * All rights reserved.
8
 *
9
 * Licensed under the Apache License, Version 2.0 (the "License");
10
 * you may not use this file except in compliance with the License.
11
 * You may obtain a copy of the License at
12
 *
13
 * http://www.apache.org/licenses/LICENSE-2.0
14
 *
15
 * Unless required by applicable law or agreed to in writing, software
16
 * distributed under the License is distributed on an "AS IS" BASIS,
17
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
 * See the License for the specific language governing permissions and
19
 * limitations under the License.
20
 */
21

    
22
require_once("guiconfig.inc");
23

    
24
/* Define hash of jumpto url maps */
25

    
26
/* Links to categories could probably be more specific. */
27
$helppages = array(
28
	/* These pages are confirmed to work and have usable content */
29
	'index.php' => 'https://doc.pfsense.org/index.php/Dashboard',
30
	'license.php' => 'https://www.pfsense.org/about-pfsense/#legal',
31
	'miniupnpd.xml' => 'https://doc.pfsense.org/index.php/What_are_UPnP_and_NAT-PMP',
32
	'status_upnp.php' => 'https://doc.pfsense.org/index.php/What_are_UPnP_and_NAT-PMP',
33
	'firewall_virtual_ip.php' => 'https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses',
34
	'firewall_virtual_ip_edit.php' => 'https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses',
35
	'firewall_aliases.php' => 'https://doc.pfsense.org/index.php/Aliases',
36
	'firewall_aliases_edit.php' => 'https://doc.pfsense.org/index.php/Aliases',
37
	'firewall_aliases_import.php' => 'https://doc.pfsense.org/index.php/Aliases',
38
	'firewall_nat_out.php' => 'https://doc.pfsense.org/index.php/Outbound_NAT',
39
	'firewall_nat_out_edit.php' => 'https://doc.pfsense.org/index.php/Outbound_NAT',
40
	'firewall_rules.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Basics',
41
	'firewall_rules_edit.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Basics',
42
	'firewall_schedule.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Schedules',
43
	'firewall_schedule_edit.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Schedules',
44
	'interfaces_vlan.php' => 'https://doc.pfsense.org/index.php/VLAN_Trunking',
45
	'interfaces_vlan_edit.php' => 'https://doc.pfsense.org/index.php/VLAN_Trunking',
46
	'diag_routes.php' => 'https://doc.pfsense.org/index.php/Viewing_Routes',
47
	'diag_packet_capture.php' => 'https://doc.pfsense.org/index.php/Sniffers,_Packet_Capture',
48
	'diag_pftop.php' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage#pftop',
49
	'status_rrd_graph.php' => 'https://doc.pfsense.org/index.php/RRD_Graphs',
50
	'status_rrd_graph_img.php' => 'https://doc.pfsense.org/index.php/RRD_Graphs',
51
	'status_rrd_graph_settings.php' => 'https://doc.pfsense.org/index.php/RRD_Graphs',
52
	'firewall_nat.php' => 'https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense',
53
	'firewall_nat_edit.php' => 'https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense',
54
	'diag_arp.php' => 'https://doc.pfsense.org/index.php/ARP_Table',
55
	'diag_backup.php' => 'https://doc.pfsense.org/index.php/Configuration_Backup_and_Restore',
56
	'diag_confbak.php' => 'https://doc.pfsense.org/index.php/Configuration_History',
57
	'diag_defaults.php' => 'https://doc.pfsense.org/index.php/Factory_Defaults',
58
	'firewall_shaper.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
59
	'firewall_shaper_queues.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
60
	'firewall_shaper_vinterface.php' => 'https://doc.pfsense.org/index.php/Limiters',
61
	'firewall_shaper_wizards.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
62
	'status_queues.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
63
	'status_dhcp_leases.php' => 'https://doc.pfsense.org/index.php/DHCP_Leases',
64
	'diag_dns.php' => 'https://doc.pfsense.org/index.php/DNS_Lookup',
65
	'diag_dump_states.php' => 'https://doc.pfsense.org/index.php/Show_States',
66
	'diag_resetstate.php' => 'https://doc.pfsense.org/index.php/Reset_States',
67
	'status_logs.php' => 'https://doc.pfsense.org/index.php/System_Logs',
68
	'status_logs.php-dhcpd' => 'https://doc.pfsense.org/index.php/DHCP_Logs',
69
	'status_logs.php-gateways' => 'https://doc.pfsense.org/index.php/Gateway_Logs',
70
	'status_logs.php-ipsec' => 'https://doc.pfsense.org/index.php/IPsec_Logs',
71
	'status_logs.php-ntpd' => 'https://doc.pfsense.org/index.php/NTP_Logs',
72
	'status_logs.php-openvpn' => 'https://doc.pfsense.org/index.php/OpenVPN_Logs',
73
	'status_logs.php-portalauth' => 'https://doc.pfsense.org/index.php/Captive_Portal_Authentication_Logs',
74
	'status_logs.php-ppp' => 'https://doc.pfsense.org/index.php/PPP_Logs',
75
	'status_logs.php-relayd' => 'https://doc.pfsense.org/index.php/Load_Balancer_Logs',
76
	'status_logs.php-resolver' => 'https://doc.pfsense.org/index.php/Resolver_Logs',
77
	'status_logs.php-routing' => 'https://doc.pfsense.org/index.php/Routing_Logs',
78
	'status_logs.php-wireless' => 'https://doc.pfsense.org/index.php/Wireless_Logs',
79
	'status_logs_filter.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
80
	'status_logs_filter_dynamic.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
81
	'status_logs_filter_summary.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
82
	'status_logs_settings.php' => 'https://doc.pfsense.org/index.php/Log_Settings',
83
	'status_logs_vpn.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Logs',
84
	'diag_ping.php' => 'https://doc.pfsense.org/index.php/Ping_Host',
85
	'status_pkglogs.php' => 'https://doc.pfsense.org/index.php/Package_Logs',
86
	'diag_tables.php' => 'https://doc.pfsense.org/index.php/Tables',
87
	'diag_system_activity.php' => 'https://doc.pfsense.org/index.php/System_Activity',
88
	'diag_traceroute.php' => 'https://doc.pfsense.org/index.php/Traceroute',
89
	'easyrule.php' => 'https://doc.pfsense.org/index.php/Easy_Rule',
90
	'diag_edit.php' => 'https://doc.pfsense.org/index.php/Edit_File',
91
	'diag_command.php' => 'https://doc.pfsense.org/index.php/Execute_Command',
92
	'firewall_nat_1to1.php' => 'https://doc.pfsense.org/index.php/1:1_NAT',
93
	'firewall_nat_1to1_edit.php' => 'https://doc.pfsense.org/index.php/1:1_NAT',
94
	'diag_halt.php' => 'https://doc.pfsense.org/index.php/Halt_System',
95
	'diag_reboot.php' => 'https://doc.pfsense.org/index.php/Reboot_System',
96
	'status_filter_reload.php' => 'https://doc.pfsense.org/index.php/Filter_Reload_Status',
97
	'status_gateway_groups.php' => 'https://doc.pfsense.org/index.php/Gateway_Status',
98
	'status_gateways.php' => 'https://doc.pfsense.org/index.php/Gateway_Status',
99
	'status_graph.php' => 'https://doc.pfsense.org/index.php/Traffic_Graph',
100
	'status_graph_cpu.php' => 'https://doc.pfsense.org/index.php/CPU_Load',
101
	'status_interfaces.php' => 'https://doc.pfsense.org/index.php/Interface_Status',
102
	'status_services.php' => 'https://doc.pfsense.org/index.php/Services_Status',
103
	'status_wireless.php' => 'https://doc.pfsense.org/index.php/Wireless_Status',
104
	'pkg_mgr.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
105
	'pkg_mgr_install.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
106
	'pkg_mgr_installed.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
107
	'interfaces.php' => 'https://doc.pfsense.org/index.php/Interface_Settings',
108
	'interfaces_assign.php' => 'https://doc.pfsense.org/index.php/Assign_Interfaces',
109
	'interfaces_bridge.php' => 'https://doc.pfsense.org/index.php/Interface_Bridges',
110
	'interfaces_bridge_edit.php' => 'https://doc.pfsense.org/index.php/Interface_Bridges',
111
	'interfaces_gif.php' => 'https://doc.pfsense.org/index.php/GIF_Interfaces',
112
	'interfaces_gif_edit.php' => 'https://doc.pfsense.org/index.php/GIF_Interfaces',
113
	'interfaces_gre.php' => 'https://doc.pfsense.org/index.php/GRE_Interfaces',
114
	'interfaces_gre_edit.php' => 'https://doc.pfsense.org/index.php/GRE_Interfaces',
115
	'interfaces_groups.php' => 'https://doc.pfsense.org/index.php/Interface_Groups',
116
	'interfaces_groups_edit.php' => 'https://doc.pfsense.org/index.php/Interface_Groups',
117
	'interfaces_lagg.php' => 'https://doc.pfsense.org/index.php/LAGG_Interfaces',
118
	'interfaces_lagg_edit.php' => 'https://doc.pfsense.org/index.php/LAGG_Interfaces',
119
	'interfaces_ppps.php' => 'https://doc.pfsense.org/index.php/PPP_Interfaces',
120
	'interfaces_ppps_edit.php' => 'https://doc.pfsense.org/index.php/PPP_Interfaces',
121
	'interfaces_qinq.php' => 'https://doc.pfsense.org/index.php/QinQ_Interfaces',
122
	'interfaces_qinq_edit.php' => 'https://doc.pfsense.org/index.php/QinQ_Interfaces',
123
	'services_dyndns.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
124
	'services_dyndns_edit.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
125
	'services_rfc2136.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
126
	'services_rfc2136_edit.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
127
	'services_dhcp.php' => 'https://doc.pfsense.org/index.php/DHCP_Server',
128
	'services_dhcp_edit.php' => 'https://doc.pfsense.org/index.php/DHCP_Server',
129
	'services_dhcp_relay.php' => 'https://doc.pfsense.org/index.php/DHCP_Relay',
130
	'services_dnsmasq.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
131
	'services_dnsmasq_domainoverride_edit.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
132
	'services_dnsmasq_edit.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
133
	'services_igmpproxy.php' => 'https://doc.pfsense.org/index.php/IGMP_Proxy',
134
	'services_igmpproxy_edit.php' => 'https://doc.pfsense.org/index.php/IGMP_Proxy',
135
	'services_snmp.php' => 'https://doc.pfsense.org/index.php/SNMP_Daemon',
136
	'services_wol.php' => 'https://doc.pfsense.org/index.php/Wake_on_LAN',
137
	'services_wol_edit.php' => 'https://doc.pfsense.org/index.php/Wake_on_LAN',
138
	'system.php' => 'https://doc.pfsense.org/index.php/General_Setup',
139
	'system_advanced_admin.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup',
140
	'system_advanced_firewall.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup#Firewall.2FNAT',
141
	'system_advanced_misc.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup#Miscellaneous',
142
	'system_advanced_network.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup#Firewall.2FNAT',
143
	'system_advanced_notifications.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup#Notifications',
144
	'system_advanced_sysctl.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup#System_Tunables',
145
	'system_update_settings.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
146
	'system_gateway_groups.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
147
	'system_gateway_groups_edit.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
148
	'system_gateways.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
149
	'system_gateways_edit.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
150
	'system_routes.php' => 'https://doc.pfsense.org/index.php/Static_Routes',
151
	'system_routes_edit.php' => 'https://doc.pfsense.org/index.php/Static_Routes',
152
	'system_authservers.php' => 'https://doc.pfsense.org/index.php/User_Authentication_Servers',
153
	'system_groupmanager.php' => 'https://doc.pfsense.org/index.php/Group_Manager',
154
	'system_groupmanager_addprivs.php' => 'https://doc.pfsense.org/index.php/Group_Manager',
155
	'system_usermanager.php' => 'https://doc.pfsense.org/index.php/User_Manager',
156
	'system_usermanager_addprivs.php' => 'https://doc.pfsense.org/index.php/User_Manager',
157
	'system_usermanager_settings.php' => 'https://doc.pfsense.org/index.php/User_Manager',
158
	'system_usermanager_settings_ldapacpicker.php' => 'https://doc.pfsense.org/index.php/User_Manager',
159
	'system_usermanager_settings_test.php' => 'https://doc.pfsense.org/index.php/User_Manager',
160
	'system_usermanager_passwordmg.php' => 'https://doc.pfsense.org/index.php/User_Manager',
161
	'system_camanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
162
	'system_certmanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
163
	'vpn_l2tp.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
164
	'vpn_l2tp_users.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
165
	'vpn_l2tp_users_edit.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
166
	'services_pppoe.php' => 'https://doc.pfsense.org/index.php/PPPoE_Server_Settings',
167
	'services_pppoe_edit.php' => 'https://doc.pfsense.org/index.php/PPPoE_Server_Settings',
168
	'vpn_pptp.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
169
	'vpn_pptp_users.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
170
	'vpn_pptp_users_edit.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
171
	'status_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
172
	'status_ipsec_sad.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
173
	'status_ipsec_spd.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
174
	'vpn_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
175
	'vpn_ipsec_mobile.php' => 'https://doc.pfsense.org/index.php/IPsec_Mobile_Clients',
176
	'status_ipsec_leases.php' => 'https://doc.pfsense.org/index.php/IPsec_Mobile_Clients',
177
	'vpn_ipsec_phase1.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
178
	'vpn_ipsec_phase2.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
179
	'vpn_ipsec_keys.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
180
	'vpn_ipsec_keys_edit.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
181
	'vpn_ipsec_settings.php' => 'https://doc.pfsense.org/index.php/Advanced_IPsec_Settings',
182
	'services_captiveportal.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
183
	'services_captiveportal_filemanager.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
184
	'services_captiveportal_ip.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
185
	'services_captiveportal_ip_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
186
	'services_captiveportal_mac.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
187
	'services_captiveportal_mac_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
188
	'services_captiveportal_hostname.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
189
	'services_captiveportal_hostname_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
190
	'status_captiveportal.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Status',
191
	'status_captiveportal_test.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Status',
192
	'services_captiveportal_vouchers.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
193
	'services_captiveportal_vouchers_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
194
	'status_captiveportal_voucher_rolls.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
195
	'status_captiveportal_vouchers.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
196
	'status_openvpn.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Status',
197
	'vpn_openvpn_client.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
198
	'vpn_openvpn_csc.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
199
	'vpn_openvpn_server.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
200
	'openvpn-client-export.xml' => 'https://doc.pfsense.org/index.php/OpenVPN_Client_Exporter', /* Package */
201
	'vpn_openvpn_export.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Client_Exporter', /* Package */
202
	'diag_authentication.php' => 'https://doc.pfsense.org/index.php/User_Authentication_Servers',
203
	'diag_limiter_info.php' => 'https://doc.pfsense.org/index.php/Limiters',
204
	'diag_pf_info.php' => 'https://doc.pfsense.org/index.php/Packet_Filter_Information',
205
	'diag_smart.php' => 'https://doc.pfsense.org/index.php/SMART_Status',
206
	'diag_states_summary.php' => 'https://doc.pfsense.org/index.php/States_Summary',
207
	'interfaces_wireless.php' => 'https://doc.pfsense.org/index.php/Wireless_Interfaces',
208
	'interfaces_wireless_edit.php' => 'https://doc.pfsense.org/index.php/Wireless_Interfaces',
209
	'system_crlmanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
210
	'crash_reporter.php' => 'https://doc.pfsense.org/index.php/Unexpected_Reboot_Troubleshooting',
211
	'diag_dump_states_sources.php' => 'https://doc.pfsense.org/index.php/Show_Source_Tracking',
212
	'diag_ndp.php' => 'https://doc.pfsense.org/index.php/NDP_Table',
213
	'diag_sockets.php' => 'https://doc.pfsense.org/index.php/Diag_Sockets',
214
	'diag_testport.php' => 'https://doc.pfsense.org/index.php/Test_Port',
215
	'firewall_nat_npt.php' => 'https://doc.pfsense.org/index.php/NPt',
216
	'firewall_nat_npt_edit.php' => 'https://doc.pfsense.org/index.php/NPt',
217
	'services_captiveportal_zones.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
218
	'services_captiveportal_zones_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
219
	'status_captiveportal_expire.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
220
	'services_ntpd.php' => 'https://doc.pfsense.org/index.php/NTP_Server',
221
	'status_ntpd.php' => 'https://doc.pfsense.org/index.php/NTP_Server',
222
	'services_ntpd_gps.php' => 'https://doc.pfsense.org/index.php/NTP_Server',
223
	'services_ntpd_pps.php' => 'https://doc.pfsense.org/index.php/NTP_Server',
224
	'load_balancer_monitor.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing',
225
	'load_balancer_monitor_edit.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing',
226
	'load_balancer_pool.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing#Set_up_Load_Balancing_Pool',
227
	'load_balancer_pool_edit.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing#Set_up_Load_Balancing_Pool',
228
	'load_balancer_virtual_server.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing#Set_up_Virtual_Server',
229
	'load_balancer_virtual_server_edit.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing#Set_up_Virtual_Server',
230
	'load_balancer_setting.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing#Advanced_Settings',
231
	'status_lb_pool.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing_Status',
232
	'status_lb_vs.php' => 'https://doc.pfsense.org/index.php/Inbound_Load_Balancing_Status',
233
	'services_dhcpv6_relay.php' => 'https://doc.pfsense.org/index.php/DHCP_Relay',
234
	'status_dhcpv6_leases.php' => 'https://doc.pfsense.org/index.php/DHCPv6_Leases',
235
	'services_dhcpv6.php' => 'https://doc.pfsense.org/index.php/DHCPv6_Server',
236
	'services_dhcpv6_edit.php' => 'https://doc.pfsense.org/index.php/DHCPv6_Server',
237
	'services_router_advertisements.php' => 'https://doc.pfsense.org/index.php/Router_Advertisements',
238
	'status_carp.php' => 'https://doc.pfsense.org/index.php/CARP_Status',
239
	'system_hasync.php' => 'https://doc.pfsense.org/index.php/High_Availability',
240
	'services_unbound.php' => 'https://doc.pfsense.org/index.php/Unbound_DNS_Resolver',
241
	'services_unbound_advanced.php' => 'https://doc.pfsense.org/index.php/Unbound_DNS_Resolver#Advanced_Settings_Tab',
242
	'services_unbound_acls.php' => 'https://doc.pfsense.org/index.php/Unbound_DNS_Resolver#Access_Lists_Tab',
243
	'services_unbound_domainoverride_edit.php' => 'https://doc.pfsense.org/index.php/Unbound_DNS_Resolver',
244
	'services_unbound_host_edit.php' => 'https://doc.pfsense.org/index.php/Unbound_DNS_Resolver',
245
	'diag_gmirror.php' => 'https://doc.pfsense.org/index.php/Create_a_Software_RAID1_%28gmirror%29',
246

    
247
	/* From here down are packages. Not checking these as strictly,
248
	any information is better than nothing. */
249
	'olsrd.xml' => 'https://doc.pfsense.org/index.php/OLSR_Daemon',
250
	'routed.xml' => 'https://doc.pfsense.org/index.php/Routing_Information_Protocol_(RIP)', # RIP
251
	'autoconfigbackup.xml' => 'https://doc.pfsense.org/index.php/AutoConfigBackup',
252
	'phpservice.xml' => 'https://doc.pfsense.org/index.php/PHPService',
253
	'anyterm.xml' => 'https://doc.pfsense.org/index.php/AnyTerm_package',
254
	'avahi.xml' => 'https://doc.pfsense.org/index.php/Avahi_package',
255
	'squid.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
256
	'squid_auth.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
257
	'squid_cache.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
258
	'squid_extauth.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
259
	'squid_nac.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
260
	'squid_ng.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
261
	'squid_traffic.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
262
	'squid_upstream.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
263
	'squid_users.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
264
	'squidGuard.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
265
	'squidguard.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
266
	'squidguard_acl.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
267
	'squidguard_default.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
268
	'squidguard_dest.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
269
	'squidguard_log.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
270
	'squidguard_rewr.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
271
	'squidguard_time.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
272
	'bandwidthd.xml' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage',
273
	'pfflowd.xml' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage',
274
	'darkstat.xml' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage',
275
	'rate.xml' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage',
276
	'ntop.xml' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage',
277
	'ntopng.xml' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage',
278
	'vnstat.xml' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage',
279
	'widentd.xml' => 'https://doc.pfsense.org/index.php/Widentd_package',
280
	'tinydns.xml' => 'https://doc.pfsense.org/index.php/Tinydns_package',
281
	'tinydns_domains.xml' => 'https://doc.pfsense.org/index.php/Tinydns_package',
282
	'tinydns_sync.xml' => 'https://doc.pfsense.org/index.php/Tinydns_package',
283
	'blinkled.xml' => 'https://doc.pfsense.org/index.php/BlinkLED_Package',
284
	'havp.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
285
	'havp_avset.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
286
	'havp_blacklist.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
287
	'havp_fscan.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
288
	'havp_trans_exclude.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
289
	'havp_whitelist.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
290
	'snort.xml' => 'https://doc.pfsense.org/index.php/Setup_Snort_Package',
291
	'snort/snort_interfaces.php' => 'https://doc.pfsense.org/index.php/Snort_interfaces',
292
	'snort/snort_interfaces_global.php' => 'https://doc.pfsense.org/index.php/Snort_interfaces_global',
293
	'snort/snort_download_updates.php' => 'https://doc.pfsense.org/index.php/Snort_updates',
294
	'snort/snort_alerts.php' => 'https://doc.pfsense.org/index.php/Snort_alerts',
295
	'snort/snort_blocked.php' => 'https://doc.pfsense.org/index.php/Snort_blocked_hosts',
296
	'snort/snort_passlist.php' => 'https://doc.pfsense.org/index.php/Snort_passlist',
297
	'snort/snort_passlist_edit.php' => 'https://doc.pfsense.org/index.php/Snort_passlist',
298
	'snort/snort_interfaces_suppress.php' => 'https://doc.pfsense.org/index.php/Snort_suppress_list',
299
	'snort/snort_interfaces_suppress_edit.php' => 'https://doc.pfsense.org/index.php/Snort_suppress_list',
300
	'snort/snort_interfaces_edit.php' => 'https://doc.pfsense.org/index.php/Snort_interfaces_edit',
301
	'snort/snort_rulesets.php' => 'https://doc.pfsense.org/index.php/Snort_rulesets',
302
	'snort/snort_rules.php' => 'https://doc.pfsense.org/index.php/Snort_rules',
303
	'snort/snort_define_servers.php' => 'https://doc.pfsense.org/index.php/Snort_define_servers',
304
	'snort/snort_preprocessors.php' => 'https://doc.pfsense.org/index.php/Snort_preprocessors',
305
	'snort/snort_barnyard.php' => 'https://doc.pfsense.org/index.php/Snort_barnyard2',
306
	'snort/snort_ip_reputation.php' => 'https://doc.pfsense.org/index.php/Snort_ip_reputation_preprocessor',
307
	'snort/snort_ip_list_mgmt.php' => 'https://doc.pfsense.org/index.php/Snort_ip_list_mgmt',
308
	'snort/snort_sync.xml' => 'https://doc.pfsense.org/index.php/Snort_sync',
309
	'stunnel.xml' => 'https://doc.pfsense.org/index.php/Stunnel_package',
310
	'stunnel_certs.xml' => 'https://doc.pfsense.org/index.php/Stunnel_package',
311
	'openbgpd.xml' => 'https://doc.pfsense.org/index.php/OpenBGPD_package',
312
	'openbgpd_groups.xml' => 'https://doc.pfsense.org/index.php/OpenBGPD_package',
313
	'openbgpd_neighbors.xml' => 'https://doc.pfsense.org/index.php/OpenBGPD_package',
314
	'iperf.xml' => 'https://doc.pfsense.org/index.php/Iperf_package',
315
	'iperfserver.xml' => 'https://doc.pfsense.org/index.php/Iperf_package',
316
	'jail_template.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
317
	'jailctl.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
318
	'jailctl_defaults.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
319
	'jailctl_settings.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
320
	'siproxd.xml' => 'https://doc.pfsense.org/index.php/Siproxd_package',
321
	'siproxdusers.xml' => 'https://doc.pfsense.org/index.php/Siproxd_package',
322
	'open-vm-tools.xml' => 'https://doc.pfsense.org/index.php/Open_VM_Tools_package',
323
	'arping.xml' => 'https://doc.pfsense.org/index.php/Arping_package',
324
	'unbound.xml' => 'https://doc.pfsense.org/index.php/Unbound_package',
325
	'nut.xml' => 'https://doc.pfsense.org/index.php/Nut_package',
326

    
327
);
328

    
329
$pagename = "";
330
/* Check for parameter "page". */
331
if ($_GET && isset($_GET['page'])) {
332
	$pagename = $_GET['page'];
333
}
334

    
335
/* If "page" is not found, check referring URL */
336
if (empty($pagename)) {
337
	/* Attempt to parse out filename */
338
	$uri_split = "";
339
	preg_match("/\/(.*)\?(.*)/", $_SERVER["HTTP_REFERER"], $uri_split);
340

    
341
	/* If there was no match, there were no parameters, just grab the filename
342
		Otherwise, use the matched filename from above. */
343
	if (empty($uri_split[0])) {
344
		$pagename = ltrim(parse_url($_SERVER["HTTP_REFERER"], PHP_URL_PATH), '/');
345
	} else {
346
		$pagename = $uri_split[1];
347
	}
348

    
349
	/* If the page name is still empty, the user must have requested / (index.php) */
350
	if (empty($pagename)) {
351
		$pagename = "index.php";
352
	}
353

    
354
	/* If the filename is pkg_edit.php or wizard.php, reparse looking
355
		for the .xml filename */
356
	if (($pagename == "pkg.php") || ($pagename == "pkg_edit.php") || ($pagename == "wizard.php")) {
357
		$param_split = explode('&', $uri_split[2]);
358
		foreach ($param_split as $param) {
359
			if (substr($param, 0, 4) == "xml=") {
360
				$xmlfile = explode('=', $param);
361
				$pagename = $xmlfile[1];
362
			}
363
		}
364
	}
365
}
366

    
367
/* Using the derived page name, attempt to find in the URL mapping hash */
368
if (array_key_exists($pagename, $helppages)) {
369
	$helppage = $helppages[$pagename];
370
}
371

    
372
/* If we haven't determined a proper page, use a generic help page
373
	 stating that a given page does not have help yet. */
374

    
375
if (empty($helppage)) {
376
	$helppage = 'https://doc.pfsense.org/index.php/No_Help_Found';
377
}
378

    
379
/* Redirect to help page. */
380
header("Location: {$helppage}");
381

    
382
?>
(64-64/225)