Eugene Grosbein
47cb0632e8
ipfw: unbreak matching with big table type flow.
Test case:
# n=32769
# ipfw -q table 1 create type flow:proto,dst-ip,dst-port
# jot -w 'table 1 add tcp,127.0.0.1,' $n 1 | ipfw -q /dev/stdin
# ipfw -q add 5 unreach filter-prohib flow 'table(1)'
The rule 5 matches nothing without the fix if n>=32769.
With the fix, it works:
# telnet localhost 10001
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Permission denied
telnet: Unable to connect to remote host
MFC after: 2 weeks
Discussed with: ae, melifaro
2020-06-04 14:15:39 +00:00
..
2020-05-31 18:20:20 +00:00
2020-05-31 14:43:04 +00:00
2020-05-31 14:43:04 +00:00
2020-04-24 01:27:25 +00:00
2020-05-29 17:52:20 +00:00
2020-05-26 16:44:05 +00:00
2020-06-02 12:23:04 +00:00
2020-06-01 19:40:59 +00:00
2020-05-28 21:19:44 +00:00
2020-06-03 22:15:11 +00:00
2020-05-13 18:07:37 +00:00
2020-06-04 13:18:21 +00:00
2020-06-04 02:36:41 +00:00
2020-06-03 09:38:51 +00:00
2020-02-26 14:26:36 +00:00
2020-05-29 19:44:18 +00:00
2020-04-14 18:57:00 +00:00
2020-05-28 19:41:00 +00:00
2020-06-02 01:21:48 +00:00
2020-05-25 22:12:04 +00:00
2020-05-23 17:51:06 +00:00
2020-05-29 00:05:43 +00:00
2020-06-03 23:21:44 +00:00
2020-06-03 13:02:31 +00:00
2020-05-27 18:32:12 +00:00
2020-05-28 08:41:18 +00:00
2020-06-03 14:16:40 +00:00
2020-06-03 17:26:00 +00:00
2020-05-29 19:22:40 +00:00
2020-06-04 14:15:39 +00:00
2020-02-26 14:26:36 +00:00
2020-05-23 10:21:02 +00:00
2020-04-23 09:37:22 +00:00
2020-04-15 13:06:55 +00:00
2020-06-03 22:11:05 +00:00
2020-05-29 00:46:31 +00:00
2020-05-31 14:43:04 +00:00
2020-05-31 01:12:52 +00:00
2020-05-21 01:55:35 +00:00
2020-06-03 09:38:51 +00:00
2020-02-26 14:26:36 +00:00
2020-06-04 12:23:15 +00:00
2020-06-04 01:49:29 +00:00
2020-06-03 00:16:36 +00:00
2020-04-17 06:04:20 +00:00
2020-02-25 19:04:39 +00:00
2020-02-03 17:35:11 +00:00