| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This patch adds some security and privacy enhancements to SLAAC configuration.
When SLAAC_PRIVIPGEN is "yes", address generation is enhanced with a secret
key for the interface set in SLAAC_SECRET. This prevents predictable
address generation.
When SLAAC_TEMPADDR is "yes", a temporary address is used with SLAAC.
Thanks to davjohn from LQ for the inital patches and help testing.
|
| |
|
|
|
|
|
| |
This fixes a bug where SLAAC would take a while to be effective when the
interface is already up. Thanks to davjohn on LQ for the report.
|
|
|
|
|
| |
This seems to improve the ability to obtain a SLAAC address without
waiting for up to 5 minutes. Thanks to davjohn on LQ for the patch.
|
|
|
|
| |
release.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
required.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Change to new format IP6ADDRS when writing out /etc/networks.
Remove old syntax variables.
Use 'Exit' as cancel button label on some dialogs.
Changed a couple of occurances of cancel to abandon for clarity.
|
|
|
|
| |
Replace setting of BROADCAST and NETWORK for use when writing files.
|
|
|
|
|
|
|
|
|
|
| |
When creating example for nameserver dialog, take into account multiple IPs.
Add the . to the VLAN part When writing rc.inet1.conf.
Update SLAAC final confirmation dialog to match output of DHCP confirmation.
Update final confirmation for static IPs to include IPv6 and VLAN ID.
Include VLAN ID in DHCP final confirmation screen.
Unconditionally output final info screen, ref accepted/discarded settings.
Update static IP infomarion input/processing.
|
| |
|
| |
|
|
|
|
|
| |
Change a couple of button text to 'Exit'.
Allow canceling out of DHCP hostname prompt.
|
| |
|
| |
|
|
|
|
|
|
| |
Added a dialog to warn if no IP addresses have bee configured.
Adjusted some dialog box sizes for altered text.
Updated text for some dialog boxes.
|
|
|
|
|
| |
Move temp directory code to start of main block.
Update dialog text for some screens.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* Keep a file with the VLAN ID while processing VLANs.
* Touched up a couple more bits of dialog text.
|
|
|
|
|
|
|
|
|
|
| |
* Rename -syntax_check_color function to syntax_check_v4 as it more accurately
represents its IPv4 specific function now.
* Some updates to text presented in dialogs.
* Protect some variable expansions with ""s.
* Initial support for IPADDRS/IP6ADDRS arrays.
* Improve validation of user supplied input.
* Refactoring for use of the IPADDRS array and multiple IP/mask entry.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit introduces the logic for a new IPADDRS array which will work in a
similar way to the IPv6 IP6ADDRS array. The IPADDRS array can hold multiple
IPv4 addresses with netmasks, which are used in preference to, but maintaining
backwards compatibility with, the old IPADDR/NETMASK arrays.
If IPADDRS is set for an interface, the IPs and netmasks configured in the
array are set before an also configured IPADDR/NETMASK. This maintains
backwards compatibility - users can continue to use the IPADDR/NETMASK and
IPALIASES arrays to configure the interface and completely ignore IPADDRS,
or keep their old rc.inet1.conf files, if they so wish.
If the IPADDRS arrays contains multiple IPs, those IPs are all added to the
interface regardles of whether any IP in IPADDRS is or is not set.
These IPs will also be added to the interface just as with IPALIASES if
DHCP/SLAAC is used to set the first IP. The IPALIASES IPs are also added to
the interface to maintain backwards compatibility.
IPa set in IPADDRS to be used as 'alias' interfaces, are NOT given the usual
ethX:Y name, like the IPs listed in IPALIASES. To get an ethX:Y interface
the iPALIASES array should be used; to have the IPs simply added to the
interface the user should use the IPADDRS array with multiple (space separated)
IPs and netmasks. Using IPALIASES along side IPADDRS is completly legal and
maintains backwards compatibility - it would yield a mixture of IPs set with
and without ethX:Y aliases.
This changeset moves the IPv4 configuration to be on par with the new IPv6
configuration syntax, but maintains FULL backwards compatibility with the old
style syntax.
Additionally, handling of IP4ADDRS has been modified such that it matches the
IPADDRS usage. That is, any IPs listed in IP6ADDRS are also added to the
interface (just as IPADDRS and IPALIASES are added for v4) whether the
interface is configured with DHCP/DHCP6/SLAAC or not. This is a change to
the IP6ADDRS usage, but since this script hasn't been officially accepted,
there is no backwards compatibility issues.
Again, note that these changes DO NOT change previous behaviour or damage
backwards compatability. New functionallity and semantics only change
behaviour of non-released features, so there is no bother to the changes.
netconfig will be modified to output the new IPADDRS syntax, just as it does
for IP6ADDRS and both will allow multiple IPs to be specified at configuration
time - this is an improvement on the current netconfig behaviour.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The -L command line option was added to the dhcpcd call in the -current
development cycle to assist ARM users with getting networking up and running.
This addition was incorrect as rc.inet1 already has support to use or not use
-L by setting DHCP_NOIPV4LL[x]="". When I was updating rc.inet1 I took out
the -L, but didn't make it clear enough why I had taken it out and how to use
the DHCP_NOIP4ALL[x]="" option in rc.inet1.conf. This commit is simply
updating that comment to be more verbose.
|
| |
|
|
|
|
|
| |
The rest of the shellcheck issues are non-issue warnings that
could possibly do with being corrected, but it's not a huge issue.
|