← Back to team overview

gufw-developers team mailing list archive

Re: [Bug 1165660] Re: Errors when running Gufw - does not modify firewall settings

 

> sudo ufw status
     Status: active
> sudo ufw default deny outgoing
     Default outgoing policy changed to 'deny'
     (be sure to update your rules accordingly)
> sudo ufw status
     Status: active
------------------------------
> sudo ufw reset
      Resetting all rules to installed defaults. Proceed with operation
(y|n)? y
      Backing up 'user.rules' to '/lib/ufw/user.rules.20130407_154129'
      Backing up 'after6.rules' to '/etc/ufw/after6.rules.20130407_154129'
      Backing up 'user6.rules' to '/lib/ufw/user6.rules.20130407_154129'
      Backing up 'before6.rules' to '/etc/ufw/before6.rules.20130407_154129'
      Backing up 'after.rules' to '/etc/ufw/after.rules.20130407_154129'
      Backing up 'before.rules' to '/etc/ufw/before.rules.20130407_154129'
> sudo ufw status
      Status: inactive
> sudo ufw enable
      Firewall is active and enabled on system startup
> sudo ufw default deny outgoing
      Default outgoing policy changed to 'deny'
      (be sure to update your rules accordingly)
> sudo ufw status
      Status: active


On Sun, Apr 7, 2013 at 1:47 AM, costales <costales.marcos@xxxxxxxxx>
wrote:

> Hi! Could you put here the exit of these commands? Thanks in advance!
>
> sudo ufw status
> sudo ufw default deny outgoing
> sudo ufw status
>
> ----------------------
>
> If you don't care about your current rules, could you try these command
> too?
> sudo ufw reset
> sudo ufw status
> sudo ufw enable
> sudo ufw default deny outgoing
> sudo ufw status
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1165660
>
> Title:
>   Errors when running Gufw - does not modify firewall settings
>
> Status in Gufw:
>   New
>
> Bug description:
>   I tried setting both incoming and outgoing to "deny".  I thought the
>   result would be that I would not be able to browse the internet or
>   access anything outside my computer... I was wrong... it didn't seem
>   to change anything.  Why doesn't this work the way I thought it would?
>
>   Well, this is what I did...
>     Started Gufw
>       made sure that status is "on" and incoming is "deny" and outgoing is
> "deny"
>   (I am assuming that this takes effect the moment it is changed...)
>      Then I started my browser, logged into my gmail account, clicked on
> the link to this page, and wrote this message.
>
>   YET, you said that with outgoing=deny I should not be able to browse
>   or connect to the internet. The only thing that I can think of is,
>   that the changes in Gufw do not take effect immediately... otherwise
>   why am I able to connect to the internet now?
>
>   Further to this situation... I did close gufw and then reopen it. The
>   settings were saved and both incoming and outgoing were still set to
>   "deny". I even logged off, logged back into Lubuntu and now I'm
>   writing this message (after verifying again that ufa setting were both
>   set to deny outgoing and incoming).
>
>   I now see that when I run gufw in terminal I get some errors. Here's
>   what it shows...
>
>   Traceback (most recent call last):
>     File "/usr/share/pyshared/gufw/view/guiGufw.py", line 425, in
> _do_refresh_report
>       background_job = RefreshReport(self.fw.get_status(),
> self.report_model, lines, self.previous_report, self.first_run_report,
> self.fw.get_notify_popup())
>     File "/usr/share/pyshared/gufw/view/guiGufw.py", line 1149, in __init__
>       notify_object = bus.get_object('org.freedesktop.Notifications',
> '/org/freedesktop/Notifications')
>     File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in
> get_object
>       follow_name_owner_changes=follow_name_owner_changes)
>     File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in
> __init__
>       self._named_service = conn.activate_name_owner(bus_name)
>     File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in
> activate_name_owner
>       self.start_service_by_name(bus_name)
>     File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in
> start_service_by_name
>       'su', (bus_name, flags)))
>     File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651,
> in call_blocking
>       message, timeout)
>   dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.Spawn.ChildExited: Process
> /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd exited with status 1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gui-ufw/+bug/1165660/+subscriptions
>

-- 
You received this bug notification because you are a member of Gufw
Developers, which is subscribed to Gufw.
https://bugs.launchpad.net/bugs/1165660

Title:
  Errors when running Gufw - does not modify firewall settings

Status in Gufw:
  New

Bug description:
  I tried setting both incoming and outgoing to "deny".  I thought the
  result would be that I would not be able to browse the internet or
  access anything outside my computer... I was wrong... it didn't seem
  to change anything.  Why doesn't this work the way I thought it would?

  Well, this is what I did...
    Started Gufw
      made sure that status is "on" and incoming is "deny" and outgoing is "deny"
  (I am assuming that this takes effect the moment it is changed...)
     Then I started my browser, logged into my gmail account, clicked on the link to this page, and wrote this message.

  YET, you said that with outgoing=deny I should not be able to browse
  or connect to the internet. The only thing that I can think of is,
  that the changes in Gufw do not take effect immediately... otherwise
  why am I able to connect to the internet now?

  Further to this situation... I did close gufw and then reopen it. The
  settings were saved and both incoming and outgoing were still set to
  "deny". I even logged off, logged back into Lubuntu and now I'm
  writing this message (after verifying again that ufa setting were both
  set to deny outgoing and incoming).

  I now see that when I run gufw in terminal I get some errors. Here's
  what it shows...

  Traceback (most recent call last):
    File "/usr/share/pyshared/gufw/view/guiGufw.py", line 425, in _do_refresh_report
      background_job = RefreshReport(self.fw.get_status(), self.report_model, lines, self.previous_report, self.first_run_report, self.fw.get_notify_popup())
    File "/usr/share/pyshared/gufw/view/guiGufw.py", line 1149, in __init__
      notify_object = bus.get_object('org.freedesktop.Notifications', '/org/freedesktop/Notifications')
    File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
      follow_name_owner_changes=follow_name_owner_changes)
    File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
      self._named_service = conn.activate_name_owner(bus_name)
    File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
      self.start_service_by_name(bus_name)
    File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
      'su', (bus_name, flags)))
    File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
      message, timeout)
  dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd exited with status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/gui-ufw/+bug/1165660/+subscriptions


References