Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion How to "sh ipfw" from ssh?
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Richard Caley  
View profile  
 More options Sep 27 2002, 6:52 am
Newsgroups: comp.unix.bsd.freebsd.misc
From: Richard Caley <MYFIRSTN...@MYLASTNAME.org.uk>
Date: Fri, 27 Sep 2002 10:52:00 GMT
Subject: Re: How to "sh ipfw" from ssh?

In article <an1aps$cr...@newsflood.tokyo.att.ne.jp>, Bengt Thuree (bt) writes:

bt> I have my firewall set to default drop everything.
bt> When I run the sh ipfw over a ssh session, I always lose the ssh connection,
bt> and the firewall is not updated but only erased.

The problem (I think) is that ipfw is trying to tell you what it is
doing as it goes along, which means ssh tries to send text to you,
hits a partially configured firewall and dies.

What you need to do is make sure you can do the whole thing in one
command, eg by writing a little script even if you are only doing a
couple of commands.

Then you have to make sure you don't get any output until it is all
done.

        firewall$ sh -x do_firewall_stuff.sh >TRACE 2>&1

        firewall$ less TRACE

--
Mail me as MYFIRSTN...@MYLASTNAME.org.uk        _O_
                                                 |<


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.