Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-02-09 | add an interface detach hook and use it with the vlan(4) driver. this | Reyk Floeter | |
fixes a possible crash if the parent interface has been destroyed (like vlan on trunk) before destroying the vlan interface. ok brad@ | |||
2006-01-05 | bzero buffers after malloc, or clear string buffer before strlcpy'ing | Theo de Raadt | |
into them, if you are gonna copy it out to userland some ok dhartmei, some ok tedu | |||
2005-12-22 | Do not check ifp->if_bpf before detaching from bpf. It is only a signal | Can Erkin Acar | |
to the driver that there is a listener. Somehow I assumed that it was a handle, and was trying to figure out why it was becoming zero. Corrected by and ok claudio@ | |||
2005-11-29 | something in the eurobsdcon route-a-thon broke my simple home network | Jolan Luff | |
router so back out the routing stuff to pre-eurobsdcon where my machine doesn't crash immediately. i am happy to test diffs and report success/failures but i am not happy to have instantaneous crashes when i reboot with a new kernel that was compiled from pristine sources. if you are going to be an elitist asshole then you could at least make sure your code works. ok and "be crass towards them" deraadt@ | |||
2005-11-27 | don't let anything outside route.c access the routing table heads directly, | Henning Brauer | |
but go through a provided wrapper. also provide rt_lookup() instead of doing the lookup manually in many places. ryan ok | |||
2005-11-25 | move the code to delete routes having a specific interface as output | Henning Brauer | |
when the interface is deleted to a function in route.c, and replace the copies of that code by calls to that function from basel almost-hackathon | |||
2005-07-04 | in if_group_routechange(), when checking wether a default route was changed | Henning Brauer | |
to trigger an if_group_egress_build() call, stop looking at the mask in the v4 case, at least until I figured out why we sometimes see masks full of crap. | |||
2005-06-23 | update if_lastchange for evey IFF_UP change not only SIOCSIFFLAGS; henning@ ok | Michael Shalayeff | |
2005-06-14 | rename function and define to reflect the external -> egress name change | Henning Brauer | |
so it is clear what it is all about | |||
2005-06-13 | check wether mask is NULL in if_group_routechange before dereferencing | Henning Brauer | |
2005-06-12 | add SIOCGIFGMEMB ioctl, returns a list of all interfaces who are member of | Henning Brauer | |
the given group, markus ok | |||
2005-06-08 | if a cloned interface's destroy function fails, re-join the interface class | Henning Brauer | |
group, spotted by and ok markus | |||
2005-06-08 | kill NS and DECNET bits | Henning Brauer | |
2005-06-08 | more inet6 stuff that got exposed | Theo de Raadt | |
2005-06-08 | handle ramdisks, and kernels without inet6; henning ok | Theo de Raadt | |
2005-06-07 | introduce a default "external" interface group, containing the interface(s) | Henning Brauer | |
the the default route(s) point to. handles IPv4 and IPv6 as well as multipath routes. follows default route changes, of course. eases writing pf rulesets especially on laptops etc. that use different interfaces depending on the environment (wired, wireless, ...) ok theo ryan | |||
2005-06-07 | do not handle CCITT any longer | Henning Brauer | |
2005-06-06 | use a define instead of hardcoding "all" in 3 places | Henning Brauer | |
2005-06-06 | make cloned interfaces join an interface class group (carp for carpX, tun | Henning Brauer | |
for tunX etc) in if_clone_create and leave it in if_clone_destroy, ryan ok | |||
2005-06-05 | const'ify the char *groupname param to if_addgroup and if_delgroup | Henning Brauer | |
2005-05-26 | deny groupnames ending in digits in if_addgroup, frantzen ok | Henning Brauer | |
(this has been on my todo, mike beat me to it with the check in ifconfig, but we want it here too) | |||
2005-05-26 | oups another unused var | Henning Brauer | |
2005-05-26 | unused var | Henning Brauer | |
2005-05-26 | remove the interface family group (i. e. "em" for "em0") | Henning Brauer | |
I foudn this stupid from the beginning on :) talked about and agreed with ryan and theo on the hike | |||
2005-05-25 | when an interface joins or leaves a group call back into pf so it can | Henning Brauer | |
update the internal tables used for (ifgroup) notation | |||
2005-05-24 | include trunk.h to get the NTRUNK value | Reyk Floeter | |
ok cloder@ | |||
2005-05-24 | add net.inet.ip.ifq for monitoring and changing ifqueue; similar to netbsd | Markus Friedl | |
ok henning | |||
2005-05-24 | actually delete the interface from the member list when it leaves the group | Henning Brauer | |
2005-05-24 | initial import of a trunking (link aggregation and link failover) | Reyk Floeter | |
implementation. it currently supports round robin mode with link state checking, additional modes will be added later. ok brad@, deraadt@ | |||
2005-05-24 | keep a list of member interfaces in ifg_group | Henning Brauer | |
2005-05-22 | missing #if NPF > 0 around ifgroups attachments | Henning Brauer | |
2005-05-22 | allow pf to match on interface groups | Henning Brauer | |
pass on mygroup ... markus ok | |||
2005-05-21 | make every interface join a group called "all", mcbride ok | Henning Brauer | |
2005-05-21 | clean up and rework the interface absraction code big time, rip out multiple | Henning Brauer | |
useless layers of indirection and make the code way cleaner overall. this is just the start, more to come... worked very hard on by Ryan and me in Montreal last week, on the airplane to vancouver and yesterday here in calgary. it hurt. ok ryan theo | |||
2005-05-09 | ansify. no binary change. | Marco Pfatschbacher | |
OK henning, krw, brad, moritz | |||
2005-04-28 | Don't detach interface from pf's perspective until after IPv6 is done with it. | Christopher Pascoe | |
ok dlg@ henning@ | |||
2005-04-20 | Introduce if_linkstatehooks. | Marco Pfatschbacher | |
This converts if_link_state_change() to a generic usable callback with dohooks(). OK henning@, camield@ Tested by camield@ and Alexey E. Suslikov | |||
2005-04-05 | Return EINVAL in SIOCSIFLLADDR if new lladdr is a multicast address. | Claudio Jeker | |
OK derradt@ tedu@ | |||
2005-03-30 | add lladdr command to ifconfig to set MAC address. diffs from freebsd via | Ted Unangst | |
Kyunghwan KIM (prs 2117 and 2118) and Fredrik Widlund. ok deraadt | |||
2005-02-07 | Add new function if_link_state_change() to take care of sending messages | Ryan Thomas McBride | |
on the routing socket and notifying carp() of link changes. ok brad@ mpf@ | |||
2005-01-18 | If there is no match in ifaof_ifpforaddr() return the first match -- main | Claudio Jeker | |
interface address -- and not the last one -- some alias. Also handle point to point networks a bit more special. With some input from markus@ OK markus@ henning@ fgsch@ | |||
2005-01-14 | First step in Bluetooth protocol stack support. | Alexander Yurchenko | |
The code is adopted from the FreeBSD netgraph-based Bluetooth implementation by Maksim Yevmenkin <m_evmenkin@yahoo.com> but all netgraph glue was replaced with usual BSD network stack hooks. This is a work in progress. Only HCI layer works for now, L2CAP and RFCOMM are on the way. Help in testing from many, ok markus@. | |||
2005-01-14 | remove old ifgroups ioctls | Henning Brauer | |
the old ifgroups haven't been in use ever really, and the new implementation is 3 months old today. theo ok (3 months ago) | |||
2004-12-20 | Enforce an ordering on ifnet such that CARP interfaces appear later in the | Christopher Pascoe | |
list than physical interfaces. This makes ifa_ifwith* prefer a physical interface over a CARP one. This addresses the problem where a CARP interface in BACKUP state is selected after a route change, resulting in a loss of communications despite there being another interface available which is perfectly usable. ok mcbride@ mpf@ | |||
2004-12-08 | Call if_down() in if_clone_destroy(). Based on diff from Chris Pascoe. | Ryan Thomas McBride | |
ok markus@ | |||
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-07 | KNF | Ryan Thomas McBride | |
2004-12-04 | use C comments. | Markus Friedl | |
2004-12-03 | do not use one struct timeout for the if congestion stuff, but embed | Henning Brauer | |
a struct timeout to struct ifqueue so that each one has its own - it is a per-queue thing. from chris pascoe |