[ Next-in-Thread ]  [ Next Message ] 

Note: Untitled 

Forum: PCMCIA Network Adapter Issues
Re: Question: Possible need for a FORWARDING="y/n" setting (Dagmar d'Surreal)
Re: Another way to do it: use start_fn() (David Hinds)
Date: 2000, Apr 06
From: Dagmar d'Surreal Dagmar_dSurreal

Actually, it's fairly straightforward now compared to what it's been in the past for Linux. Forwarding of packets across interfaces is disabled by default, and to turn it on you have to do one of two things to files under /proc...

Either enable packet forwarding globally across all interfaces by stuffing a 1 into /proc/sys/net/ipv4/ip_forward (or /proc/sys/net/ipv4/conf/all/forwarding, changes made to either seem to affect both), in which case all NEW interfaces will have forwarding on by default (which is why this approach is non-optimal from a security standpoint), or...

Enable packet forwarding on an interface by interface basis by stuffing a 1 into /proc/sys/net/ipv4/conf/$IFNAME/forwarding. (Where $IFNAME is the name of the interface you wish to alter, for those who might be reading this but aren't so quick to spot implied shell substitutions)

I'll do some digging and exploring with start_fn() and stop_fn() over the weekend and see how well it works out, although for this, I don't think stop_fn() will have to be used, since the interfaces seem to go back to default settings when they are destroyed and recreated (but I haven't seen anything in documentation claiming that this is something intentional and unlikely to change, yet).

[ Next-in-Thread ]  [ Next Message ] 

Select this message: Untitled

Message Administration

This form allows you to delete, move, or copy one or more messages. You can move messages by copying and deleting the original. The action will be applied to the messages you select above and all replies to those selected messages.


If you want to copy or move messages, specify the HyperNews path of a destination forum or message that all messages will be copied or moved to. The destination must already exist, so maybe create it first.

Path of Destination (a Forum or Message): (e.g. "test")

Notify Subscribers at destination
NO


If you want to delete messages (the default), specify that here. If you want to move messages, you need to delete the original messages; placeholders will be left pointing to where they were moved.

Delete Messages
NO


Caution: After deleteing messages (the default), if you have not copied them (i.e. no destination above), then the selected messages are not be recoverable.

[ Members ]  [ Subscribe ]  [ No Admin Mode ] 
[ Show Frames ]  [ Help for HyperNews at pcmcia-cs.sourceforge.net 1.10 ] 
[ Edit This Forum ]