[Desktop-packages] [Bug 1688018] Re: DNS server from vpn connection is not being used after network-manager upgrade to 1.2.6

2017-12-27 Thread Roman Vrublevskiy
As a workaround, I commented out dns=dnsmasq in 
/etc/NetworkManager/NetworkManager.conf.
Now network manager adds VPN DNS servers to /etc/resolv.conf and everything 
works as expected.

As an additional benefit, it also adds and uses additional search domains but 
only with "Use this connection only for resources on its network" unchecked, so 
all traffic is routed to the tunnel.
With working DNS I can live with it for now.

I'm on Mint 18.3 Cinnamon.

-- 
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/1688018

Title:
  DNS server from vpn connection is not being used after network-manager
  upgrade to 1.2.6

Status in network-manager package in Ubuntu:
  Triaged
Status in network-manager source package in Xenial:
  In Progress
Status in network-manager source package in Yakkety:
  Triaged

Bug description:
  This was initially opened as #1671606 then later duped to #1639776.
  Discussion in #1639776 indicate that we need new bug for this so I am
  opening one ... Please don't mark this as duplicate to #1639776 or
  other similar bug report. We already lost several months and we are
  again at beginning ...

  TL;DR; -> network-manager-1.2.2-0ubuntu0.16.04.4 use DNS defined by
  VPN (correct). network-manager-1.2.6-0ubuntu0.16.04.1 use DNS from
  DHCP instead of one defined by VPN (wrong).

  DNS resolver should query only DNS servers defined by VPN while
  connection is active.

  =

  Test steps / result:

  - upgraded network-manager to 1.2.6-0ubuntu0.16.04.1 
(dnsmasq-base-2.75-1ubuntu0.16.04.2)
  - restated my laptop to ensure clean start
  - connected to VPN using openconnect / network-manager-openconnect-gnome

  Observed results -> DNS queries are forwarded only to DNS servers
  defined by LAN connection (this is wrong / connection not working at
  all)

  - "killall dnsmasq"
  - dnsmasq get automatically restarted by system

  Observed results -> most of the the queries are forwarded to DNS
  servers defined by VPN, but lot of queries get forwarded to DNS
  servers defined by LAN connection (this is still wrong / DNS leaks,
  attacker can hijack connection even if VPN is enabled)

  - I downgraded back network-manager to 1.2.2-0ubuntu0.16.04.4 (dnsmasq-base 
stay same)
  - restated my laptop to ensure clean test
  - connected to same VPN using openconnect

  Observed results -> DNS queries are forwarded only to DNS servers
  defined by VPN connection. There are no leaks to LAN DNS server (this
  is correct behavior).

  =

  Paul Smith requested additional details in #1639776. Here are:

  * If you're using IPv4 vs. IPv6
  -> IPv4 only. I have IPv6 set to ignore on all network definition (lan / wifi 
/vpn)

  * If you have checked or unchecked the "Use this connection only for 
resources on its network"
  -> unchecked on all nw definition

  * If you have this checked, try unchecking it and see if that makes a 
difference
  -> no change if I toggle this option. Behavior is same.

  * When you say "DNS lookups" please be clear about whether the hostnames 
being looked up are public (e.g., www.google.com or whatever), on your local 
LAN, or in the network accessed via the VPN. Does it make a difference which 
one you choose?
  -> No difference.

  * Are you using fully-qualified hostnames, or relying on the DNS domain 
search path? Does it make a difference if you do it differently?
  -> I normaly use FQDN due to nature of HTTPs cert validation. I don't see 
difference when I try same using hostname + domain search.

  =

  I am using openconnect (cisco) and openvpn. Test result are by using
  openconnect but I saw same behaviour also while using openvpn.

  =

  Thanks

  Lukas

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


[Desktop-packages] [Bug 871424] Re: [Thinkpad X100e] Ctrl+Alt+UpArrow generates no keycode

2012-09-25 Thread Roman Vrublevskiy
I got it on 12.04 on Lenovo ThinkPad Edge E120.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to xserver-xorg-input-evdev in Ubuntu.
https://bugs.launchpad.net/bugs/871424

Title:
  [Thinkpad X100e] Ctrl+Alt+UpArrow generates no keycode

Status in “xserver-xorg-input-evdev” package in Ubuntu:
  Confirmed

Bug description:
  On oneiric, I can’t go to workspaces above the current one because the 
Ctrl+Alt+Up arrow key combination generates no code.
  Other equivalents like Ctrl+Alt+{Left,Right,Down} work just fine.
  Combinations like Ctrl+Up and Alt+Up also work.

  Here’s the output of xev.
  ###
  For Ctrl+Alt+Down :
  KeyPress event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1745539, (897,445), root:(964,498),
  state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
  XLookupString gives 0 bytes:
  XmbLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyPress event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1745914, (897,445), root:(964,498),
  state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
  XLookupString gives 0 bytes:
  XmbLookupString gives 0 bytes:
  XFilterEvent returns: False

  FocusOut event, serial 36, synthetic NO, window 0x3e1,
  mode NotifyGrab, detail NotifyAncestor

  FocusIn event, serial 36, synthetic NO, window 0x3e1,
  mode NotifyUngrab, detail NotifyAncestor

  KeymapNotify event, serial 36, synthetic NO, window 0x0,
  keys:  0   0   0   0   32  0   0   0   1   0   0   0   0   0   16  0
     0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

  KeyRelease event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1750632, (897,445), root:(964,498),
  state 0xc, keycode 116 (keysym 0xff54, Down), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyRelease event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1751380, (897,445), root:(964,498),
  state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyRelease event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1751810, (897,445), root:(964,498),
  state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyPress event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1752931, (897,445), root:(964,498),
  state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
  XLookupString gives 0 bytes:
  XmbLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyPress event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1753046, (897,445), root:(964,498),
  state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
  XLookupString gives 0 bytes:
  XmbLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyRelease event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1754523, (897,445), root:(964,498),
  state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyRelease event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 1754928, (897,445), root:(964,498),
  state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

  ###
  For Ctrl+Alt+Up :
  KeyPress event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 2644386, (607,278), root:(674,331),
  state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
  XLookupString gives 0 bytes:
  XmbLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyPress event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 2645012, (607,278), root:(674,331),
  state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
  XLookupString gives 0 bytes:
  XmbLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyRelease event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 2647112, (607,278), root:(674,331),
  state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

  KeyRelease event, serial 36, synthetic NO, window 0x3e1,
  root 0x14e, subw 0x0, time 2647393, (607,278), root:(674,331),
  state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
  XLookupString gives 0 bytes:
  XFilterEvent returns: False

  ###
  For Up :
  KeyPress event, serial 33, synthetic