Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 948197 Details for
Bug 1153315
Multiple bugs in NetworkManager-l2tp
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix the parameters passed to the ipsec daemon
nm-l2tp-parameters (text/plain), 2.09 KB, created by
Alan Stern
on 2014-10-18 22:20:43 UTC
(
hide
)
Description:
Fix the parameters passed to the ipsec daemon
Filename:
MIME Type:
Creator:
Alan Stern
Created:
2014-10-18 22:20:43 UTC
Size:
2.09 KB
patch
obsolete
>The IPsec parameters set up by nm-l2tp-service contain several >obsolete and redundant entries. More importantly, they omit the >rightprotoport option; without the port number, the remote server >won't realize that the connection is intended to carry an L2TP tunnel >and (in the case of my server, at least) won't accept the connection. > >The nat_traversal and force_keepalive options are obsolete. The esp >and ike options are unnecessary since the daemon's defaults allow a >wider choice and are updated now and then to remove encryption and >authentication algorithms that are no longer secure. This patch >removes all four, and it adds the rightprotoport and leftprotoport >(for symmetry, though it's not really necessary) options. > > src/nm-l2tp-service.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > >Index: NetworkManager-l2tp-0.9.8.7/src/nm-l2tp-service.c >=================================================================== >--- NetworkManager-l2tp-0.9.8.7.orig/src/nm-l2tp-service.c >+++ NetworkManager-l2tp-0.9.8.7/src/nm-l2tp-service.c >@@ -1153,8 +1153,6 @@ nm_l2tp_config_write (NML2tpPlugin *plug > } > write_config_option (ipsec_fd, "version 2.0\n" > "config setup\n" >-" nat_traversal=yes\n" >-" force_keepalive=yes\n" > " protostack=netkey\n" > " keep_alive=60\n" > "\n"); >@@ -1167,16 +1165,17 @@ nm_l2tp_config_write (NML2tpPlugin *plug > " authby=secret\n" > " keyingtries=0\n" > " left=%%defaultroute\n"); >+ write_config_option (ipsec_fd, " leftprotoport=17/0\n"); > value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_IPSEC_GROUP_NAME); > if(value)write_config_option (ipsec_fd, " leftid=@%s\n", value); > /* value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_GATEWAY); */ >+ > write_config_option (ipsec_fd, " right=%s\n", priv->saddr); >+ write_config_option (ipsec_fd, " rightprotoport=17/1701\n"); > value = nm_setting_vpn_get_data_item (s_vpn, NM_L2TP_KEY_IPSEC_GATEWAY_ID); > if(value)write_config_option (ipsec_fd, " rightid=@%s\n", value); > write_config_option (ipsec_fd, >-" esp=3des-sha1\n" > " keyexchange=ike\n" >-" ike=3des-sha1-modp1024\n" > " aggrmode=no\n" > " forceencaps=yes\n"); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1153315
:
947288
|
947289
|
948191
|
948193
|
948194
|
948195
|
948196
| 948197