aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-post
Commit message (Collapse)AuthorAgeFilesLines
* Repository scheme updated to new layoutDavid Kaspar [Dee'Kej]2018-05-301-151/+0
| | | | | NOTE: This commit just moves files around, without actually fixing the Makefiles and specfile. See follow up commits which resolve this.
* network-functions: use POSIX forwarding instead of bash-ismDavid Kaspar [Dee'Kej]2017-11-091-1/+1
|
* ifup-post: always update nameserver & search entries in /etc/resolv.confDavid Kaspar [Dee'Kej]2017-10-311-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/nullDavid Kaspar [Dee'Kej]2017-10-311-1/+2
|
* network-scripts: firewall-cmd replaced with DBus callsDavid Kaspar [Dee'Kej]2017-10-161-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 NOROUTESETDavid Kaspar [Dee'Kej]2016-10-311-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" stringDavid Kaspar [Dee'Kej]2016-10-311-2/+5
|
* [3/3] Remove tabs and fix spacing: ifup/ifdown scriptsPhil Dibowitz2016-10-121-66/+66
|
* ifup-post: should be interpreted in bashLukas Nykryn2015-05-251-1/+1
|
* ifup-post: check resolve.conf also with DNS2Lukas Nykryn2015-01-161-1/+8
|
* Readd missing shebang. (#885821)Bill Nottingham2012-12-101-1/+1
|
* Fix calling of firewall-cmd in ifup-post/ifdown-post.Jiri Popelka2012-10-081-1/+1
| | | | firewall-cmd has been using combined longopts since 0.2.6
* Add quotes to device/zone in the firewalld support.Bill Nottingham2012-03-161-2/+2
|
* Add support for firewalld zones. (#802415, from <jpopelka@redhat.com>)Bill Nottingham2012-03-131-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 Nottingham2009-07-301-2/+2
| | | | Adapted from <victor.lowther@gmail.com>.
* only use the first address (#230157, <michal@harddata.com>)Bill Nottingham2007-04-161-2/+2
|
* fix logic thinko that can trip up when lookup fails (#220318)Bill Nottingham2007-01-171-4/+3
| | | | also, clean up ifconfig usage
* pass path to '.' always (#206035)Bill Nottingham2006-09-111-1/+1
|
* Provide the underlying device name to ip-up (and thus ifup-routes) for PPPMiloslav Trmac2006-03-201-1/+9
| | | | devices (#92023)
* remove support for the old firewall typeBill Nottingham2005-04-151-13/+0
|
* remove wackycommentBill Nottingham2004-08-201-2/+0
|
* fix for bug 125712: added change_resolv_conf function to network-functions; ↵Jason Vas Dias2004-07-301-2/+2
| | | | made ipup-post and ipdown-post invoke it
* revertBill Nottingham2004-07-301-1/+1
|
* fix for bug 125712: added change_resolv_conf function to network-functions; ↵Jason Vas Dias2004-07-301-1/+1
| | | | made ipup-post and ipdown-post invoke it
* support randomly named network devices, part 1Bill Nottingham2003-06-241-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 Nottingham2003-06-191-1/+1
| | | | <martin@zepler.org>)
* - make usernetctl use the nickname instead of the device nameBill Nottingham2003-05-281-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 Nottingham2003-03-131-3/+3
|
* handle changed chain nameBill Nottingham2003-02-241-3/+3
|
* redhat-config-network writes $NAME.route, not $DEVICE.route. HandleBill Nottingham2003-02-201-1/+1
| | | | that. (#84193)
* don't write multiple search lines (#79107, <redhat-com-box@dndtales.org>)Bill Nottingham2003-01-141-3/+3
|
* switch to -I (#71201)Bill Nottingham2002-08-151-1/+1
|
* look at the right file (#68368)Bill Nottingham2002-08-131-1/+1
|
* fix iptables invocation (#71201)Bill Nottingham2002-08-121-1/+1
|
* use -n with iptables -L (#70807)Bill Nottingham2002-08-121-1/+4
|
* use iptables & our lokkit chainBill Nottingham2002-07-171-4/+4
|
* - speed up FIREWALL_MODS=no caseFlorian La Roche2002-07-051-7/+2
|
* fix invocation of need_hostname (#58946)Bill Nottingham2002-02-071-6/+7
|
* added \ on the end of the multiline ifHarald Hoyer2001-11-191-4/+4
|
* better nickname handlingHarald Hoyer2001-11-191-1/+1
|
* don't run logger if /usr isn't mountedBill Nottingham2001-10-161-1/+1
|
* need_hostname now returns true or false, doesn't set NEEDHOSTNAME. Some ↵Preston Brown2001-09-251-2/+5
| | | | reformatting fixes.
* only allow dest port 1025-65535 for DNS replies (#40833, #44038)Bill Nottingham2001-08-091-1/+1
|
* log that we're punching something through the firewallBill Nottingham2001-02-271-0/+1
|
* ifup-post could be called from places other than ifup, so recheck $FWACTIVE hereBill Nottingham2001-02-121-0/+6
|
* modify the firewall to allow any (new) DNS servers through on ifupBill Nottingham2001-02-061-9/+21
|
* fix scoping isuse (#22547)Bill Nottingham2000-12-261-1/+4
|
* fix more ifconfig greps (patch from Conectiva)Bill Nottingham2000-12-121-1/+1
|
* check for RESOLV_MODS before testingBill Nottingham2000-04-121-1/+1
|
* fix overwrite problem of resolv.conf on ippp/ppp/slip connectionsThan Ngo2000-04-041-1/+4
|