Re: Listening outside ipfw / program interface to ipfw

看板FB_security作者時間21年前 (2005/01/14 17:08), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串3/7 (看更多)
Hi Jeremie Le Hen wrote: >>2) Is there an api to ipfw that will let me manipulate rules, query >>stats etc? I need something faster than running the command line binary? > > > Yes, you should look at the ``SEE ALSO'' section in ipfw(8) manual page. > ipfirewall(4) is what you are looking for, but looking at ipfw(8) > source code might help too. On what version of FreeBSD are you looking the ipfirewall(4) man page? Recently I needed the C api to ipfw, but it turns out that ipfirewall(4) man page no longer describes it. This is on 5.3-STABLE and 4.10-STABLE. I also searched in google and I think I had found a post saying that currently the only way to manipulate/use firewall rules is via ifpw(8) command. If someone can provide me a reference to the C api of ipfw I will be thankfull. Rumen Telbizov _______________________________________________ freebsd-security@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-security To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
文章代碼(AID): #11vum300 (FB_security)
討論串 (同標題文章)
文章代碼(AID): #11vum300 (FB_security)