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