| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This way kill and respawn will behave as they should for the dhcpd processes
(cherry picked from commit c69ea0051c5549a9db0d092e85b92f78ffb4c978)
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Do not call resolve_host_addresses() when hostname cannot be resolved
by gethostbyname(). The old check was considering gethostbyname would
return NULL in this case but it returns a string with the hostname
passed on parameter
- Since resolve_host_addresses() always return an array, look for the
first A record to set $ipaddr, which will be used later to link with
IP WHOIS and IP Info
Based on Pull Request #3100 submitted by @NewEraCracker
|
| |
|
|
|
|
|
|
| |
as they are already properly considered 'lists of characters' even when not escaped.
(cherry picked from commit 8ea3fd0569ac2b1681de5ba3fbc2a2cc20981ad6)
|
|
|
|
|
|
| |
destination, for both the address and port.
(cherry picked from commit d98e54b215a7798aa0cd9d8432340d6e6df762f5)
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
On perfectly good IPs (eg. 1:2::3:4) this code could cause the following notice:
Notice: Undefined offset: 2 in IPv6.inc on line 560
On bad IPs like 1::2::3 it would not result in any notice.
This commit fixes the above problem, while making sure that only valid sequences pass validation.
|
|/
|
|
| |
(cherry picked from commit 0a6ab475d80b580b09fefaf3ca346b08ec6a23c9)
|
|
|
|
|
|
|
|
|
| |
1) Set the pidfile variable in the correct place.
pidfile variable is required in both 'if' and 'else' blocks.
2) Ensure pidfile is valid before sending term signal
(cherry picked from commit 4509abc380552554cbdf3f42c6783b47112f245a)
|
|
|
|
| |
(cherry picked from commit 20350989db5d66ffb827beaed5ef5738cd62fc9d)
|
|
|
|
| |
(cherry picked from commit c507161d557817c1f6f0adbef9ffdbad82115ee8)
|
|
|
|
|
|
| |
It is a little bit tricky having to generate the unique "option custom-if-n-m code ..." lines at first where n = pool index and m = item index in the items of the pool. Then make sure to reference that later, getting the same pool index into the array of pools. The $all_pools array as the "overall" or "base" pool first (at index 0), followed by the user-specified pools at index 1, 2, 3,... - which are actually at indexes 0, 1, 2,... in the ordinary array of pools in the config. So the -1 at line 910 has to happen.
But it works for me.
(cherry picked from commit 285987208f31f38abe35b984b08645d43c11b001)
|
|
|
|
|
|
|
| |
Add a pool and specify something in 1 or more of the DNS servers boxes for the pool.
The "option domain-name-servers 1.2.3.4" line appears twice in dhcpd.conf
The first bit of code to do it is at lines 787-799. I have deleted this 2nd time that it is done at lines 854-856.
(cherry picked from commit beb9321fcf502b4d7ad27af745c3be9da7f09c6b)
|
|
|
|
|
|
|
| |
in interface assignment script dialog.
The str_replace() calls were not smart enough to just get rid of bare "igb1" when "igb1_vlan123" and such like was also in the list.
(cherry picked from commit fd020a2d94077cc9c8ee6bac5b3da11e116c84a2)
|
| |
|
| |
|
|
|
|
| |
comp-noadapt, which is necessary in some client edge cases. Fixes #6739
|
| |
|
| |
|
|
|
|
| |
resolving hops. Add note about max ttl/hop limit in source comment. Fixes #6715
|
| |
|
|
|
|
| |
(cherry picked from commit ca3dc6c9ac6b6045430779f407a31ed620f5a32d)
|
|
|
|
| |
(cherry picked from commit e73770057872aa1f78dfff885f89916e446e2e4c)
|
|
|
|
| |
(cherry picked from commit 516e609ccb7a39fb27f52a69f11eee68f86974df)
|
|
|
|
| |
default config which would override our command line parameters. Fixes #6730
|
|
|
|
| |
(cherry picked from commit 8da4847472e03195aeb73a1acedbc27f8af520d1)
|
|
|
|
| |
(cherry picked from commit 134ee13df54280441c25b047b406628eeebbb8db)
|
|
|
|
|
|
|
| |
Start each widget refresh system after a short random delay to prevent all widgets hitting the server at the exactsame time
Fix issues wherein two widgets were resetting the refresh timer from the AJAX call, not the call-back function, thereby risking stepping on themselves
(cherry picked from commit 512f2c10af716243046bdd08140856bb8e45222b)
|
|
|
|
|
|
| |
by making the OpenVPN widget update dynamically
(cherry picked from commit f30e6bd49c773de28b5ec143add30fc900e7874d)
|
|
|
|
| |
#6719
|
|
|
|
|
|
| |
line number element
(cherry picked from commit 86e94becbec130f9eeca5bc94b497ec1167a640a)
|
|
|
|
| |
(cherry picked from commit d5b993fc310147d68bc3c3654a512b0ac981ecd2)
|
|
|
|
|
|
| |
Make sure the filenames represent the actual file
(cherry picked from commit 6173d1f5a5ed50b8c8a8523b1eb6824f7c9c1ae6)
|
|
|
|
|
|
| |
If you specify DDNS Domain in a DHCP static map entry, it does not make its way through to dhcpd.conf
This is because the var name $pdnscfg is wrong from an old copy-paste that first made this code.
(cherry picked from commit a5a55231770e548898b6b1c18146cc0c6631c5c6)
|
|
|
|
|
|
| |
No functional change - just making style consistent
(cherry picked from commit 9d3e8723171c727cf43338bd8e95ab2bb7e6a66c)
|
|
|
|
| |
(cherry picked from commit 0ed3b15981b4451efb11839d6ee7b9acf1ed1d84)
|
|
|
|
| |
(cherry picked from commit 4d4782fcd7213b5f279cb372853f5fedb07f6178)
|
|
|
|
| |
(cherry picked from commit 40eca7e3a8abdff768e29e310ba945e74fdcfe17)
|
|
|
|
| |
(cherry picked from commit 13b92290e0fa367a76016a15ccf5e76ff77b0706)
|
|
|
|
| |
(cherry picked from commit 3726918df1dc4744bb7ea694ec5c8f40de59d856)
|
|
|
|
| |
(cherry picked from commit e5343844c6de78feafae9e601b25bdf31f114a50)
|
|
|
|
| |
(cherry picked from commit b86938e7e19a09a5b1f3f54825193b57f7c73131)
|
|
|
|
| |
(cherry picked from commit d526fc2d2acc87af2ca829dfe01f0037e3368051)
|
|
|
|
| |
(cherry picked from commit 03fd538eefd641771b6302370b901fe4ace3ab4f)
|
|
|
|
| |
(cherry picked from commit fd778d8bef8ea3b0e5dcc8007de242b6e2ac6d5a)
|
|
|
|
|
|
| |
If one restores a config.xml without packages, there will be a warning about invalid argument supplied for foreach(). This commit fixes the problem.
(cherry picked from commit 5eda5816d8a7bd05730c70e44493815079925b48)
|
|
|
|
| |
(cherry picked from commit 5aad73235c1965e9f4c000244ca657ac9d1e4f68)
|
|
|
|
| |
(cherry picked from commit 545a7850ea37cd8c379cc75428353ad0089f2bd3)
|
|\ |
|
| |
| |
| |
| | |
https://redmine.pfsense.org/issues/6686
|