Henry Su henrysu at nttmcl.com
Tue Oct 19 14:21:52 PDT 2004


You can write a C/Perl program to do that. The program can run system
command "ipfw add 1200 allow ip from a to b" etc based on your trigger.

-----Original Message-----
From: owner-freebsd-ipfw at freebsd.org
[mailto:owner-freebsd-ipfw at freebsd.org]On Behalf Of Candy
Sent: Saturday, May 15, 2004 5:04 PM
To: freebsd-ipfw at freebsd.org
Subject:



Hi all,

I am currently doing a project whereby I am required to tweak the ipfw
parameters such as ip addresses, port number etc. I would like to check
whether there are any APIs available for the ipfw to do this job? Or do you
have any suggestions to how to tweak the values without the adminstrator to
do it manually? I want the whole tweaking process to be automated. For
example, when functionA passes the source and destination ip addresses to
functionB (the action is "block" by default unless otherwise stated),
functionB should be able to amend the ipfw parameters by some automated
means. Hence I am looking for solutions to those automated means. Please
help me with this.

Thanks in advance.



Regards,

Candy





---------------------------------
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
_______________________________________________
freebsd-ipfw at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe at freebsd.org"




More information about the freebsd-ipfw mailing list