tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
netinet6
/
at
trash-bin2
33 files
dest6.c
Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>
4 years ago
frag6.c
Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>
4 years ago
icmp6.c
Use static objects for struct rttimer_queue instead of dynamically allocate them.
4 years ago
in6.c
Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr_usrreqs move: syzkaller found a NULL pointer deref and I won't be available to monitor for followup issues for a bit
4 years ago
in6.h
factor out the code that does sanity checks on ipv6 headers and addresses.
4 years ago
in6_cksum.c
In in_cksum() and in6_cksum() convert types to C99 style and make both functions consistent. In in_cksum() panic if len is longer than mbuf, but in in6_cksum() do not panic if off and len match exactly to the end of mbuf. OK claudio@
7 years ago
in6_ifattach.c
Clear AUTOCONF6TEMP flag when we detach inet6.
5 years ago
in6_ifattach.h
Remove support for semantically opace interface identifiers (RFC 7217) for IPv6 link local addresses.
6 years ago
in6_pcb.c
Relax address availability check for multicast binds.
4 years ago
in6_proto.c
Reported-by: syzbot+1b5b209ce506db4d411d@syzkaller.appspotmail.com Revert the pr_usrreqs move: syzkaller found a NULL pointer deref and I won't be available to monitor for followup issues for a bit
4 years ago
in6_src.c
Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>
4 years ago
in6_var.h
spelling ok jmc@ reads ok tb@
4 years ago
ip6_divert.c
Protect sbappendaddr() in divert_packet() with kernel lock. With divert-packet rules pf calls directly from IP layer to protocol layer. As the former has only shared net lock, additional protection against parallel access is needed. Kernel lock is a temporary workaround until the socket layer is MP safe. discussed with kettenis@ mvs@
3 years ago
ip6_divert.h
Clean up divert_packet(). Function does not return error, make it void. Introduce mutex and refcounting for inp like in the other PCB functions. OK sashan@
4 years ago
ip6_forward.c
Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>
4 years ago
ip6_id.c
spelling
5 years ago
ip6_input.c
Use static objects for struct rttimer_queue instead of dynamically allocate them.
4 years ago
ip6_mroute.c
Use static objects for struct rttimer_queue instead of dynamically allocate them.
4 years ago
ip6_mroute.h
Use static objects for struct rttimer_queue instead of dynamically allocate them.
4 years ago
ip6_output.c
Delete unnecessary #includes of <netinet6/ip6protosw.h>: some never needed it and some no longer need it after moving the externs from there to <sys/protosw.h>
4 years ago
ip6_var.h
Use static objects for struct rttimer_queue instead of dynamically allocate them.
4 years ago
ip6protosw.h
Move declarations of ip6_protox[] and inet6sw[] to <sys/protosw.h> where the IPv4 versions have been forever
4 years ago
mld6.c
MH_ALIGN -> m_align OK bluhm@
7 years ago
mld6.h
fix rcs id, from brad
16 years ago
mld6_var.h
use arc4random_uniform() for random number requests that are not a power of two.
18 years ago
nd6.c
Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>
4 years ago
nd6.h
Move ND6_PRIV_* constants from nd6.h to slaacd the only place where they are used. Nobody in the wider eco system uses these. While here reduce temporary address valid lifetime to 2 days as per draft-ietf-6man-rfc4941bis. This should considerably reduce the amount of addresses configured on an interface - a common complaint. Original diff from Fernando Gont (fernando AT gont.com.ar), thanks! Ports tree scanning by sthen@
6 years ago
nd6_nbr.c
Checking ifaddr pointer for NULL without checking in6_ifaddr works as ifaddr ia_ifa is the first field of in6_ifaddr. So the pointers are the same, and one NULL check works for both. But in ISO C NULL has some kind of type and this is undefined behavior. So add a second NULL check that the compiler can optimize away. The resulting assembler is the same. found by kubsan; OK tobhe@
4 years ago
nd6_rtr.c
Prevent recursions by not deleting entries inside rtable_walk(9).
6 years ago
raw_ip6.c
For raw IPv6 packets rip6_input() traverses the loop of all PCBs. From there it calls sbappendaddr() while holding the raw6 table mutex. This ends in sorwakeup() where we finally grab the kernel lock while holding a mutex. Witness detects this misuse. Use the same solution as for PCB notify. Collect the affected PCBs in a temporary list. The list is protected by exclusive net lock. Reported-by: syzbot+5b2679ee9be0895d26f9@syzkaller.appspotmail.com OK claudio@
4 years ago
raw_ip6.h
percpu counters for raw ipv6 and icmp6 stats
9 years ago
route6.c
Pass down the address family through the pr_input calls. This allows to simplify code used for both IPv4 and IPv6. OK mikeb@ deraadt@
9 years ago
udp6_output.c
Delete unnecessary #includes of <netinet6/ip6protosw.h>: some never needed it and some no longer need it after moving the externs from there to <sys/protosw.h>
4 years ago