| Summary: | misfitting in two parts of man 8 ipfw about quantity of ports that may be specified in a rule | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Dmitry Cherkasov <chd> | ||||
| Component: | Books & Articles | Assignee: | Maxim Konovalov <maxim> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Dmitry Cherkasov
2004-03-21 11:20:12 UTC
Hey there, I've confirmed that this is indeed correct. IPFW2 is limited to 30 ports/ranges, and returns 'ipfw: getsockopt(IP_FW_ADD): Invalid argument' when trying to use more than 30, while IPFW1 complains more gracefully with 'ipfw: too many ports (max is 10)' when trying to use more than 10. Here's a patch for ipfw.8 which hopefully corrects the problem. Cheers, Marc State Changed From-To: open->patched Fixed in -CURRENT, thanks. Responsible Changed From-To: freebsd-doc->maxim MFC reminder. State Changed From-To: patched->closed Fixed in -STABLE as well. |