Adding/removing rules - works from stdin, not from file?

This is a discussion on Adding/removing rules - works from stdin, not from file? within the IPFilter forums, part of the System Security and Security Related category; I want to add or delete some rules to the active filter set on the fly from command line, without ...


Go Back   Usenet Forums > System Security and Security Related > IPFilter

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-20-2006
Jaroslaw Rafa
 
Posts: n/a
Default Adding/removing rules - works from stdin, not from file?

I want to add or delete some rules to the active filter set on the fly from
command line, without changing the /etc/opt/ipf/ipf.conf file.
When I type the rules directly from terminal, like here:

# ipf -f -
<type rules here>
ctrl-D
#

the rules are added, but when I put the rules into a file, and type:

# ipf -f filename

or type something like

# echo '<rule text>' | ipf -f -

it doesn't work - "ipfstat" shows that the filter rules are unchanged.

Is it a bug or am I missing something?
Regards,
Jaroslaw Rafa
raj@ap.krakow.pl

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:42 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0