Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1390961 - firewalld does not allow connections to VPN PPTP server
Summary: firewalld does not allow connections to VPN PPTP server
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: firewalld
Version: 24
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-02 10:01 UTC by Alexandre Silva Lopes
Modified: 2017-08-08 19:06 UTC (History)
2 users (show)

Fixed In Version: firewalld-0.4.4.1-1.fc24 firewalld-0.4.4.2-1.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 19:06:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Log file of an attempted connection (4.99 KB, text/plain)
2016-11-02 10:01 UTC, Alexandre Silva Lopes
no flags Details

Description Alexandre Silva Lopes 2016-11-02 10:01:26 UTC
Created attachment 1216453 [details]
Log file of an attempted connection

Description of problem: connecting to a VPN PPTP server is impossible with firewalld activated


Version-Release number of selected component (if applicable): 0.4.3.3-1.fc24


How reproducible: allways


Steps to Reproduce:
1. Try to connect to a VPN PPTP server
2. LCP: timeout sending Config-Requests (see log)
3. Connection is not sucessful

Actual results: no connection to the VPN PPTP server


Expected results: connection to the VPN PPTP server


Additional info: the connection is successful if firewalld service is stopped; the same configuration worked fine with Fedora 22 (not tested in Fedora 23); tried to load nf_conntrack_pptp and nf_nat_pptp kernel modules but did not solve the problem

Comment 1 Thomas Woerner 2016-11-10 17:36:31 UTC
Please have a look at firewalld version 0.4.4.1. This will be available in testing soon and should fix this issue.

Comment 2 Fedora Update System 2016-11-10 17:42:38 UTC
firewalld-0.4.4.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d2828a4793

Comment 3 Fedora Update System 2016-11-10 17:43:12 UTC
firewalld-0.4.4.1-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8d90406113

Comment 4 Fedora Update System 2016-11-10 17:43:25 UTC
firewalld-0.4.4.1-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c57b0ba2d4

Comment 5 Fedora Update System 2016-11-11 04:23:40 UTC
firewalld-0.4.4.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-d2828a4793

Comment 6 Fedora Update System 2016-11-11 05:03:17 UTC
firewalld-0.4.4.1-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c57b0ba2d4

Comment 7 Fedora Update System 2016-11-11 16:56:25 UTC
firewalld-0.4.4.1-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8d90406113

Comment 8 Fedora Update System 2016-11-12 23:55:39 UTC
firewalld-0.4.4.1-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Alexandre Silva Lopes 2016-11-13 20:16:04 UTC
I'm sorry, but I installed firewalld-0.4.4.1-1.fc24 and it did not fix the bug. I still got the message "LCP: timeout sending Config-Requests" and connection is unsuccessful. Again, if the firewall is disabled, connection is successful.

Comment 10 Jonathan S 2016-11-14 00:02:29 UTC
Like Alexandre above, I installed firewalld-0.4.4.1-1.fc24 and it has not fixed this issue.
If net.netfilter.nf_conntrack_helper = 1 (see https://bugzilla.redhat.com/show_bug.cgi?id=1373014, which I raised), then making a VPN pptp connection works fine. However, if net.netfilter.nf_conntrack_helper = 0, then the connection times out.
This behaviour is exactly the same as the previous version of the firewall (which on Fedora24 was firewalld-0.4.3.3-1.fc24).
The update notes state that:
----
Automatic helper assignment has been disabled in kernel 4.7. firewalld version 0.4.4 is now able to recognize this and to create rules if automatic helper assignment has been turned off to make conntrack helpers work again.
-----
but that does not appear to be the case. If automatic helper assignment is turned off (that is, net.netfilter.nf_conntrack_helper = 0), then the VPN pptp connection fails.

Comment 11 Thomas Woerner 2016-11-14 10:34:25 UTC
firewalld 0.4.4 is providing support for net.netfilter.nf_conntrack_helper=0 within firewalld.

But if you connect to a VPN pptp server with NetworkManager, then NM is taking care about the connection and loads the pptp conntrack helper module. firewalld is not directly involved.

It seems that it is also needed to add support for the disabled automatic helper assignment in NetworkManager.

Comment 12 Thomas Woerner 2016-11-14 17:24:05 UTC
There is also a SELinux issue:

Please have a look at http://people.redhat.com/twoerner/firewalld/0.4.4.1-1/

There you can find an additional policy module definition file for SELinux: firewalld-0.4.4.te

It only allows firewalld to search and analyse if there are usable netfilter conntrack helpers:

allow firewalld_t modules_object_t:dir { getattr open search read };

Please have a look at the file SELINUX.README to be able to enable and use the module.

Comment 13 Jonathan S 2016-11-14 19:19:35 UTC
Re Comment 11 about NetworkManger.

Thanks Thomas, I didn't realize that NM was dealing with the connection without involving firewalld.
There's already an outstanding bug (https://bugzilla.redhat.com/show_bug.cgi?id=1375006) on NM-pptp, so I'll add a comment there. Unfortunately, that bug seems to have been open for 2 months with no input from the assignee :-(

Anyway, thanks for your work on firewalld!

Comment 14 Alexandre Silva Lopes 2016-11-15 08:29:31 UTC
Thomas, thanks for your help. Seems that the change in conntrack helper default setting is the cause of a lot of bugs here!

Comment 15 Fedora Update System 2016-12-01 14:53:25 UTC
firewalld-0.4.4.2-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3dd8b5f4e1

Comment 16 Fedora Update System 2016-12-01 14:54:21 UTC
firewalld-0.4.4.2-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-b566ecf579

Comment 17 Fedora Update System 2016-12-03 04:28:53 UTC
firewalld-0.4.4.2-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-b566ecf579

Comment 18 Fedora Update System 2016-12-03 04:35:07 UTC
firewalld-0.4.4.2-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3dd8b5f4e1

Comment 19 Fedora Update System 2016-12-04 02:27:33 UTC
firewalld-0.4.4.2-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2016-12-05 17:37:54 UTC
firewalld-0.4.4.2-2.fc23 selinux-policy-3.13.1-158.25.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8a0533d057

Comment 21 Fedora Update System 2016-12-13 05:25:11 UTC
firewalld-0.4.4.2-2.fc23, selinux-policy-3.13.1-158.25.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8a0533d057

Comment 22 Fedora End Of Life 2017-07-25 23:43:44 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 23 Fedora End Of Life 2017-08-08 19:06:01 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.