Commit Graph

22783 Commits

Author SHA1 Message Date
Ermal Luçi
a386971b2d Merge pull request #934 from nagyrobi/patch-8
Update status_rrd_graph.php
2014-02-19 16:59:28 +01:00
Ermal Luçi
cc7343231c Merge pull request #933 from nagyrobi/patch-7
Update status_ntpd.php
2014-02-19 16:58:57 +01:00
Ermal
b3974c79e5 Make this usable 2014-02-19 15:58:05 +00:00
Ermal Luçi
8988ab9581 Merge pull request #932 from nagyrobi/patch-6
Create services_ntpd_pps.php
2014-02-19 16:44:19 +01:00
Ermal
ec7bc948b7 More code fixes for ntpd 2014-02-19 15:43:37 +00:00
Ermal Luçi
59c37391b9 Merge pull request #929 from nagyrobi/patch-3
Update system.inc
2014-02-19 16:37:01 +01:00
Ermal
a3498099f2 Correct some issues on status 2014-02-19 15:36:02 +00:00
Ermal Luçi
6216c1b583 Merge pull request #931 from nagyrobi/patch-5
Create services_ntpd_gps.php
2014-02-19 16:29:17 +01:00
Ermal
482c93e5a2 Another fix even for XHTML compliance and proper selection 2014-02-19 15:28:39 +00:00
Ermal
08005d0aa3 Fix some obvious problems in the code 2014-02-19 15:27:40 +00:00
Ermal Luçi
aa1183ef50 Merge pull request #930 from nagyrobi/patch-4
Update services_ntpd.php
2014-02-19 16:21:27 +01:00
Ermal Luçi
a5240b7a84 Merge pull request #928 from nagyrobi/patch-2
Update rrd.inc
2014-02-19 16:20:48 +01:00
Ermal Luçi
6b2df902cd Merge pull request #947 from stilez/patch-2
Filter log - ensure IPv6 AJAX resolve works too
2014-02-19 15:27:09 +01:00
stilez
30a840368f Filter log - ensure IPv6 AJAX resolve works too
Using str_replace(array('.', ':') as asked
2014-02-19 14:09:50 +00:00
Ermal Luçi
ecdf264f3d Merge pull request #946 from phil-davis/master
Remove old webguiport code
2014-02-19 15:00:33 +01:00
stilez
8fc2a648df Filter log - ensure IPv6 works too 2014-02-19 13:07:23 +00:00
Phil Davis
0c8cc91517 Remove old webguiport code
webguiport is managed in system_advanced_admin.php these days, not here in system.php. This validation is never executed, so might a well clean up old unused code.
2014-02-19 04:53:48 -08:00
Renato Botelho
e09da6c266 Fix #3469
Before downloading file to process urltable, there is a random wait
time between 5 and 60 seconds. Because of this, the difference between
file mtime and current time can be less than $freq * 86400 and it'll be
skipped. Add 90 seconds (60 of max random wait + 30 just to be sure) to
avoid skipping a file that should be updated
2014-02-19 09:26:06 -03:00
Renato Botelho
869dfb664a Fix #3468, wording fix 2014-02-19 08:48:14 -03:00
Renato Botelho
96fc5388ac Merge pull request #945 from phildd/master
Enhance interface gateway data entry descriptions
2014-02-19 08:23:47 -03:00
Phillip Davis
e2a6a6fb2b Enhance interface gateway data entry descriptions 2014-02-19 02:41:49 -08:00
Ermal Luçi
db8450cbc1 Merge pull request #939 from phil-davis/master
Dodgy-looking stuff in graph calculations
2014-02-19 09:50:26 +01:00
Ermal Luçi
b145557112 Merge pull request #659 from mss/extended-query-example-work
Improve LDAP DN examples
2014-02-19 08:57:45 +01:00
Ermal Luçi
45c9de4efb Merge pull request #943 from stilez/patch-1
AJAX-ify DNS lookups in standard firewall/filter
2014-02-19 08:53:44 +01:00
Ermal
3e38084b4a The msgbox is no longer needed since there will be a validation process per se 2014-02-19 07:50:43 +00:00
stilez
f15c1f3d4c AJAX-ify DNS lookups in standard firewall/filter
The standard firewall log has lookup ability but these open in a new tab/window, they don't show in the log, other places the same IP appears in the log aren't visibly resolved, - basically its begging for AJAX-ing.

This commit is simple, elegant, simplifies the interface, and does the following:

1) Handles AJAX efficiently, and should be pretty robust against untrustworthy data/bad return data
2) Retains a single "Click to resolve" icon (and its "hover" tip) next to each IP
3) On clicking: 
 - *all* visible log occurrences of that IP, whether as source or dest, are suffixed in small with the resolved name (or "Cannot resolve") in <small> font
 - the icons next to all occurrences of that IP are replaced by equivalent "faded" icons, and the onclick action removed, for visual guidance
