Sponsored Content
Special Forums IP Networking Wrapper functions like SuSEFirewall2 Post 302931805 by Corona688 on Thursday 15th of January 2015 03:03:50 PM
Old 01-15-2015
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.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

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... (19 Replies)
Discussion started by: hassan2
19 Replies

2. UNIX for Dummies Questions & Answers

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 (1 Reply)
Discussion started by: chiru
1 Replies

3. UNIX for Dummies Questions & Answers

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. (1 Reply)
Discussion started by: thana
1 Replies

4. UNIX for Dummies Questions & Answers

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... (1 Reply)
Discussion started by: garric
1 Replies

5. Shell Programming and Scripting

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' ... (0 Replies)
Discussion started by: richsark
0 Replies

6. UNIX for Dummies Questions & Answers

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... (0 Replies)
Discussion started by: guitarscn
0 Replies

7. UNIX for Dummies Questions & Answers

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... (1 Reply)
Discussion started by: genehunter
1 Replies

8. Shell Programming and Scripting

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... (1 Reply)
Discussion started by: neelmani
1 Replies

9. Shell Programming and Scripting

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... (8 Replies)
Discussion started by: saku
8 Replies

10. Shell Programming and Scripting

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... (0 Replies)
Discussion started by: dragon-uid0
0 Replies
Mail::Milter::Wrapper(3pm)				User Contributed Perl Documentation				Mail::Milter::Wrapper(3pm)

NAME
Mail::Milter::Wrapper - Perl extension for wrappering milter objects SYNOPSIS
use Mail::Milter::Wrapper; my $milter = ...; my $wrapper = new Mail::Milter::Wrapper($milter, &foo); use Sendmail::Milter; ... Sendmail::Milter::register('foo', $wrapper, SMFI_CURR_ACTS); DESCRIPTION
Mail::Milter::Wrapper wraps another milter, allowing for interception of the passed arguments and/or return code of the contained milter. METHODS
new(MILTER, CODEREF[, CALLBACK ...]) Creates a Mail::Milter::Wrapper object. MILTER is the milter to wrap, which may be a plain hash reference or an instance of a hashref object such as "Mail::Milter::Object". CODEREF is the wrapper subroutine. CALLBACKs, if specified, are named callbacks which are needed by the wrapper, even if the contained milter does not use them. The wrapper subroutine will be called with the following arguments, in this order: * reference to the wrapper * name of callback * subroutine reference to call into the wrapped milter * arguments for the callback (>= 0) This subroutine should ALWAYS pass the "close" callback through to the contained milter. Failure to do so may corrupt the contained milter's state information and cause memory leaks. As an example, a simple subroutine which just passes the callback through might be written as: sub callback_wrapper { shift; # don't need $this my $cbname = shift; my $callback_sub = shift; &$callback_sub(@_); } AUTHOR
Todd Vierling, <tv@duh.org> <tv@pobox.com> SEE ALSO
Mail::Milter, Sendmail::Milter perl v5.8.8 2004-02-26 Mail::Milter::Wrapper(3pm)
All times are GMT -4. The time now is 09:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy