1
|
<?php
|
2
|
/* Redirector for Contextual Help System
|
3
|
* (c) 2009 Jim Pingle <jimp@pfsense.org>
|
4
|
*
|
5
|
*/
|
6
|
|
7
|
require_once("guiconfig.inc");
|
8
|
|
9
|
/* Define hash of jumpto url maps */
|
10
|
|
11
|
/* Links to categories could probably be more specific. */
|
12
|
$helppages = array(
|
13
|
/* These pages are confirmed to work and have usable content */
|
14
|
'index.php' => 'https://doc.pfsense.org/index.php/Dashboard',
|
15
|
'license.php' => 'https://www.pfsense.org/index.php@option=com_content&task=view&id=42&Itemid=62.html',
|
16
|
'miniupnpd.xml' => 'https://doc.pfsense.org/index.php/What_is_UPNP%3F',
|
17
|
'status_upnp.php' => 'https://doc.pfsense.org/index.php/What_is_UPNP%3F',
|
18
|
'firewall_virtual_ip.php' => 'https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F',
|
19
|
'firewall_virtual_ip_edit.php' => 'https://doc.pfsense.org/index.php/What_are_Virtual_IP_Addresses%3F',
|
20
|
'firewall_aliases.php' => 'https://doc.pfsense.org/index.php/Aliases',
|
21
|
'firewall_aliases_edit.php' => 'https://doc.pfsense.org/index.php/Aliases',
|
22
|
'firewall_aliases_import.php' => 'https://doc.pfsense.org/index.php/Aliases',
|
23
|
'firewall_nat_out.php' => 'https://doc.pfsense.org/index.php/Outbound_NAT',
|
24
|
'firewall_nat_out_edit.php' => 'https://doc.pfsense.org/index.php/Outbound_NAT',
|
25
|
'firewall_rules.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Basics',
|
26
|
'firewall_rules_edit.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Basics',
|
27
|
'firewall_schedule.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Schedules',
|
28
|
'firewall_schedule_edit.php' => 'https://doc.pfsense.org/index.php/Firewall_Rule_Schedules',
|
29
|
'interfaces_vlan.php' => 'https://doc.pfsense.org/index.php/VLAN_Trunking',
|
30
|
'interfaces_vlan_edit.php' => 'https://doc.pfsense.org/index.php/VLAN_Trunking',
|
31
|
'diag_routes.php' => 'https://doc.pfsense.org/index.php/Viewing_Routes',
|
32
|
'diag_packet_capture.php' => 'https://doc.pfsense.org/index.php/Sniffers,_Packet_Capture',
|
33
|
'diag_system_pftop.php' => 'https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F#pftop',
|
34
|
'status_rrd_graph.php' => "https://doc.pfsense.org/index.php/RRD_Graphs",
|
35
|
'status_rrd_graph_img.php' => "https://doc.pfsense.org/index.php/RRD_Graphs",
|
36
|
'status_rrd_graph_settings.php' => "https://doc.pfsense.org/index.php/RRD_Graphs",
|
37
|
'firewall_nat.php' => 'https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F',
|
38
|
'firewall_nat_edit.php' => 'https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F',
|
39
|
'diag_arp.php' => 'https://doc.pfsense.org/index.php/ARP_Table',
|
40
|
'diag_backup.php' => 'https://doc.pfsense.org/index.php/Configuration_Backup_and_Restore',
|
41
|
'diag_confbak.php' => 'https://doc.pfsense.org/index.php/Configuration_History',
|
42
|
'diag_defaults.php' => 'https://doc.pfsense.org/index.php/Factory_Defaults',
|
43
|
'firewall_shaper.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
|
44
|
'firewall_shaper_layer7.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
|
45
|
'firewall_shaper_queues.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
|
46
|
'firewall_shaper_vinterface.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
|
47
|
'firewall_shaper_wizards.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
|
48
|
'status_queues.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide',
|
49
|
'status_dhcp_leases.php' => 'https://doc.pfsense.org/index.php/DHCP_Leases',
|
50
|
'diag_dns.php' => 'https://doc.pfsense.org/index.php/DNS_Lookup',
|
51
|
'diag_dump_states.php' => 'https://doc.pfsense.org/index.php/Show_States',
|
52
|
'diag_resetstate.php' => 'https://doc.pfsense.org/index.php/Reset_States',
|
53
|
'diag_logs.php' => 'https://doc.pfsense.org/index.php/System_Logs',
|
54
|
'diag_logs_auth.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Authentication_Logs',
|
55
|
'diag_logs_dhcp.php' => 'https://doc.pfsense.org/index.php/DHCP_Logs',
|
56
|
'diag_logs_filter.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
|
57
|
'diag_logs_filter_dynamic.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
|
58
|
'diag_logs_filter_summary.php' => 'https://doc.pfsense.org/index.php/Firewall_Logs',
|
59
|
'diag_logs_ntpd.php' => 'https://doc.pfsense.org/index.php/NTP_Logs',
|
60
|
'diag_logs_ppp.php' => 'https://doc.pfsense.org/index.php/PPP_Logs',
|
61
|
'diag_logs_relayd.php' => 'https://doc.pfsense.org/index.php/Load_Balancer_Logs',
|
62
|
'diag_logs_settings.php' => 'https://doc.pfsense.org/index.php/Log_Settings',
|
63
|
'diag_logs_vpn.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Logs',
|
64
|
'diag_logs_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Logs',
|
65
|
'diag_logs_openvpn.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Logs',
|
66
|
'diag_nanobsd.php' => 'https://doc.pfsense.org/index.php/NanoBSD_Diagnostics',
|
67
|
'diag_patterns.php' => 'https://doc.pfsense.org/index.php/Layer7_Pattern_Diagnostics',
|
68
|
'diag_ping.php' => 'https://doc.pfsense.org/index.php/Ping_Host',
|
69
|
'diag_pkglogs.php' => 'https://doc.pfsense.org/index.php/Package_Logs',
|
70
|
'diag_tables.php' => 'https://doc.pfsense.org/index.php/Tables',
|
71
|
'diag_system_activity.php' => 'https://doc.pfsense.org/index.php/System_Activity',
|
72
|
'diag_traceroute.php' => 'https://doc.pfsense.org/index.php/Traceroute',
|
73
|
'easyrule.php' => 'https://doc.pfsense.org/index.php/Easy_Rule',
|
74
|
'edit.php' => 'https://doc.pfsense.org/index.php/Edit_File',
|
75
|
'exec.php' => 'https://doc.pfsense.org/index.php/Execute_Command',
|
76
|
'firewall_nat_1to1.php' => 'https://doc.pfsense.org/index.php/1:1_NAT',
|
77
|
'firewall_nat_1to1_edit.php' => 'https://doc.pfsense.org/index.php/1:1_NAT',
|
78
|
'halt.php' => 'https://doc.pfsense.org/index.php/Halt_System',
|
79
|
'reboot.php' => 'https://doc.pfsense.org/index.php/Reboot_System',
|
80
|
'status_filter_reload.php' => 'https://doc.pfsense.org/index.php/Filter_Reload_Status',
|
81
|
'status_gateway_groups.php' => 'https://doc.pfsense.org/index.php/Gateway_Status',
|
82
|
'status_gateways.php' => 'https://doc.pfsense.org/index.php/Gateway_Status',
|
83
|
'status_graph.php' => 'https://doc.pfsense.org/index.php/Traffic_Graph',
|
84
|
'status_graph_cpu.php' => 'https://doc.pfsense.org/index.php/CPU_Load',
|
85
|
'status_interfaces.php' => 'https://doc.pfsense.org/index.php/Interface_Status',
|
86
|
'status_services.php' => 'https://doc.pfsense.org/index.php/Services_Status',
|
87
|
'status_wireless.php' => 'https://doc.pfsense.org/index.php/Wireless_Status',
|
88
|
'pkg_mgr.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
|
89
|
'pkg_mgr_install.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
|
90
|
'pkg_mgr_installed.php' => 'https://doc.pfsense.org/index.php/Package_Manager',
|
91
|
'pkg_mgr_settings.php' => 'https://doc.pfsense.org/index.php/Package_Manager_Settings',
|
92
|
'interfaces.php' => 'https://doc.pfsense.org/index.php/Interface_Settings',
|
93
|
'interfaces_assign.php' => 'https://doc.pfsense.org/index.php/Assign_Interfaces',
|
94
|
'interfaces_bridge.php' => 'https://doc.pfsense.org/index.php/Interface_Bridges',
|
95
|
'interfaces_bridge_edit.php' => 'https://doc.pfsense.org/index.php/Interface_Bridges',
|
96
|
'interfaces_gif.php' => 'https://doc.pfsense.org/index.php/GIF_Interfaces',
|
97
|
'interfaces_gif_edit.php' => 'https://doc.pfsense.org/index.php/GIF_Interfaces',
|
98
|
'interfaces_gre.php' => 'https://doc.pfsense.org/index.php/GRE_Interfaces',
|
99
|
'interfaces_gre_edit.php' => 'https://doc.pfsense.org/index.php/GRE_Interfaces',
|
100
|
'interfaces_groups.php' => 'https://doc.pfsense.org/index.php/Interface_Groups',
|
101
|
'interfaces_groups_edit.php' => 'https://doc.pfsense.org/index.php/Interface_Groups',
|
102
|
'interfaces_lagg.php' => 'https://doc.pfsense.org/index.php/LAGG_Interfaces',
|
103
|
'interfaces_lagg_edit.php' => 'https://doc.pfsense.org/index.php/LAGG_Interfaces',
|
104
|
'interfaces_ppps.php' => 'https://doc.pfsense.org/index.php/PPP_Interfaces',
|
105
|
'interfaces_ppps_edit.php' => 'https://doc.pfsense.org/index.php/PPP_Interfaces',
|
106
|
'interfaces_qinq.php' => 'https://doc.pfsense.org/index.php/QinQ_Interfaces',
|
107
|
'interfaces_qinq_edit.php' => 'https://doc.pfsense.org/index.php/QinQ_Interfaces',
|
108
|
'services_dyndns.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
|
109
|
'services_dyndns_edit.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
|
110
|
'services_rfc2136.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
|
111
|
'services_rfc2136_edit.php' => 'https://doc.pfsense.org/index.php/Dynamic_DNS',
|
112
|
'services_dhcp.php' => 'https://doc.pfsense.org/index.php/DHCP_Server',
|
113
|
'services_dhcp_edit.php' => 'https://doc.pfsense.org/index.php/DHCP_Server',
|
114
|
'services_dhcp_relay.php' => 'https://doc.pfsense.org/index.php/DHCP_Relay',
|
115
|
'services_dnsmasq.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
|
116
|
'services_dnsmasq_domainoverride_edit.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
|
117
|
'services_dnsmasq_edit.php' => 'https://doc.pfsense.org/index.php/DNS_Forwarder',
|
118
|
'services_igmpproxy.php' => 'https://doc.pfsense.org/index.php/IGMP_Proxy',
|
119
|
'services_igmpproxy_edit.php' => 'https://doc.pfsense.org/index.php/IGMP_Proxy',
|
120
|
'services_snmp.php' => 'https://doc.pfsense.org/index.php/SNMP_Daemon',
|
121
|
'services_wol.php' => 'https://doc.pfsense.org/index.php/Wake_on_LAN',
|
122
|
'services_wol_edit.php' => 'https://doc.pfsense.org/index.php/Wake_on_LAN',
|
123
|
'system.php' => 'https://doc.pfsense.org/index.php/General_Setup_(2.0)',
|
124
|
'system_advanced_admin.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)',
|
125
|
'system_advanced_firewall.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Firewall.2FNAT',
|
126
|
'system_advanced_misc.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Miscellaneous',
|
127
|
'system_advanced_network.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Firewall.2FNAT',
|
128
|
'system_advanced_notifications.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#Notifications',
|
129
|
'system_advanced_sysctl.php' => 'https://doc.pfsense.org/index.php/Advanced_Setup_(2.0)#System_Tunables',
|
130
|
'system_firmware.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
|
131
|
'system_firmware_auto.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
|
132
|
'system_firmware_check.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
|
133
|
'system_firmware_settings.php' => 'https://doc.pfsense.org/index.php/Firmware_Updates',
|
134
|
'system_gateway_groups.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
|
135
|
'system_gateway_groups_edit.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
|
136
|
'system_gateways.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
|
137
|
'system_gateways_edit.php' => 'https://doc.pfsense.org/index.php/Gateway_Settings',
|
138
|
'system_routes.php' => 'https://doc.pfsense.org/index.php/Static_Routes',
|
139
|
'system_routes_edit.php' => 'https://doc.pfsense.org/index.php/Static_Routes',
|
140
|
'system_authservers.php' => 'https://doc.pfsense.org/index.php/User_Authentication_Servers',
|
141
|
'system_groupmanager.php' => 'https://doc.pfsense.org/index.php/Group_Manager',
|
142
|
'system_groupmanager_addprivs.php' => 'https://doc.pfsense.org/index.php/Group_Manager',
|
143
|
'system_usermanager.php' => 'https://doc.pfsense.org/index.php/User_Manager',
|
144
|
'system_usermanager_addprivs.php' => 'https://doc.pfsense.org/index.php/User_Manager',
|
145
|
'system_usermanager_settings.php' => 'https://doc.pfsense.org/index.php/User_Manager',
|
146
|
'system_usermanager_settings_ldapacpicker.php' => 'https://doc.pfsense.org/index.php/User_Manager',
|
147
|
'system_usermanager_settings_test.php' => 'https://doc.pfsense.org/index.php/User_Manager',
|
148
|
'system_usermanager_passwordmg.php' => 'https://doc.pfsense.org/index.php/User_Manager',
|
149
|
'system_camanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
|
150
|
'system_certmanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
|
151
|
'vpn_l2tp.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
|
152
|
'vpn_l2tp_users.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
|
153
|
'vpn_l2tp_users_edit.php' => 'https://doc.pfsense.org/index.php/L2TP_VPN_Settings',
|
154
|
'vpn_pppoe.php' => 'https://doc.pfsense.org/index.php/PPPoE_Server_Settings',
|
155
|
'vpn_pppoe_edit.php' => 'https://doc.pfsense.org/index.php/PPPoE_Server_Settings',
|
156
|
'vpn_pptp.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
|
157
|
'vpn_pptp_users.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
|
158
|
'vpn_pptp_users_edit.php' => 'https://doc.pfsense.org/index.php/PPTP_VPN_Settings',
|
159
|
'diag_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
|
160
|
'diag_ipsec_sad.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
|
161
|
'diag_ipsec_spd.php' => 'https://doc.pfsense.org/index.php/IPsec_Status',
|
162
|
'vpn_ipsec.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
|
163
|
'vpn_ipsec_mobile.php' => 'https://doc.pfsense.org/index.php/IPsec_Mobile_Clients',
|
164
|
'vpn_ipsec_phase1.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
|
165
|
'vpn_ipsec_phase2.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
|
166
|
'vpn_ipsec_keys.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
|
167
|
'vpn_ipsec_keys_edit.php' => 'https://doc.pfsense.org/index.php/IPsec_Tunnels',
|
168
|
'services_captiveportal.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
169
|
'services_captiveportal_filemanager.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
170
|
'services_captiveportal_ip.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
171
|
'services_captiveportal_ip_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
172
|
'services_captiveportal_mac.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
173
|
'services_captiveportal_mac_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
174
|
'services_captiveportal_hostname.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
175
|
'services_captiveportal_hostname_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal',
|
176
|
'status_captiveportal.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Status',
|
177
|
'status_captiveportal_test.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Status',
|
178
|
'services_captiveportal_vouchers.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
|
179
|
'services_captiveportal_vouchers_edit.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
|
180
|
'status_captiveportal_voucher_rolls.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
|
181
|
'status_captiveportal_vouchers.php' => 'https://doc.pfsense.org/index.php/Captive_Portal_Vouchers',
|
182
|
'status_openvpn.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Status',
|
183
|
'vpn_openvpn_client.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
|
184
|
'vpn_openvpn_csc.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
|
185
|
'vpn_openvpn_server.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Settings',
|
186
|
'openvpn-client-export.xml' => 'https://doc.pfsense.org/index.php/OpenVPN_Client_Exporter', /* Package */
|
187
|
'vpn_openvpn_export.php' => 'https://doc.pfsense.org/index.php/OpenVPN_Client_Exporter', /* Package */
|
188
|
'diag_authentication.php' => 'https://doc.pfsense.org/index.php/User_Authentication_Servers',
|
189
|
'diag_limiter_info.php' => 'https://doc.pfsense.org/index.php/Traffic_Shaping_Guide#Display_Pipes',
|
190
|
'diag_pf_info.php' => 'https://doc.pfsense.org/index.php/Packet_Filter_Information',
|
191
|
'diag_smart.php' => 'https://doc.pfsense.org/index.php/SMART_Status',
|
192
|
'diag_states_summary.php' => 'https://doc.pfsense.org/index.php/States_Summary',
|
193
|
'interfaces_wireless.php' => 'https://doc.pfsense.org/index.php/Wireless_Interfaces',
|
194
|
'interfaces_wireless_edit.php' => 'https://doc.pfsense.org/index.php/Wireless_Interfaces',
|
195
|
'system_crlmanager.php' => 'https://doc.pfsense.org/index.php/Certificate_Management',
|
196
|
'crash_reporter.php' => 'https://doc.pfsense.org/index.php/Unexpected_Reboot_Troubleshooting',
|
197
|
'diag_dump_states_sources.php' => "https://doc.pfsense.org/index.php/Show_Source_Tracking",
|
198
|
'diag_logs_gateways.php' => "https://doc.pfsense.org/index.php/Gateway_Logs",
|
199
|
'diag_logs_resolver.php' => "https://doc.pfsense.org/index.php/Resolver_Logs",
|
200
|
'diag_logs_routing.php' => "https://doc.pfsense.org/index.php/Routing_Logs",
|
201
|
'diag_logs_wireless.php' => "https://doc.pfsense.org/index.php/Wireless_Logs",
|
202
|
'diag_ndp.php' => "https://doc.pfsense.org/index.php/NDP_Table",
|
203
|
'diag_sockets.php' => "https://doc.pfsense.org/index.php/Diag_Sockets",
|
204
|
'diag_testport.php' => "https://doc.pfsense.org/index.php/Test_Port",
|
205
|
'firewall_nat_npt.php' => "https://doc.pfsense.org/index.php/NPt",
|
206
|
'firewall_nat_npt_edit.php' => "https://doc.pfsense.org/index.php/NPt",
|
207
|
'load_balancer_setting.php' => "https://doc.pfsense.org/index.php/Category:Load_balancing",
|
208
|
'services_captiveportal_zones.php' => "https://doc.pfsense.org/index.php/Captive_Portal",
|
209
|
'services_captiveportal_zones_edit.php' => "https://doc.pfsense.org/index.php/Captive_Portal",
|
210
|
'status_captiveportal_expire.php' => "https://doc.pfsense.org/index.php/Captive_Portal",
|
211
|
'services_ntpd.php' => "https://doc.pfsense.org/index.php/NTP_Server",
|
212
|
'status_ntpd.php' => "https://doc.pfsense.org/index.php/NTP_Server",
|
213
|
'system_firmware_restorefullbackup.php' => "https://doc.pfsense.org/index.php/Full_Backup",
|
214
|
|
215
|
/* New Files for 2.1 that still need better pages/links. */
|
216
|
'services_dhcpv6.php' => "https://doc.pfsense.org/index.php/Category:IPv6",
|
217
|
'services_dhcpv6_edit.php' => "https://doc.pfsense.org/index.php/Category:IPv6",
|
218
|
'services_dhcpv6_relay.php' => "https://doc.pfsense.org/index.php/Category:IPv6",
|
219
|
'status_dhcpv6_leases.php' => "https://doc.pfsense.org/index.php/Category:IPv6",
|
220
|
'services_router_advertisements.php' => "https://doc.pfsense.org/index.php/Category:IPv6",
|
221
|
|
222
|
/* Below here are pages that may need some cleanup or have not been fully looked at yet */
|
223
|
|
224
|
'carp_status.php' => 'https://doc.pfsense.org/index.php/Category:CARP',
|
225
|
'system_hasync.php' => 'https://doc.pfsense.org/index.php/Category:CARP', /* FIXME? */
|
226
|
|
227
|
'load_balancer_monitor.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
228
|
'load_balancer_monitor_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
229
|
'load_balancer_pool.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
230
|
'load_balancer_pool_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
231
|
'load_balancer_relay_action.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
232
|
'load_balancer_relay_action_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
233
|
'load_balancer_relay_protocol.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
234
|
'load_balancer_relay_protocol_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
235
|
'load_balancer_virtual_server.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
236
|
'load_balancer_virtual_server_edit.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
237
|
'status_lb_pool.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
238
|
'status_lb_vs.php' => 'https://doc.pfsense.org/index.php/Category:Load_balancing',
|
239
|
|
240
|
|
241
|
/* From here down are packages. Not checking these as strictly,
|
242
|
any information is better than nothing. */
|
243
|
'olsrd.xml' => 'https://doc.pfsense.org/index.php/OLSR_Daemon',
|
244
|
'routed.xml' => 'https://doc.pfsense.org/index.php/Routing_Information_Protocol_(RIP)', # RIP
|
245
|
'autoconfigbackup.xml' => 'https://doc.pfsense.org/index.php/AutoConfigBackup',
|
246
|
'phpservice.xml' => 'https://doc.pfsense.org/index.php/PHPService',
|
247
|
'anyterm.xml' => 'https://doc.pfsense.org/index.php/AnyTerm_package',
|
248
|
'avahi.xml' => 'https://doc.pfsense.org/index.php/Avahi_package',
|
249
|
'squid.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
250
|
'squid_auth.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
251
|
'squid_cache.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
252
|
'squid_extauth.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
253
|
'squid_nac.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
254
|
'squid_ng.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
255
|
'squid_traffic.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
256
|
'squid_upstream.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
257
|
'squid_users.xml' => 'https://doc.pfsense.org/index.php/Category:Squid',
|
258
|
'squidGuard.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
259
|
'squidguard.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
260
|
'squidguard_acl.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
261
|
'squidguard_default.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
262
|
'squidguard_dest.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
263
|
'squidguard_log.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
264
|
'squidguard_rewr.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
265
|
'squidguard_time.xml' => 'https://doc.pfsense.org/index.php/SquidGuard_package',
|
266
|
'bandwidthd.xml' => "https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F",
|
267
|
'pfflowd.xml' => "https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F",
|
268
|
'darkstat.xml' => "https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F",
|
269
|
'rate.xml' => "https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F",
|
270
|
'ntop.xml' => "https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F",
|
271
|
'vnstat.xml' => "https://doc.pfsense.org/index.php/How_can_I_monitor_bandwidth_usage%3F",
|
272
|
'widentd.xml' => 'https://doc.pfsense.org/index.php/Widentd_package',
|
273
|
'tinydns.xml' => 'https://doc.pfsense.org/index.php/Tinydns_package',
|
274
|
'tinydns_domains.xml' => 'https://doc.pfsense.org/index.php/Tinydns_package',
|
275
|
'tinydns_sync.xml' => 'https://doc.pfsense.org/index.php/Tinydns_package',
|
276
|
'blinkled.xml' => 'https://doc.pfsense.org/index.php/BlinkLED_Package',
|
277
|
'freeswitch.xml' => 'https://doc.pfsense.org/index.php/FreeSWITCH',
|
278
|
'freeswitch_modules.xml' => 'https://doc.pfsense.org/index.php/FreeSWITCH',
|
279
|
'dialplan.default.xml' => 'https://doc.pfsense.org/index.php/FreeSWITCH',
|
280
|
'dialplan.public.xml' => 'https://doc.pfsense.org/index.php/FreeSWITCH',
|
281
|
'havp.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
|
282
|
'havp_avset.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
|
283
|
'havp_blacklist.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
|
284
|
'havp_fscan.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
|
285
|
'havp_trans_exclude.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
|
286
|
'havp_whitelist.xml' => 'https://doc.pfsense.org/index.php/HAVP_Package_for_HTTP_Anti-Virus_Scanning',
|
287
|
'snort.xml' => 'https://doc.pfsense.org/index.php/Setup_Snort_Package',
|
288
|
'snort/snort_interfaces.php' => 'https://doc.pfsense.org/index.php/snort_interfaces',
|
289
|
'snort/snort_interfaces_global.php' => 'https://doc.pfsense.org/index.php/snort_interfaces_global',
|
290
|
'snort/snort_download_updates.php' => 'https://doc.pfsense.org/index.php/snort_updates',
|
291
|
'snort/snort_alerts.php' => 'https://doc.pfsense.org/index.php/snort_alerts',
|
292
|
'snort/snort_blocked.php' => 'https://doc.pfsense.org/index.php/snort_blocked_hosts',
|
293
|
'snort/snort_passlist.php' => 'https://doc.pfsense.org/index.php/snort_passlist',
|
294
|
'snort/snort_passlist_edit.php' => 'https://doc.pfsense.org/index.php/snort_passlist',
|
295
|
'snort/snort_interfaces_suppress.php' => 'https://doc.pfsense.org/index.php/Snort_suppress_list',
|
296
|
'snort/snort_interfaces_suppress_edit.php' => 'https://doc.pfsense.org/index.php/Snort_suppress_list',
|
297
|
'snort/snort_interfaces_edit.php' => 'https://doc.pfsense.org/index.php/Snort_interfaces_edit',
|
298
|
'snort/snort_rulesets.php' => 'https://doc.pfsense.org/index.php/Snort_rulesets',
|
299
|
'snort/snort_rules.php' => 'https://doc.pfsense.org/index.php/Snort_rules',
|
300
|
'snort/snort_define_servers.php' => 'https://doc.pfsense.org/index.php/Snort_define_servers',
|
301
|
'snort/snort_preprocessors.php' => 'https://doc.pfsense.org/index.php/Snort_preprocessors',
|
302
|
'snort/snort_barnyard.php' => 'https://doc.pfsense.org/index.php/Snort_barnyard2',
|
303
|
'snort/snort_ip_reputation.php' => 'https://doc.pfsense.org/index.php/Snort_ip_reputation_preprocessor',
|
304
|
'snort/snort_ip_list_mgmt.php' => 'https://doc.pfsense.org/index.php/Snort_ip_list_mgmt',
|
305
|
'snort/snort_sync.xml' => 'https://doc.pfsense.org/index.php/Snort_sync',
|
306
|
'stunnel.xml' => 'https://doc.pfsense.org/index.php/Stunnel_package',
|
307
|
'stunnel_certs.xml' => 'https://doc.pfsense.org/index.php/Stunnel_package',
|
308
|
'openbgpd.xml' => 'https://doc.pfsense.org/index.php/OpenBGPD_package',
|
309
|
'openbgpd_groups.xml' => 'https://doc.pfsense.org/index.php/OpenBGPD_package',
|
310
|
'openbgpd_neighbors.xml' => 'https://doc.pfsense.org/index.php/OpenBGPD_package',
|
311
|
'iperf.xml' => 'https://doc.pfsense.org/index.php/Iperf_package',
|
312
|
'iperfserver.xml' => 'https://doc.pfsense.org/index.php/Iperf_package',
|
313
|
'jail_template.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
|
314
|
'jailctl.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
|
315
|
'jailctl.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
|
316
|
'jailctl_defaults.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
|
317
|
'jailctl_settings.xml' => 'https://doc.pfsense.org/index.php/PfJailctl_package',
|
318
|
'siproxd.xml' => 'https://doc.pfsense.org/index.php/Siproxd_package',
|
319
|
'siproxdusers.xml' => 'https://doc.pfsense.org/index.php/Siproxd_package',
|
320
|
'open-vm-tools.xml' => 'https://doc.pfsense.org/index.php/Open_VM_Tools_package',
|
321
|
'arping.xml' => 'https://doc.pfsense.org/index.php/Arping_package',
|
322
|
'unbound.xml' => 'https://doc.pfsense.org/index.php/Unbound_package',
|
323
|
|
324
|
);
|
325
|
|
326
|
/*
|
327
|
Filename list (2.0 box as of 2009-11-15), entries with help maps should be
|
328
|
removed. Also, files which cannot normally be accessed by a user can
|
329
|
be removed.(e.g. xmlrpc.php)
|
330
|
|
331
|
Below this is a list of .xml files from built-in and add-on packages
|
332
|
|
333
|
|
334
|
|
335
|
Package .xml files (some may not be needed)
|
336
|
'apache_mod_security.xml' => '',
|
337
|
'apache_mod_security_settings.xml' => '',
|
338
|
'arpwatch.xml' => '',
|
339
|
'assp.xml' => '',
|
340
|
'backup.xml' => '',
|
341
|
'bsdstats.xml' => '',
|
342
|
'cron.xml' => '',
|
343
|
'ddns.xml' => '',
|
344
|
'denyhosts.xml' => '',
|
345
|
'dnsblacklist.xml' => '',
|
346
|
'dyntables.xml' => '',
|
347
|
'fit123.xml' => '',
|
348
|
'freeradius.xml' => '',
|
349
|
'freeradiusclients.xml' => '',
|
350
|
'freeradiussettings.xml' => '',
|
351
|
'frickin.xml' => '',
|
352
|
'haproxy.xml' => '',
|
353
|
'hula.xml' => '',
|
354
|
'ifdepd.xml' => '',
|
355
|
'ifstated.xml' => '',
|
356
|
'igmpproxy.xml' => '',
|
357
|
'imspector.xml' => '',
|
358
|
'lcdproc.xml' => '',
|
359
|
'lcdproc_screens.xml' => '',
|
360
|
'lightsquid.xml' => '',
|
361
|
'messages_de.xml' => '',
|
362
|
'messages_en.xml' => '',
|
363
|
'mtr-nox11.xml' => '',
|
364
|
'netio-newpkg.xml' => '',
|
365
|
'netio.xml' => '',
|
366
|
'netioserver-newpkg.xml' => '',
|
367
|
'netioserver.xml' => '',
|
368
|
'new_zone_wizard.xml' => '',
|
369
|
'nmap.xml' => '',
|
370
|
'notes.xml' => '',
|
371
|
'nrpe2.xml' => '',
|
372
|
'nut.xml' => '',
|
373
|
'per-user-bandwidth-distribution.xml' => '',
|
374
|
'pfstat.xml' => '',
|
375
|
'phpmrss.xml' => '',
|
376
|
'phpsysinfo.xml' => '',
|
377
|
'powerdns.xml' => '',
|
378
|
'pure-ftpd.xml' => '',
|
379
|
'pure-ftpdsettings.xml' => '',
|
380
|
'quagga.xml' => '',
|
381
|
'routed.xml' => '',
|
382
|
'shellcmd.xml' => '',
|
383
|
'spamd.xml' => '',
|
384
|
'spamd_outlook.xml' => '',
|
385
|
'spamd_settings.xml' => '',
|
386
|
'spamd_whitelist.xml' => '',
|
387
|
'sshterm.xml' => '',
|
388
|
'tftp.xml' => '',
|
389
|
'upclient.xml' => '',
|
390
|
'viralator.xml' => '',
|
391
|
'zabbix-agent.xml' => '',
|
392
|
|
393
|
*/
|
394
|
|
395
|
$pagename = "";
|
396
|
/* Check for parameter "page". */
|
397
|
if ($_GET && isset($_GET['page'])) {
|
398
|
$pagename = $_GET['page'];
|
399
|
}
|
400
|
|
401
|
/* If "page" is not found, check referring URL */
|
402
|
if (empty($pagename)) {
|
403
|
/* Attempt to parse out filename */
|
404
|
$uri_split = "";
|
405
|
preg_match("/\/(.*)\?(.*)/", $_SERVER["HTTP_REFERER"], $uri_split);
|
406
|
|
407
|
/* If there was no match, there were no parameters, just grab the filename
|
408
|
Otherwise, use the matched filename from above. */
|
409
|
if (empty($uri_split[0])) {
|
410
|
$pagename = ltrim(parse_url($_SERVER["HTTP_REFERER"], PHP_URL_PATH), '/');
|
411
|
} else {
|
412
|
$pagename = $uri_split[1];
|
413
|
}
|
414
|
|
415
|
/* If the page name is still empty, the user must have requested / (index.php) */
|
416
|
if (empty($pagename)) {
|
417
|
$pagename = "index.php";
|
418
|
}
|
419
|
|
420
|
/* If the filename is pkg_edit.php or wizard.php, reparse looking
|
421
|
for the .xml filename */
|
422
|
if (($pagename == "pkg.php") || ($pagename == "pkg_edit.php") || ($pagename == "wizard.php")) {
|
423
|
$param_split = explode('&', $uri_split[2]);
|
424
|
foreach ($param_split as $param) {
|
425
|
if (substr($param, 0, 4) == "xml=") {
|
426
|
$xmlfile = explode('=', $param);
|
427
|
$pagename = $xmlfile[1];
|
428
|
}
|
429
|
}
|
430
|
}
|
431
|
}
|
432
|
|
433
|
/* Using the derived page name, attempt to find in the URL mapping hash */
|
434
|
if (array_key_exists($pagename, $helppages)) {
|
435
|
$helppage = $helppages[$pagename];
|
436
|
}
|
437
|
|
438
|
/* If we haven't determined a proper page, use a generic help page
|
439
|
stating that a given page does not have help yet. */
|
440
|
|
441
|
if (empty($helppage)) {
|
442
|
$helppage = "https://doc.pfsense.org/index.php/No_Help_Found";
|
443
|
|
444
|
}
|
445
|
|
446
|
/* Redirect to help page. */
|
447
|
header("Location: {$helppage}");
|
448
|
|
449
|
?>
|