Feature #507
closed
- Status changed from New to Assigned
- Assignee set to Eric Leblond
- Target version set to 1.4beta1
The associated patch is in 3.6-rc1, I don't think this will be in an official kernel before the release of 1.4beta1.
No problem on my side to work on a git Linux but this will be more difficult for testers.
Maybe we could postpone this to a beta2 ?
If the API is likely to remain the same I have no problem with already supporting it now.
I've implemented this and tested it using latest Linux git and latest libnetfilter_queue git. And it works:
# scp on lo with MTU at 100
# With fail-open
root@test-squeeze:~# scp linux-image-3.*deb localhost:/tmp
linux-image-3.3.0-rc3noct+_3.3.0-rc3noct+-10.00.Custom_amd64.deb 100% 31MB 3.5MB/s 00:09
linux-image-3.6.0-rc1-netfilter+_3.6.0-rc1-netfilter+-10.00.Custom_amd64.deb 100% 30MB 3.3MB/s 00:09
# Without fail-open
root@test-squeeze:~# scp linux-image-3.*deb localhost:/tmp
linux-image-3.3.0-rc3noct+_3.3.0-rc3noct+-10.00.Custom_amd64.deb 100% 31MB 504.7KB/s 01:03
linux-image-3.6.0-rc1-netfilter+_3.6.0-rc1-netfilter+-10.00.Custom_amd64.deb 100% 30MB 513.6KB/s 00:59
The attached patch is the implementation.
Please note, there is no possibility to detect that the feature is not available in kernel.
- % Done changed from 0 to 80
- Status changed from Assigned to Closed
- % Done changed from 80 to 100
- Tracker changed from Bug to Feature
Also available in: Atom
PDF