summaryrefslogtreecommitdiff
path: root/sys/netinet
AgeCommit message (Collapse)Author
2004-10-18Do not embed an ip header with a decremented ttl into an icmp message.Otto Moerbeek
Wait with the decrement until after the copy is done. Resolves checksum mismatches on the embedded header, as reported by tcpdump. ok markus@ itojun@
2004-10-06set the congestion window to two segments (instead of only one), this matchesMarkus Friedl
the window size he have when entering the established state. ok deraadt@
2004-10-06Unbreak tcpdump on the carp interface; variable shadowing pointed out byRyan Thomas McBride
Patrick Latifi (diff based on his).
2004-10-05Call ip_output at splsoftnet() when sending advertisements; also don't stopRyan Thomas McBride
sending advertisements if we can't tag the mbuf. Problem report and fix from Chris Pascoe, thanks. ok henning@
2004-09-24pmtu support for udpencap; ok hshoexer, hoMarkus Friedl
2004-09-24pass segment size to userland; ok deraadt@Markus Friedl
2004-09-23add ETHER_MAX_DIX_LENBrad Smith
2004-09-23remove some more compile time overrides, use the sysctl's.Brad Smith
ok markus@
2004-09-22account for linkhdr size when choosing mbufs vs mbuf clustersTheo de Raadt
ok dhartmei markus claudio henning mcbride ...
2004-09-18Oops, copy a pointer to ac_if, not the first bytes of the struct itself.Ryan Thomas McBride
Actually this doesn't matter right now, as the first bytes of struct ifnet are a pointer to the softc, which has ac_if at the beginning and thus by fluke the pointer is correct. This also makes the sc to ifp conversion for carp_macmatch6().
2004-09-18Store the carp interface ifp in PACKET_TAG_CARP instead of a pointer toRyan Thomas McBride
carp_softc.
2004-09-17Remove option EON from kernel and options(4)Mathieu Sauve-Frankel
ok henning@
2004-09-16Clean up CARP_LOG macro and include the physical interfaceRyan Thomas McBride
that bogus packets arrive on.
2004-09-16don't send partial segments if SS_ISSENDING is set, rememberMarkus Friedl
TF_LASTIDLE across invocations of tcp_output (from freebsd); ok mcbride
2004-08-31Prevent backup CARP hosts from replying to arp requests, fixes strangenessRyan Thomas McBride
with some layer-3 switches. From Bill Marquette. ok henning@ mickey@ dhartmei@ and deraadt@
2004-08-24Don't allow SIOCGET{VIF,SG}CNT from sockets other than the multicast router.Brad Smith
From NetBSD Fixes PR 3825 ok mcbride@ canacar@ claudio@
2004-08-10remove in_pcbnotify, it is no longer used.Markus Friedl
2004-08-10replace in_pcbnotify with in_pcbhashlookup and avoid looping overMarkus Friedl
all connections; ok dhartmei, canacar, mcbride
2004-08-10verify th_seq in icmp errors; report Fernando Gont; ok mcbride@, dhartmei@Markus Friedl
2004-08-04use CIRCLEQ_XXX; ok mcbride, miodMarkus Friedl
2004-07-31remove GATEWAY and IPFORWARDING option knobs, use the sysctl.Brad Smith
ok mcbride@ miod@ deraadt@
2004-07-31- formattingBrad Smith
- add comment
2004-07-29Document the CARP header layout.Ryan Thomas McBride
2004-07-17netiso traces hide everywhere... millert okHenning Brauer
2004-07-16undo 1.148, otherwise we have assymmetric cwnd when entering ESTABLISHED:Markus Friedl
2mss on the server side, and 1mss on the client.
2004-07-15tcp_trace() expects short, not int; ok deraadtMarkus Friedl
2004-07-09typo. Bruno RoheeJun-ichiro itojun Hagino
2004-07-06backout rev 1.3, it breaks simultaneous close (no FIN set for retransmits)Markus Friedl
ok deraadt, henning, itojun
2004-06-26use IF_INPUT_ENQUEUEPhilipp Buehler
ok henning@, mcbride@
2004-06-26only add ipcomp headers if we've actually compressed the payload; with jfb@Markus Friedl
ok hshoexer, jfb
2004-06-26Default enable udpencap. Add 'disable' sysctl to sysctl.conf. markus@ ok.Hakan Olsson
2004-06-25disallow udpencap_port in bind(0); ok ho@Markus Friedl
2004-06-24This moves access to wall and uptime variables in MI code,Thorsten Lockert
encapsulating all such access into wall-defined functions that makes sure locking is done as needed. It also cleans up some uses of wall time vs. uptime some places, but there is sure to be more of these needed as well, particularily in MD code. Also, many current calls to microtime() should probably be changed to getmicrotime(), or to the {,get}microuptime() versions. ok art@ deraadt@ aaron@ matthieu@ beck@ sturm@ millert@ others "Oh, that is not your problem!" from miod@
2004-06-22Add M_LINK0 for net80211; OK markus@ and mcbride@Todd C. Miller
2004-06-22Pull the plug on source-based routing until remaining bugs are eradicated.Cedric Berger
No need to reconfig kernel or rebuild userland stuff. requested deraadt@, help beck@
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-06-21When in_ifinit fails and we've created a new address, clean it up beforeRyan Thomas McBride
returning. ok markus@
2004-06-21don't send UDP encapsulated packets w/o UDP header if encap is disabled; ok ho@Markus Friedl
2004-06-21make it possble to use IPsec over link-local address (policy table usesJun-ichiro itojun Hagino
sin6_scope_id, IPsec porion uses embedded form). beck ok
2004-06-21Get rid of pf_test_eh() wrapper.Ryan Thomas McBride
ok cedric@ henning@
2004-06-21don't leak ipsec pmtu routes; with mpf@Markus Friedl
2004-06-20remove #ifdef TUBAJun-ichiro itojun Hagino
2004-06-16make safe for inclusion in C++ code; ok millert@, deraadt@Christian Weisgerber
2004-06-14Calculate optp (pointer to beginning of TCP options) based on th, notDaniel Hartmeier
mtod(m), since the previous IP6_EXTHDR_GET() only guarantees this part to be continuous. Report from Andreas Bartelt. ok markus@, itojun@
2004-06-14spellingRyan Thomas McBride
2004-06-12support IPV6_USE_MIN_MTU (forgot to commit the file, sorry). noted by AnilJun-ichiro itojun Hagino
2004-06-10zero the cif struct correctly.Ryan Thomas McBride
2004-06-10Plug a memory leak in carp_clone_destroy()Ryan Thomas McBride
From Patrick Latifi
2004-06-08factor out md5 code; ok+tests henning@, djm@, hshoexer@Markus Friedl
2004-06-06extend routing table to be able to match and route packets based onCedric Berger
their *source* IP address in addition to their destination address. routing table "destination" now contains a "struct sockaddr_rtin" for IPv4 instead of a "struct sockaddr_in". the routing socket has been extended in a backward-compatible way. todo: PMTU enhancements, IPv6. ok deraadt@ mcbride@