unarchive 752094
reopen 752094
tags 752094 upstream
retitle pptpd: Does not persist sessions across restart
thanks

Vladimir Kudrya wrote...

> Dear Maintainer, after transition to systemd restarting pptpd daemon results 
> in it's
> children being killed, so existing connections are dropped. This is 
> inconsistent with
> previous behavior.
> 
> This can be fixed by adding "KillMode=process" option to pptpd.service unit.

Unfortunately this has an unpleaseant side effect: Since the new pptpd
instance has no knowlegde of the old one's children, it will happily
allocate connection slots (by IP address) that are already in use. So
the second client will not see any traffic.

The only way to solve this AFAICS was the old instance persists all
the childrens' information so the new one will not allocate them while
they are running. There might be some race conditions to consider as
well. James (upstream) is reading this, if you can solve this by Jan
20th I'll be happy to include it for stretch. Afterwards it might be
too late.

For the time being I have no choice but reverting that change, thus
killing all connections upon pptpd restart.

    Christoph

Attachment: signature.asc
Description: Digital signature

Reply via email to