~ubuntu-branches/ubuntu/precise/shorewall6/precise

« back to all changes in this revision

Viewing changes to lib.cli

  • Committer: Bazaar Package Importer
  • Author(s): Roberto C. Sanchez
  • Date: 2011-06-07 20:42:53 UTC
  • mfrom: (1.3.21 upstream)
  • Revision ID: james.westby@ubuntu.com-20110607204253-shuyx4o2yvc7v9my
Tags: 4.4.20.1-1
* New Upstream Version
* New debconf translation, Brazilian Portugese, thanks to Eder L. Marques
  (Closes: #629115)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1345
1345
    MARK_ANYWHERE=
1346
1346
    HEADER_MATCH=
1347
1347
    ACCOUNT_TARGET=
 
1348
    AUDIT_TARGET=
1348
1349
 
1349
1350
    chain=fooX$$
1350
1351
 
1489
1490
    qt $IP6TABLES -A $chain -j MARK --set-mark 5 && MARK_ANYWHERE=Yes
1490
1491
    qt $IP6TABLES -A $chain -m ipv6header --header 255 && HEADER_MATCH=Yes
1491
1492
    qt $IP6TABLES -A $chain -j ACCOUNT --addr 1::/122 --tname $chain && ACCOUNT_TARGET=Yes
 
1493
    qt $IP6TABLES -A $chain -j AUDIT --type drop && AUDIT_TARGET=Yes
 
1494
    
1492
1495
 
1493
1496
    qt $IP6TABLES -F $chain
1494
1497
    qt $IP6TABLES -X $chain
1567
1570
        report_capability "fwmark route mask" $FWMARK_RT_MASK
1568
1571
        report_capability "Mark in any table" $MARK_ANYWHERE
1569
1572
        report_capability "Header Match" $HEADER_MATCH
1570
 
        report_capability "ACCOUNT Match" $ACCOUNT_TARGET
 
1573
        report_capability "ACCOUNT Target" $ACCOUNT_TARGET
 
1574
        report_capability "AUDIT Target" $AUDIT_TARGET
1571
1575
    fi
1572
1576
 
1573
1577
    [ -n "$PKTTYPE" ] || USEPKTTYPE=
1632
1636
    report_capability1 MARK_ANYWHERE
1633
1637
    report_capability1 HEADER_MATCH
1634
1638
    report_capability1 ACCOUNT_TARGET
 
1639
    report_capability1 AUDIT_TARGET
1635
1640
    
1636
1641
    echo CAPVERSION=$SHOREWALL_CAPVERSION
1637
1642
    echo KERNELVERSION=$KERNELVERSION