Projet

Général

Profil

Télécharger (28,2 ko) Statistiques
| Branche: | Tag: | Révision:

univnautes / usr / local / www / help.php @ 4b2223f2

1
<?php
2
/* Redirector for Contextual Help System
3
 * Copyright (C) 2013-2014 Electric Sheep Fencing, LP
4
 * (c) 2009 Jim Pingle <jimp@pfsense.org>
5
 *
6
 */
7

    
8
require_once("guiconfig.inc");
9

    
10
/* Define hash of jumpto url maps */
11

    
12
/* Links to categories could probably be more specific. */
13
$helppages = array(
14
	/* These pages are confirmed to work and have usable content */
15
	'index.php' => 'https://doc.pfsense.org/index.php/Dashboard',
16
	'license.php' => 'https://www.pfsense.org/index.php@option=com_content&amp;task=view&amp;id=42&amp;Itemid=62.html',
17
	'miniupnpd.xml' => 'https://doc.pfsense.org/index.php/What_is_UPNP%3F',
18
	'status_upnp.php' => 'https://doc.pfsense.org/index.php/What_is_UPNP%3F',
19
	'firewall_virtual_ip.php' => 'https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F',
20
	'firewall_virtual_ip_edit.php' => 'https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F',
21
	'firewall_aliases.php' => 'https://doc.pfsense.org/index.php/Aliases',
22
	'firewall_aliases_edit.php' => 'https://doc.pfsense.org/index.php/Aliases',
23
	'firewall_aliases_import.php' => 'https://doc.pfsense.org/index.php/Aliases',
24
	'firewall_nat_out.php' => 'https://doc.pfsense.org/index.php/Outbound_NAT',
25
	'firewall_nat_out_edit.php' => 'https://doc.pfsense.org/index.php/Outbound_NAT',
26
	'firewall_rules.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Basics',
27
	'firewall_rules_edit.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Basics',
28
	'firewall_schedule.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Schedules',
29
	'firewall_schedule_edit.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Schedules',
30
	'interfaces_vlan.php' => 'https://doc.pfsense.org/index.php/VLAN_Trunking',
31
	'interfaces_vlan_edit.php' => 'https://doc.pfsense.org/index.php/VLAN_Trunking',
32
	'diag_routes.php' => 'https://doc.pfsense.org/index.php/Viewing_Routes',
33
	'diag_packet_capture.php' => 'https://doc.pfsense.org/index.php/Sniffers,_Packet_Capture',
34
	'diag_system_pftop.php' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F#pftop',
35
	'status_rrd_graph.php' => 'https://doc.pfsense.org/index.php/RRD_Graphs',
36
	'status_rrd_graph_img.php' => 'https://doc.pfsense.org/index.php/RRD_Graphs',
37
	'status_rrd_graph_settings.php' => 'https://doc.pfsense.org/index.php/RRD_Graphs',
38
	'firewall_nat.php' => 'https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F',
39
	'firewall_nat_edit.php' => 'https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F',
40
	'diag_arp.php' => 'https://doc.pfsense.org/index.php/ARP_Table',
41
	'diag_backup.php' => 'https://doc.pfsense.org/index.php/Configuration_Backup_and_Restore',
42
	'diag_confbak.php' => 'https://doc.pfsense.org/index.php/Configuration_History',
43
	'diag_defaults.php' => 'https://doc.pfsense.org/index.php/Factory_Defaults',
44
	'firewall_shaper.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
45
	'firewall_shaper_layer7.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
46
	'firewall_shaper_queues.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
47
	'firewall_shaper_vinterface.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
48
	'firewall_shaper_wizards.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
49
	'status_queues.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
50
	'status_dhcp_leases.php' => 'https://doc.pfsense.org/index.php/DHCP_Leases',
51
	'diag_dns.php' => 'https://doc.pfsense.org/index.php/DNS_Lookup',
52
	'diag_dump_states.php' => 'https://doc.pfsense.org/index.php/Show_States',
53
	'diag_resetstate.php' => 'https://doc.pfsense.org/index.php/Reset_States',
54
	'diag_logs.php' => 'https://doc.pfsense.org/index.php/System_Logs',
55
	'diag_logs_auth.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Authentication_Logs',
56
	'diag_logs_dhcp.php' => 'https://doc.pfsense.org/index.php/DHCP_Logs',
57
	'diag_logs_filter.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
58
	'diag_logs_filter_dynamic.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
59
	'diag_logs_filter_summary.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
60
	'diag_logs_ntpd.php' => 'https://doc.pfsense.org/index.php/NTP_Logs',
61
	'diag_logs_ppp.php' => 'https://doc.pfsense.org/index.php/PPP_Logs',
62
	'diag_logs_relayd.php' => 'https://doc.pfsense.org/index.php/Load_Balancer_Logs',
63
	'diag_logs_settings.php' => 'https://doc.pfsense.org/index.php/Log_Settings',
64
	'diag_logs_vpn.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Logs',
65
	'diag_logs_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Logs',
66
	'diag_logs_openvpn.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Logs',
67
	'diag_nanobsd.php' => 'https://doc.pfsense.org/index.php/NanoBSD_Diagnostics',
68
	'diag_patterns.php' => 'https://doc.pfsense.org/index.php/Layer7_Pattern_Diagnostics',
69
	'diag_ping.php' => 'https://doc.pfsense.org/index.php/Ping_Host',
70
	'diag_pkglogs.php' => 'https://doc.pfsense.org/index.php/Package_Logs',
71
	'diag_tables.php' => 'https://doc.pfsense.org/index.php/Tables',
72
	'diag_system_activity.php' => 'https://doc.pfsense.org/index.php/System_Activity',
73
	'diag_traceroute.php' => 'https://doc.pfsense.org/index.php/Traceroute',
74
	'easyrule.php' => 'https://doc.pfsense.org/index.php/Easy_Rule',
75
	'edit.php' => 'https://doc.pfsense.org/index.php/Edit_File',
76
	'exec.php' => 'https://doc.pfsense.org/index.php/Execute_Command',
77
	'firewall_nat_1to1.php' => 'https://doc.pfsense.org/index.php/1:1_NAT',
78
	'firewall_nat_1to1_edit.php' => 'https://doc.pfsense.org/index.php/1:1_NAT',
79
	'halt.php' => 'https://doc.pfsense.org/index.php/Halt_System',
80
	'reboot.php' => 'https://doc.pfsense.org/index.php/Reboot_System',
81
	'status_filter_reload.php' => 'https://doc.pfsense.org/index.php/Filter_Reload_Status',
82
	'status_gateway_groups.php' => 'https://doc.pfsense.org/index.php/Gateway_Status',
83
	'status_gateways.php' => 'https://doc.pfsense.org/index.php/Gateway_Status',
84
	'status_graph.php' => 'https://doc.pfsense.org/index.php/Traffic_Graph',
85
	'status_graph_cpu.php' => 'https://doc.pfsense.org/index.php/CPU_Load',
86
	'status_interfaces.php' => 'https://doc.pfsense.org/index.php/Interface_Status',
87
	'status_services.php' => 'https://doc.pfsense.org/index.php/Services_Status',
88
	'status_wireless.php' => 'https://doc.pfsense.org/index.php/Wireless_Status',
89
	'pkg_mgr.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
90
	'pkg_mgr_install.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
91
	'pkg_mgr_installed.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
92
	'pkg_mgr_settings.php' => 'https://doc.pfsense.org/index.php/Package_Manager_Settings',
93
	'interfaces.php' => 'https://doc.pfsense.org/index.php/Interface_Settings',
94
	'interfaces_assign.php' => 'https://doc.pfsense.org/index.php/Assign_Interfaces',
95
	'interfaces_bridge.php' => 'https://doc.pfsense.org/index.php/Interface_Bridges',
96
	'interfaces_bridge_edit.php' => 'https://doc.pfsense.org/index.php/Interface_Bridges',
97
	'interfaces_gif.php' => 'https://doc.pfsense.org/index.php/GIF_Interfaces',
98
	'interfaces_gif_edit.php' => 'https://doc.pfsense.org/index.php/GIF_Interfaces',
99
	'interfaces_gre.php' => 'https://doc.pfsense.org/index.php/GRE_Interfaces',
100
	'interfaces_gre_edit.php' => 'https://doc.pfsense.org/index.php/GRE_Interfaces',
101
	'interfaces_groups.php' => 'https://doc.pfsense.org/index.php/Interface_Groups',
102
	'interfaces_groups_edit.php' => 'https://doc.pfsense.org/index.php/Interface_Groups',
103
	'interfaces_lagg.php' => 'https://doc.pfsense.org/index.php/LAGG_Interfaces',
104
	'interfaces_lagg_edit.php' => 'https://doc.pfsense.org/index.php/LAGG_Interfaces',
105
	'interfaces_ppps.php' => 'https://doc.pfsense.org/index.php/PPP_Interfaces',
106
	'interfaces_ppps_edit.php' => 'https://doc.pfsense.org/index.php/PPP_Interfaces',
107
	'interfaces_qinq.php' => 'https://doc.pfsense.org/index.php/QinQ_Interfaces',
108
	'interfaces_qinq_edit.php' => 'https://doc.pfsense.org/index.php/QinQ_Interfaces',
109
	'services_dyndns.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
110
	'services_dyndns_edit.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
111
	'services_rfc2136.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
112
	'services_rfc2136_edit.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
113
	'services_dhcp.php' => 'https://doc.pfsense.org/index.php/DHCP_Server',
114
	'services_dhcp_edit.php' => 'https://doc.pfsense.org/index.php/DHCP_Server',
115
	'services_dhcp_relay.php' => 'https://doc.pfsense.org/index.php/DHCP_Relay',
116
	'services_dnsmasq.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
117
	'services_dnsmasq_domainoverride_edit.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
118
	'services_dnsmasq_edit.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
119
	'services_igmpproxy.php' => 'https://doc.pfsense.org/index.php/IGMP_Proxy',
120
	'services_igmpproxy_edit.php' => 'https://doc.pfsense.org/index.php/IGMP_Proxy',
121
	'services_snmp.php' => 'https://doc.pfsense.org/index.php/SNMP_Daemon',
122
	'services_wol.php' => 'https://doc.pfsense.org/index.php/Wake_on_LAN',
123
	'services_wol_edit.php' => 'https://doc.pfsense.org/index.php/Wake_on_LAN',
124
	'system.php' => 'https://doc.pfsense.org/index.php/General_Setup_(2.0)',
125
	'system_advanced_admin.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)',
126
	'system_advanced_firewall.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Firewall.2FNAT',
127
	'system_advanced_misc.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Miscellaneous',
128
	'system_advanced_network.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Firewall.2FNAT',
129
	'system_advanced_notifications.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Notifications',
130
	'system_advanced_sysctl.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#System_Tunables',
131
	'system_firmware.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
132
	'system_firmware_auto.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
133
	'system_firmware_check.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
134
	'system_firmware_settings.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
135
	'system_gateway_groups.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
136
	'system_gateway_groups_edit.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
137
	'system_gateways.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
138
	'system_gateways_edit.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
139
	'system_routes.php' => 'https://doc.pfsense.org/index.php/Static_Routes',
140
	'system_routes_edit.php' => 'https://doc.pfsense.org/index.php/Static_Routes',
141
	'system_authservers.php' => 'https://doc.pfsense.org/index.php/User_Authentication_Servers',
142
	'system_groupmanager.php' => 'https://doc.pfsense.org/index.php/Group_Manager',
143
	'system_groupmanager_addprivs.php' => 'https://doc.pfsense.org/index.php/Group_Manager',
144
	'system_usermanager.php' => 'https://doc.pfsense.org/index.php/User_Manager',
145
	'system_usermanager_addprivs.php' => 'https://doc.pfsense.org/index.php/User_Manager',
146
	'system_usermanager_settings.php' => 'https://doc.pfsense.org/index.php/User_Manager',
147
	'system_usermanager_settings_ldapacpicker.php' => 'https://doc.pfsense.org/index.php/User_Manager',
148
	'system_usermanager_settings_test.php' => 'https://doc.pfsense.org/index.php/User_Manager',
149
	'system_usermanager_passwordmg.php' => 'https://doc.pfsense.org/index.php/User_Manager',
150
	'system_camanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
151
	'system_certmanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
152
	'vpn_l2tp.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
153
	'vpn_l2tp_users.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
154
	'vpn_l2tp_users_edit.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
155
	'vpn_pppoe.php' => 'https://doc.pfsense.org/index.php/PPPoE_Server_Settings',
156
	'vpn_pppoe_edit.php' => 'https://doc.pfsense.org/index.php/PPPoE_Server_Settings',
157
	'vpn_pptp.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
158
	'vpn_pptp_users.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
159
	'vpn_pptp_users_edit.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
160
	'diag_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
161
	'diag_ipsec_sad.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
162
	'diag_ipsec_spd.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
163
	'vpn_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
164
	'vpn_ipsec_mobile.php' => 'https://doc.pfsense.org/index.php/IPsec_Mobile_Clients',
165
	'vpn_ipsec_phase1.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
166
	'vpn_ipsec_phase2.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
167
	'vpn_ipsec_keys.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
168
	'vpn_ipsec_keys_edit.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
169
	'services_captiveportal.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
170
	'services_captiveportal_filemanager.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
171
	'services_captiveportal_ip.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
172
	'services_captiveportal_ip_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
173
	'services_captiveportal_mac.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
174
	'services_captiveportal_mac_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
175
	'services_captiveportal_hostname.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
176
	'services_captiveportal_hostname_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
177
	'status_captiveportal.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Status',
178
	'status_captiveportal_test.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Status',
179
	'services_captiveportal_vouchers.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
180
	'services_captiveportal_vouchers_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
181
	'status_captiveportal_voucher_rolls.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
182
	'status_captiveportal_vouchers.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
183
	'status_openvpn.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Status',
184
	'vpn_openvpn_client.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
185
	'vpn_openvpn_csc.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
186
	'vpn_openvpn_server.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
187
	'openvpn-client-export.xml' => 'https://doc.pfsense.org/index.php/OpenVPN_Client_Exporter', /* Package */
188
	'vpn_openvpn_export.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Client_Exporter', /* Package */
189
	'diag_authentication.php' => 'https://doc.pfsense.org/index.php/User_Authentication_Servers',
190
	'diag_limiter_info.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide#Display_Pipes',
191
	'diag_pf_info.php' => 'https://doc.pfsense.org/index.php/Packet_Filter_Information',
192
	'diag_smart.php' => 'https://doc.pfsense.org/index.php/SMART_Status',
193
	'diag_states_summary.php' => 'https://doc.pfsense.org/index.php/States_Summary',
194
	'interfaces_wireless.php' => 'https://doc.pfsense.org/index.php/Wireless_Interfaces',
195
	'interfaces_wireless_edit.php' => 'https://doc.pfsense.org/index.php/Wireless_Interfaces',
196
	'system_crlmanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
197
	'crash_reporter.php' => 'https://doc.pfsense.org/index.php/Unexpected_Reboot_Troubleshooting',
198
	'diag_dump_states_sources.php' => 'https://doc.pfsense.org/index.php/Show_Source_Tracking',
199
	'diag_logs_gateways.php' => 'https://doc.pfsense.org/index.php/Gateway_Logs',
200
	'diag_logs_resolver.php' => 'https://doc.pfsense.org/index.php/Resolver_Logs',
201
	'diag_logs_routing.php' => 'https://doc.pfsense.org/index.php/Routing_Logs',
202
	'diag_logs_wireless.php' => 'https://doc.pfsense.org/index.php/Wireless_Logs',
203
	'diag_ndp.php' => 'https://doc.pfsense.org/index.php/NDP_Table',
204
	'diag_sockets.php' => 'https://doc.pfsense.org/index.php/Diag_Sockets',
205
	'diag_testport.php' => 'https://doc.pfsense.org/index.php/Test_Port',
206
	'firewall_nat_npt.php' => 'https://doc.pfsense.org/index.php/NPt',
207
	'firewall_nat_npt_edit.php' => 'https://doc.pfsense.org/index.php/NPt',
208
	'load_balancer_setting.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
209
	'services_captiveportal_zones.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
210
	'services_captiveportal_zones_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
211
	'status_captiveportal_expire.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
212
	'services_ntpd.php' => 'https://doc.pfsense.org/index.php/NTP_Server',
213
	'status_ntpd.php' => 'https://doc.pfsense.org/index.php/NTP_Server',
214
	'system_firmware_restorefullbackup.php' => 'https://doc.pfsense.org/index.php/Full_Backup',
215

    
216
	/* New Files for 2.1 that still need better pages/links. */
217
	'services_dhcpv6.php' => 'https://doc.pfsense.org/index.php/Category:IPv6',
218
	'services_dhcpv6_edit.php' => 'https://doc.pfsense.org/index.php/Category:IPv6',
219
	'services_dhcpv6_relay.php' => 'https://doc.pfsense.org/index.php/Category:IPv6',
220
	'status_dhcpv6_leases.php' => 'https://doc.pfsense.org/index.php/Category:IPv6',
221
	'services_router_advertisements.php' => 'https://doc.pfsense.org/index.php/Category:IPv6',
222

    
223
	/* Below here are pages that may need some cleanup or have not been fully looked at yet */
224

    
225
	'carp_status.php' => 'https://doc.pfsense.org/index.php/Category:CARP',
226
	'system_hasync.php' => 'https://doc.pfsense.org/index.php/Category:CARP', /* FIXME? */
227

    
228
	'load_balancer_monitor.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
229
	'load_balancer_monitor_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
230
	'load_balancer_pool.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
231
	'load_balancer_pool_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
232
	'load_balancer_relay_action.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
233
	'load_balancer_relay_action_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
234
	'load_balancer_relay_protocol.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
235
	'load_balancer_relay_protocol_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
236
	'load_balancer_virtual_server.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
237
	'load_balancer_virtual_server_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
238
	'status_lb_pool.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
239
	'status_lb_vs.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
240

    
241

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

    
325
);
326

    
327
/*
328
Filename list (2.0 box as of 2009-11-15), entries with help maps should be
329
removed. Also, files which cannot normally be accessed by a user can
330
be removed.(e.g. xmlrpc.php)
331

    
332
Below this is a list of .xml files from built-in and add-on packages
333

    
334

    
335

    
336
Package .xml files (some may not be needed)
337
	'apache_mod_security.xml' => '',
338
	'apache_mod_security_settings.xml' => '',
339
	'arpwatch.xml' => '',
340
	'assp.xml' => '',
341
	'backup.xml' => '',
342
	'bsdstats.xml' => '',
343
	'cron.xml' => '',
344
	'ddns.xml' => '',
345
	'denyhosts.xml' => '',
346
	'dnsblacklist.xml' => '',
347
	'dyntables.xml' => '',
348
	'fit123.xml' => '',
349
	'freeradius.xml' => '',
350
	'freeradiusclients.xml' => '',
351
	'freeradiussettings.xml' => '',
352
	'frickin.xml' => '',
353
	'haproxy.xml' => '',
354
	'hula.xml' => '',
355
	'ifdepd.xml' => '',
356
	'ifstated.xml' => '',
357
	'igmpproxy.xml' => '',
358
	'imspector.xml' => '',
359
	'lcdproc.xml' => '',
360
	'lcdproc_screens.xml' => '',
361
	'lightsquid.xml' => '',
362
	'messages_de.xml' => '',
363
	'messages_en.xml' => '',
364
	'mtr-nox11.xml' => '',
365
	'netio-newpkg.xml' => '',
366
	'netio.xml' => '',
367
	'netioserver-newpkg.xml' => '',
368
	'netioserver.xml' => '',
369
	'new_zone_wizard.xml' => '',
370
	'nmap.xml' => '',
371
	'notes.xml' => '',
372
	'nrpe2.xml' => '',
373
	'nut.xml' => '',
374
	'per-user-bandwidth-distribution.xml' => '',
375
	'pfstat.xml' => '',
376
	'phpmrss.xml' => '',
377
	'phpsysinfo.xml' => '',
378
	'powerdns.xml' => '',
379
	'pure-ftpd.xml' => '',
380
	'pure-ftpdsettings.xml' => '',
381
	'quagga.xml' => '',
382
	'routed.xml' => '',
383
	'shellcmd.xml' => '',
384
	'spamd.xml' => '',
385
	'spamd_outlook.xml' => '',
386
	'spamd_settings.xml' => '',
387
	'spamd_whitelist.xml' => '',
388
	'sshterm.xml' => '',
389
	'tftp.xml' => '',
390
	'upclient.xml' => '',
391
	'viralator.xml' => '',
392
	'zabbix-agent.xml' => '',
393

    
394
 */
