Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make get_static routes behave correctly with aliases | Ermal | 2013-03-05 | 1 | -13/+15 |
| | |||||
* | Added IE mobile for WP8 | un0x | 2013-03-02 | 1 | -1/+1 |
| | |||||
* | Also do checks for ipv6 on is_ipaddr_configured | Ermal | 2013-02-14 | 1 | -2/+1 |
| | |||||
* | Check for the right function name since the previous was present in util.inc ↵ | Ermal | 2013-02-14 | 1 | -2/+1 |
| | | | | not interfaces.inc | ||||
* | Restore require_once(interfaces.inc) on get_configured_ip_addresses(), it's ↵ | Renato Botelho | 2013-02-13 | 1 | -0/+1 |
| | | | | required by get_interface_ip() | ||||
* | Two interfaces, carp, ip aliases might be on the same subnet as their ↵ | Ermal | 2013-02-13 | 1 | -4/+7 |
| | | | | parent. What needs to be checked is the ip itself | ||||
* | Use full path to nohup | Ermal | 2013-02-13 | 1 | -1/+1 |
| | |||||
* | Assign the output of exec to a var to avoid any issues | Ermal | 2013-02-13 | 1 | -1/+2 |
| | |||||
* | Check interfaces and VIP IP address overlap | Renato Botelho | 2013-02-11 | 1 | -0/+14 |
| | | | | | | | | - Check if interface IP overlaps other interfaces or localip from mpd based services - Check if VIPs IP overlaps interfaces or other VIPs address It fixes #1723 | ||||
* | Correct name of function call and use directly its return value as its ↵ | Ermal | 2013-02-07 | 1 | -8/+5 |
| | | | | boolean as needed. Also correct the function to be more readble and put a note for v4 checks that might be needed | ||||
* | Make gen_subnetv6 return a compressed form IPv6 address/net representation. ↵ | Ermal | 2013-02-07 | 1 | -1/+2 |
| | | | | This removes some issues reported during Ticket #2746 and solve the issue on some cases | ||||
* | IPv6 subnet check | bcyrill | 2013-02-06 | 1 | -1/+1 |
| | |||||
* | Add check_subnetsv6_overlap() | bcyrill | 2013-02-06 | 1 | -3/+13 |
| | |||||
* | Make more strict checks during is_ip* functions. Helps ↵ | Ermal | 2013-02-04 | 1 | -1/+3 |
| | | | | http://forum.pfsense.org/index.php/topic,58399.0.html and http://forum.pfsense.org/index.php/topic,58273.0.html | ||||
* | Add option filter to return_dir_as_array() | Renato Botelho | 2013-01-28 | 1 | -7/+8 |
| | | | | | | - Add a 2nd parameter, default empty, that allows to pass a regex to filter files it'll return - While I'm here, simplify code removinf $canadd var | ||||
* | Move is_inrange() to util.inc and rename it to is_inrange_v6() | Renato Botelho | 2013-01-24 | 1 | -0/+8 |
| | |||||
* | Move is_inrange() to util.inc and rename it to is_inrange_v4() | Renato Botelho | 2013-01-24 | 1 | -0/+8 |
| | |||||
* | Forgotten -n option | Ermal | 2013-01-16 | 1 | -1/+1 |
| | |||||
* | Use sysctl for this since its better rather than going thorugh dmesg | Ermal | 2013-01-16 | 1 | -13/+5 |
| | |||||
* | Prevent no such file message when pid file does not exist | Phil Davis | 2013-01-06 | 1 | -4/+6 |
| | |||||
* | Add the PPPoE Server IP addresses to the locally configured addresses, this ↵ | smos | 2013-01-05 | 1 | -0/+13 |
| | | | | prevents the HTTP_REFERER check from triggering. | ||||
* | Just check the file_exists let pkill decide if its a vaild file or not. | Ermal | 2012-12-28 | 1 | -1/+1 |
| | |||||
* | code comment typo ('log_error' should have been 'log_auth') | PiBa-NL | 2012-11-18 | 1 | -1/+1 |
| | |||||
* | Add refcount_read to util.inc | Phil Davis | 2012-11-15 | 1 | -0/+13 |
| | | | Add refcount_read so other code can easily find out how many things have the file system mounted. | ||||
* | Make a function to get the current theme and use it everywhere rather than ↵ | jim-p | 2012-11-02 | 1 | -0/+23 |
| | | | | duplicating code or missing functions. (Fixes forced themes using the wrong theme for login screen) | ||||
* | Allow/deny access to DHCP by partial MAC matching. | jim-p | 2012-09-13 | 1 | -2/+3 |
| | |||||
* | Unlock on return | Ermal | 2012-07-31 | 1 | -0/+2 |
| | |||||
* | There is no need to remove the @ from function names. Also properly unlock ↵ | Ermal | 2012-07-31 | 1 | -27/+27 |
| | | | | in case of exception. Size is constant and we know it no need for extra call to shmop. Put some more error checking just in case | ||||
* | Make access to shared memory atomic | Phil Davis | 2012-07-31 | 1 | -13/+30 |
| | | | | Use lock and unlock to make sure that all incrementing and decrementing of the reference count in the shared memory section is atomic. This ensures that there are not unusual timing conditions that could see 2 callers trying to update the reference count at the same time, which could result in the count never returning to zero. If that happened, then the filesystems would never be restored to read-only. (this is really just relevant to nanobsd) (note that shmop_* calls in php do not do any locking themselves - callers must coordinate their own access to the shared memory section) I also made the number stored in the shared memory be an ordinary integer followed by null chars to pad out the rest of the shared memory section. This makes the numbers stored look normal, and ensures that there is no other rubbish left in memory after them to cause problems on reading. | ||||
* | Fix negative test | jim-p | 2012-07-30 | 1 | -2/+2 |
| | |||||
* | Pad data when adding to refcount reference, to avoid some oddities with how ↵ | jim-p | 2012-07-30 | 1 | -2/+2 |
| | | | | php handles such data. http://forum.pfsense.org/index.php/topic,51188.msg278141.html#msg278141 | ||||
* | Fix get_staticroutes() function to handle IPv6 subnets properly | r-duran | 2012-07-05 | 1 | -1/+3 |
| | |||||
* | Do not directly print out a message when checking the interfaces, instead ↵ | Erik Fonnesbeck | 2012-07-02 | 1 | -2/+8 |
| | | | | saving the list to use later. Display this list before the interface mismatch message. Fixes #2468 and fixes #2531 | ||||
* | Catch libraries from subdirectories of PBI lib dirs too | jim-p | 2012-06-24 | 1 | -1/+1 |
| | |||||
* | Setup library paths to include /usr/pbi/*/lib as a last resort to make sure ↵ | jim-p | 2012-06-23 | 1 | -0/+9 |
| | | | | things can find libraries. We may eventually replace this with a better method as this can lead to conflicts, but for now it will allow packages to find their proper libraries. | ||||
* | Make mac_format aware of cpzone but also friendly to previous code! | Ermal | 2012-06-11 | 1 | -2/+2 |
| | |||||
* | Revert "Make mac_format aware of multiple Captiveportal instances" | Ermal | 2012-06-11 | 1 | -3/+2 |
| | | | | This reverts commit 54df925b9ea447bdd10f88a886e2ef11d44c3059. | ||||
* | Revert "Make sure mac_format is always defined" | Ermal | 2012-06-11 | 1 | -1/+2 |
| | | | | This reverts commit 56f9032170d3130c2066e5eebbe18b96398073ca. | ||||
* | Make sure mac_format is always defined | bcyrill | 2012-06-10 | 1 | -2/+1 |
| | |||||
* | Make mac_format aware of multiple Captiveportal instances | bcyrill | 2012-06-09 | 1 | -2/+3 |
| | |||||
* | Get rid of carpdev, it will never be | Ermal | 2012-06-07 | 1 | -1/+0 |
| | |||||
* | Catch up with multiple events sending. Also do not blindly startup ↵ | Ermal | 2012-06-07 | 1 | -3/+16 |
| | | | | check_reload_status check first | ||||
* | Make lock files availble to all users for usage from php process | Ermal | 2012-06-06 | 1 | -1/+3 |
| | |||||
* | Teach mwexec and mwexec_bg how to optionally clear signal masks, and use ↵ | jim-p | 2012-05-16 | 1 | -2/+17 |
| | | | | that when launching ntp or ntpdate. | ||||
* | cleanup: code for building arrays for autocompleted fields | Darren Embry | 2012-05-10 | 1 | -0/+13 |
| | |||||
* | prep work: function get_alias_list() | Darren Embry | 2012-05-10 | 1 | -0/+33 |
| | | | | | I wrote this function primarily to remove a lot of duplicate code that's there because of a lot of those autocomplete fields. | ||||
* | Revert change to get_interface_list()'s $vfaces list for now. Interfaces in ↵ | Erik Fonnesbeck | 2012-04-22 | 1 | -3/+0 |
| | | | | this list that are supposed to be listed on Interfaces: Assign need special logic on that page, which has not been added yet. | ||||
* | Add message stating which interfaces are missing. | Erik Fonnesbeck | 2012-04-20 | 1 | -0/+1 |
| | | | | Suggestion from http://forum.pfsense.org/index.php/topic,48366.0.html | ||||
* | Add some missing interface types in is_interface_mismatch() and ↵ | Erik Fonnesbeck | 2012-04-20 | 1 | -1/+4 |
| | | | | get_interface_list()'s $vfaces. Fixes #2384 | ||||
* | Fix constant. LOG_ERROR should be LOG_ERR | jim-p | 2012-04-12 | 1 | -1/+1 |
| |