Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.networking > #2219
| From | Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> |
|---|---|
| Newsgroups | comp.os.linux.networking |
| Subject | Re: question about forwarding and sysfs entries |
| Date | 2013-06-22 14:40 +0200 |
| Organization | Plouf ! |
| Message-ID | <kq4608$jjk$1@saria.nerim.net> (permalink) |
| References | <c434fcf4-f9e8-4811-ba72-41a42a1ccab9@googlegroups.com> <kphlag$eud$1@news.httrack.net> <87txkzcsnx.fsf@araminta.anjou.terraraq.org.uk> |
Richard Kettlewell a écrit : > > I looked into the meaning of 'all' in another place back in March. It > turns out to be a bit weird. Here's what I wrote at the time: > > I don't think it has a single coherent meaning. For instance: > > - Setting net.ipv4.conf.all.forwarding=1 sets > net.ipv4.conf.<device>.forwarding for every device. > > - Setting net.ipv4.conf.all.accept_redirects=0 doesn't disable it for > any of the individual devices. > > This is done on a case-by-case basis for each sysctl (although most are > like accept_redirects rather than forwarding). Indeed 'forwarding' is the special case. For most other parameters under net.ipv4.conf, the operationnal value for each interface is a combination of net.ipv4.conf.<interface>.<parameter> and net.ipv4.conf.all.<parameter>. The operator may be AND, OR, MAX... depending on each parameter. See the descriptions in ip-sysctl.txt. AFAICS, it seems that most parameters under net.ipv6.conf.all other that forwarding are just ignored.
Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
question about forwarding and sysfs entries wkevin <wkevils@gmail.com> - 2013-06-15 04:26 -0700
Re: question about forwarding and sysfs entries Xavier Roche <xroche@free.fr.NOSPAM.invalid> - 2013-06-15 14:05 +0200
Re: question about forwarding and sysfs entries Richard Kettlewell <rjk@greenend.org.uk> - 2013-06-15 16:14 +0100
Re: question about forwarding and sysfs entries Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-06-22 14:40 +0200
Re: question about forwarding and sysfs entries Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-06-22 14:42 +0200
csiph-web