01-15-2015
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.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT SUSE
iptables-apply
iptables-apply(8) System Manager's Manual iptables-apply(8)
NAME
iptables-apply - a safer way to update iptables remotely
SYNOPSIS
iptables-apply [-hV] [-t timeout] ruleset-file
DESCRIPTION
iptables-apply will try to apply a new ruleset (as output by iptables-save/read by iptables-restore) to iptables, then prompt the user
whether the changes are okay. If the new ruleset cut the existing connection, the user will not be able to answer affirmatively. In this
case, the script rolls back to the previous ruleset after the timeout expired. The timeout can be set with -t.
When called as ip6tables-apply, the script will use ip6tables-save/-restore instead.
OPTIONS
-t seconds, --timeout seconds
Sets the timeout after which the script will roll back to the previous ruleset.
-h, --help
Display usage information.
-V, --version
Display version information.
SEE ALSO
iptables-restore(8), iptables-save(8), iptables(8).
LEGALESE
iptables-apply is copyright by Martin F. Krafft.
This manual page was written by Martin F. Krafft <madduck@madduck.net>
Permission is granted to copy, distribute and/or modify this document under the terms of the Artistic License 2.0.
2006-06-04 iptables-apply(8)