public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Proposal: networking startup script rewrite
@ 2003-10-13 18:56 Michael J. Cohen
  2003-10-13 22:09 ` Stroller
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Michael J. Cohen @ 2003-10-13 18:56 UTC (permalink / raw
  To: gentoo-dev

After wrestling with our current net implementation to get bridged interfaces 
and vlans working, which ended in me just setting up things in local.start, I 
figured a rewrite of our network scripts is in order.  

I have made a primitive version of the rewrite available here:
http://325i.org/proposed-net-replacement

It is useless in its current state and only provided as an example.

The reason for this rewrite is twofold: ease of configuration and ease of 
maintenance.

Here are a few of my ideas for the evolution of this currently primitive 
rewrite:

* all networking related configuration should take place in /etc/conf.d/net, 
thus eliminating /etc/conf.d/iptables and such
* bringing interfaces up and down should be handled by one script that 
recognizes all possible up and down configurations of an interface, for 
example, 802.1[d,q] (bridge,vlan), netfilter, dhcp, bootp..
* configuration of iptables, ipsec, routing, etc should be handled by the up/
down script calling the appropriate /etc/init.d scripts with the appropriate 
arguments.  these scripts would have to parse /etc/conf.d/net or rely on some 
of the functions in /etc/init.d/net to parse it if the user should decide to 
start/restart/reload a script individually

If anyone has any input, please feel free to speak your mind.

I would love to see gentoo become the easiest distro to configure network 
interfaces for *any* and *all* possible configurations, and I feel that this 
is the first step to achieve that goal.

------
Michael J. Cohen


--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-14 15:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-13 18:56 [gentoo-dev] Proposal: networking startup script rewrite Michael J. Cohen
2003-10-13 22:09 ` Stroller
     [not found] ` <D1EAAB31-FDC9-11D7-BA49-000A95795F3E@stellar.eclipse.co.uk>
2003-10-14  2:17   ` Michael J. Cohen
2003-10-14 14:09     ` Stroller
2003-10-14 15:21 ` William Hubbs

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox