| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
The returned "struct rtentry" is either the cached one or the one passed
in options.
ok claudio@
|
|
|
|
| |
ok claudio@
|
|
|
|
| |
ok claudio@
|
|
|
|
|
|
|
| |
ifpp - XXX: just for statistics
ifpp is always NULL in all callers so that statistic confirms ifpp is
dying
OK mpi@
|
|
|
|
| |
Prodded by claudio@ and mikeb@
|
|
|
|
|
|
|
|
|
|
|
|
| |
Output interface (port) selection for multicast traffic is not done via
route lookups. Instead the output ifp is registred when setsockopt(2)
is called with the IP{V6,}_MULTICAST_IF option. But since there is no
mechanism to invalidate such pointer stored in a pcb when an interface
is destroyed/removed, it might lead your kernel to fault.
Prevent a fault upon resume reported by frantisek holop, thanks!
ok mikeb@, claudio@
|
|
|
|
|
|
|
|
|
| |
accept rtadvs on that interface. the global net.inet6.ip6.accept_rtadv
sysctl just doesn't cut it, even tho the spec wants that - but in their
little absurd world, a host just has one interface by definition anyway...
the sysctlgoes away.
lots of head scratching, brain cell elemination etc from bluhm benno stsp
florian, excitement from simon and todd, ok bluhm stsp benno florian
|
|
|
|
|
|
|
|
| |
error code and pass the resulting source address back to the caller
through a pointer, as suggested by chrisz. This gives us more readable
code, and eases the deletion of useless checks in the callers' error path.
Add a bunch of "0 -> NULL" conversions, while here.
ok chrisz@ mpi@
|
|
|
|
|
| |
making the code the same as netinet4 along the way.
ok bluhm phessler
|
|
|
|
| |
OK claudio@
|
|
|
|
|
|
| |
dhill.
ok krw@, mikeb@, tedu@ (implicit)
|
|
|
|
|
|
| |
was already #if 0 and will never come back. Remove unused fragment
struct fields and sort the others.
ok henning@
|
|
|
|
| |
ok henning@
|
|
|
|
| |
I forgot the header file containing struct ip6q in the last commit.
|
|
|
|
| |
ok mikeb
|
|
|
|
|
| |
it reusable by pf.
ok claudio@
|
|
|
|
|
| |
to make it reusable by pf. No functional change.
ok henning@, claudio@
|
|
|
|
| |
OK mikeb@, henning@, deraadt@
|
|
|
|
| |
ok stsp@ henning@ claudio@
|
|
|
|
| |
ok fries, hshoexer, claudio
|
|
|
|
| |
OK deraadt@, henning@
|
|
|
|
| |
ok mpf naddy
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
near maximal (2^32) cycle times. These are useful for network
IDs in cases where there are negative consequences to ID prediction
and/or reuse.
Use the idgen32() functions to generate IPv6 IDs and NFS client/server
XIDs.
Pseudorandom permutation code in crypto/idgen.c based on public
domain skip32.c from Greg Rose.
feedback & ok thib@ deraadt@
|
|
|
|
| |
provide netstat(1) with data it needs; ok claudio reyk
|
|
|
|
|
|
| |
we need a pointer to the inpcb to decide, which was not previously
passed to ip6_output, so this diff is a little bigger.
from itojun, ok ryan
|
|
|
|
|
|
|
|
|
|
| |
the kernel still handles RFC2292 set/getsockopts, so that compiled binary
has no trouble running. userland sees RFC3542 symbols only on header file
so new code has to use RFC3542 API.
bump libc shlib minor for function additions.
tested on i386/amd64 by jmc, i386 by brad. checked by deraadt.
|
|
|
|
| |
deraadt ok. manpage nit by jmc.
|
|
|
|
| |
no functional change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To minimise path disruptions, this implements recommendations made in RFC2992 -
the hash-threshold mechanism to select paths based on source/destination IP
address pairs, and inserts multipath routes in the middle of the route table.
To enable multipath distribution, use:
sysctl net.inet.ip.multipath=1
and/or:
sysctl net.inet6.ip6.multipath=1
testing norby@
ok claudio@ henning@ hshoexer@
|
|
|
|
| |
and additionaly make the code part of the MROUTING option. Put it in deraadt@
|
| |
|
|
|
|
| |
cleanup IPv6 flowlabel handling. deraadt ok
|
| |
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
| |
|
| |
|
|
|
|
|
|
|
| |
behavior changes:
- two iocts used by ndp(8) are now obsolete (backward compat provided).
use sysctl path instead.
- lo0 does not get ::1 automatically. it will get ::1 when lo0 comes up.
|
|
|
|
| |
rip6 stats. sync w/kame
|
|
|
|
| |
as well as set/getsockopt(IPV6_V6ONLY).
|
|
|
|
| |
not take effect) - like icmp6 responses or foo-over-IPv6 tunnel.
|
|
|
|
| |
fight against lots-of-frags DoS attacks. sync w/kame
|
| |
|
| |
|
|
|
|
| |
makes upgrades/code sharing much easier.
|
| |
|
|
|
|
|
|
|
|
|
| |
- protect IPv6 ND from being hosed (due to neighbor unreachability detection
hint) by wrong tcp traffic. still not sure if there's real attack, but
it is good to be cautious.
- avoid bitfield for router renumbering header decl.
- implement packet-per-sec limitation for icmp6 errors, turn interval
limit off (it is not very useful due to unix timer resolution).
|
|
|
|
|
|
| |
restriction: if there's any extension header (except fragment)
and outbound packet matches tdb, we can't encrypt it.
packet will not go out of the node (dropped).
|
|
|
|
| |
enforce type checking on IN6_ARE_ADDR_EQUAL.
|
|
|
|
| |
use it from icmp6 code.
|
|
|
|
|
|
| |
- allow setting raw socket icmp6 filter only if it is IPPROTO_ICMPV6 socket.
(cmetz may object about above two items...)
- add rip6_ctlinput, to flush cached router properly on redirects.
|