Ondrej Filip
fdb1998202
Serious bug in ext lsa origination found. Going for 1.0.4.
2000-09-03 22:18:40 +00:00
Ondrej Filip
e3bc10fdc4
Added stub interface. (Interface which is propagated to OSPF but
...
it does not sends nor listens packets.)
I added some new options, please look at it and look into doc if it's OK.
2000-09-02 08:54:40 +00:00
Ondrej Filip
5ddec4e6cf
Reconfigure poll interval.
2000-09-02 07:58:05 +00:00
Ondrej Filip
7cedbf217e
Reconfiguration for new options.
2000-09-02 00:15:07 +00:00
Ondrej Filip
1eec760778
Typo in rte_better.
2000-08-16 20:18:19 +00:00
Ondrej Filip
d6a7e2fb85
Bug in rte_better.
2000-08-16 19:03:06 +00:00
Martin Mares
6567e6cf50
Missing parameters...
2000-06-08 12:42:34 +00:00
Martin Mares
725270cb1d
Fixes for the programmer's manual.
2000-06-08 12:37:21 +00:00
Ondrej Filip
17e29574bc
Better algoritmus of LSA aging.
2000-06-07 23:48:33 +00:00
Ondrej Filip
37c3e558ab
Simple explanation, how LSA are kept in database.
2000-06-07 23:05:32 +00:00
Ondrej Filip
d5e4b51865
Doc
2000-06-07 22:10:46 +00:00
Ondrej Filip
7ab3ff6a28
Doc in neighbor.c and some tiny changes related to.
2000-06-07 21:46:22 +00:00
Ondrej Filip
6f58dc64c9
Doc
2000-06-07 20:50:08 +00:00
Ondrej Filip
89755a8623
Introdution into OSPF.
2000-06-07 20:30:27 +00:00
Ondrej Filip
fa6c2405e2
Now I can change cost of interface without OSPF restart.
2000-06-07 13:46:13 +00:00
Ondrej Filip
8cd5c52fcb
Removed useless trace.
2000-06-07 01:19:16 +00:00
Ondrej Filip
edc34dc912
Reconfiguration hook.
...
It will survive many timer and constat changes.
2000-06-07 00:56:11 +00:00
Ondrej Filip
ee4880c82f
Some '\n' deleted.
2000-06-06 02:54:41 +00:00
Ondrej Filip
992705f65a
Tracing in topology
2000-06-06 02:27:08 +00:00
Ondrej Filip
f14032efdd
First part of tracing.
2000-06-06 02:09:58 +00:00
Ondrej Filip
51cff78b25
Allocate OSPF areas before interfaces.
2000-06-06 01:46:32 +00:00
Ondrej Filip
80787d418b
Dummy reconfigure added.
2000-06-06 00:52:35 +00:00
Ondrej Filip
3b580a23ad
Bugfix in NET LSA flushing.
...
Configuration now works! :-)
Better "show ospf"
Some minor bugfixes.
2000-06-05 20:57:53 +00:00
Martin Mares
8441f17925
Unless a filter specifies otherwise, all external routes have type 2
...
metric 10000.
2000-06-05 18:40:25 +00:00
Ondrej Filip
273fd2c164
Many bugfixes (I don't remember all of them):
...
Added link ID calculation for external routes with same prefix but
different mask.
Bugfix in NET lsa origination.
Bugfix in NET hashing.
Bugfix in LSA installing.
2000-06-05 02:23:20 +00:00
Ondrej Filip
89d6782dd1
interface {} added.
2000-06-03 01:29:00 +00:00
Ondrej Filip
b36a0a799c
area {} added to config.
2000-06-02 19:55:55 +00:00
Ondrej Filip
3fa5722def
First option into config added. :-)
2000-06-02 15:05:41 +00:00
Ondrej Filip
ece612e128
sh interface "iface" dumpped all.
2000-06-02 11:24:38 +00:00
Ondrej Filip
3488634cba
Handle "show ospf *" even if protocol is down.
2000-06-02 10:21:02 +00:00
Ondrej Filip
a489f0ce8b
Silly bug in sh interface. Now I test ALL interfaces. :-)
2000-06-02 09:57:22 +00:00
Ondrej Filip
c4f0f01408
Added show ospf interface.
...
show ospf neighbors now knows "<interface>".
2000-06-01 17:52:21 +00:00
Ondrej Filip
4ab4e9778f
show ospf implemented.
2000-06-01 16:26:59 +00:00
Ondrej Filip
a783e259d8
Cisco-like "show ospf neighbors" implemented.
2000-06-01 15:53:06 +00:00
Martin Mares
23df5e4cf3
Print route tag in hexadecimal and omit it if it's zero.
2000-06-01 13:00:39 +00:00
Ondrej Filip
df968040f6
Print tag unsigned rather then signed.
2000-06-01 12:17:08 +00:00
Ondrej Filip
d1660fd3f3
Sort cleanup in aging.
2000-05-31 14:21:56 +00:00
Ondrej Filip
70a383198a
LSArt origination and routing table calculation is now not doing so
...
often. Instead of calculation I just schedule it latter.
2000-05-31 14:06:33 +00:00
Ondrej Filip
a7a3a0a383
Added tagging of external LSA.
2000-05-31 12:07:09 +00:00
Martin Mares
5919c66e8f
Route attributes for OSPF.
2000-05-30 21:25:32 +00:00
Ondrej Filip
1b128de364
Better shutdown.
2000-05-30 16:13:59 +00:00
Ondrej Filip
04c3a83c60
Better inicialisation.
2000-05-30 11:07:31 +00:00
Ondrej Filip
5970fcda8c
Some exchange between init() and start().
2000-05-30 10:53:48 +00:00
Ondrej Filip
73232f6b18
Better rt dumping.
2000-05-30 10:36:57 +00:00
Ondrej Filip
05dbc97b13
Bug in rt_notify.
2000-05-30 10:20:14 +00:00
Ondrej Filip
f7c0525edc
get_route_info() added.
2000-05-28 19:16:04 +00:00
Ondrej Filip
4414d9a57a
get_status() implemented.
2000-05-28 18:49:33 +00:00
Ondrej Filip
d5f029df48
Just added some debug().
2000-05-28 18:34:20 +00:00
Ondrej Filip
4bd28fb68e
Better shutdown. (Flush my own router LSA and send 1WAY to every neighbor.)
...
Ext LSA originating and flushing added.
2000-05-27 15:36:02 +00:00
Ondrej Filip
e8085abaa7
Originating of external LSA.
2000-05-27 14:17:35 +00:00
Ondrej Filip
2d5b999236
Import control implemented.
2000-05-26 19:04:18 +00:00
Ondrej Filip
00c1f79a79
rte_same implemented.
2000-05-17 20:01:25 +00:00
Ondrej Filip
bbd76b421a
rte_better implemented.
2000-05-17 19:27:51 +00:00
Ondrej Filip
aa1e082c67
Calculation of external routes.
2000-05-10 10:47:17 +00:00
Ondrej Filip
432996f40f
Better dumping.
2000-05-09 12:03:57 +00:00
Martin Mares
9a220cabbc
#ifdef out lots of debugging information.
...
The long resource/routing table dump printed upon startup is gone now
and if you wish to see it, just send bird SIGUSR1 or use the `debug'
commands.
2000-05-04 20:52:28 +00:00
Ondrej Filip
c6c5626436
Sync with nest's rt table and some minor improvements.
2000-04-30 11:31:05 +00:00
Ondrej Filip
79f036ef6e
Dump changes.
2000-04-18 19:22:49 +00:00
Ondrej Filip
8496b2e41a
Minor change in area list. Now I use MJ's lists.
2000-04-03 22:31:07 +00:00
Ondrej Filip
de30342f97
Router LSA & area adding.
2000-02-25 19:19:41 +00:00
Ondrej Filip
b786df7035
Memory allocation in ospf_area changed.
2000-02-25 14:26:54 +00:00
Ondrej Filip
ab56f6b16f
Area work and router LSA starts when interface goes up.
2000-02-24 00:26:10 +00:00
Ondrej Filip
c7b915d68c
Malloc() changed to cfg_alloc().
2000-02-08 19:12:42 +00:00
Martin Mares
d272fe22dd
Separated `official protocol names' used in status dumps from name templates
...
used for automatic generation of instance names.
protocol->name is the official name
protocol->template is the name template (usually "name%d"),
should be all lowercase.
Updated all protocols to define the templates, checked that their configuration
grammar includes proto_name which generates the name and interns it in the
symbol table.
2000-01-17 11:52:50 +00:00
Ondrej Filip
1508757478
Preparing for building LS databaze. Huh, why is it so complicated? :-(
...
Adding definition of some constants.
2000-01-05 00:03:47 +00:00
Ondrej Filip
163b207346
Inicialisation of Topology Graph (TG).
1999-11-30 10:35:26 +00:00
Ondrej Filip
4364b47e48
ospf.c and ospc.h splitted into various files.
1999-11-17 15:50:41 +00:00
Ondrej Filip
2af2636a69
Another bugfix. (In EXCHANGE state.)
1999-11-17 13:28:51 +00:00
Ondrej Filip
e17baa3108
Fixed bug receiving dbdes packets in EXSTART state.
1999-11-17 13:15:01 +00:00
Ondrej Filip
986e34131d
Sending DBDES packet in EXSTART done.
1999-11-10 16:06:12 +00:00
Martin Mares
6ba36f06ae
Added LSA hashing table (parts of code stolen from rt-fib.c, but
...
heavily simplified since we don't need asynchronous walking).
1999-11-10 12:27:01 +00:00
Ondrej Filip
ecc3cf6f50
Working on db des receiving.
...
Preparing for building LDA database.
1999-11-03 12:59:38 +00:00
Ondrej Filip
c2250f91c7
Minor changes and bug fixes. Preparing for Exchange and higher states.
1999-10-19 16:13:06 +00:00
Ondrej Filip
96f1b8ba10
Huge changes. Neighbor and interface state machines rewritten.
...
It should be cleaner now, I'm preparing for file splitting.
Maybe I added some minor bugs. :-(
1999-10-18 21:48:51 +00:00
Ondrej Filip
2c1d1cc765
DD packet receiving in ExStart.
1999-08-25 18:44:50 +00:00
Ondrej Filip
1af664158d
A structure for receiving DD seq packets added.
1999-08-24 18:32:26 +00:00
Ondrej Filip
e3121112ab
Preparing to send DD packets.
1999-08-24 14:42:51 +00:00
Ondrej Filip
b332fcdfc8
Better dumping.
1999-08-16 10:32:05 +00:00
Ondrej Filip
032df28048
Small bux fixes. A neigh_chstate added.
1999-08-10 12:06:45 +00:00
Ondrej Filip
a7d388d23e
Multiple "hton problems" fixed. Now we're in EXSTART state.
1999-08-09 18:59:37 +00:00
Ondrej Filip
2be22ddb4c
"My own IP problem" fixed.
1999-08-09 18:49:50 +00:00
Ondrej Filip
a4c2ee717c
Bug fix in checksum calculation.
1999-08-09 18:34:08 +00:00
Ondrej Filip
b1693b8f74
Bug in election fixed.
1999-08-09 18:11:51 +00:00
Ondrej Filip
e83dc0d7e7
(Backup) Designated Router election added.
1999-08-09 17:58:01 +00:00
Ondrej Filip
8c51f96acf
Some interface state machine changes. I found some problem in RFC,
...
trying to conntact authors.
1999-08-09 13:03:28 +00:00
Ondrej Filip
39369d6fbe
Fixed stupid bug with hello vs inactim timers.
1999-06-02 16:31:13 +00:00
Ondrej Filip
bae0f7dbb1
Neigbor deleting done. (I have some problems with timers, so it does not
...
send hello.)
1999-06-01 17:29:56 +00:00
Ondrej Filip
cd70d93470
Detecting of new neighbor added. It starts inactivity timer.
1999-06-01 16:35:18 +00:00
Martin Mares
3e1f30610e
Defined IP_PREC_INTERNET_CONTROL and made all (well, both :)) protocols
...
use it when creating sockets.
1999-06-01 13:57:24 +00:00
Ondrej Filip
c72b09c850
IP socket priority (sock->tos) added. Constant taken from tcpdump of CISCO
...
and gated.
1999-05-31 19:07:31 +00:00
Ondrej Filip
35ff423d54
Some RX_Hello checks added.
1999-05-31 18:56:20 +00:00
Ondrej Filip
75b84c34e3
Sending and receving of hello pkts works. No I will start building neighbor
...
database.
1999-05-31 18:24:54 +00:00
Ondrej Filip
c76674f0e9
struct ospf_neigbor added. Neigbor state machine implementation can start.
1999-05-24 21:17:16 +00:00
Ondrej Filip
65112dd270
ifa->time split into wait_timer and hello_timer. I will send hello in WAITING state.
1999-05-24 18:22:00 +00:00
Ondrej Filip
b9f8590025
IP header test added.
1999-05-24 17:29:05 +00:00
Martin Mares
b23c5e0ff4
Added ip_skip_header() and modified OSPF to use it.
1999-05-14 18:03:09 +00:00
Ondrej Filip
11ce4490fa
*** empty log message ***
1999-05-14 08:50:25 +00:00
Ondrej Filip
67ff91302f
Netmask checking for hello packets added.
1999-05-14 08:46:06 +00:00
Ondrej Filip
7426ee3d49
Checksum control added.
1999-05-13 09:18:36 +00:00
Ondrej Filip
296ecb56eb
OSPF RX implementation starts....
1999-05-11 15:34:33 +00:00