[Bug 1746245] [NEW] .ovpn file "cipher" does not work if it is lowercase

2018-01-30 Thread Gleb Mazovetskiy
Public bug reported:

Network Manager Import VPN configuration does not work correctly if a
file contains a lowercase cipher.

Worst is, the import appears to work (no errors). The connection fails
with "Invalid HMAC signature" and no other errors.

I only figured out what the problem was by going to the advanced
settings and opening the cipher dropdown.

Perhaps the easiest fix to this would be to convert the "cipher" value
to upper case when importing.

Using the `openvpn` command directly does work with lowercase "cipher"
value, it's only when importing it via the Network Manager where there
is a problem.

Example .ovpn file contents (the lowercase cipher value here is
"aes-128-cbc"):

client
dev tun
proto udp
remote austria.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-user-pass
comp-lzo
verb 1
reneg-sec 0
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ

** Affects: network-manager (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: vpn

** Description changed:

  Network Manager Import VPN configuration does not work correctly if a
  file contains a lowercase cipher.
  
  Worst is, the import appears to work (no errors). The connection fails
  with "Invalid HMAC signature" and no other errors.
  
  I only figured out what the problem was by going to the advanced
  settings and opening the cipher dropdown.
  
  Perhaps the easiest fix to this would be to convert the "cipher" value
  to upper case when importing.
  
- Example .ovpn file contents:
+ Using the `openvpn` command directly does work with lowercase "cipher"
+ value, it's only when importing it via the Network Manager where there
+ is a problem.
+ 
+ Example .ovpn file contents (the lowercase cipher value here is
+ "aes-128-cbc"):
  
  client
  dev tun
  proto udp
  remote austria.privateinternetaccess.com 1198
  resolv-retry infinite
  nobind
  persist-key
  persist-tun
  cipher aes-128-cbc
  auth sha1
  tls-client
  remote-cert-tls server
  auth-user-pass
  comp-lzo
  verb 1
  reneg-sec 0
  crl-verify crl.rsa.2048.pem
  ca ca.rsa.2048.crt
  disable-occ

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

Title:
  .ovpn file "cipher" does not work if it is lowercase

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1746245] Re: .ovpn file "cipher" does not work if it is lowercase

2018-01-30 Thread Gleb Mazovetskiy
** Attachment added: "openvpn-dropdown.png"
   
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1746245/+attachment/5045554/+files/openvpn-dropdown.png

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

Title:
  .ovpn file "cipher" does not work if it is lowercase

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 124440] Re: gnome needs a way to manipulate scroll speed

2011-09-06 Thread Gleb Mazovetskiy
This bug definitely accounts for over 30% of my productivity loss after moving 
to Ubuntu
Scrolling through reports, web pages, and conversation threads is way too 
difficult

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

Title:
  gnome needs a way to manipulate scroll speed

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtk/+bug/124440/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 721449] Re: slow wifi (atheros [ath9k] driver issue)

2011-07-11 Thread Gleb Mazovetskiy
I am having the same problem (With Atheros AR9285)

Info:


gleb ~ $ iwconfig wlan0
wlan0 IEEE 802.11bgn  ESSID:WLAN_6C26  
  Mode:Managed  Frequency:2.422 GHz  Access Point: 64:68:0C:75:6C:29   
  Bit Rate=54 Mb/s   Tx-Power=12 dBm   
  Retry  long limit:7   RTS thr:off   Fragment thr:off
  Power Management:off
  Link Quality=54/70  Signal level=-56 dBm  
  Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
  Tx excessive retries:1820  Invalid misc:1946   Missed beacon:0

lspci -v

02:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network 
Adapter (PCI-Express) (rev 01)
Subsystem: Foxconn International, Inc. Device e030
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at e8e0 (64-bit, non-prefetchable) [size=64K]
Capabilities: access denied
Kernel driver in use: ath9k
Kernel modules: ath9k

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

Title:
  slow wifi (atheros [ath9k] driver issue)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/721449/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 755882] Re: Screen won't redraw, is black, after waking up from inactivity

2011-06-22 Thread Gleb Mazovetskiy
Same happens on Ubuntu classic mode (compiz on), so it probably is not
the unity component

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

Title:
  Screen won't redraw, is black, after waking up from inactivity

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/755882/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 508522] Re: Mic is not available with A2DP Bluetooth profile

2011-05-24 Thread Gleb Mazovetskiy
Yes, it does (even with a smartphone like iPhone)

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

Title:
  Mic is not available with A2DP Bluetooth profile

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 672850] Re: Can't use Bluetooth HSP/ HFP input when using A2DP output

2011-05-23 Thread Gleb Mazovetskiy
*** This bug is a duplicate of bug 508522 ***
https://bugs.launchpad.net/bugs/508522

** This bug has been marked a duplicate of bug 508522
   mic doesn't available in A2DP profile

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

Title:
  Can't use Bluetooth HSP/ HFP input when using A2DP output

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 508522] Re: mic doesn't available in A2DP profile

2011-05-23 Thread Gleb Mazovetskiy
This is a very serious issue for all of us who work outside the office
BT headset is a necessity
Not having it in Ubuntu means having to use windows for me :(

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

Title:
  mic doesn't available in A2DP profile

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 508522] Re: mic doesn't available in A2DP profile

2011-05-23 Thread Gleb Mazovetskiy
** Description changed:

  Binary package hint: pulseaudio
  
