Ermal
21d1560f6f
Make this code readble
2013-02-11 10:35:15 +00:00
Ermal
8ac9dd5e4a
Optimize get_real_itnerface to avoid a loop of doing a convertion from real back to friendly when the inforamtion is there already
2013-02-11 10:19:33 +00:00
Ermal
25f27029ab
Enter missed text needed
2013-02-11 09:44:28 +00:00
Ermal
ec8b4d8d14
Try to use standard interface to find the source for connecting a tunnel. Also if a ping host is defined for the configuration used that for remoteid since its known to be reachble
2013-02-11 09:42:38 +00:00
Ermal
d83045b5fa
Properly generate all address data based on configuration selected
2013-02-11 09:29:23 +00:00
Ermal
2ffafea3d1
Make function return correct address info for respective family
2013-02-11 09:13:19 +00:00
Ermal
d6c8288265
Use full path to commands
2013-02-11 08:21:19 +00:00
Ermal
bb58ed63a5
Cleanup some code
2013-02-11 08:20:29 +00:00
jim-p
c4680ae2da
Whoops remove copypasta
2013-02-10 21:14:22 -05:00
jim-p
84197cec18
Apparently some systems don't like pulling this in globally, but it should work if defined locally like the other similar lists.
2013-02-10 21:10:56 -05:00
jim-p
3289b42b53
The actual variable isn't an array, so this test will never succeed. Remove it. Unbreaks ntp.
2013-02-10 21:08:26 -05:00
Jim P
51edea83c2
Merge pull request #404 from phil-davis/master
...
Do not allow 1:2:3:4:5:6:7:8::9 as an IPv6 address
2013-02-10 14:08:47 -08:00
Phil Davis
7405845f07
Do not allow 1:2:3:4:5:6:7:8::9 as an IPv6 address
...
The Net_IPv6 code has a bug - checkIPv6 returns "true" for addresses like:
1::2:3:4:5:6:7:8:9
1:2::3:4:5:6:7:8:9
...
1:2:3:4:5:6:7::8:9
1:2:3:4:5:6:7:8::9
these also emit the message:
Warning: str_repeat(): Second argument has to be greater than or equal to 0 in /etc/inc/IPv6.inc on line 496
It is fixed by making uncompress() always insert at least one ":0:" for any "::" in the address - a "::" always implies at least ":0:". This removes the str_repeat() warning, and means that the uncompressed IPv6 address has >8 numbers in it, so it fails the validity check (as it should).
Plus I fixed various text typos.
These changes are also being submitted to the Net_IPv6 repository on GitHUb so they will get fixed in newer versions (if pfSense ever ports them across).
2013-02-11 03:23:22 +05:45
Jim P
016655d904
Merge pull request #403 from bcyrill/patch-20
...
Update usr/local/www/system_crlmanager.php
2013-02-10 11:51:27 -08:00
bcyrill
d5059f4c35
Update usr/local/www/system_crlmanager.php
...
Cleanup HTML
2013-02-10 20:31:23 +01:00
Jim P
53cfd2d683
Merge pull request #402 from bcyrill/patch-19
...
Update usr/local/www/system_certmanager.php
2013-02-10 11:28:54 -08:00
bcyrill
c1d1844aec
Update usr/local/www/system_certmanager.php
...
Cleanup HTML
2013-02-10 20:27:29 +01:00
Jim P
874c659c92
Merge pull request #400 from bcyrill/patch-16
...
Update usr/local/www/system_camanager.php
2013-02-10 11:27:11 -08:00
Warren Baker
88be5178b6
Merge pull request #401 from phil-davis/master
...
Fix login form username field focus
2013-02-10 11:23:02 -08:00
bcyrill
39530c89e0
Update usr/local/www/system_camanager.php
...
Cleanup HTML
2013-02-10 20:20:31 +01:00
Phil Davis
1b209514b1
Fix login form username field focus
...
The Username filed was no longer getting focus - just a missing "/" in a critical place.
2013-02-11 01:04:41 +05:45
Jim P
3dd0892419
Merge pull request #399 from phil-davis/master
...
Validate IP address explicitly as v4 and v6
2013-02-10 09:44:36 -08:00
Phil Davis
85e9cfee1e
Validate interface IP explicitly as v4 or v6
...
The IP Address fields on the Interfaces Edit page were just using is_ipaddr to validate them. I could put an IPv4 address in as the IPv6 static IP and it took it and saved it, then got my system in a knot! It even adjusted the subnet bits dropdown when I typed a valid IPv4 address format in the IPv6 filed.
And IPv6 addresses could be put in IPv4 fields also.
2013-02-10 23:25:07 +05:45
Jim P
c1df78f209
Merge pull request #398 from phil-davis/master
...
Display Gateway Widget column headings only once
2013-02-10 09:18:58 -08:00
Phil Davis
2ae26abda9
Display Gateway Widget column headings only once
...
The Gateway Widget format was changed recently to allow display of a long IPv6 address. It has made the widget take a lot more screen space when there are a few gateways. This change saves some space - what do people think?
2013-02-10 20:53:00 +05:45
Ermal
eb23391914
Make sure the directory exists
2013-02-10 12:22:50 +00:00
Ermal
1c903aa4d4
Small fixes to make code readble and error log more useful
2013-02-10 11:47:57 +00:00
Ermal
6a205b6a1a
Sprinkle some unsets
2013-02-10 11:26:54 +00:00
Ermal
9d595f6ad4
Correct setting default gateways
2013-02-10 11:26:12 +00:00
Ermal
df40755dfd
Correct function name
2013-02-10 11:13:58 +00:00
Jim P
ccb5fb15d7
Merge pull request #397 from N0YB/PowerD_AC_BAT_Modes
...
Upgrade code & config default version
2013-02-09 15:17:36 -08:00
N0YB
6015f75bba
Upgrade code & config default version
2013-02-09 15:04:50 -08:00
Ermal
b9f29f84af
Use mwexec() with signal clearing. Use pid file for killining/tracking ntpd
2013-02-09 21:17:38 +00:00
Jim P
b61306fb3c
Merge pull request #396 from N0YB/PowerD_AC_BAT_Modes
...
Update config default with powerd battery mode
2013-02-09 12:47:38 -08:00
N0YB
91d1736fb2
Update config default with powerd battery mode
2013-02-09 12:41:11 -08:00
Ermal
3084ba6ee5
Teach dhcpd_configure about family optional parameter and use it to properly setup dhcpv6 on track6 case so that config is properly written
2013-02-09 20:25:05 +00:00
jim-p
3a2de75a91
Add some newlines to this one too.
2013-02-09 11:27:58 -05:00
jim-p
8c59ce016b
Unbreak firewall rule interface drop-down selection. Fixes #2805
2013-02-09 11:22:01 -05:00
Ermal
6387590fa6
Actually do restart radvd and dhcp6d on all track6 interfaces
2013-02-09 14:55:35 +00:00
Ermal
82b50e761c
Use posix_kill here
2013-02-09 14:23:43 +00:00
Ermal
e082d2f423
Restart dhcp and radvd on change
2013-02-09 14:17:38 +00:00
Ermal
681a493ff6
Actually for SLAAC type interfaces being tracked the configuration is needed
2013-02-09 13:25:08 +00:00
Ermal
7a41d7378f
Revert "Remove track6 dhcp configuration since dhcp6 will do this for us."
...
This reverts commit 6ebfa0ccfd .
2013-02-09 13:23:25 +00:00
Ermal
6ebfa0ccfd
Remove track6 dhcp configuration since dhcp6 will do this for us.
2013-02-09 13:12:40 +00:00
Ermal
20e15197bd
Remove this old code
2013-02-09 12:26:49 +00:00
Ermal
f934af33e3
Optimize and cleanup routing function
2013-02-09 09:36:50 +00:00
Ermal
8be135cd11
Correct system_routing_configure to do the right thing and guess the address family for the routing table correctly. While here cleanup some other code and leave a comment that disabled routing entries probably should not be dealt in here!
2013-02-09 09:26:33 +00:00
Ermal
aeaf0a67ad
Set family here to avoid any ambiguity
2013-02-09 08:49:33 +00:00
Jim P
82cc8a36d3
Merge pull request #395 from N0YB/PowerD_AC_BAT_Modes
...
System: Advanced: Miscellaneous: PowerD
2013-02-08 17:40:04 -08:00
N0YB
a358eec2ae
System: Advanced: Miscellaneous: PowerD
...
Add the on battery mode option settings.
2013-02-08 17:09:42 -08:00