index
:
src
cvs/HEAD
kms/intel
kms/radeon
master
OpenBSD base system
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
sys
/
netinet
/
ip_divert.c
Age
Commit message (
Expand
)
Author
2024-03-05
Validate IPv4 packet options in divert output.
Alexander Bluhm
2024-02-11
Use `sb_mtx' instead of `inp_mtx' in receive path for inet sockets.
Vitaliy Makkoveev
2024-02-03
Rework socket buffers locking for shared netlock.
Vitaliy Makkoveev
2023-09-16
Allow counters_read(9) to take an optional scratch buffer.
Martin Pieuchot
2023-05-13
Instead of implementing IPv4 header checksum creation everywhere,
Alexander Bluhm
2023-04-04
When sending IP packets to userland with divert-packet rules, the
Alexander Bluhm
2022-10-17
Change pru_abort() return type to the type of void and make pru_abort()
Vitaliy Makkoveev
2022-10-03
System calls should not fail due to temporary memory shortage in
Alexander Bluhm
2022-09-05
Use shared netlock in soreceive(). The UDP and IP divert layer
Alexander Bluhm
2022-09-03
Move PRU_PEERADDR request to (*pru_peeraddr)().
Vitaliy Makkoveev
2022-09-03
Move PRU_SOCKADDR request to (*pru_sockaddr)()
Vitaliy Makkoveev
2022-09-02
Move PRU_CONTROL request to (*pru_control)().
Vitaliy Makkoveev
2022-09-01
Move PRU_CONNECT2 request to (*pru_connect2)().
Vitaliy Makkoveev
2022-08-31
Move PRU_SENDOOB request to (*pru_sendoob)().
Vitaliy Makkoveev
2022-08-29
Move PRU_RCVOOB request to (*pru_rcvoob)().
Vitaliy Makkoveev
2022-08-28
Move PRU_SENSE request to (*pru_sense)().
Vitaliy Makkoveev
2022-08-28
Move PRU_ABORT request to (*pru_abort)().
Vitaliy Makkoveev
2022-08-27
Move PRU_SEND request to (*pru_send)().
Vitaliy Makkoveev
2022-08-26
Move PRU_RCVD request to (*pru_rcvd)().
Vitaliy Makkoveev
2022-08-22
Move PRU_SHUTDOWN request to (*pru_shutdown)().
Vitaliy Makkoveev
2022-08-22
Move PRU_DISCONNECT request to (*pru_disconnect).
Vitaliy Makkoveev
2022-08-22
Move PRU_ACCEPT request to (*pru_accept)().
Vitaliy Makkoveev
2022-08-21
Move PRU_CONNECT request to (*pru_connect)() handler.
Vitaliy Makkoveev
2022-08-21
Move PRU_LISTEN request to (*pru_listen)() handler.
Vitaliy Makkoveev
2022-08-21
Introduce a mutex per inpcb to serialize access to socket receive
Alexander Bluhm
2022-08-20
Move PRU_BIND request to (*pru_bind)() handler.
Vitaliy Makkoveev
2022-08-15
Introduce 'pr_usrreqs' structure and move existing user-protocol
Vitaliy Makkoveev
2022-05-09
Protect sbappendaddr() in divert_packet() with kernel lock. With
Alexander Bluhm
2022-05-05
Clean up divert_packet(). Function does not return error, make it
Alexander Bluhm
2022-02-25
Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com
Philip Guenther
2022-02-25
Move pr_attach and pr_detach to a new structure pr_usrreqs that can
Philip Guenther
2020-11-16
Remove the cases folded into sysctl_bounded_args but left behind
gnezdo
2020-08-24
Convert divert*_sysctl to sysctl_bounded_args
gnezdo
2020-08-01
Move range check inside sysctl_int_arr
gnezdo
2019-02-04
Avoid an mbuf double free in the oob soreceive() path. In the
Alexander Bluhm
2018-11-10
Do not translate the EACCES error from pf(4) to EHOSTUNREACH anymore.
Alexander Bluhm
2018-10-04
Revert the inpcb table mutex commit. It triggers a witness panic
Alexander Bluhm
2018-09-20
As a step towards per inpcb or socket locks, remove the net lock
Alexander Bluhm
2018-04-24
Push NET_LOCK down in the default ifioctl case.
Paul Irofti
2017-11-02
Move PRU_DETACH out of pr_usrreq into per proto pr_detach
Florian Obser
2017-10-09
Reduces the scope of the NET_LOCK() in sysctl(2) path.
Martin Pieuchot
2017-10-06
Unfortunately I removed too much in my previous commit and broke
Alexander Bluhm
2017-10-06
Kill the divert-packet socket option IP_DIVERTFL to filter packets.
Alexander Bluhm
2017-09-06
Replace the call to ifa_ifwithaddr() in divert6_output() with a
Alexander Bluhm
2017-09-06
Replace the call to ifa_ifwithaddr() in divert_output() with a route
Alexander Bluhm
2017-09-05
Replace NET_ASSERT_LOCKED() by soassertlocked() in *_usrreq().
Martin Pieuchot
2017-07-27
Grab the KERNEL_LOCK() before calling sorwakeup().
Martin Pieuchot
2017-06-26
Assert that the corresponding socket is locked when manipulating socket
Martin Pieuchot
2017-05-30
Introduce ipv{4,6}_input(), two wrappers around IP queues.
Martin Pieuchot
2017-04-05
When building counter memory in preparation to copy to userland, always
Theo de Raadt
[next]