RSSAmplifier

Blog

Arcadiy Ivanov

Fighting entropy one code line at a time

ivanov.bizRSS feed ↗10 posts

Latest posts

One-Way Audio on Asterisk Behind NAT: A Deep Dive into Conntrack Tuple Collisions

The Setup Asterisk PBX runs directly on a Linux firewall (Fedora) with two network interfaces: WAN interface: public IP, connected to the internet LAN interface: 192.168.x.1/24, serving the internal network An FXS adapter with an analog phone sits on the LAN. Outbound calls go through a SIP trunking provider. The firewall handles NAT for the Continue reading "One-Way Audio on Asterisk Behind NAT:…

How to Optimize Intel Graphics Performance on Fedora KDE Linux Laptop

For several years I ve struggled with poor Intel integrated graphics performance on my Dell Precision Mobile 7510 (Intel HD 530 primary and Quadro M2000M discrete via Bumblebee) on Fedora Linux. After starting to experience hard full system locks on video playback requiring a hard power off a few times a week, I have dug into Continue reading "How to Optimize Intel Graphics Performance on Fedora…

PSA: Default Configuration IPMI Vulnerability on Supermicro Boards

I m using Supermicro boards (X11SBA-F) for virtually all of my servers, including the firewall. These boards come with IPMI enabled. The IPMI default configuration vulnerability I m going to describe here rears its ugly head in dual-homed machines and machines plugged directly to WAN, putting them specifically in great danger. IPMI is an Intel s management interface Continue reading "PSA: Default…

PSA: X11SBA-F rev 1.01 secondary LAN port timeouts

Hopefully this post will save someone time, money and aggravation. If you re considering buying Supermicro X11SBA-F/LN4F you need to be aware that at the very least some boards (and possibly all) with a hardware revision 1.01 have serious and seemingly non-correctable issues with a secondary PCI-E bridge that feeds secondary LANs. DO NOT BUY X11SBA rev Continue reading "PSA: X11SBA-F rev 1.01…

JBOSGi 2.5.2 and 2.4.2 Released: WAB Fragments!

I am pleased to announce the releases of JBOSGi 2.5.2.Final and JBOSGi 2.4.2.Final These releases resolve long-outstanding issues with OSGi fragment deployment and WAB fragment resource accessibility with WildFly 10 and 9 respectively. Release Notes JBoss OSGi Version JBossOSGI 2.5.2 and 2.4.2 Bug [JBOSGI-666] Cannot lookup owner context using standard naming API Continue reading "JBOSGi 2.5.2 and…

JBOSGi 2.4.1 and 2.5.1 Maintenance Releases

JBOSGi 2.5.1.Final (WildFly 10) and JBOSGi 2.4.1.Final (WildFly 9) containing the fix for JBOSGI-792 Initial bundles fail to resolve if runtime name differs have been released. If anyone needs this fix for JBOSGI 2.3.1.Final (WildFly 8) please let me know. The post JBOSGi 2.4.1 and 2.5.1 Maintenance Releases appeared first on Arcadiy Ivanov .

JBOSGi 2.5.0.Final for WildFly 10 Released!

I am pleased to announce the release of JBOSGi 2.5.0.Final for WildFly 10. This release targets WildFly 10.0.0, and contains WildFly 10-related integration changes. Release Notes Version JBossOSGI 2.5.0 Enhancement [JBOSGI-788] Support WildFly 10 model [JBOSGI-791] Synchronize standalone config with 10 and exclude new batch subsystem Feature Request [JBOSGI-786] Add support Continue reading…

How to spy on Mock-wrapped method calls in Python

You have a class whose API you want to verify: class Class_A(object): def method_X(self): self.method_Y() def method_Y(self): pass You write the following test fully expecting it to pass. Alas, the method_Y assertion fails. def test_class_a(self): obj = Class_A() mock = MagicMock(spec_set=obj, wraps=obj) mock.method_X() mock.method_Y.assert_called_once_with() This is because the Python Unittest…

JBOSGi 2.4.0.Final for WildFly 9 Released!

I am pleased to announce the release of JBOSGi 2.4.0.Final for WildFly 9. This release targets WildFly 9.0.2 but should be compatible with all WildFly 9 minor releases, and contains OSGi component upgrades and WildFly 9 integration changes. JBOSGi 2.4.0 Component Upgrades This release upgrades the following Apache Felix and Apache Aries components: Apache Aries Continue reading "JBOSGi 2.4.0.Final…

JBOSGi 2.3.1.Final for WildFly 8.2.x Released

Announcing the release of JBOSGi 2.3.1.Final for WildFly 8.2.x. This release contains stability improvements, enhances operating system compatibility and increases integration with WildFly module system. Release Notes Version JBossOSGI 2.3.1 Bug [JBOSGI-765] HostBundleClassLoader silently deletes JAXB annotations from Class if package not imported [JBOSGI-766] ConcurrentModificationException in…