## Wrapper functions like SuSEFirewall2

Wrapper functions like SuSEFirewall2
# 1
Wrapper functions like SuSEFirewall2

Hey everyone, I have a question. I'm administering a linux machine that runs openSuSE. A few of the functions that I'd normally do manually, have programs that take over the task. For example, I wanted to add a few rules to my iptables. I then found out that there is an openSuse tool (SuSEfirewall2). Another exists for DNS configuration. Is using these tools mandatory?

I tried making the iptables changes the normal way by editing the file, but it didn't seem to work. Once I did the same changes with SuSEFirewall2, it seemed to work. I'm not sure if me using the suse firewall is what helped though.

So my question is, in linux in general, when there is a 'wrapper' tool like these, that edit the files for us, are we obligated to use them or can we by pass the function and do it manually?

Did the act of me using the openSusefirewall2 tool cause it to add something that I couldn't have by manually editing the iptables file?
 Lost in Cyberia View Public Profile for Lost in Cyberia Find all posts by Lost in Cyberia
# 2
Without knowing what you did, it's very difficult to know why it didn't work. I do know that I don't know many iptables configuration tools but I do know a lot of iptables configuration generators -- they tend to replace the firewall configuration wholesale, not edit it.

This is by no means the rule.
This User Gave Thanks to Corona688 For This Post:
 Corona688 View Public Profile for Corona688 Visit Corona688's homepage! Find all posts by Corona688
# 3
Thanks for the reply, yea that's what I meant to call it, it's a generator. So yea perhaps when I used the SuSeFirewall2 it overrode the manually edited iptables file completely and replaced it with my apparently more correct version.
 Lost in Cyberia View Public Profile for Lost in Cyberia Find all posts by Lost in Cyberia
# 4
Must have, yes. It's usually a one-way translation, the way souce code to exe is a one way translation. Trying to go backwards involves a lot of detective work into what the intent of the rule was.

It's certainly possible to edit the resulting rules by hand, but then, you can't really use the generator any more -- it would override your changes.
 Corona688 View Public Profile for Corona688 Visit Corona688's homepage! Find all posts by Corona688

Test Your Knowledge in Computers #931
Difficulty: Medium
64-bit computer system storage allocation for timekeeping will allow them to represent dates more than 300 billion years into the future.
True or False?

## Sm - mplayer wrapper with resume and more

This is a wrapper I use to play media files. If I quit I can restart, a big plus. #!/bin/bash # Title......: sm # Description: show media # Author.....: Mitchell Johnston - uid 0 # Contact....: mxj_97@yahoo.com #---------------------------------- # variables...

## How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then...

## problem with the my wrapper script

Hi friends, i am working in ksh88. i am running the follwing wapper script in background to run two jobs parallely((eg nohup wrapper.ksh &):: wrapper.ksh ######################## #!/bin/ksh nohup ./pii_insert.ksh /nsing83/p2/test & nohup ./pii_update.ksh...

## What is a wrapper?

Hi, I am a dummy and hear to the computation guys telling me, "Oh! that is easy, you just write a wrapper to do all that bunch of stuff!" :cool: Could someone tell me what is a wrapper? :rolleyes: The only one I know is Cling-Wrap for sandwiches. A small elegant example would be very...

## SSH/SSL wrapper

My IRC client does not support SSL, so I was wondering if there was any other way to encrypt the information between SSL clients on an IRC network, maybe by using SSH to enter the IRC program or something (it's a command-line program) and passing all the plain-text through SSH first. I tried...

## Help with a wrapper script not working

Hello, I have the below wrapper script: #!/usr/bin/perl -w if ($^O eq 'MSWin32' ) {$subnet = 'c:\path\to\subnet.txt'; } else { \$subnet = '/opt/qip/wrapper-del-sub'; } open FH1, 'jj-deleted-subnets.txt' or die "Can't open 'jj-deleted-subnets.txt' ...

## Writing a wrapper

Hi everyone, I have this custom sudo package over which I want to write a wrapper using PERL. The wrapper will do some pre-work and then call the regular sudo package from within itself. But I am facing a peculiar problem here. Once invoked, I am able to do the pre-work from within the...

## What is a wrapper script

I tried searching the forum ,,but couldn't locate ..Can anyone give me a link or some information about wrapper script.

## What is wrapper script and how to write

hi guys, I have a requirement to run a script 4 times with different parameter values. the 4 jobs have to run parallely which actually access different data of same table and deletes. how can i achieve this.................? Thanks in advance

## Tcp wrapper

I installed tcp wrappers version 7.6 and modify my inetd.conf file from ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd to ftp stream tcp6 nowait root /usr/local/bin/tcpd /usr/sbin/in.ftpd -l created /etc/hosts.allow file and modify it...