Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ifup-post: always update nameserver & search entries in /etc/resolv.conf | David Kaspar [Dee'Kej] | 2017-10-31 | 1 | -57/+84 |
| | | | | | | | | | | | | | | | | | | | | | | This is complete rework of how we generate the /etc/resolv.conf. Fixes: * always update 'nameserver' & 'search' entries when DNS* & DOMAIN options (respectively) were updated in ifcfg-* files * always update the order of 'nameserver' entries when the order of DNS* options was updated * always keep /etc/resolv.conf.save as a proper backup - do not overwrite it everytime when updating 'nameserver' or 'search' Enhancements: * added support for DNS3 option (equals to MAXNS value in GLIBC) * added logic to process duplicate DNS* options * added logic to process randomly omitted DNS* options (e.g. omitting DNS1 while specifying DNS2 and/or DNS3 will still work now) This work was based on these two RHEL-7.5 BZs: https://bugzilla.redhat.com/show_bug.cgi?id=1364895 https://bugzilla.redhat.com/show_bug.cgi?id=1357658 | ||||
* | network-scripts: forward DBus calls to /dev/null | David Kaspar [Dee'Kej] | 2017-10-31 | 1 | -1/+2 |
| | |||||
* | network-scripts: firewall-cmd replaced with DBus calls | David Kaspar [Dee'Kej] | 2017-10-16 | 1 | -3/+6 |
| | | | | | To speed things up. Based on patch & comments from: https://bugzilla.redhat.com/show_bug.cgi?id=1497759 | ||||
* | ifup-post: introduce new configuration option NOROUTESET | David Kaspar [Dee'Kej] | 2016-10-31 | 1 | -1/+3 |
| | | | | This has patch has been suggested in RHBZ #950453, by Konrad Moson. | ||||
* | ifup-post: use is_false() function instead of checking for "no" string | David Kaspar [Dee'Kej] | 2016-10-31 | 1 | -2/+5 |
| | |||||
* | [3/3] Remove tabs and fix spacing: ifup/ifdown scripts | Phil Dibowitz | 2016-10-12 | 1 | -66/+66 |
| | |||||
* | ifup-post: should be interpreted in bash | Lukas Nykryn | 2015-05-25 | 1 | -1/+1 |
| | |||||
* | ifup-post: check resolve.conf also with DNS2 | Lukas Nykryn | 2015-01-16 | 1 | -1/+8 |
| | |||||
* | Readd missing shebang. (#885821) | Bill Nottingham | 2012-12-10 | 1 | -1/+1 |
| | |||||
* | Fix calling of firewall-cmd in ifup-post/ifdown-post. | Jiri Popelka | 2012-10-08 | 1 | -1/+1 |
| | | | | firewall-cmd has been using combined longopts since 0.2.6 | ||||
* | Add quotes to device/zone in the firewalld support. | Bill Nottingham | 2012-03-16 | 1 | -2/+2 |
| | |||||
* | Add support for firewalld zones. (#802415, from <jpopelka@redhat.com>) | Bill Nottingham | 2012-03-13 | 1 | -0/+5 |
| | | | | | | | | | | ZONE in an ifcfg file describes the zone an interface should belong to. Zones can be configured in the firewalld configuration file. When interfaces are brought up, tell firewalld, if running, to add them to the proper zone. Similarly, remove them when they're brought down. Modified from a patch from Jiri Popelka. | ||||
* | Use $() instead of `` for process expansion. | Bill Nottingham | 2009-07-30 | 1 | -2/+2 |
| | | | | Adapted from <victor.lowther@gmail.com>. | ||||
* | only use the first address (#230157, <michal@harddata.com>) | Bill Nottingham | 2007-04-16 | 1 | -2/+2 |
| | |||||
* | fix logic thinko that can trip up when lookup fails (#220318) | Bill Nottingham | 2007-01-17 | 1 | -4/+3 |
| | | | | also, clean up ifconfig usage | ||||
* | pass path to '.' always (#206035) | Bill Nottingham | 2006-09-11 | 1 | -1/+1 |
| | |||||
* | Provide the underlying device name to ip-up (and thus ifup-routes) for PPP | Miloslav Trmac | 2006-03-20 | 1 | -1/+9 |
| | | | | devices (#92023) | ||||
* | remove support for the old firewall type | Bill Nottingham | 2005-04-15 | 1 | -13/+0 |
| | |||||
* | remove wackycomment | Bill Nottingham | 2004-08-20 | 1 | -2/+0 |
| | |||||
* | fix for bug 125712: added change_resolv_conf function to network-functions; ↵ | Jason Vas Dias | 2004-07-30 | 1 | -2/+2 |
| | | | | made ipup-post and ipdown-post invoke it | ||||
* | revert | Bill Nottingham | 2004-07-30 | 1 | -1/+1 |
| | |||||
* | fix for bug 125712: added change_resolv_conf function to network-functions; ↵ | Jason Vas Dias | 2004-07-30 | 1 | -1/+1 |
| | | | | made ipup-post and ipdown-post invoke it | ||||
* | support randomly named network devices, part 1 | Bill Nottingham | 2003-06-24 | 1 | -8/+0 |
| | | | | | | | - use nameif - determine device type from file first, and from device name as a fallback - ditto for aliases | ||||
* | fix DNS punching in the case of other rules for the DNS server (#97686, ↵ | Bill Nottingham | 2003-06-19 | 1 | -1/+1 |
| | | | | <martin@zepler.org>) | ||||
* | - make usernetctl use the nickname instead of the device name | Bill Nottingham | 2003-05-28 | 1 | -2/+1 |
| | | | | | | | - don't look in /etc/sysconfig/networking - fix calling of nameif before the device was loaded - clean up route handling (<harald@redhat.com>) | ||||
* | revert. chain name change was reverted. | Bill Nottingham | 2003-03-13 | 1 | -3/+3 |
| | |||||
* | handle changed chain name | Bill Nottingham | 2003-02-24 | 1 | -3/+3 |
| | |||||
* | redhat-config-network writes $NAME.route, not $DEVICE.route. Handle | Bill Nottingham | 2003-02-20 | 1 | -1/+1 |
| | | | | that. (#84193) | ||||
* | don't write multiple search lines (#79107, <redhat-com-box@dndtales.org>) | Bill Nottingham | 2003-01-14 | 1 | -3/+3 |
| | |||||
* | switch to -I (#71201) | Bill Nottingham | 2002-08-15 | 1 | -1/+1 |
| | |||||
* | look at the right file (#68368) | Bill Nottingham | 2002-08-13 | 1 | -1/+1 |
| | |||||
* | fix iptables invocation (#71201) | Bill Nottingham | 2002-08-12 | 1 | -1/+1 |
| | |||||
* | use -n with iptables -L (#70807) | Bill Nottingham | 2002-08-12 | 1 | -1/+4 |
| | |||||
* | use iptables & our lokkit chain | Bill Nottingham | 2002-07-17 | 1 | -4/+4 |
| | |||||
* | - speed up FIREWALL_MODS=no case | Florian La Roche | 2002-07-05 | 1 | -7/+2 |
| | |||||
* | fix invocation of need_hostname (#58946) | Bill Nottingham | 2002-02-07 | 1 | -6/+7 |
| | |||||
* | added \ on the end of the multiline if | Harald Hoyer | 2001-11-19 | 1 | -4/+4 |
| | |||||
* | better nickname handling | Harald Hoyer | 2001-11-19 | 1 | -1/+1 |
| | |||||
* | don't run logger if /usr isn't mounted | Bill Nottingham | 2001-10-16 | 1 | -1/+1 |
| | |||||
* | need_hostname now returns true or false, doesn't set NEEDHOSTNAME. Some ↵ | Preston Brown | 2001-09-25 | 1 | -2/+5 |
| | | | | reformatting fixes. | ||||
* | only allow dest port 1025-65535 for DNS replies (#40833, #44038) | Bill Nottingham | 2001-08-09 | 1 | -1/+1 |
| | |||||
* | log that we're punching something through the firewall | Bill Nottingham | 2001-02-27 | 1 | -0/+1 |
| | |||||
* | ifup-post could be called from places other than ifup, so recheck $FWACTIVE here | Bill Nottingham | 2001-02-12 | 1 | -0/+6 |
| | |||||
* | modify the firewall to allow any (new) DNS servers through on ifup | Bill Nottingham | 2001-02-06 | 1 | -9/+21 |
| | |||||
* | fix scoping isuse (#22547) | Bill Nottingham | 2000-12-26 | 1 | -1/+4 |
| | |||||
* | fix more ifconfig greps (patch from Conectiva) | Bill Nottingham | 2000-12-12 | 1 | -1/+1 |
| | |||||
* | check for RESOLV_MODS before testing | Bill Nottingham | 2000-04-12 | 1 | -1/+1 |
| | |||||
* | fix overwrite problem of resolv.conf on ippp/ppp/slip connections | Than Ngo | 2000-04-04 | 1 | -1/+4 |
| | |||||
* | set umask before writing /etc/resolv.conf | Bill Nottingham | 2000-03-20 | 1 | -0/+4 |
| | |||||
* | allow for spaces in lines that are read | Bill Nottingham | 2000-02-24 | 1 | -1/+1 |
| |