UPnP devices do not see each other

If UPnP devices do not see each other, most likely there are two problems:

Multicasts are not forwarded

Simple Service Discovery Protocol (SSDP) uses multicast IPv4 address 239.255.255.250. The local switches must be able to forward such traffic. On a Cisco switch you run the following command to allow that:

no ip igmp snooping vlan 101

Firewall blocks UPnP traffic

Related ports: UDP-1900 and TCP-2869

Universality vs Simplicity or PSAudio and The Bridge woes

In my mind, universality and simplicity are mutually exclusive. I’m yet to find a system which is universal and simple to configure and use. Reliability and stability are assumed by default.

The simplicity of Apple devices is addictive. You add a new box, and it gets automatically recognized. Everything just works like prescribed and defined by Apple. Then it’s a question of if this Procrustean bed fits you or not and if you are flexible enough to assume the offered model.

The idea of service/device discovery appeared in the late 90s. For example, Sun’s Jini (1998) and UPnP (1999). It’s nice to have a standard to allow devices from different vendors to work together, right? Sure, but here comes the reality. The Cisco interpretation of the Spanning Tree Protocol is different from the Foundry (now Brocade) one. If you place Cisco and Foundry switches/load balancers in one LAN, you may end up with a funny STP loop.

So what do you expect from UPnP? Consumer boxes from dozens of manufacturers, software from the whole open and proprietary world – something must definitely go wrong here. It’s a bit more complex than an Apple printer and an Apple laptop.

The Bridge from PS Audio is designed as a UPnP media renderer (it’s a uClinux running rygel). It’s not more complex than similar products, it’s just not properly thought over. The original idea was to make it as simple as possible. Most likely having Apple in mind. However, it turned out that playing music became the proverbial pain in the ass. Despite the fact that PerfectWave DAC sounds better than the Transporter, I suddenly discovered that I almost stopped listening to music. And I consider myself as computer savvy and a diehard. My family keeps asking to connect the old CD-player back to the rig.

In the world of high-end audio, multiple functions and universality are not required. All we need is to bring x amount of bytes from one device to another. Some configuration is needed in any case, so I would sacrifice the incompatible and unreliable simplicity of UPnP and familiar but unstable and lossy nature of Internet streaming and use a platform independent solution (server and controller side) which is supposed to work with the Bridge only (client side) and not with any possible device.

The most elegant solution is from SlimDevices (now Logitech). Run-it-everywhere PERL driven server with a see-from-anywhere web-interface, direct connection to the player (Transporter, SqueezeBox, etc) and a bunch of plug-ins (there is also a UPnP plugin).

Linn created their own packages to make Twonky server work correctly with Linn UPnP media players and to add on-the-fly transcoding. Twonky is included in some NAS software (Linux), so the server issue is more or less solved.

At first, PS Audio relied on what was available on the market and wrote an UnNP controller application for Apple iDevices (how Apple centric!). Next step was the eLyric Music Manager – a UPnP/Database server which is still way too far from maturity. No UNIX support, no built-in UPnP controller (it’s possible feature for not the nearest future) and still extremely buggy.

The Bridge solution is about two year old, and we still have no reliable, platform independent and good sounding software.

And yes, I’m still using PWD/Bridge and sending eLyrics and Bridge bug reports. (Speaking of customer loyalty πŸ˜€ )

Default passwords

Solaris 11: root/solaris
Cyclades console servers (e.g. ACS4): root/tslinux
Avocent ACS5000 console servers: root/avocent
Avocent ACS6000 console servers: admin/avocent or root/linux
Cisco VPN3000: admin/admin
Cisco ASA: empty
Netscreen: netscreen/netscreen
Avocent/Cyclades PM IPDU: admin/pm8 root/linux

Solaris 11 EA (b173) ZFS pool versions

 

Solaris 11 EA (Sep 2011 build 173) updated zpool version to 33:

$ zpool upgrade -v
This system is currently running ZFS pool version 33.

The following versions are supported:

VER DESCRIPTION
--- --------------------------------------------------------
1 Initial ZFS version
2 Ditto blocks (replicated metadata)
3 Hot spares and double parity RAID-Z
4 zpool history
5 Compression using the gzip algorithm
6 bootfs pool property
7 Separate intent log devices
8 Delegated administration
9 refquota and refreservation properties
10 Cache devices
11 Improved scrub performance
12 Snapshot properties
13 snapused property
14 passthrough-x aclinherit
15 user/group space accounting
16 stmf property support
17 Triple-parity RAID-Z
18 Snapshot user holds
19 Log device removal
20 Compression using zle (zero-length encoding)
21 Deduplication
22 Received properties (Solaris Nevada b130 Dec 2009)
23 Slim ZIL
24 System attributes
25 Improved scrub stats
26 Improved snapshot deletion performance
27 Improved snapshot creation performance
28 Multiple vdev replacements (ZFS for Linux)
29 RAID-Z/mirror hybrid allocator
30 Encryption
31 Improved 'zfs list' performance (Solaris 11 Express b151a Nov 2010)
32 One MB blocksize
33 Improved share support (Solaris 11 EA b173 Sep 2011)

