Kuzmich Posted September 26, 2006 Posted September 26, 2006 Кто-нибудь копался в сторону skipto tablearg в ipfw ? Синтаксис такой как бы командой ipfw позволяется, и даже в списке правил оно появляется - но работает ли оно, и если работает - то как? Я попытался сделать так: ipfw table 1 add 192.168.1.2/32 100 ipfw add 1 skipto tablearg icmp from table(1) to any ipfw add 50 allow ip from any ti any ipfw add 100 allow ip from any to any по правилу 1 счетчики тикают, а по правилу 100 - не тикают.... а очень бы хотелось. man что ? google куда? или только less /usr/src/sys ? а может быть это я всё-таки dd if=/dev/null of=/dev/brain ? 6.1-RELEASE i386, ядро не cvsup'нутое. Вставить ник Quote
snark Posted July 9, 2008 Posted July 9, 2008 а может быть это я всё-таки dd if=/dev/null of=/dev/brain ?отожгли! спасибо, улыбнуло :) P.S. где dd if=/dev/null of=/dev/hands? Вставить ник Quote
andriko Posted July 10, 2008 Posted July 10, 2008 хмм а где цитата с мана с описанием синтаксисиса? Вставить ник Quote
snark Posted July 10, 2008 Posted July 10, 2008 а где цитата с мана с описанием синтаксисиса? мана чего? dd(1)? ipfw(4)? ipfw(8)? или brain(4) + hands(4)? что именно интересует? Вставить ник Quote
mikevlz Posted July 10, 2008 Posted July 10, 2008 (edited) The tablearg feature provides the ability to use a value, looked up in the table, as the argument for a rule action. This can significantly reduce number of rules in some configurations. The tablearg argument can be used with the following actions: pipe, queue, divert, tee, netgraph, ngtee. See the EXAMPLES Section for example usage of tables and the tablearg keyword. Это на системе: ns# uname -a FreeBSD ########## 6.1-RELEASE-p22 FreeBSD 6.1-RELEASE-p22 #4: Mon Jan 28 14:45:43 MSK 2008 root@#######:/usr/obj/usr/src/sys/##### i386 Edited July 10, 2008 by mikevlz Вставить ник Quote
kaN5300 Posted December 29, 2008 Posted December 29, 2008 Подскажите диапазон значений для tablearg плииз. Задоблабся искать. Похоже. что 4094 в качестве tablearg уже указывать нельзя. Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.