- Using bluetooth headphones with A2DP profile, I can hear sound in good 
quality, but in this case input (mic) doesn't available.
- If I switch to HSP/HFP profile, sound makes very ugly (like via broken 
telephone), but mic input appear and works fine.
+ I'm testing a Nokia BH-905i headset (see 
http://www.wissel.net/blog/d6plinks/SHWL-8AZGGF ) on Ubuntu 10.10. The 
Bluetooth module correctly identifies the headset and the both audio profiles 
HSP/ HFP Telephony duplex and A2DP High Fidelity Playback. For music 
playback only A2DP is suitable (HSP/HFP sounds like listening to music played 
through an old telephone). A2DP does not have an INPUT mode, so use of the 
headset for VoiP isn't possible.
+ What would be needed is a separate selection to allow to select A2DP for 
output and HSP/HFP for input. Smartphones (a lot of them *nix based) phones do 
that (or they switch on the fly?).
  
- I not sure, but I think input mic should works good in both profiles.
+ Formal structure:
+ 1) Ubuntu 10.10
+ 2) Pulse-Audio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu21.1
+ consisting og pluseaudio, pulseaudio-esound-compat, 
pulseaudio-module-bluetooth, pulseaudio-module-gconf, pulseaudio-module-x11, 
pulseaudio-utils
+ 3) Select high quality audio output and still use the Bluetooth microphone
+ 4) Had to choose: either high quality audio or telephone quality with 
microphone
+ 
+ I can change the profile without the Bluetooth connection dropping, but
+ that's ridiculous. E.g. listening to music, a call comes in. Then I
+ would need to switch the profile before answering. Please not that in
+ Windows, Mac OS, iOS, Android, and Windows Mobile it's done
+ automatically.
  
  Check out attached screencast.
  
  ProblemType: Bug
  AplayDevices:
-   List of PLAYBACK Hardware Devices 
-  card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
-Subdevices: 1/1
-Subdevice #0: subdevice #0
+   List of PLAYBACK Hardware Devices 
+  card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
+    Subdevices: 1/1
+    Subdevice #0: subdevice #0
  Architecture: i386
  ArecordDevices:
-   List of CAPTURE Hardware Devices 
-  card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
-Subdevices: 2/2
-Subdevice #0: subdevice #0
-Subdevice #1: subdevice #1
+   List of CAPTURE Hardware Devices 
+  card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
+    Subdevices: 2/2
+    Subdevice #0: subdevice #0
+    Subdevice #1: subdevice #1
  AudioDevicesInUse:
-  USERPID ACCESS COMMAND
-  /dev/snd/controlC0:  oivasyuv   2309 F pulseaudio
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC0:  oivasyuv   2309 F pulseaudio
  Card0.Amixer.info:
-  Card hw:0 'Intel'/'HDA Intel at 0xd850 irq 17'
-Mixer name : 'Analog Devices AD1984A'
-Components : 'HDA:11d4194a,103c30e8,00100400'
-Controls  : 22
-Simple ctrls  : 14
+  Card hw:0 'Intel'/'HDA Intel at 0xd850 irq 17'
+    Mixer name : 'Analog Devices AD1984A'
+    Components : 'HDA:11d4194a,103c30e8,00100400'
+    Controls  : 22
+    Simple ctrls  : 14
  Date: Sat Jan 16 22:31:41 2010
  DistroRelease: Ubuntu 9.10
  InstallationMedia: Ubuntu 9.10 Karmic Koala - Release i386 (20091028.5)
  Package: pulseaudio 1:0.9.19-0ubuntu4
  ProcEnviron:
-  LANG=en_US.UTF-8
-  SHELL=/bin/bash
+  LANG=en_US.UTF-8
+  SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 2.6.31-17.54-generic-pae
  SourcePackage: pulseaudio
  Uname: Linux 2.6.31-17-generic-pae i686

** Description changed:

  Binary package hint: pulseaudio
  
  I'm testing a Nokia BH-905i headset (see 
http://www.wissel.net/blog/d6plinks/SHWL-8AZGGF ) on Ubuntu 10.10. The 
Bluetooth module correctly identifies the headset and the both audio profiles 
HSP/ HFP Telephony duplex and A2DP High Fidelity Playback. For music 
playback only A2DP is suitable (HSP/HFP sounds like listening to music played 
through an old telephone). A2DP does not have an INPUT mode, so use of the 
headset for VoiP isn't possible.
  What would be needed is a separate selection to allow to select A2DP for 
output and HSP/HFP for input. Smartphones (a lot of them *nix based) phones do 
that (or they switch on the fly?).
  
  Formal structure:
  1) Ubuntu 10.10
  2) Pulse-Audio 1:0.9.22~0.9.21+stable-queue-32-g8478-0ubuntu21.1
  consisting og pluseaudio, pulseaudio-esound-compat, 
pulseaudio-module-bluetooth, pulseaudio-module-gconf, pulseaudio-module-x11, 
pulseaudio-utils
  3) Select high quality audio output and still use the Bluetooth microphone
  4) Had to choose: either high quality audio or telephone quality with 
microphone
  
  I can change the profile without the Bluetooth connection dropping, but
  that's ridiculous. E.g. listening to music, a call comes in. Then I
- would need to switch the profile before answering. Please not that in
+ would need to switch the profile