395

    
396
$pagename = "";
397
/* Check for parameter "page". */
398
if ($_GET && isset($_GET['page'])) {
399
	$pagename = $_GET['page'];
400
}
401

    
402
/* If "page" is not found, check referring URL */
403
if (empty($pagename)) {
404
	/* Attempt to parse out filename */
405
	$uri_split = "";
406
	preg_match("/\/(.*)\?(.*)/", $_SERVER["HTTP_REFERER"], $uri_split);
407

    
408
	/* If there was no match, there were no parameters, just grab the filename
409
		Otherwise, use the matched filename from above. */
410
	if (empty($uri_split[0])) {
411
		$pagename = ltrim(parse_url($_SERVER["HTTP_REFERER"], PHP_URL_PATH), '/');
412
	} else {
413
		$pagename = $uri_split[1];
414
	}
415

    
416
	/* If the page name is still empty, the user must have requested / (index.php) */
417
	if (empty($pagename)) {
418
		$pagename = "index.php";
419
	}
420

    
421
	/* If the filename is pkg_edit.php or wizard.php, reparse looking
422
		for the .xml filename */
423
	if (($pagename == "pkg.php") || ($pagename == "pkg_edit.php") || ($pagename == "wizard.php")) {
424
		$param_split = explode('&', $uri_split[2]);
425
		foreach ($param_split as $param) {
426
			if (substr($param, 0, 4) == "xml=") {
427
				$xmlfile = explode('=', $param);
428
				$pagename = $xmlfile[1];
429
			}
430
		}
431
	}
432
}
433

    
434
/* Using the derived page name, attempt to find in the URL mapping hash */
435
if (array_key_exists($pagename, $helppages)) {
436
	$helppage = $helppages[$pagename];
437
}
438

    
439
/* If we haven't determined a proper page, use a generic help page
440
	 stating that a given page does not have help yet. */
441

    
442
if (empty($helppage)) {
443
	$helppage = 'https://doc.pfsense.org/index.php/No_Help_Found';
444

    
445
}
446

    
447
/* Redirect to help page. */
448
header("Location: {$helppage}");
449

    
450
?>
(92-92/256)