ВячСслав ΠŸΠΎΠ»ΡƒΠ½ΠΈΠ½. БоционичСский Ρ‚ΠΈΠΏ (ВИМ)

Допустим, Ρ‡Ρ‚ΠΎ ΠΌΡ‹ Π½Π΅ Π·Π½Π°Π΅ΠΌ, Π½ΠΈ ΠΊΡ‚ΠΎ Ρ‚Π°ΠΊΠΎΠΉ ВячСслав ΠŸΠΎΠ»ΡƒΠ½ΠΈΠ½, Π½ΠΈ Ρ‡Π΅ΠΌ ΠΎΡ‚ занимаСтся, ΠΈ ΠΏΠΎΠΏΡ€ΠΎΠ±ΡƒΠ΅ΠΌ ΠΎΠΏΡ€Π΅Π΄Π΅Π»ΠΈΡ‚ΡŒ Π΅Π³ΠΎ соционичСский Ρ‚ΠΈΠΏ (ВИМ) Ρ‚ΠΎΠ»ΡŒΠΊΠΎ ΠΏΠΎ ΠΈΠ½Ρ‚Π΅Ρ€Π²ΡŒΡŽ ΠΈ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ΅ “Линия ΠΆΠΈΠ·Π½ΠΈ” Π½Π° Ρ‚Π΅Π»Π΅ΠΊΠ°Π½Π°Π»Π΅ “ΠšΡƒΠ»ΡŒΡ‚ΡƒΡ€Π°” (эфир 24.06.2011).

Continue reading “ВячСслав ΠŸΠΎΠ»ΡƒΠ½ΠΈΠ½. БоционичСский Ρ‚ΠΈΠΏ (ВИМ)”

Encryption failure: Received a cleartext packet within an encrypted connection

Recently I’ve stumbled upon a strange looking site-to-site (CheckPoint R70 to Cisco VPN3k) VPN problem:

Connections from some networks were dropped with the following error:

Encryption failure: Received a cleartext packet within an encrypted connection

The first step was to check the encryption domains for the tunnel. In both GUI and /etc/fw/conf/user.def the encryption domain was the whole class B network, assigned to the company.

Next step was tracing.

Continue reading “Encryption failure: Received a cleartext packet within an encrypted connection”

WordPress 3.1 vs 3.0 vs. 3.1.1 and “archives” URL’s

Updated on Apr 07, 2011 @ 02:54:

If you made the change below for 3.1RC-3.1 and/or used manually created tag/category links in 3.1RC-3.1 and just upgraded to 3.1.1, you may find that the links are broken. The reason is that in 3.1.1 the tag and category links returned to the 3.0 style with the word “archives” in the URL.

To make it work you can change .htaccess to the following:

RewriteEngine On
RewriteBase / #or where your blog root is

#RewriteRule archives/category/(.*) category/$1 [L,R=301]
#RewriteRule archives/tag/(.*) tag/$1 [L,R=301]
RewriteRule ^category/(.*) archives/category/$1 [L,R=301]
RewriteRule ^tag/(.*) archives/tag/$1 [L,R=301]

Posted on Feb 25, 2011 @ 00:22:

In WordPress 3.1 the link structure have been changed

from (< =3.0.x):

wp/archives/category and wp/archives/tag
to (>= 3.1.x)
wp/category and wp/tag

If you have existing “hard” links to tags or categories, add the following lines (in red) to .htaccess:

RewriteEngine On
RewriteBase /
RewriteRule archives/category(.*)$ category$1 [L,R=301]
RewriteRule archives/tag(.*)$ tag$1 [L,R=301]

How to get rid of conime.exe

Conime.exe (C:\WINDOWS\system32) is “Console Input Method Editor” which is used if you have more than one input language configured. Under Windows Vista it tends to multiply itself and take lots of CPU and memory resources. Microsoft refuses to fix this bug (or probably it’s a feature?)

One method to get rid of this annoyance is to enable only one language (Control Panel – Regional and Language Options – Keyboard and Languages)

Another one is to remove/rename the binary:

takeown /f %windir%\system32\conime.exe
icacls %windir%\system32\conime.exe /grant %UserName%:F
rename %windir%\system32\conime.exe conime.bak