** Description changed: - Originally reported by Github user - joe1981alAPR (https://github.com/rfinnie/2ping/issues/5). + [Impact] - Fixed in commit 4a636763850bcea590fba6066751d13a36c2b28d + * When 2ping is being run as a non-encrypted session between two + affected 4.1 releases, within a few minutes the client and/or server + will crash with "TypeError: 'NoneType' object is not subscriptable" in + scheduled_cleanup_sock_class. + + * Clients cannot sustain a 2ping session for more than a few minutes. + + * When configured as a daemon without respawn, this results in a denial + of service. (Not default in bionic.) + + * SRU fix adds a type check for the encrypted_sessions peer table, + which is not initialized if no encrypted packets have been received. + + * Fixed in commit 4a636763850bcea590fba6066751d13a36c2b28d (https://github.com/rfinnie/2ping/commit/4a636763850bcea590fba6066751d13a36c2b28d) and included in upstream version 4.1.2. - SRU for bionic to be filed once it reaches cosmic. + [Test Case] + + * In one windows, run `2ping --listen` + + * In another, run `2ping 127.0.0.1` + + * Wait up to 5 minutes for TypeError. + + [Regression Potential] + + * SRU might not fix issue. + + * SRU fix might break scheduled cleanup of sessions when encryption + *is* activated, leading to resource exhaustion. + + * SRU fix might break scheduled cleanup of other data unrelated to + encryption. + + * Patch author has tested these scenarios and cannot reproduce any of + them. + + [Other Info] + + * Originally reported by Github user joe1981alAPR (https://github.com/rfinnie/2ping/issues/5).
** Patch added: "Fix cleanup crash on non-encrypted sessions" https://bugs.launchpad.net/ubuntu/+source/2ping/+bug/1786397/+attachment/5173866/+files/lp1786397.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1786397 Title: 2ping crashes on non-encrypted session To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/2ping/+bug/1786397/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs