summaryrefslogtreecommitdiffstats
path: root/src/usr/local/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Remove stray debug-code (/tmp/script)Lorenz Schori2017-05-151-1/+0
|
* WAN flap loss of IPv6marjohn562017-03-121-5/+2
| | | | | | | | | | | | | | | | | | | | Some hardware is taking too long to set ACCEPT_RTADV on the Interface, this results in RTSOLD exiting and this not sending RS to start the process. Apart from adding a delay to the start of RTSOLD which did improve but not totally fix the issue the other change is to prevent the call to -ACCEPT_RTADV if the interface is using DHCP6. -ACCEPT_RTADV in the case of wancfg['dhcp6usev4iface'] || $wancfg['ipaddr']==='ppp' Cleaning up dhcp6c kill calls. ppp-ipv6 Changed to call kill_dhcp6client_process() to make sure the lock files are also cleared. Interfaces.php Changed to call kill_dhcp6client_process() to make sure the lock files are also cleared.
* Status / Interfaces - Relinquish DHCP LeaseNOYB2017-01-181-1/+1
| | | | | | | | | | Send gratuitous DHCP release message to server. Dependency: To fully relinquish the DHCP lease, the "RELEASE" reason needs to be added to the /usr/local/sbin/pfSense-dhclient-script. s/EXPIRE|FAIL)/EXPIRE|FAIL|RELEASE)/ Without the 'RELEASE' reason, the DHCP release message will still be sent to the server, however the local dhclient leases will not reflect the relinquishment. Therefore, DHCP renewal will do a DHCP request for the previous address rather than doing a DHCP discovery and being more likely to be assigned a different address.
* Remove the now unnecessary and commented code.Luiz Otavio O Souza2016-12-291-5/+0
| | | | Ticket #7042
* Revert "Instead of ignoring the IP, add it to interface even if we cannot do ↵Luiz Otavio O Souza2016-12-291-5/+1
| | | | | | | | | | | it with setfirst." This reverts commit af6248407bae4d476b483dcb3a388744fb74b465. Not necessary at all. Pointy hat to: me Ticket #7042
* Instead of ignoring the IP, add it to interface even if we cannot do it with ↵Luiz Otavio O Souza2016-12-291-1/+5
| | | | | | setfirst. Ticket #7042
* Do not output PHP shell starup message unless it is run interactively. Fixes ↵jim-p2016-12-281-6/+15
| | | | #7045
* Disable "setfirst" line in pfSense-dhclient-script for now. Ticket #7042jim-p2016-12-271-1/+5
|
* OpenVPN populates IPv6 env vars now, so we can fetch them for the IPv6 ↵jim-p2016-12-022-0/+14
| | | | gateway. Fixes #6016
* Fix #6828Renato Botelho2016-10-182-5/+10
| | | | | | | | Until 2.3.x pfSense carried a patch that changed the behavior of 'route change' command, making it add the route when it fails to change. On 2.4 this patch was removed and will not be added back. This change adjust PHP code to deal with route add / change and make it work without the patch
* Remove all calls to conf_mount_r* functionsRenato Botelho2016-10-122-4/+0
|
* Move pfSense-upgrade to FreeBSD-portsRenato Botelho2016-10-071-1036/+0
|
* Prepare pfSense-upgrade to work with new major OS upgradeRenato Botelho2016-09-161-3/+90
|
* Add 'now' parameter do do_reboot() to force it to happen immediatelyRenato Botelho2016-09-161-4/+17
|
* Make pkg_lock() and pkg_unlock() work with wildcardsRenato Botelho2016-09-161-10/+16
|
* Move copyright from ESF to NetgateRenato Botelho2016-09-0618-18/+18
|
* Add ng interface to pppoe group on mpd.conf and remove dead code from ↵Renato Botelho2016-09-011-12/+0
| | | | vpn-linkup script
* Remove workarounds to sort extensions.ini since ports tree now has a better ↵Renato Botelho2016-08-091-4/+0
| | | | solution in place to track PHP modules dependencies
* Move to Apache License 2.0Renato Botelho2016-07-1518-738/+162
|
* Review license / copyright on all files (1st round)Renato Botelho2016-07-1418-33/+865
|
* Ignore cp result for cases when files are the same. Ticket #6557Renato Botelho2016-07-141-1/+3
|
* Added and modified functions to send correct Radius attributes to the Radius ↵Kacper2016-07-131-1/+1
| | | | authenticator.
* Make sure resolv.conf is present during nanobsd upgrade. Fixes #6557Renato Botelho2016-07-061-0/+3
|
* Move athctrl.sh to /usr/local/sbinRenato Botelho2016-06-231-0/+41
|
* Move our copy of dhclient-script to /usr/local/sbin/pfSense-dhclient-script ↵Renato Botelho2016-05-311-0/+393
| | | | and change interfaces.inc accordingly
* Unlock kernel package to make dry-run output more consistentRenato Botelho2016-05-051-0/+2
|
* Reboot after upgrade when meta package version changedRenato Botelho2016-05-021-3/+10
|
* Reduce values of FETCH_TIMEOUT and FETCH_RETRY to help ticket #6177Renato Botelho2016-04-271-0/+2
|
* Setup HTTP_PROXY environment variable for pkg when it's called from the GUI ↵jim-p2016-04-191-0/+10
| | | | and also for pfSense-upgrade
* Silence /etc/rc.notify_message garbage outputRenato Botelho2016-04-061-2/+3
| | | | (cherry picked from commit eb3491d99e939ab21d84122ededf9e7e9462ed71)
* Fix code used to read config repo pathRenato Botelho2016-04-061-2/+1
| | | | (cherry picked from commit e429ac7134ac2080af9117c11e2f294d4dd8c5d0)
* Do all steps to replace repo package and make sure symlink is in placeRenato Botelho2016-04-061-22/+29
| | | | (cherry picked from commit 5caee0ba0f8782ea7bf1df54ad0848da1d5084d2)
* Force update after reinstall repo pkgRenato Botelho2016-04-061-0/+1
| | | | (cherry picked from commit 3e7c1ea74a8c0600c785e9588349afd927719d23)
* Simplify logicRenato Botelho2016-04-061-6/+5
|
* Make sure directory existsRenato Botelho2016-04-061-0/+1
| | | | (cherry picked from commit cc1b7ddd0ba2d7eee6ee7ec1cae83efda91427d0)
* Make sure source file existsRenato Botelho2016-04-051-3/+6
|
* Add a workaround on pfSense-upgrade to make sure repo package is replaced by ↵Renato Botelho2016-04-051-0/+7
| | | | | | correct one (cherry picked from commit a491ec98d8ffc5663cca84df402c2d6274a78a07)
* Rework the way repo packages workRenato Botelho2016-04-051-5/+21
| | | | | | | | - Distribute only a single pfSense-repo package containing all templates - Create a symlink pointing to selected repo - Do not limit it only to pfSense-repo and pfSense-repo-devel (cherry picked from commit a90f1c9b12c4d31ea845fa04188e599ba28dbaf1)
* Do not return -1, sh doesn't like itRenato Botelho2016-04-051-1/+1
| | | | (cherry picked from commit a35bf546b57558535e3fc1958cf3fb2b4d18ade7)
* Ticket #6053Renato Botelho2016-04-041-46/+0
| | | | | | | | - Do not call ntpdate before start ntpd, ntpd -g parameter is enough - Deprecate /usr/local/sbin/ntpdate_sync_once.sh - Remove system_ntp_configure parameter and always start ntpd (cherry picked from commit 5a758355ec9a20ff75c9191b6915df64255fb8be)
* Set exec bit on gmirror_status_check.phpjim-p2016-04-041-0/+0
|
* Make sure repo metadata is updated before any other package when repo conf ↵Renato Botelho2016-04-041-0/+23
| | | | | | changes. Fixes #6052 (cherry picked from commit 78aee67a9e8ddb40d10c965ee8ce1ad1389d25f6)
* Use route_vpn_gateway for tap-type OpenVPN instances as well where ↵Chris Buechler2016-03-112-4/+4
| | | | specified. Remove old and wrongly copy/pasted comments while here. Ticket #5981
* Check $activeAnders Lind2016-03-011-1/+1
| | | Fix missing check for $active to avoid creating a route to a released lease.
* Fix substr mistakeAnders Lind2016-03-011-1/+1
| | | | Made a silly mistake and overlooked an important difference between javascript substring() and php substr(). Tightened regex check for octal value.
* Use PHP CLI explicitly to run rc.conf_mount_r(w|o) from pfSense-upgrade, it ↵Renato Botelho2016-02-161-2/+2
| | | | fixes #5875
* Make a couple changes to PPP default gateway handling to address issues with ↵jim-p2016-02-141-2/+6
| | | | | | default gateway switching. Fixes #1837 Tested with default gateway switching on and off, by rebooting, manually disconnecting the PPP link, and manually disconnecting the NIC link, worked each time, though still possible some issues remain. Feedback appreciated.
* Fix #5837Renato Botelho2016-02-051-23/+23
| | | | | | | | | | | | | | | | | | | Since the introduction of pkg_with_pb(), direct calls to this function were added using the following format: if ! pkg_with_pb ... | tee -a $logfile; then What happened in this case is if was always getting a successfull return code from tee call, and pkg_with_pb return was always being ignored leading pfSense-upgrade to keep running when a fatal error happened. Since we need to print pkg output and also send it to log, _exec() call is the best option here. Added necessary flags to make sure necessary actions (unlock additional packages or cleaning up kernel package annotation) are executed on _exit call in fatal cases and replaced all direct calls by _exec()
* Fix #5831 using a simpler approach, just setting REPO_AUTOUPDATE=false when ↵Renato Botelho2016-02-021-0/+4
| | | | it's booting
* Revert "Fix #5831"Renato Botelho2016-02-021-4/+4
| | | | This reverts commit 93a8ddf7a4c5d43cbeb623c923eb76659e6f49e0.
OpenPOWER on IntegriCloud