4) The replacement uses standard jQuery, so even on a log of several thousand, the click response is almost immediate.
5) The log looks pretty elegant done this way - it doesn't "fill up with junk" in order to show the resolved lookup, and it's simpler and easier than the current version. 

No obvious drawbacks.

(I haven't done this for the dynamic or summary logs - I think the dynamic one could scroll too quickly for individual "item by item" to be useful)
2014-02-19 02:53:07 +00:00
Renato Botelho
5a47e9b12e Only add dhcpv6 client allow rules if ipv6allow is set 2014-02-18 20:31:47 -03:00
Renato Botelho
d291634ad9 Take single and double quotes into consideration 2014-02-18 16:38:35 -03:00
jim-p
738fab3dd6 Fix issue with CSR generation. Ticket #2820 2014-02-18 14:16:48 -05:00
Renato Botelho
a60c6356ee Move 'allow dhcpv6 client' rules above block bogonsv6 ones, it should fix #3395 2014-02-18 16:00:17 -03:00
nagyrobi
540c012b00 Update status_ntpd.php
fixed tail path
2014-02-18 18:23:11 +01:00
Ermal
133f8b3347 Fixes #3460. Ask for validation when real operation will be done and ask for the operation with POST to get protection from CRSF. 2014-02-18 16:39:59 +00:00
Ermal
0635519b6e Remove code that is commented 2014-02-18 16:39:59 +00:00
Phil Davis
f9983a874d Dodgy-looking stuff in graph calculations
I noticed that the graphs in this post - https://forum.pfsense.org/index.php/topic,72794.0.html - had numbers for in-block and out-block that had similar numbers to in-pass and out-pass. That seemed hard to believe. Found these calculations that look wrong.
2014-02-18 08:12:55 -08:00
nagyrobi
617f9edf58 Update rrd.inc
corrected path
2014-02-18 16:07:09 +01:00
nagyrobi
0fd64e94fa Update system.inc
Corrections made as requested
2014-02-18 16:06:07 +01:00
nagyrobi
2cdb75f84c Update status_rrd_graph.php
Add NTP graphing
2014-02-18 15:24:03 +01:00
nagyrobi
c56d07dc72 Update status_ntpd.php
A bit more informative NTP status page...
2014-02-18 15:19:08 +01:00
nagyrobi
2ebeabac7e Create services_ntpd_pps.php
Separate page for other PPS sources config
2014-02-18 15:16:45 +01:00
Ermal Luçi
b8ab37b829 Merge pull request #927 from nagyrobi/patch-1
Update priv.defs.inc - add new NTP pages
2014-02-18 15:16:27 +01:00
nagyrobi
aa2aebfd62 Create services_ntpd_gps.php
Separate page to set GPS receiver pps sync
2014-02-18 15:15:44 +01:00
nagyrobi
c1e682445d Update services_ntpd.php
Extended options for NTPd
2014-02-18 15:14:18 +01:00
nagyrobi
142f7393a8 Update system.inc
Add new NTPd functions
2014-02-18 15:12:43 +01:00
nagyrobi
1f3eff9b66 Update rrd.inc
Add NTP graphing to RRD
2014-02-18 15:06:27 +01:00
nagyrobi
43c4687b6b Update priv.defs.inc 2014-02-18 15:01:04 +01:00
Ermal
6766e4771e Fixes #3461. Remove any special char that can lead to shell/XSS compromises from submitted input. 2014-02-18 13:18:33 +00:00
Renato Botelho
9e875e0c00 Revert "Replaced gethostbyname() with gethostbynamel() to get a list of all IPs associated with the dns name and add them to the allowed list"
This change is not needed, filterdns will handle it.

This reverts commit d460371416.
2014-02-18 08:35:44 -03:00
Ermal
8c14707759 Do not do any operations on system libraries. Nowdays pbis are used and those do not break things by definition 2014-02-18 11:25:35 +00:00
Renato Botelho
8f821cbcd9 Merge pull request #891 from PiBa-NL/captive_disable
captive portal, don't generate rules for a disabled portal
2014-02-18 07:38:20 -03:00
Renato Botelho
aecb7a7928 Merge pull request #890 from N0YB/Gateway_Monitor
Gateway Monitor Advanced Settings
2014-02-18 07:31:26 -03:00