* Wed Aug 27 2025 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-35.sme
- improve pppoe plugin patch [SME: 13074] - handle both EC and RSA key/cert with esmith::ssl [SME: 11772]
This commit is contained in:
		| @@ -1 +1,8 @@ | ||||
| mru 1492 | ||||
| { | ||||
|   $OUT = ""; | ||||
|   my $inkernel = "yes"; #$pppoe{InKernel} || "yes"; # we force inkernel for performance | ||||
|   if ($inkernel eq "yes") | ||||
|   {  | ||||
|     $OUT = "mru 1492"; | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -1 +1,8 @@ | ||||
| mtu 1492 | ||||
| { | ||||
|   $OUT = ""; | ||||
|   my $inkernel = "yes"; #$pppoe{InKernel} || "yes"; # we force inkernel for performance | ||||
|   if ($inkernel eq "yes") | ||||
|   { | ||||
|     $OUT = "mtu 1492"; | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -1,6 +1,11 @@ | ||||
| { | ||||
| # Find Roaring Penguin pppoe plugin | ||||
| my ($plugin) = glob "/usr/lib*/pppd/*/rp-pppoe.so"; | ||||
| $plugin ||= "pppoe_plugin_could_not_be_found"; | ||||
| $OUT .= "plugin $plugin\n"; | ||||
| } | ||||
|   $OUT = ""; | ||||
|   my $inkernel = "yes"; #$pppoe{InKernel} || "yes"; # we force inkernel for performance | ||||
|   if ($inkernel eq "yes") | ||||
|   { | ||||
|     # Find Roaring Penguin pppoe plugin | ||||
|     my ($plugin) = glob "/usr/lib*/pppd/*/rp-pppoe.so"; | ||||
|     $plugin ||= "pppoe_plugin_could_not_be_found"; | ||||
|     $OUT .= "plugin $plugin\n"; | ||||
|   } | ||||
| } | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| { | ||||
|     my $inkernel = $pppoe{InKernel} || "no"; | ||||
|     my $inkernel = "yes"; #$pppoe{InKernel} || "yes"; # we force inkernel for performance | ||||
|     my $timeout = $pppoe{Timeout} || 120; # PPPOE_TIMEOUT should be about 4*LCP_INTERVAL | ||||
|     my $device = $pppoe{PhysicalInterface} || "eth1"; | ||||
|     my $syncPPP = $pppoe{SynchronousPPP} || "no"; | ||||
| @@ -13,12 +13,7 @@ | ||||
|     } | ||||
|     if ($inkernel eq "yes") | ||||
|     { | ||||
| 	# Find Roaring Penguin pppoe plugin | ||||
| 	my ($plugin) = glob "/usr/lib*/pppd/*/rp-pppoe.so"; | ||||
| 	$plugin ||= "pppoe_plugin_could_not_be_found"; | ||||
|  | ||||
| 	$OUT .= "plugin $plugin\n"; | ||||
| 	$OUT .= "$device"; | ||||
| 	#$OUT .= "$device"; | ||||
|     } | ||||
|     else | ||||
|     { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user