Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-11-05 | Cleanups. | Ryan Thomas McBride | |
- Remove error variable which is not needed. - Add missing /* INET6 */ comments. | |||
2003-11-04 | add in(6)_pcblookup_listen() and replace all calls to in_pcblookup() | Markus Friedl | |
with either in(6)_pcbhashlookup() or in(6)_pcblookup_listen(); in_pcblookup is now only used by bind(2); speeds up pcb lookup for listening sockets; from Claudio Jeker | |||
2003-11-04 | Add carp_setroute(), add and remove routes when the carp(4) interface | Ryan Thomas McBride | |
enters and leaves MASTER state. Allows the system to connect to the common address when it is master. ok cedric@ henning@ | |||
2003-11-04 | Use MGETHDR() instead of m_gethdr() | Ryan Thomas McBride | |
Patch from Marco Pfatschbacher (Marco_Pfatschbacher at genua dot de) | |||
2003-11-04 | - Remove bogus function prototype | Ryan Thomas McBride | |
- Put the correct address family in the BPF header Pointed out by Max Laier. | |||
2003-11-04 | kill a no longer relevant todo item | Michael Shalayeff | |
2003-11-04 | Some cleanups from Andrey Matveev <andrushock@korovino.net>: | Ryan Thomas McBride | |
- remove duplicate string; - carp_set_addr() -> carp_set_addr6() when INET6; - spacing police. Oh yeah, and we can take inet6 support off the todo list. | |||
2003-11-03 | There is no point in checking NIC capabilities before calling pf_test(), | Cedric Berger | |
since pf_test() can drop the packet or route it through another NIC. ok dhartmei@ mcbride@ comment requested by markus@ | |||
2003-11-03 | Cleanups: | Ryan Thomas McBride | |
- missing #ifdef INET6. - fix check for interface going down in carp_send_ad(). - fix memory leak which occurs when when ifpromisc() fails. All from Max Laier, thanks. | |||
2003-11-03 | spacing | Theo de Raadt | |
2003-11-03 | Some KNF cleanup. There's probably more to do. | Ryan Thomas McBride | |
2003-11-02 | Typo; #ifdef INET not INET6. | Ryan Thomas McBride | |
From Max Laier. | |||
2003-10-31 | Add IPv6 support to CARP. | Ryan Thomas McBride | |
ok deraadt@ | |||
2003-10-27 | Skew the advertisement interval correctly when we reschedule. | Ryan Thomas McBride | |
2003-10-27 | Also check if we're going down before scheduling an advertisement | Ryan Thomas McBride | |
when we fail to get an mbuf. This too is courtesy of Max Laier. | |||
2003-10-27 | Actually stop sending advertisements if we're Master and the carp(4) | Ryan Thomas McBride | |
interface is brought down. Bug reported by Max Laier. | |||
2003-10-25 | additional hash for local port; improves speed of implicit bind | Markus Friedl | |
from >1000K cpu cycles to 20-30K for 18000 sockets on i386; test+feedback by Claudio Jeker; ok itojun@; [make sure you rebuild netstat/systat, too] | |||
2003-10-25 | precompute most of hmac; fix size for md; ok mcbride | Markus Friedl | |
2003-10-23 | We want to hash the whole md, not just the size of the pointer. | Ryan Thomas McBride | |
Found testing CARP between sparc and sparc64. | |||
2003-10-22 | switch from keyed sha1 to hmac-sha1; ok mcbride@ | Markus Friedl | |
2003-10-20 | Fix endianness bug in carp_sha1_generate, hash the whole counter, and | Ryan Thomas McBride | |
fix some whitespace nits while we're here. | |||
2003-10-20 | Stop all hosts from insisting they're master when preemption is | Ryan Thomas McBride | |
disabled. bug report and fix testing david@ | |||
2003-10-20 | Fix but with setting advskew, only error if _both_ advbase and advskew are | Ryan Thomas McBride | |
set to 0. (ifconfig sets them one at a time) tested by david@ | |||
2003-10-19 | more typos | David Krause | |
2003-10-17 | Common Address Redundancy Protocol | Ryan Thomas McBride | |
Allows multiple hosts to share an IP address, providing high availability and load balancing. Based on code by mickey@, with additional help from markus@ and Marco_Pfatschbacher@genua.de ok deraadt@ | |||
2003-10-02 | correct endian handling of ip->ip_off. | Jun-ichiro itojun Hagino | |
do not try to send incomplete fragments on ENOBUFS case (behavior change from 4.4bsd). dhartmei ok | |||
2003-10-01 | use random number generator to generate IPv6 fragment ID/flowlabel. | Jun-ichiro itojun Hagino | |
cleanup IPv6 flowlabel handling. deraadt ok | |||
2003-09-24 | on-link DoS by bogus ARP. reported by apple | Jun-ichiro itojun Hagino | |
2003-09-21 | "exp" is a reserved symbol under gcc3/posix. mcbride ok | Jun-ichiro itojun Hagino | |
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted Unangst | |
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@ | |||
2003-08-14 | m_copyback()'s 4th arg is const void *, nuke (caddr_t) casts. | Jason Wright | |
2003-07-29 | fixup ip_len back to wire format after reass. | Jun-ichiro itojun Hagino | |
2003-07-28 | allow gif(4) over ipsec: mark mbuf for transport mode SA, | Markus Friedl | |
so in_gif_input can detect whether a proto 4 header is due to ipsec tunnel mode or gif(4) encapsulation; fixes pr 3023 ok itojun@. provos@ and angelos@ agree; tested by sturm@ | |||
2003-07-24 | update ip_len to reflect tunnel header removal (lost duing ip_len | Markus Friedl | |
flip changes); ok itojun; noticed by jrrs@ice-nine.org | |||
2003-07-24 | conform to RFC2367 on SADB_xx naming (local name must be prefixed with | Jun-ichiro itojun Hagino | |
SADB_X_xx) | |||
2003-07-24 | hmac-sha2-{256,384,512} support in AH/ESP auth. markus ok | Jun-ichiro itojun Hagino | |
2003-07-09 | do not flip ip_len/ip_off in netinet stack. deraadt ok. | Jun-ichiro itojun Hagino | |
(please test, especially PF portion) | |||
2003-07-09 | fix whitespace | Markus Friedl | |
2003-07-09 | better vif_delete (no dangling ref to struct ifnet). deraadt ok | Jun-ichiro itojun Hagino | |
it won't affect default GENERIC build - as MROUTING is not defined | |||
2003-07-08 | make sure the packets contains a complete inner header | Markus Friedl | |
for ip{4,6}-in-ip{4,6} encapsulation; fixes panic for truncated ip-in-ip over ipsec; ok angelos@ | |||
2003-07-04 | knf typo | Markus Friedl | |
2003-06-23 | install host route for p2p interface even if there's connected net route | Jun-ichiro itojun Hagino | |
by broadcast interface. NetBSD PR 21903. markus ok | |||
2003-06-11 | - sync up MLD declaration with RFC3542 (s/MLD6/MLD/) | Jun-ichiro itojun Hagino | |
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok | |||
2003-06-11 | - sync up MLD declaration with RFC3542 (s/MLD6/MLD/) | Jun-ichiro itojun Hagino | |
- routing header declaration with RFC3542 (note: sizeof(ip6_rthdr0) has changed!) also, sync up with RFC2460 routing header definition (no "strict" source routing mode any more) part of advanced API update (RFC2292 -> 3542). markus, todd, millert, henning ok | |||
2003-06-09 | typo (need to check ti6 instead of ti) | Jun-ichiro itojun Hagino | |
2003-06-09 | backout following: | Jun-ichiro itojun Hagino | |
>use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed) | |||
2003-06-02 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. | |||
2003-05-30 | missing #ifdef INET6. fries found it | Jun-ichiro itojun Hagino | |
2003-05-29 | use IN6_LINKMTU for IPv6 link MTU. sync w/kame | Jun-ichiro itojun Hagino | |
2003-05-29 | use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). | Jun-ichiro itojun Hagino | |