ipfwadm -c syntax?

ipfwadm -c syntax?

Post by Dan Crows » Tue, 11 Mar 1997 04:00:00



        After having read the man for ipfwadm,  I still can't
figure out the syntax for the -c check-rules option.  I'm trying
the following (with no luck):

ipfwadm -F -c -P tcp -V 198.99.176.254 -W eth1 -S 198.99.176.229 23
  -D X.X.X.X 23

This returns a

ipfwadm: setsockopt failed: Invalid argument error

Thanks for the help,

Dan

--
---------------------------------------------------------------------------


      715 Goddard Ave                 |    http://crowson.com
      Chesterfield MO 63005           |    http://www.cmsc.com
---------------------------------------------------------------------------

 
 
 

1. ipfwadm -W syntax

I can't seem to get the syntax right for the -W arguement of ipfwadm.

RH 5.0, stock.

I use a dynamic ip, and it seems from the docs that I should be able to
do

ipfwadm -I -a deny -P tcp -W <my ppp device> <service to deny>

But I get an "Unknown command line arguement" error.  I've tried
/dev/ppp0 and ppp0 and various combinations of placement on the command
line.

I know I can do the same thing with hosts.[allow,deny] and tcpwrappers.
This just seemed elegant.  And now I'm curious.  Next step will be the
source code.

--

Jim Wildman

2. Truss on AIX

3. ipfwadm proxy syntax?

4. Adaptec AHA2940UW

5. ANNOUNCE: ipfwadm-dotfile-0.25b: the ipfwadm Dotfile Generator module

6. Hi, I have installed Slack 3.3 ( Pentium 133 ,chipset Triton VX ,EIDE ); after the login the hard disk's led remain on ( the led is led on

7. linux 1.2.8 Source Trees

8. ipfwadm-dotfile-0.10b: the ipfwadm Dotfile Generator module

9. Problems using ipfwadm: Linux 1.2.13 with ipfwadm 1.2

10. ANNOUNCE: ipfwadm-dotfile-0.24b: the ipfwadm Dotfile Generator module

11. inline assembler error - porting Intel syntax to AT&T syntax

12. intel Syntax -> AT&T Syntax