summaryrefslogtreecommitdiff
path: root/proto/ospf/packet.c
AgeCommit message (Collapse)Author
2014-07-19Whitespace cleanup in OSPF.Ondrej Zajicek
2014-06-26Temporary integrated OSPF commit.Ondrej Zajicek
2014-05-18IPv4/IPv6 integrated socket code.Ondrej Zajicek
2014-02-06Many changes in I/O and OSPF sockets and packet handling.Ondrej Zajicek
I/O: - BSD: specify src addr on IP sockets by IP_HDRINCL - BSD: specify src addr on UDP sockets by IP_SENDSRCADDR - Linux: specify src addr on IP/UDP sockets by IP_PKTINFO - IPv6: specify src addr on IP/UDP sockets by IPV6_PKTINFO - Alternative SKF_BIND flag for binding to IP address - Allows IP/UDP sockets without tx_hook, on these sockets a packet is discarded when TX queue is full - Use consistently SOL_ for socket layer values. OSPF: - Packet src addr is always explicitly set - Support for secondary addresses in BSD - Dynamic RX/TX buffers - Fixes some minor buffer overruns - Interface option 'tx length' - Names for vlink pseudoifaces (vlinkX) - Vlinks use separate socket for TX - Vlinks do not use fixed associated iface - Fixes TTL for direct unicast packets - Fixes DONTROUTE for OSPF sockets - Use ifa->ifname instead of ifa->iface->name
2013-06-25Implements TTL security for OSPF and RIP.Ondrej Zajicek
Interfaces for OSPF and RIP could be configured to use (and request) TTL 255 for traffic to direct neighbors. Thanks to Simon Dickhoven for the original patch for RIPng.
2012-05-14Real broadcast mode for OSPFv2.Ondrej Zajicek
2012-01-22Some more verbose warnings.Ondrej Zajicek
2011-10-06Signal problems with route installation to kernel tables.Ondrej Zajicek
2011-05-19Fixes compatibility with Mikrotik.Ondrej Zajicek
2011-04-13Fixed bug FICORA #503685.Ondrej Filip
2011-03-29Fixes a nasty bug in OSPF.Ondrej Zajicek
Sending malformed network prefixes in LSAs causes OSPF to crash just after the LSA is propagated to the other routers.
2011-03-28Minor changes in addresses.Ondrej Zajicek
Mainly changes IA_UNNUMBERED to IA_PEER and adds IA_HOST. Also do not show broadcast addr in show interfaces. Nobody cares for that.
2010-12-24Implements Point-to-MultiPoint interface type for OSPF.Ondrej Zajicek
2010-11-04Fixes a bug in LSA update of large LSAs.Ondrej Zajicek
2010-10-22Fixes some typos.Ondrej Zajicek
2010-04-26Neighbors on OSPF broadcast networks should be identified by IP address, not ↵Ondrej Zajicek
RID. Allows simple support for multiple interfaces to the same network.
2010-04-11Fixes a bug in OSPF on NBMA interfaces.Ondrej Zajicek
A very tricky bug. OSPF on NBMA interfaces probably never really worked. When a packet was sent to multiple destinations, the checksum was calculated multiple times from a packet with already filled checksum field (from previous calculation). Therefore, many packets were sent with an invalid checksum.
2010-04-02Minor fixes to previous patches.Ondrej Zajicek
2010-03-22Fixes LLS compatibility.Ondrej Zajicek
2010-03-11Merge branch 'new' into socket2Ondrej Zajicek
2010-03-11Temoporary OSPF commit - socket changes.Ondrej Zajicek
2010-02-21Fix configure to enable warnings and fix most of them.Ondrej Zajicek
2010-02-11Temporary OSPF commit - socket changes.Ondrej Zajicek
2010-01-08A partial vlink fix.Ondrej Zajicek
2009-12-11Implements protocol-specific Router ID for OSPF.Ondrej Zajicek
And fixes one minor bug.
2009-11-09Use IPv6 checksums in OSPFv3.Ondrej Zajicek
2009-10-29Implements better checks on incoming packets and LSAs in OSPF.Ondrej Zajicek
2009-09-04Temporary OSPFv3 development commit (changing multicast support).Ondrej Zajicek
2009-08-25Temporary OSPFv3 development commitOndrej Zajicek
2009-08-21Temporary OSPFv3 development commitOndrej Zajicek
2009-05-24Ignore Hello packets from different IP network (than primary).Ondrej Zajicek
2009-04-08Fixes broken cryptographic authentication in OSPFOndrej Zajicek
Cryptographic authentication in OSPF is defective by design - there might be several packets independently sent to the network (for example HELLO, LSUPD and LSACK) where they might be reordered and that causes crypt. sequence number error. That can be workarounded by not incresing sequence number too often. Now we update it only when last packet was sent before at least one second. This can constitute a risk of replay attacks, but RFC supposes something similar (like time in seconds used as CSN).
2009-01-16One null-pointer dereference bugfix hidden in whitespace changesOndrej Zajicek
2009-01-12Add check detecting packet overwrite in TX buffer.Ondrej Zajicek
2009-01-11Move check for NULL before usage of variable.Ondrej Zajicek
2008-11-08Fix bugs in OSPF MD5 authentication. First bug is that defaultOndrej Zajicek
values for MD5 password ID changed during reconfigure, Second bug is that BIRD chooses password in first-fit manner, but RFC says that it should use the one with the latest generate-from. It also modifies the syntax for multiple passwords. Now it is possible to just add more 'password' statements to the interface section and it is not needed to use 'passwords' section. Old syntax can be used too.
2008-11-05Fix problem with local time changes.Ondrej Zajicek
2005-03-15Small bugfix in tracing.Ondrej Filip
2005-03-15Maximal packet size in virtual links is 576.Ondrej Filip
2005-03-14Look for large packets.Ondrej Filip
2005-02-20Cleanup - all unused variables deleted.Ondrej Filip
2005-02-14Be more verbose in log.Ondrej Filip
2005-02-14Small changes to reduce number of warnings.Ondrej Filip
2005-02-13Many bugfixes in routing table calculation and summary LSA origination.Ondrej Filip
2005-02-12Bugfix in password acceptanceOndrej Filip
2004-07-15Huge OSPF database redesign. Since now, all LSAs of all areasOndrej Filip
are in single database. This avoids duplication of external LSAs and fixes bug in external LSA distribution.
2004-07-14Multiple OSPF areas can be attached.Ondrej Filip
Origination of summary LSA works. Routing table calculation works. Virtual links works. Well, I hope, OSPF is fully compatible with RFC2328!!!!
2004-07-13MD5 authentication in OSPF works. :-)Ondrej Filip
2004-07-13Bugfix in simple authentification.Ondrej Filip
2004-07-08Syntax bugfix.Ondrej Filip