Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-28 | Only preemptively increase the replay counter for outbound TDBs. | Ryan Thomas McBride | |
Another ipsec failover fix from nathanael at polymorpheus dot com. ok hshoexer@ | |||
2006-05-28 | - remove ETHER_MAX_LEN_JUMBO and ETHERMTU_JUMBO. | Brad Smith | |
- use if_hardmtu for MTU ioctl handlers. ok reyk@ | |||
2006-05-26 | rename jumbo mtu to if_hardmtu; ok brad reyk | Theo de Raadt | |
2006-05-22 | Check for NULL cookies before calling hook_disestablish(). Just in case | Kenneth R Westerback | |
the establish calls were bypassed or failed. ok mpf@ | |||
2006-05-18 | Add a duplicate check for our own advertisements. This is necessary | Marco Pfatschbacher | |
for dumb non simplex interfaces, that receive packets they've just sent. Fixes bug 5121. OK deraadt@, mcbride@ | |||
2006-05-16 | - pcbflags is not modified in pcb_(dis)connect, so there's no | Markus Friedl | |
need to save/restore it. - inp->inp_laddr should be set _before_ calling pcb_disconnect(). otherwise pcb_disconnect() calls pcb_rehash() with the old laddr. [ currently this is not a problem since the hash ignores laddr ] tested by pedro | |||
2006-05-11 | fix corruption of pim register packets. From Hideki ONO, thanks! | Hans-Joerg Hoexer | |
ok mcbride@ itojun@ | |||
2006-04-27 | use underscore variants of _BYTE_ORDER macros which are always defined | Ted Unangst | |
ok deraadt millert | |||
2006-04-25 | Remove virtual tunnel support from the mrouting code. The virtual tunnel | Claudio Jeker | |
code breaks multicast on gif(4) interfaces and it is far better to configure a real gif(4) tunnel instead of a multicast tunnel as the latter is almost not manageable. OK norby@, mblamer@ | |||
2006-04-22 | Routes announced via rt_missmsg() do not have rtm_index set. While in most | Claudio Jeker | |
cases harmless it is used by the IPv6 code. The result is that bgpd is unable to assigning link local addresses to the correct interface. OK henning@ Fix for PR 5063. | |||
2006-03-30 | fix a typo | Esben Norby | |
ok claudio@ | |||
2006-03-26 | if_link_state_change() is more appropriate here. | Camiel Dobbelaar | |
ok henning mcbride | |||
2006-03-25 | allow bpf(4) to ignore packets based on their direction (inbound or | Damien Miller | |
outbound), using a new BIOCSDIRFILT ioctl; guidance, feedback and ok canacar@ | |||
2006-03-23 | Set a carp MAC address of 00:00:00:00:00:00 if no vhid is assigned. | Ryan Thomas McBride | |
ok henning@ | |||
2006-03-22 | prevent anything outside rote.c from accessing the routing table heads | Henning Brauer | |
directly. rather provide a rt_lookup function for regular lookups, and a rt_gettable for those that need access to the head for some reason. the latter cases should be revisted later probably so that nothing outside the routing core code accesses the heads at all... tested claudio jolan me, ok claudio markus | |||
2006-03-12 | mbuf use-after-free; ok henning, djm, brad | Markus Friedl | |
2006-03-07 | advertisment -> advertisement; from leonardo chiquitto filho | Jason McIntyre | |
2006-03-05 | Use more queue macros rather than doing it by hand; ok otto@ krw@ | Miod Vallat | |
2006-03-05 | revert unrelated change that snuck into the last commit. | Brad Smith | |
2006-03-04 | With the exception of two other small uncommited diffs this moves | Brad Smith | |
the remainder of the network stack from splimp to splnet. ok miod@ | |||
2006-02-26 | unbreak tcp window update (restore 4.4lite code); netbsd pr 13952; | Markus Friedl | |
ok claudio, henning, brad, djm, tedu | |||
2006-02-21 | Fix a panic reported by D.Snezhkov by issuing an ifconfig command with | Claudio Jeker | |
-alias and netmask used at the same time. This resulted in a corrupted routing table and a panic in rn_walktree after the interface was destroyed. OK krw@ henning@ | |||
2006-01-28 | Fix hmac calculation. | Marco Pfatschbacher | |
Add some f's; do comparison in host byte order. OK mcbride@ | |||
2006-01-13 | Path MTU discovery for NAT-T. | Marco Pfatschbacher | |
OK markus@, "looks good" hshoexer@ | |||
2006-01-03 | m_pullup the same amount we copied, not just the IP header. | Marco Pfatschbacher | |
Any pf(4) translation that modifies more than IP addresses, was happening on the shared mbuf cluster. Thus we were sending icmp errors with corrupted payload. OK dhartmei@, markus@ | |||
2005-12-23 | Remove unnecessary #ifdef MROUTING blocks. OK brad@ markus@ | Claudio Jeker | |
2005-12-20 | use M_READONLY when trying to find out whether we have to copy | Markus Friedl | |
the mbuf before encryption. otherwise mbufs with M_EXT but w/o M_CLUSTER get modified; ok hshoexer | |||
2005-12-11 | bitfields must be off an int or such type | Theo de Raadt | |
2005-12-10 | in ansi c, bitfields must be done against int, unsigned int, or _Bool. | Theo de Raadt | |
so we must start to use u_int; ok cloder | |||
2005-12-01 | allow RST if the th_seq matches rcv_nxt in case the RST follows the | Markus Friedl | |
data immediately. otherwise we would ignore RST for delayed acks; ok deraadt, dhartmei | |||
2005-11-29 | Fix IPv6 hmac calculation. | Marco Pfatschbacher | |
OK mcbride@ | |||
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-27 | Completly remove transition path INIT -> MASTER. | Marco Pfatschbacher | |
A bug introduced in -r 1.4 led lower priotorized hosts switching to MASTER state for a short time at bootup, if preemption was enabled. OK mcbride@ | |||
2005-11-27 | Sort the IP addresses in ascending order when doing the carp hmac; makes | Ryan Thomas McBride | |
alias address order on the interface irrelevant. prodding by henning@, ok mpf@ | |||
2005-11-24 | Remove kernfs, okay deraadt@. | Pedro Martelletto | |
2005-11-20 | splimp -> splvm. mbuf allocation here. | Brad Smith | |
ok henning@ | |||
2005-11-15 | Only two `h' in threshold. | Miod Vallat | |
2005-11-04 | Add carp_hash() - hash the ethernet address of the ARP request and use | Ryan Thomas McBride | |
the result to determine which carp interface should answer rather than simply using the ip address. Fixes breakage debugged by Matt Bradford <m.bradford@isrc.qut.edu.au> 'just commit' deraadt@ | |||
2005-11-02 | inherit sack_enable from the listen socket, this should allow connections | Markus Friedl | |
with both sack and md5 options in SYN. | |||
2005-10-31 | Fix a TAILQ_FOREACH where the item containing the next pointer could be | Christopher Pascoe | |
freed. ok canacar deraadt | |||
2005-10-24 | Remove redundant duplicate packet length check. | Ryan Thomas McBride | |
ok mpf@ | |||
2005-10-17 | make pf use one mbuf tag instead of 6 distinct ones. use a little struct | Henning Brauer | |
in the data part for the data from the previously distinct tags. look up the tag early and carry a pointer to it around. makes the code easier and saves some tag lookups and thus helps performance, as proven by tests run by Schberle Dniel <Schoeberle.Daniel@aamtech.hu> Initially hacked up somewhere over the atlantic ocean in an A330 early testing reyk and moritz, "put it in" theo | |||
2005-10-05 | Add multicast routing to GENERIC. | Esben Norby | |
It is now possible to enable multicast routing in the kernel with the sysctl option net.inet.ip.mforwarding=1 Based on intial work by msf@ help claudio@ ok claudio@ deraadt@ | |||
2005-09-29 | Rework of multicast deletion code. | Marco Pfatschbacher | |
The previous code could wrongly delete multicast groups on the parent interface. Now we forward only remembered delete requests to the carpdev. OK mcbride, mickey. "Get it in" deraadt. | |||
2005-09-28 | Enable RFC3390 by default and remove a few compile time options which | Brad Smith | |
can be changed via sysctl's. ok markus@ | |||
2005-09-19 | A few 'demon' -> 'daemon'. | Kenneth R Westerback | |
ok deraadt@ | |||
2005-09-19 | typo | Theo de Raadt | |
2005-09-19 | Fix initialisation of baddynamicports.udp, busted since 1997, wow. | Theo de Raadt | |
found by leonardo@iken.com.br | |||
2005-08-31 | Comment out KASSERT(mc != NULL) in carp_ether_delmulti. Because we mess with | Ryan Thomas McBride | |
the multicast list elsewhere, it can occur under certain conditions (PR4475). ok deraadt@ mpf@ |