Date: Tue, 19 Oct 2004 14:21:49 -0700 From: "Henry Su" <henrysu@nttmcl.com> To: "Candy" <wahwah_toh@yahoo.com>, <freebsd-ipfw@freebsd.org> Subject: RE: Message-ID: <EEECKDGGIOMGJDPILFBBKEGKDOAA.henrysu@nttmcl.com> In-Reply-To: <20040516000406.23044.qmail@web50804.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org [mailto:owner-freebsd-ipfw@freebsd.org]On Behalf Of Candy Sent: Saturday, May 15, 2004 5:04 PM To: freebsd-ipfw@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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw To unsubscribe, send any mail to "freebsd-ipfw-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EEECKDGGIOMGJDPILFBBKEGKDOAA.henrysu>