Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-01-15 | fix comment | Brad Smith | |
2005-01-14 | Duplicate nested if statement in PIM code. | Ryan Thomas McBride | |
From brad@ | |||
2005-01-14 | Add kernel support for Protocol Independant Multicast (PIM) | Ryan Thomas McBride | |
Information: http://netweb.usc.edu/pim/ From Pavlin Radoslavov <pavlin@icir.org> ok deraadt@ brad@ | |||
2005-01-10 | Make sure bogus values don't make their way into tcp_xmit_timer() calculations. | Ryan Thomas McBride | |
- Ignore ts_ecr if it is 0, or the resulting rtt is out of range. (use tp->t_rtttime instead) - Initialise tcp_now to 1, to avoid the 500ms window where a valid ts_ecr of 0 could be ignored. - Convert out-of-range rtt values to valid ones in tcp_xmit_timer(). ok frantzen@ markus@ | |||
2005-01-06 | spacing | Theo de Raadt | |
2005-01-06 | Attach multicast to the carp interface for IPv6 (makes it consistent with | Ryan Thomas McBride | |
IPv4, and will allow us to get rid of carp_fix_lladdr() and the carp mbuf tag later). ok pascoe@ mpf@ | |||
2005-01-06 | Error path cleanups for carp_output. Use ENOBUFS instead of ENOMEM when | Christopher Pascoe | |
unable to tag a packet, and free mbuf chain on all failures. ok mcbride@ | |||
2005-01-06 | Tag all packets sent via a CARP interface for link local address | Christopher Pascoe | |
substitution. With this change and the previous ARP changes, all Ethernet packets sent via a CARP interface should now have the virtual MAC address as the source. ok mcbride@ niklas@ | |||
2005-01-04 | restrict forwarding to ipsec processed traffic of ip.forwarding==2 | Markus Friedl | |
ok deraadt, henning, fgsch, mcbride | |||
2005-01-04 | Move processing of ARP packets for CARP addresses to the carp interface | Christopher Pascoe | |
instead of processing them in the parent interface. This causes us to send ARP packets on a carpdev with its virtual MAC address as the source, rather than the parent's physical address. Permits us to fail over cleanly when connected to devices that use the source MAC address on a received ARP request to generate an ARP entry for the requesting host, rather than going through the who-has/is-at procedure. ok niklas@ mcbride@ | |||
2005-01-04 | Use pseudo_AF_HDRCMPLT for outgoing ARP messages, otherwise the provided | Christopher Pascoe | |
source MAC address we provide is ignored by ether_output. ok mcbride@ niklas@ | |||
2004-12-30 | handle rtt < 0; markus ok | Theo de Raadt | |
2004-12-29 | fix indent | Markus Friedl | |
2004-12-22 | Instead of running carp_setroute synchronously, use if_addrhooks to get a | Christopher Pascoe | |
callback after in_ifinit has run. This lets us correct any routes that in_ifinit has incorrectly added for our interface. Also be more explicit with the routing checks/changes that we make. This makes it possible to have different prefix lengths on a CARP interface and the physical interface it is bound to. ok mcbride@ | |||
2004-12-19 | #define sc_if sc_ac.ac_if, makes things a little more readable, and | Ryan Thomas McBride | |
kills a couple of ugly line wraps. From Max Laier. ok pascoe@ | |||
2004-12-19 | Make it possible for carp to work on fddi and token ring again. | Ryan Thomas McBride | |
ok pascoe@ mpf@ | |||
2004-12-18 | Decrement carp_suppress_preempt when detaching an interface that has | Christopher Pascoe | |
been experiencing output errors. ok mcbride@ | |||
2004-12-17 | Temporary fix to get IPv6 working again. | Marco Pfatschbacher | |
v6 advertisements are still received the old-fashioned way. ok mcbride@ | |||
2004-12-17 | Reorder code in the ethernet output path, and enhance unicast address | Christopher Pascoe | |
matching in the bridge receive path to make CARP operate correctly on physical interfaces that are participating in a bridge. ok mcbride@ henning@ dlg@ | |||
2004-12-17 | Remember to decrement carp_suppress_preempt when detaching. | Ryan Thomas McBride | |
ok pascoe@ | |||
2004-12-15 | Add IFF_NOARP to carp interface, we want arp requests to be handled via | Ryan Thomas McBride | |
carp_iamatch() on the physical interface. ok pascoe@ mpf@ | |||
2004-12-15 | * fix the multicast memberships removal | Patrick Latifi | |
* less hardcoding in format strings for easier maintenance mcbride ok | |||
2004-12-15 | protect against multiple inclusion | Patrick Latifi | |
mcbride ok | |||
2004-12-14 | move ioctls together w/ all other ifaces; mcbride@ ok | Michael Shalayeff | |
2004-12-13 | zap lvalue assignment, okay markus@. approved miod@ | Marc Espie | |
2004-12-10 | Add carp_set_enaddr(), call carp_set_state() after changing the vhid | Ryan Thomas McBride | |
to trigger a gratuitous arp and update arp tables on other hosts. | |||
2004-12-10 | Rename carp_output() to carp_fix_lladdr(). | Ryan Thomas McBride | |
2004-12-08 | * knf | Patrick Latifi | |
* M_WAITOK -> M_NOWAIT * FREE() only when necessary * join_multicast6 for ip6 addresses mcbride ok | |||
2004-12-08 | allow ToS to be set on raw ip sockets | Henning Brauer | |
From: "Esben Norby (ST/LMD)" <esben.norby@ericsson.com> ok hshoexer markus millert | |||
2004-12-08 | Remove code duplication duplication. Use carpdetach() in carp_clone_destroy(). | Ryan Thomas McBride | |
2004-12-08 | Merge in more fixes from a pre-carpdev diff from Chris Pascoe. | Ryan Thomas McBride | |
2004-12-08 | Check if_type in carp_carpdev_state() to make sure we're not | Ryan Thomas McBride | |
dealing with a carp interface. | |||
2004-12-07 | Convert carp(4) to behave more like a regular interface, much in the same | Ryan Thomas McBride | |
style as vlan(4). carp interfaces no longer require the physical interface to be on the same subnet as the carp interface, or even that the physical interface has an adress at all, so CARP can now be used on /30 networks. ok deraadt@ henning@ | |||
2004-12-06 | also consider NFS_PORT to be a reserved port, as in 1.18 or something like | Theo de Raadt | |
that. | |||
2004-12-06 | ipsec udpencap check was done after baddynamicports ports checks (those | Theo de Raadt | |
tables only map from 512 to 1023 using bitmaps, sorry); ok hshoexer | |||
2004-11-30 | Use %s, not %d to print the interface name. From Max Laier. | Ryan Thomas McBride | |
2004-11-28 | Reverse bogus sc == NULL check in CARP_LOG(), from Max Laier. | Ryan Thomas McBride | |
2004-11-25 | resolve conflict between M_TUNNEL and M_ANYCAST6, remove M_COMP (it's | Markus Friedl | |
only set and never read), update documentation; ok fgsch, deraadt, millert | |||
2004-11-25 | use ttl from setsockopt(), similar to bsd/os; ok henning, mcbride, fgsch | Markus Friedl | |
2004-11-25 | fix for race between invocation for timer and network input | Markus Friedl | |
1) add a reaper for TCP and SYN cache states (cf. netbsd pr 20390) 2) additional check for TCP_TIMER_ISARMED(TCPT_REXMT) in tcp_timer_persist() with mickey@; ok deraadt@ | |||
2004-11-24 | Multicast routing cleanup from Pavlin Radoslavov | Ryan Thomas McBride | |
- sync ip_mroute.c with NetBSD - import some FreeBSD changes to MFC entry handling - set im->im_vif correctly when sending IGMPMSG_WRONGVIF - increment mrtstat.mrts_upcalls correctly - return error from get_sg_cnt() if there is no matching forwarding entry ok henning@ brad@ naddy@ | |||
2004-11-23 | remove wrong comments; ok deraadt | Markus Friedl | |
2004-11-19 | Plug memory leak. Found by pat@. Thanks! | Hans-Joerg Hoexer | |
ok myself markus@ | |||
2004-11-18 | for loopback, set ia_dstaddr instead of ia_ifa.ifa_dstaddr in in_ifinit() | Daniel Hartmeier | |
found by Ruslan Ermilov, ok markus@ http://marc.theaimsgroup.com/?l=freebsd-net&m=110072900204253 | |||
2004-11-17 | ip6_plen does not include the size of the ipv6 header; ok itojun | Markus Friedl | |
2004-11-17 | Improved logging for advertisement failures: Add some carpstats.carps_onomem++ | Ryan Thomas McBride | |
when sending advertisements fail due to ENOBUGS, and some CARP_LOG for other failures. From camield@ | |||
2004-11-16 | Call arprequest/ether_output at splsoftnet(). From Chris Pascoe. | Ryan Thomas McBride | |
ok henning@ | |||
2004-11-10 | Add some (ifp != NULL) checks to ip_fragment() so it can be used even if there | Ryan Thomas McBride | |
is no struct ifnet associated with the outgoing interface of the packet. Necessary for upcoming Protocol Independent Multicast support. From Pavlin Radoslavov ok henning@ djm@ markus@ | |||
2004-10-28 | define IFT_CARP, and set if_type to that on carp interfaces instead | Henning Brauer | |
of hiding under IFT_PROPVIRTUAL, ryan daniel ok | |||
2004-10-28 | Modulate tcp_now by a random amount on a per-connection basis. | Ryan Thomas McBride | |
ok markus@ frantzen@ |