summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
2003-10-27Skew the advertisement interval correctly when we reschedule.Ryan Thomas McBride
2003-10-27Also check if we're going down before scheduling an advertisementRyan Thomas McBride
when we fail to get an mbuf. This too is courtesy of Max Laier.
2003-10-27Actually 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-25additional hash for local port; improves speed of implicit bindMarkus 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-25precompute most of hmac; fix size for md; ok mcbrideMarkus Friedl
2003-10-23We 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-22switch from keyed sha1 to hmac-sha1; ok mcbride@Markus Friedl
2003-10-20Fix endianness bug in carp_sha1_generate, hash the whole counter, andRyan Thomas McBride
fix some whitespace nits while we're here.
2003-10-20Stop all hosts from insisting they're master when preemption isRyan Thomas McBride
disabled. bug report and fix testing david@
2003-10-20Fix but with setting advskew, only error if _both_ advbase and advskew areRyan Thomas McBride
set to 0. (ifconfig sets them one at a time) tested by david@
2003-10-19more typosDavid Krause
2003-10-17Common Address Redundancy ProtocolRyan 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-02correct 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-01use random number generator to generate IPv6 fragment ID/flowlabel.Jun-ichiro itojun Hagino
cleanup IPv6 flowlabel handling. deraadt ok
2003-09-24on-link DoS by bogus ARP. reported by appleJun-ichiro itojun Hagino
2003-09-21"exp" is a reserved symbol under gcc3/posix. mcbride okJun-ichiro itojun Hagino
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed 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-14m_copyback()'s 4th arg is const void *, nuke (caddr_t) casts.Jason Wright
2003-07-29fixup ip_len back to wire format after reass.Jun-ichiro itojun Hagino
2003-07-28allow 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-24update ip_len to reflect tunnel header removal (lost duing ip_lenMarkus Friedl
flip changes); ok itojun; noticed by jrrs@ice-nine.org
2003-07-24conform to RFC2367 on SADB_xx naming (local name must be prefixed withJun-ichiro itojun Hagino
SADB_X_xx)
2003-07-24hmac-sha2-{256,384,512} support in AH/ESP auth. markus okJun-ichiro itojun Hagino
2003-07-09do not flip ip_len/ip_off in netinet stack. deraadt ok.Jun-ichiro itojun Hagino
(please test, especially PF portion)
2003-07-09fix whitespaceMarkus Friedl
2003-07-09better vif_delete (no dangling ref to struct ifnet). deraadt okJun-ichiro itojun Hagino
it won't affect default GENERIC build - as MROUTING is not defined
2003-07-08make sure the packets contains a complete inner headerMarkus Friedl
for ip{4,6}-in-ip{4,6} encapsulation; fixes panic for truncated ip-in-ip over ipsec; ok angelos@
2003-07-04knf typoMarkus Friedl
2003-06-23install host route for p2p interface even if there's connected net routeJun-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-09typo (need to check ti6 instead of ti)Jun-ichiro itojun Hagino
2003-06-09backout following:Jun-ichiro itojun Hagino
>use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace(). PR 3283 fixed (confirmed)
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-30missing #ifdef INET6. fries found itJun-ichiro itojun Hagino
2003-05-29use IN6_LINKMTU for IPv6 link MTU. sync w/kameJun-ichiro itojun Hagino
2003-05-29use m_pulldown not m_pullup2. fix some bugs in IPv6 tcp_trace().Jun-ichiro itojun Hagino
2003-05-29use m_pulldown instead of m_pullup2. enable support for IPv6 jumbogram.Jun-ichiro itojun Hagino
markus & art ok
2003-05-27don't use M_WAIT here. we could be in splnet, and caller may not beJun-ichiro itojun Hagino
xx_usrreq. henning ok
2003-05-26fix tcpcb size to make trpt happyJun-ichiro itojun Hagino
2003-05-23don't #ifdef within struct tcpcb definition, as it is used in userland too.Jun-ichiro itojun Hagino
dhartmei ok
2003-05-19Bad switch condition used for SO_DEBUG, ok itojun@Daniel Hartmeier
2003-05-17don't send ARP for secondary IPv4 addresses, treat them as local.Jun-ichiro itojun Hagino
kwesterback tdeval ok
2003-05-14KNF. markus okJun-ichiro itojun Hagino
2003-05-14nuke !PULLDOWN_TEST case. (leftover from yesterday)Jun-ichiro itojun Hagino
2003-05-14Remove redundant assignment. Found by Julien Bordet. ok itojun@Daniel Hartmeier
2003-05-14move ETHERTYPE_xx declarations to <net/ethertypes.h>. meets netbsd practice.Jun-ichiro itojun Hagino
deraadt ok
2003-05-14remove the last of the MI commonsJason Wright
2003-05-13back out. these changes were not tested. it might come as a surpriseTheo de Raadt
to some developers, but include files are not just used by the kernel. there are applications that pull them in as well. this change broke tcpdump, and who knows what else. i've been talking for 24 hours now about tree breakage and let this be official: I am prepared to lock the tree entirely if need be. YOU WILL GET OK PERMISSION FROM EVERYONE, NOT JUST FROM ONE PERSON
2003-05-13move ethernet protocol type defs into sys/net/, as it is not just for ethernetJun-ichiro itojun Hagino
(FDDI, ieee1394, ...). follows netbsd practice. 2 jasons, dhartmei, thierry ok