aboutsummaryrefslogtreecommitdiffstats
path: root/sys/openbsd/dev_pf.txt
Commit message (Collapse)AuthorAgeFilesLines
* pkg/compiler: check for unused resourcesDmitry Vyukov2020-08-041-5/+2
| | | | | | | | | | If a resource is never used as an input, it is not useful. It's effectively the same as using an integer. Detect such cases, they are quite confusing. Fix all existing errors in descriptions. This uncovered some interesting bugs as well, e.g. use of a completely unrelated fd subtype after copy-paste (while the resource that was supposed to be used there is completely unused).
* sys/openbsd: neutralize yet another pf ioctl commandAnton Lindqvist2020-06-291-1/+2
| | | | | | | | | Disarms the latest reproducer[1] for the discovered "no output from test machine" panic. While here, tidy up and improve comments. [1] https://syzkaller.appspot.com/bug?id=4c3b1ac22d6d7f1d9ebcad5469a28cb4562debda
* sys/openbsd: prevent killing the ssh VM connectionAnton Lindqvist2020-03-051-0/+17
This is one of the root causes of the 'no output from test machine' panic. Issuing a DIOCKILLSTATES ioctl on a /dev/pf file descriptor will cause state associated with ongoing connections to be purged; effectively killing the ssh connection to the VM. Including net/pfvar.h is necessary in order to make use of the DIOCKILLSTATES define.