Changeset 11225

Show
Ignore:
Timestamp:
08/17/08 20:45:47 (5 months ago)
Author:
/C=ES/O=Warp Networks S.L./CN=juruen@…
Message:

add support for ESP protocol in services and firewall

Location:
trunk/client
Files:
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/client/firewall/ChangeLog

    r11196 r11225  
    55        + Bugfix. Use #DEBHELPER# properly to be able to flush the firewall rules 
    66          when the package is uninstalled 
     7        + Add support for ESP protocol 
    780.11.102 
    89        + Set editable attribute to 1 in Decision field. To comply with 
  • trunk/client/firewall/src/EBox/Firewall/IptablesRule.pm

    r10728 r11225  
    139139            } 
    140140 
    141         } elsif ($protocol eq any ('gre', 'icmp')) { 
     141        } elsif ($protocol eq any ('gre', 'icmp', 'esp')) { 
    142142            $iptables = " -p $invProto $protocol"; 
    143143            push (@{$self->{'service'}}, $iptables); 
  • trunk/client/services/ChangeLog

    r11196 r11225  
    33        + Add help to fields in service model 
    44        + Increase some field length 
     5        + Add support for ESP protocol 
    560.11.102 
    67        + Remove optional attribute from PortRange as it didn't make sense 
  • trunk/client/services/src/EBox/Model/ServiceConfigurationTable.pm

    r10800 r11225  
    4444use EBox::Sudo; 
    4545 
     46use Perl6::Junction qw( any ); 
    4647 
    4748use strict; 
     
    7980                 'value' => 'udp', 
    8081                 'printableValue' => 'UDP' 
     82                 }, 
     83                 { 
     84                 'value' => 'esp', 
     85                 'printableValue' => 'ESP' 
    8186                 }, 
    8287                 { 
     
    152157        return unless (exists $parms->{'protocol'}); 
    153158        my $type = $parms->{'protocol'}->value(); 
    154         if ($type eq 'gre' or $type eq 'icmp' or $type eq 'any') { 
     159        if ($type eq any ('gre', 'icmp', 'esp') ) { 
    155160            my $source = $parms->{'source'}; 
    156161            my $destination = $parms->{'destination'};