..which is technically wrong and insecure, since iptables must be setup
before the interface is take up while Network Manager runs these script
after Network has been taken up.

Furthermore, Network Manager does not guarantee to run these script or
may leave a network interface open and thus unprotected if some script
fails.

Definitely wrong method.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/336736

Title:
  NetworkManager does not call /etc/network/if-pre-up.d scripts

Status in “network-manager” package in Ubuntu:
  Won't Fix

Bug description:
  Binary package hint: network-manager

  Ubuntu 8.10, Linux 2.6.27-12-generic #1 SMP Thu Feb 5 09:26:35 UTC 2009 i686 
GNU/Linux
  NetworkManager 0.7~~svn20081018t105859-0ubuntu1.8.10.1

  I've been trying to get a script to trigger on the "pre-up" phase of
  network configuration, however, NetworkManager doesn't seem to call
  it's dispatcher for "pre-up" or "post-down" events.

  None of the scripts I put in /etc/network/if-pre-up.d ever got called,
  so I added the following line to the top of the dispatcher script
  "/etc/NetworkManager/dispatcher.d/01ifupdown":

  logger -t $0 "called with $1 $2"

  Where $0 is the name of the script, $1 is the network interface and $2
  is the network event.

  After bringing some network connections up and down, I checked the
  logs, and NetworkManager doesn't seem to be calling
  "/etc/NetworkManager/dispatch.d/01ifupdown" for either "pre-up" or
  "post-down" events. The only entries  that show up are for "up" and
  "down" events.

  According to the changelog both "pre-up" and "post-down" events are
  supposed to be supported as of version 0.5.1-0ubuntu12:

  https://launchpad.net/ubuntu/+source/network-manager

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/336736/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to