Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Tell me about the Knoppix firewall

  1. #1
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    Tell me about the Knoppix firewall

    .
    With each Knoppix new version I ask the same question
    about Menu>Preferences>Knoppix firewall.

    Since this GUI doesn't save any information, is there a default that
    is satisfactory or might there be a problem?

    I've never received AND understood any answer I've gotten.
    Can someone take another try at enlightening me?

  2. #2
    Senior Member registered user
    Join Date
    Dec 2009
    Posts
    423
    I believe you are hitting a bug. Basically the script works for a previous previous old version of Knoppix but it has not been updated since. You can look at /etc/init.d/firewall if you are interested to find out how it works and perhaps you can also try to fix the saving error.

  3. #3
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    Edit '/usr/sbin/firewall' at position 'saveconfig()'
    and change 'mount | grep -q "KNOPPIX.IMG"' to 'mount | grep -q "KNOPPIX-DATA"'

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.7.1 remaster)

  4. #4
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631

    Wow! Thanks, what fast service

    @ kl522 & Werner

    I'll try this.
    The last time I asked, Forester told me to fix it myself.
    Now I may be able to do so.
    Thanks again.

  5. #5
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    So, I changed /usr/sbin/firewall line 288 from 'KNOPPIX-DATA.img' to 'KNOPPIX-DATA'.
    The GUI now accepts my choices.

    Now in /etc/init.d/firewall line 272, I note the default has always been 'easy'.
    and in line 136 I see 'easy' means 'only-outgoing'. That's a relief.

    And, I'm adding /usr/sbin/firewall to my backup list, just in case I ever change
    from 'easy' to 'something else'.
    Last edited by utu; 10-03-2011 at 03:46 PM.

  6. #6
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    '/etc/init.d/firewall' is only a symlink to '/usr/sbin/firewall'.
    The settings are written to '/etc/sysconfig/firewall'.

  7. #7
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ Werner

    That's serendipitous. I've already got that covered with etc.
    I didn't think to check that /usr/sbin/firewall might have been a symlink. Thanks again.

    I see on debian-knoppix mail list that KK has gotten the word on this.

    When will a change actually show up in isos for download?
    Will that not be until a version change?
    Or are there ongoing changes with later-dated 6.7.1 isos?

  8. #8
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124

  9. #9
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    @ Werner & kl522

    I note that for both the LiveCD and the LiveUSB
    there is no /etc/sysconfig/firewall file if the Knoppix Firewall GUI
    has not successfully registered any choices.

    After 'correcting' /usr/sbin/firewall I note that there is now
    an /etc/sysconfig/firewall file with my choices registered thus:
    ACTIVE='yes'
    CURRENTMODE='easy'
    Which is completely satisfactory.

    It is no longer obvious to me what the PRIOR state of the firewall was
    before our intervention. The default for CURRENTMODE seems ok, but
    I don't know how to determine whether the firewall was ever indeed
    ACTIVE in the prior situation.

    As an amendment to my post #7, I think it necessary to keep usr/bin/firewall in
    my backup repertoire until such time as I am using one of KK's isos
    that incorportate the correction.

  10. #10
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    No, it's sufficient to save '/etc/sysconfig/firewall' in your private update.tar.gz
    And why not download the new firewall package and install with "dpkg -i"?

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2 picture

Micron 8GB DDR4 1Rx16 PC4-3200AA Laptop RAM Memory MTA4ATF1G64HZ-3G2E2

$10.00



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$13.50



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$16.50



Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory picture

Team T-FORCE VULCAN Z 32GB (2 x 16GB) PC RAM DDR4 3200 (PC4 25600) Memory

$54.99



HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin picture

HyperX FURY DDR4 4GB 8GB 16GB 32GB 3200 2400 2666 Desktop RAM Memory DIMM 288pin

$8.99



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



[ Lot Of 50 ] MiXED BRANDS 4GB PC3 DDR3 PC3 12800 Laptop Memory picture

[ Lot Of 50 ] MiXED BRANDS 4GB PC3 DDR3 PC3 12800 Laptop Memory

$79.99



USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT picture

USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT

$249.37