aboutsummaryrefslogtreecommitdiff
path: root/sbin/ifconfig
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2020-06-04 14:15:39 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2020-06-04 14:15:39 +0000
commit47cb0632e8fd3fbc59f783c422a09db38d443300 (patch)
tree528c2bde5b4124e17479312c32437475728b6e32 /sbin/ifconfig
parente84d4316223840cd64ee7fd55133ab6121e5d5cb (diff)
downloadsrc-47cb0632e8fd3fbc59f783c422a09db38d443300.tar.gz
src-47cb0632e8fd3fbc59f783c422a09db38d443300.zip
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
Notes
Notes: svn path=/head/; revision=361789
Diffstat (limited to 'sbin/ifconfig')
0 files changed, 0 insertions, 0 deletions