Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-02 | do the pf_pkt_addr_changed(m) magic just like gif etc | Henning Brauer | |
tested by Manuel Rodriguez Morales <marodriguez at grupogdt.com> | |||
2008-06-26 | First pass at removing clauses 3 and 4 from NetBSD licenses. | Ray Lai | |
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | |||
2007-12-20 | return with ENOTTY instead of EINVAL for unknown ioctl requests. | Brad Smith | |
ok claudio@ krw@ jason@ dlg@ | |||
2007-09-15 | malloc sweep: | Henning Brauer | |
-remove useless casts -MALLOC/FREE -> malloc/free -use M_ZERO where appropriate instead of seperate bzero feedback & ok krw, hshoexer | |||
2006-05-28 | Fix multicast and broadcast over gre(4) tunnels. Clear the M_MCAST and M_BCAST | Claudio Jeker | |
mbuf flags so that the packet is sent out with a normal link local address instead of a multicast or broadcast address. OK brad@ | |||
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-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-01-04 | Remove redundant calls to bpfdetach. | Can Erkin Acar | |
ok brad@ | |||
2005-12-10 | m_pullup() the whole header, not the number of bytes in an int. Found | Kenneth R Westerback | |
by lint. ok deraadt@ | |||
2005-08-14 | don't require a valid route when configuring the tunnel; | Markus Friedl | |
from Stephen Marley; ok deraadt@ | |||
2005-07-31 | Introduce bpf_mtap_af and bpf_mtap_hdr to be used when passing a mbuf chain | Christopher Pascoe | |
to bpf with either an address family or other header added. These helpers only allocate a much smaller struct m_hdr on the stack when needed, rather than leaving 256 byte struct mbufs on the stack in deep call paths. Also removes a fair bit of duplicated code. commit now, tune after deraadt@ | |||
2005-06-08 | no more netns handling for the various tunnel devices and loopback | Henning Brauer | |
2005-05-14 | - Add IPv6 over GRE. | Brad Smith | |
- u_short -> u_int16_t - Change default MTU to 1476 (same value that Cisco and other *BSD's use). - Mark gre(4) interfaces as IFT_TUNNEL (Encapsulation interface). From NetBSD - Support setting the MTU Be very careful when upgrading, the change in default MTU might cause problems with an existing OpenBSD <-> OpenBSD setup. Thanks to Stephen Marley <stephen dot marley at catwoman dot cl-is dot com> for some testing. | |||
2004-08-18 | fix bad packets passed to bpf from the gre(4) interface. | Can Erkin Acar | |
reported by Robert Stone ( robert at arbor net ) via PR 3852 This is a different fix since gre(4) may carry non-ip packets. tested by Robert Stone and markus@ ok markus@ deraadt@ | |||
2003-12-16 | return error in ifc_destroy; ok deraadt, itojun, cedric, hshoexer | Markus Friedl | |
2003-12-08 | ip_output expects network byte order; report Bob Kitella; ok deraadt | Markus Friedl | |
2003-12-03 | add support for ifconfig clone/destroy; ok henning deraadt | Markus Friedl | |
2003-08-15 | change arguments to suser. suser now takes the process, and a flags | Ted 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-07-09 | do not flip ip_len/ip_off in netinet stack. deraadt ok. | Jun-ichiro itojun Hagino | |
(please test, especially PF portion) | |||
2003-03-25 | Missing splx(); Patrick Latifi | Todd C. Miller | |
2003-01-04 | spelling | Theo de Raadt | |
2002-08-28 | Fix a problem where passing NULL as a pointer with varargs does not promote | Per Fogelstrom | |
NULL to full 64 bits on a 64 bit address system. Soultion is to add a (void *) cast before NULL. This makes a 64 bit MIPS kernel work and will probably help future 64 bit ports as well. OK from art@ | |||
2002-06-30 | allocate sockaddr_dl for ifnet in if_alloc_sadl(), as we don't always know | Jun-ichiro itojun Hagino | |
the size of sockaddr_dl on if_attach() - for instance, see ether_ifattach(). from netbsd. fgs ok | |||
2002-06-10 | - stop abusing IFF_UP. | Jun-ichiro itojun Hagino | |
- do not use L3 address pair for L2.5 address pair. configure L2.5 address pair by using "ifconfig tunnel". - IFF_LINK2 is not needed, as it is just a reverse of IFF_LINK0. - do not modify IFF_LINK1 when you modify protocol type. chris ok | |||
2002-06-09 | if_addrlen need not be 4, set to 0. From: Martin Husemann <martin@duskware.de> | Jun-ichiro itojun Hagino | |
2002-06-09 | make sure to bzero sockaddr_in | Jun-ichiro itojun Hagino | |
2002-06-09 | support SIO*PHYADDR, so that we can configure outer address with ifconfig(8) | Jun-ichiro itojun Hagino | |
2002-04-03 | WCCP sysctl variable -- ok deraadt@ niklas@ | Angelos D. Keromytis | |
2001-06-27 | Get rid of M_COPY_* macros; either use M_MOVE_* or M_DUP_*, depending | Angelos D. Keromytis | |
on how macros should be treated. Code by fgsch@, ok by me and itojun@ | |||
2001-06-25 | IF_DROP() | Angelos D. Keromytis | |
2001-06-25 | Use tags to detect loops. In the future, perhaps we'll use them to | Angelos D. Keromytis | |
actually also send the packet out the right interface. | |||
2001-06-25 | Move common post M_COPY_HDR manipulation to the macro itself; angelos@ ok. | Federico G. Schwindt | |
2001-06-22 | KNF | Theo de Raadt | |
2001-06-05 | Allow boot -c to change number of gre devices. -moj ok angelos@ | Mats O Jansson | |
2001-05-27 | Fixup old mbuf chain head. | Angelos D. Keromytis | |
2001-05-11 | Check m_pullup() and m_pullup2() return for NULL, not 0; itojun@ ok | Aaron Campbell | |
2001-03-25 | Missing splx(s). Thanks to dawson and team | Constantine Sapuntzakis | |
2001-03-07 | Missing splx() in failure case; deraadt@ ok | Aaron Campbell | |
2001-01-17 | Don't copy the inner header's TTL on the outer header. | Angelos D. Keromytis | |
2000-01-16 | ETHERTYPE_ATALK -> ETHERTYPE_AT | Angelos D. Keromytis | |
2000-01-11 | Add a recursion depth limit, similar to if_gif.c; also, when | Angelos D. Keromytis | |
computing the route for the GRE tunnel, verify that it does not point back to ourselves. | |||
2000-01-08 | We don't need a pseudo-header for tcpdump on the output routine. | Angelos D. Keromytis | |
2000-01-07 | Fix tcpdump -n -i greN (causes a panic in NetBSD) | Angelos D. Keromytis | |
2000-01-07 | Make some of the GRE-specific ioctls privileged. Remove a lot of | Angelos D. Keromytis | |
unnecessary include files. | |||
2000-01-07 | gre interface code, from NetBSD (with some changes) | Angelos D. Keromytis | |