summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* netconfig: remove (broken) checks on hostname/domainname validityPatrick J. Volkerding2021-11-121-26/+4
|
* Correct spelling mistake of equivalent in netconfig.Darren 'Tadgy' Austin2021-04-161-1/+1
|
* Take interface down at exit from rc.wireless. Thanks to davjohn.current-20210318Darren 'Tadgy' Austin2021-03-091-4/+6
|
* rc.wireless: don't leave interfaces in up state as it prevents SLAAC.tadgyDarren 'Tadgy' Austin2021-03-091-5/+6
|
* Fix domain name validation checks. Thanks to xbeastx74 on LQ for the report.Darren 'Tadgy' Austin2021-03-081-2/+5
|
* Move enabling RA before SLAAC security section. Thanks to davjohn on LQ.Darren 'Tadgy' Austin2021-03-081-8/+8
|
* Added debugging output around new SLAAC enhancements.Darren 'Tadgy' Austin2021-03-081-0/+4
|
* Fix typo of 'default'.Darren 'Tadgy' Austin2021-03-081-1/+1
|
* Add SLAAC security and privacy options.Darren 'Tadgy' Austin2021-03-083-2/+37
| | | | | | | | | | 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.
* Fix a typo in br_open when configuring IFOPTS: i->1.Darren 'Tadgy' Austin2021-03-071-1/+1
|
* Don't bring up a bridge interface if it will be brought up later by IP config.Darren 'Tadgy' Austin2021-03-071-2/+6
| | | | | 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.
* Move configuration of SLACC before DHCP.Darren 'Tadgy' Austin2021-03-071-29/+29
| | | | | 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.
* Remove README.networking as it's not finished yet and shouldn't be in the ↵Darren 'Tadgy' Austin2021-03-021-554/+0
| | | | release.
* Fix descrepencies between rc.inet1.conf versions.Darren 'Tadgy' Austin2021-03-022-5/+4
|
* README.IPv6: Remove implementation detailscurrent-20210301Robby Workman2021-02-281-50/+0
|
* netconfig: fix formatting of generated hosts fileRobby Workman2021-02-281-1/+1
|
* netconfig: remove outdated note about /etc/hostsRobby Workman2021-02-281-4/+0
|
* Fix bug where the CIDR mask was included in /etc/hosts.Darren 'Tadgy' Austin2021-02-281-2/+2
|
* rc.inet1: Fix typo (destory -> destroy)Robby Workman2021-02-281-1/+1
|
* scripts/netconfig: menu fix for formatting and add additional infoPatrick J. Volkerding2021-02-281-7/+9
|
* netconfig and rc.inet1.conf: Fix types (aggrigation -> aggregation)Robby Workman2021-02-272-2/+2
|
* README.networking: Fix typos (aggrigation --> aggregation)Robby Workman2021-02-271-3/+3
|
* README.bonding: Remove implementation detailsRobby Workman2021-02-271-51/+1
|
* Minor updates to README.networking - still a work in progress.Darren 'Tadgy' Austin2021-02-271-12/+16
|
* Update changelog comments in rc.wireless.Darren 'Tadgy' Austin2021-02-271-0/+3
|
* Some small syntax updates to quiet shellcheck.Darren 'Tadgy' Austin2021-02-271-15/+15
|
* Use extglobs to protect expansion of IFOPTS. Note: bash + extglob is now ↵Darren 'Tadgy' Austin2021-02-271-4/+7
| | | | required.
* Change final occurances of IPADDR/NETMASK/IPALIASES over to IPADDRS.Darren 'Tadgy' Austin2021-02-272-28/+7
|
* Update manpages with new/changed options, update email address.Darren 'Tadgy' Austin2021-02-272-48/+48
|
* Update write out of rc.inet1.conf to new format. +moreDarren 'Tadgy' Austin2021-02-271-68/+54
| | | | | | | 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.
* Add function to convert new CIDR format netmasks to old style dotted quad.Darren 'Tadgy' Austin2021-02-271-1/+13
| | | | Replace setting of BROADCAST and NETWORK for use when writing files.
* Updated nameserver processing handling to include syntax checks + more.Darren 'Tadgy' Austin2021-02-271-50/+82
| | | | | | | | | | 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.
* Allow exiting when in NetworkManager confirmation dialog.Darren 'Tadgy' Austin2021-02-271-1/+4
|
* Add IPv6 support to 'loopback' option. Use IPADDRS.Darren 'Tadgy' Austin2021-02-271-4/+8
|
* Don't skip VLAN entry if it's empty + moreDarren 'Tadgy' Austin2021-02-271-12/+10
| | | | | Change a couple of button text to 'Exit'. Allow canceling out of DHCP hostname prompt.
* Don't write HOSTNAME before confirmation. Remove colour around examples.Darren 'Tadgy' Austin2021-02-271-3/+4
|
* Give 2 examples for IP address entry syntax.Darren 'Tadgy' Austin2021-02-271-2/+2
|
* Check entered prefix length is valid + more.Darren 'Tadgy' Austin2021-02-271-102/+60
| | | | | | 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.
* Add syntax_check_v6 function to validate IPv6 addresses + more.Darren 'Tadgy' Austin2021-02-271-19/+44
| | | | | Move temp directory code to start of main block. Update dialog text for some screens.
* Begin implementing multiple IPv6 addresses handling.Darren 'Tadgy' Austin2021-02-271-33/+76
|
* Use an IPv4 specific bounce file with IPv4 config.Darren 'Tadgy' Austin2021-02-271-7/+7
|
* Use an ipv4 specific bounce file for gateway config.Darren 'Tadgy' Austin2021-02-271-15/+6
|
* Clean up after ourselves in various places with new code.Darren 'Tadgy' Austin2021-02-271-15/+41
| | | | | * Keep a file with the VLAN ID while processing VLANs. * Touched up a couple more bits of dialog text.
* Various updates to netconfig - see full log.Darren 'Tadgy' Austin2021-02-271-80/+90
| | | | | | | | | | * 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.
* Clean up syntax of host+domain entry and add some basic validation.Darren 'Tadgy' Austin2021-02-271-28/+42
|
* Update VLAN syntax checking. Add quotes in rc.inet1.conf.Darren 'Tadgy' Austin2021-02-272-15/+26
|
* Add first draft of README.networking.Darren 'Tadgy' Austin2021-02-271-0/+550
|
* Implement a new IPADDRS array for v4 IPs - read full commit messageDarren 'Tadgy' Austin2021-02-272-67/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Restablish use of the -L option to assist Slackware ARM users.Darren 'Tadgy' Austin2021-02-271-1/+0
|
* Update comments regarding use of the hard coded dhcpcd -L command line option.current-20210227Darren 'Tadgy' Austin2020-08-171-3/+6
| | | | | | | | | | 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.