Ondrej Filip
0e1b949be7
Bugfix in testing of possibility of adjacency.
2000-05-09 12:18:41 +00:00
Ondrej Filip
432996f40f
Better dumping.
2000-05-09 12:03:57 +00:00
Ondrej Filip
54ac9d2e03
Bugfix in hello.
2000-05-09 12:02:48 +00:00
Ondrej Filip
4057093fa4
Small cleanup.
2000-05-09 11:52:44 +00:00
Ondrej Filip
551d444382
Sorry, it didn't compile. :-(
2000-05-09 11:29:52 +00:00
Ondrej Filip
b29c620f90
Another bugfix in neighbor state machine.
2000-05-09 11:27:31 +00:00
Ondrej Filip
279a3b76d1
Small bug in neighbor state machine.
2000-05-09 10:47:10 +00:00
Ondrej Filip
fafe44b651
Just added declaration of AS Ext routes calculation.
2000-05-09 00:03:08 +00:00
Ondrej Filip
43e75f38e7
Do not stop lsrr_timer in FULL state. Use it for retransmition.
2000-05-08 23:46:31 +00:00
Ondrej Filip
ed4a53c6a5
Some changes in debugging.
2000-05-08 22:50:37 +00:00
Ondrej Filip
9bacea4211
Fixed some FIXME's by deleting them. :-)
2000-05-08 22:49:58 +00:00
Ondrej Filip
8a3049f6f1
Useless '\n' in log()
2000-05-08 22:42:56 +00:00
Ondrej Filip
eae4fcf253
Stopping RXMT timer when going to lower state than EXSTART.
2000-05-08 22:40:55 +00:00
Martin Mares
c09d1e8df2
KEEPALIVE TIME ought to set keepalive time, not connect retry time :)
2000-05-08 22:32:17 +00:00
Ondrej Filip
fc0ca2d8e1
Typo in debug.
2000-05-08 22:28:42 +00:00
Ondrej Filip
a6fdf9c6ac
Grrr, useless debug.
2000-05-08 22:27:25 +00:00
Ondrej Filip
5ee479aac9
Small typo.
2000-05-08 22:26:11 +00:00
Ondrej Filip
0ebb8b64f3
Bugfix in new neighbor allocation.
2000-05-08 22:24:22 +00:00
Ondrej Filip
77fbd315df
Better debug output.
2000-05-08 22:10:10 +00:00
Ondrej Filip
b57a45b81a
Next hop calculation improved. (I ignored stub networks advertised by my
...
neighbors.
2000-05-08 22:03:29 +00:00
Ondrej Filip
158b99c912
Better logging. (%d->%I)
2000-05-08 22:02:45 +00:00
Martin Mares
0c3588bf5e
Don't crash when the socket gets closed between updates.
...
Also, this time not only update `remains', but update it right :)
2000-05-08 14:53:22 +00:00
Martin Mares
9ff8f334ed
Update `remains' counter correctly.
2000-05-08 14:32:19 +00:00
Martin Mares
93d6bf38a6
The bgp_list is gone. Incomming connections are now handled in a much
...
more straightforward manner by scanning the active configuration for
matching protocols.
2000-05-08 13:26:30 +00:00
Martin Mares
507eea4c8b
Don't generate corrupted packets when sending only route deletes.
2000-05-08 12:37:24 +00:00
Martin Mares
79681f4a19
Link the instance to the global BGP list as soon as possible.
2000-05-08 11:04:22 +00:00
Martin Mares
916c8c0aba
Use preferences properly.
2000-05-08 10:40:00 +00:00
Martin Mares
92ef4fa719
Preference is a configurable parameter.
2000-05-08 10:38:25 +00:00
Martin Mares
acfce55c86
Setup of incoming connection is now a separate function.
2000-05-07 10:41:45 +00:00
Martin Mares
ce1da96ee7
Added commands show route protocol <p>' and
show route import <p>' which
...
show the routing table as exported to the protocol given resp. as returned
from its import control hook.
To get handling of filtered extended attributes right (even in the old
`show route where <filter>' command), the get_route_info hook gets an
attribute list and all protocol specific rte attributes are contained
there as temporary ones. Updated RIP to do that.
Added ea_append() which joins two ea_list's.
2000-05-06 22:57:39 +00:00
Martin Mares
ab1129c1bd
Added skeleton Doc files for the whole developer's documentation.
2000-05-05 17:17:42 +00:00
Martin Mares
beaf86e13c
Removed RTS_RIP_EXT.
2000-05-04 21:23:10 +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
Martin Mares
2a149b18cc
Unused variables in IPv6 code.
2000-05-04 20:38:44 +00:00
Martin Mares
93a786cb03
Removed a lot of unused variables.
...
Please try compiling your code with --enable-warnings to see them. (The
unused parameter warnings are usually bogus, the unused variable ones
are very useful, but gcc is unable to control them separately.)
2000-05-04 20:30:36 +00:00
Pavel Machek
9b63e3a58a
Spelling fixes.
2000-05-04 20:08:34 +00:00
Martin Mares
cf3d6470d7
IPv6 BGP support finished. Also simplified the BGP stuff a bit.
2000-05-04 20:02:56 +00:00
Martin Mares
1c1da87b27
Receive-only IPv6 BGP.
2000-05-04 09:03:31 +00:00
Ondrej Filip
d345cda5a1
Bugfix in Network lsa originating
...
Bugfix in ntohlsab() and htonlsab()
For calculating of rt I use my own fib. I delete routes! ;-)
2000-05-04 01:23:03 +00:00
Ondrej Filip
9e48d717cf
Test for "flushing" added.
2000-05-03 22:36:12 +00:00
Ondrej Filip
a02c6c184b
Cleanup of code. Some arguments of functions were useless.
2000-05-03 22:23:41 +00:00
Ondrej Filip
ad5453b540
Testing if I can flush LSA from database.
2000-05-03 22:12:33 +00:00
Ondrej Filip
9bc1808a27
Better rt and net originating.
2000-05-03 00:08:48 +00:00
Ondrej Filip
0bf2f2039e
Originating of network LSA.
2000-05-02 23:09:44 +00:00
Ondrej Filip
249fdef7a1
Adding InfTransDelay for outgoing lsa.
2000-05-02 22:31:48 +00:00
Ondrej Filip
c45f48fba5
Aging of lsa database added.
2000-05-02 22:19:41 +00:00
Ondrej Filip
a92847e78f
Route calculation for stub networks.
2000-05-02 19:27:57 +00:00
Martin Mares
53943a0022
Defined format specifier %M' which behaves as
%m', but takes the
...
error code as an argument.
Use it in socket hooks where we really shouldn't rely on errno containing
the right value or even existing.
2000-05-02 16:10:04 +00:00
Martin Mares
85368cd4b7
Full protocol tracing.
2000-05-02 16:07:41 +00:00
Martin Mares
d1a74339d4
Handle redistribution of unknown attributes correctly.
2000-05-02 12:51:39 +00:00
Ondrej Filip
85195f1a53
Many small changes and bug fixes. Routing table calculation works.
...
I'm waiting for rt lookup to add stub networks.
2000-04-30 22:14:31 +00:00
Pavel Machek
2337ade754
Moved documentation to top of file, where it belongs.
2000-04-30 18:47:48 +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
e80e9d0da5
RT calculation strongly simplified. Now, I don't need any
...
memory allocation. :-)
2000-04-30 09:32:41 +00:00
Ondrej Filip
468f2347fc
Calculating of nexts hop(s) added.
2000-04-29 15:57:14 +00:00
Pavel Machek
9c1a55deee
IpV6 now actually compiles.
...
Mj, could you provide example of static config for ipv6 that is _not_
rejected by checks? I tried this and got rejected.
route 62:168::/32 via 62:169::;
route 1:2::/32 via 1:3::;
2000-04-29 15:45:30 +00:00
Martin Mares
cea6366400
The `bgp_origin' attribute is now an enum.
2000-04-28 15:13:29 +00:00
Martin Mares
2edb31b097
Split CF_HDR section to CF_HDR (only includes) and CF_DEFINES (defines,
...
C declarations etc.).
2000-04-28 15:11:10 +00:00
Pavel Machek
decc99fbbd
Killed fixme: I already fixed it.
2000-04-28 10:15:57 +00:00
Pavel Machek
a769a180d7
Provide rip_get_attr, how do I test it?
2000-04-28 10:14:59 +00:00
Pavel Machek
6c0a7174af
Add sample documentation to rip.
2000-04-28 09:55:52 +00:00
Martin Mares
f94557dec5
Some more fixes for attributeless UPDATEs.
2000-04-27 22:40:19 +00:00
Martin Mares
54896cbdba
Path attribute can be missing if we process a packet with empty NLRI section.
2000-04-27 22:31:11 +00:00
Martin Mares
9165888ad2
Handle connect errors correctly.
2000-04-27 19:41:10 +00:00
Ondrej Filip
2add26dfa9
Stub networks done.
2000-04-26 20:16:36 +00:00
Ondrej Filip
5904a51266
Nets are used before routers.
2000-04-26 14:03:56 +00:00
Martin Mares
5db9bae286
IBGP fixes.
2000-04-26 13:26:31 +00:00
Ondrej Filip
dfa9a53a66
Routing table calculation. Dijkstra done.
2000-04-26 12:54:23 +00:00
Pavel Machek
c010f4cb37
Use right address for ripv6.
2000-04-26 11:33:03 +00:00
Pavel Machek
7f704c06d8
Cleanup in preparation for ipv6.
2000-04-26 11:07:57 +00:00
Martin Mares
6fd766c17e
Implemented automatic restart after error with all the timers needed.
2000-04-25 23:08:31 +00:00
Martin Mares
8573314326
Avoid printing of error messages on Cease notifications.
2000-04-25 23:08:03 +00:00
Martin Mares
b3155b3399
Randomize timers properly.
2000-04-25 22:01:19 +00:00
Martin Mares
42532f0846
Support dynamic reconfiguration.
2000-04-25 21:58:17 +00:00
Martin Mares
99f70c78e1
Use the same attribute names as in filters.
2000-04-25 21:31:15 +00:00
Martin Mares
684c25d98f
When sending BGP attributes, re-create the flags, so that attributes
...
added by filters which get the flags wrong are fixed automagically.
2000-04-25 21:21:52 +00:00
Martin Mares
efcece2da3
Better reporting of both local and remote errors.
2000-04-25 21:13:25 +00:00
Martin Mares
a47a01083b
Real parsing of BGP OPEN options including capability
...
negotiation.
2000-04-25 13:32:17 +00:00
Martin Mares
8b258e4e65
LOCAL_PREF is now always present and exported over all ibgp connections [draft]
...
Allow setting of address of the local end of the TCP connection.
Several bug fixes.
2000-04-21 13:01:28 +00:00
Martin Mares
2a9e064d7b
If no NLRI's are present in an UPDATE message, parse the attributes, but
...
don't check presence of mandatory attributes. [draft-09]
2000-04-21 12:25:35 +00:00
Martin Mares
7787ace61a
Synced to draft-ietf-idr-bgp4-09.
2000-04-20 22:54:22 +00:00
Martin Mares
9bc6ab4041
Fixed reporting of unknown options.
2000-04-20 22:34:50 +00:00
Martin Mares
5f532adde2
Temporarily ignore unknown options.
2000-04-19 13:54:35 +00:00
Martin Mares
f381cdce52
The ATOMIC_AGGREGATE parameter is optional transitive.
2000-04-19 13:54:17 +00:00
Martin Mares
e0d6a7bda4
Delay fetching of router ID.
2000-04-19 13:28:56 +00:00
Martin Mares
035044b1d9
Select the right source address and don't check port numbers.
2000-04-19 12:51:14 +00:00
Ondrej Filip
85c92555ef
Grr, another patch to make it compile.
2000-04-18 22:11:05 +00:00
Ondrej Filip
740d16d972
Another ack bugfix. (Bad test for MIN_LS_ARRIVAL.)
2000-04-18 22:07:58 +00:00
Ondrej Filip
84228eee27
LS ack bugfix. (I didn't remove LSA from LSret hash.)
2000-04-18 21:40:11 +00:00
Ondrej Filip
19fc4c763e
LS ack.
2000-04-18 21:13:56 +00:00
Ondrej Filip
26116eac93
Better LS Ack dumping.
2000-04-18 20:34:19 +00:00
Ondrej Filip
48f5a61f69
Bugfix in neighbor dumping.
2000-04-18 19:56:43 +00:00
Ondrej Filip
9eada7ca03
Fixed the serious bug in LSack.
...
Oh, I'm an idiot. I sent LSACK, but in header was LSUPD. :-(
2000-04-18 19:44:16 +00:00
Ondrej Filip
9eea604769
Multicast open socket for (B)DR bugfix.
2000-04-18 19:31:42 +00:00
Ondrej Filip
79f036ef6e
Dump changes.
2000-04-18 19:22:49 +00:00
Ondrej Filip
4472402551
Many %u changer into %I.
2000-04-18 18:29:50 +00:00
Ondrej Filip
89929e9daa
Many %u changed into %I and dump cleanup.
2000-04-18 18:21:10 +00:00
Ondrej Filip
1508ee8b53
Iface chstate run only if something really change.
2000-04-18 18:01:26 +00:00
Ondrej Filip
dd100e40c6
Better dumping in neighbor chstate.
2000-04-18 17:58:16 +00:00
Ondrej Filip
8914e37dc0
Better chstate dumping.
2000-04-18 17:54:06 +00:00
Ondrej Filip
284c43ff66
Sending of ACK disabled, since I'll find bug.
2000-04-18 17:36:46 +00:00
Ondrej Filip
023f5e86eb
Another LSack update. It's still NOT correct and it surely
...
kills gated or Cyclades OSPF implementation. :-)
2000-04-18 17:00:56 +00:00
Ondrej Filip
67315ef64e
Some lsack work. There is something very worng. :-( It locked my network.
2000-04-18 01:06:16 +00:00
Ondrej Filip
2a0925948d
Listening on AllDRouters for DR and BACKUP added.
2000-04-17 21:10:40 +00:00
Ondrej Filip
38130b863f
Small change in LSA originating.
2000-04-17 20:42:42 +00:00
Martin Mares
bd2d8190dd
Honor standard communities (no_export, no_advertise, no_export_subconfed)
...
when exporting routes.
2000-04-17 13:13:08 +00:00
Martin Mares
56a2bed46b
Don't import/export MED and LOCAL_PREF on external links.
...
Added real comparison of BGP routes (inspired by the Cisco one).
Default local preference and default MED are now settable.
Defined filter keywords for all BGP attributes we know.
2000-04-17 12:46:07 +00:00
Martin Mares
e3558ab14e
Normalize community sets when exporting.
...
Set PARTIAL bits correctly.
2000-04-17 11:25:15 +00:00
Martin Mares
1ed2fe9609
Send and receive communities.
2000-04-17 10:19:15 +00:00
Martin Mares
f421cfdd80
Sending of update messages works!
2000-04-17 09:37:31 +00:00
Martin Mares
c0668f3696
Created nest/a-path.c and a-set.c which should contain general operations
...
on AS paths and community sets.
Moved as_path_prepend() there.
Pavel, please move the other functions as well.
2000-04-17 07:53:29 +00:00
Ondrej Filip
ebff007f08
LSack receiving bugfix.
2000-04-12 15:37:52 +00:00
Ondrej Filip
4bf41ac8b1
LS Ack receiving done.
2000-04-12 15:20:13 +00:00
Ondrej Filip
58313b24c8
Stupid "+1"-bug fixed.
2000-04-12 14:49:20 +00:00
Martin Mares
c8f685cb9d
Made last Pavel's changes compile.
2000-04-12 14:14:47 +00:00
Pavel Machek
0a40e97328
as_path_prepend is usable outside bgp.
2000-04-12 14:12:37 +00:00
Martin Mares
c2b28c9910
Real bucket lists.
2000-04-12 14:09:26 +00:00
Pavel Machek
ac7a2145cc
f_new_dynamic_attr gets third argument, type as filters know it.
2000-04-12 14:02:04 +00:00
Martin Mares
12d5677aa3
Define BGP_PATH.
2000-04-12 13:56:04 +00:00
Martin Mares
7750634946
Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) constructs.
2000-04-12 13:21:23 +00:00
Martin Mares
ae8f558499
Implemented outgoing attribute cache.
2000-04-10 12:39:51 +00:00
Martin Mares
48e842cc98
Use neighbor cache to track direct route to the peer or multihop destination.
...
Calculate next_hop properly based on the local address we get from the
neighbor entry.
2000-04-10 11:21:40 +00:00
Martin Mares
ef2c708dfa
More BGP progress...
...
For Pavel: You can use bgp_path_prepend() for prepending AS numbers to AS paths.
2000-04-09 22:05:02 +00:00
Pavel Machek
3d0ea3a7c3
Fix of comment.
2000-04-07 09:02:17 +00:00
Ondrej Filip
2c971094eb
LSA flooding done.
2000-04-05 00:51:25 +00:00
Ondrej Filip
10000b96a8
Small clean up. (Duplicate #defines.)
2000-04-04 22:27:19 +00:00
Ondrej Filip
f1f7faceb4
"Bug in hashing" fixed. Ehm it was bug in lsrql node removing.
2000-04-04 22:22:08 +00:00
Ondrej Filip
d8852b362c
LSupdate processing improved. Now there is some bug in hashing. :-(
2000-04-04 15:55:55 +00:00
Ondrej Filip
921a93f217
Flooding work continues.
2000-04-04 00:32:17 +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
394acced11
Work on lsupdates continues. Some checksum cleanup.
2000-04-02 20:41:33 +00:00
Ondrej Filip
db9fb72769
lsa_cmp moved into lsalib.c
2000-04-02 19:04:23 +00:00
Martin Mares
10be74da20
Formatting of dynamic attributes (except for paths and communities which
...
will be added soon).
2000-04-01 10:21:11 +00:00
Martin Mares
dad177d7e0
RIP: Set attribute class.
2000-04-01 10:20:12 +00:00
Martin Mares
f880924990
BGP now handles incoming routes (IPv4 only).
2000-04-01 09:17:33 +00:00
Ondrej Filip
499cb346f6
LSA checksum works. But it's very uneficient on little endian systems.
2000-04-01 02:45:49 +00:00
Martin Mares
ac4b4683ae
Removal of useless includes continues...
2000-03-31 23:40:00 +00:00
Martin Mares
a37410cbdd
Use bsprintf() instead of sprintf().
2000-03-31 23:33:03 +00:00
Martin Mares
221135d6bf
Include "lib/string.h" instead of <string.h>. It should give us bzero()
...
and other non-portable functions on all systems.
2000-03-31 23:30:21 +00:00
Martin Mares
c00d31befa
Parsing of BGP attributes.
2000-03-31 23:21:37 +00:00
Ondrej Filip
65e55e9cca
Checksum changes. Bug is still NOT fixed. :-(
2000-03-31 01:40:12 +00:00
Ondrej Filip
9f940976d1
Some bug fixes. LSA checksum is still bad. I'll fix it later.
2000-03-31 01:14:41 +00:00
Ondrej Filip
f45fd3164b
Sending of lspd as responce to lsreq done.
2000-03-31 00:21:41 +00:00
Ondrej Filip
14a7921c83
LSA structure changes. (Len added.)
2000-03-30 20:18:51 +00:00
Ondrej Filip
de769e24c0
Skeleton structures and files added.
2000-03-30 20:00:42 +00:00
Ondrej Filip
95eb1dba3f
Add hashing to link state request list.
2000-03-30 19:37:26 +00:00
Ondrej Filip
76915ec979
Minor changes.
2000-03-30 19:21:17 +00:00
Martin Mares
973399ae2c
Basic analysis of UPDATE packets.
2000-03-30 18:44:23 +00:00
Martin Mares
b552ecc4d7
Connection state machine works.
2000-03-30 17:39:48 +00:00
Ondrej Filip
ce0603a6ed
Better list manipulation.
2000-03-30 16:22:58 +00:00
Martin Mares
3fdbafb6f4
More BGP. This time it connects, but the state machine still isn't complete.
2000-03-30 10:44:20 +00:00
Ondrej Filip
6d2b32114f
LSreq initial work.
2000-03-30 00:18:59 +00:00
Ondrej Filip
2560c8860e
Slave bug fix.
2000-03-29 17:51:40 +00:00
Ondrej Filip
910e557b47
Many changes in dbdes sending & receiving. EXDONE caused.
2000-03-29 17:18:06 +00:00
Ondrej Filip
315648af8e
RXMT timer handling bug fix.
2000-03-29 13:02:58 +00:00
Ondrej Filip
3fba209688
Some FIXME added.
2000-03-29 12:47:07 +00:00
Ondrej Filip
96501dfe5f
Sending of DBdes bug fixed.
2000-03-29 12:45:37 +00:00
Ondrej Filip
04c6319a63
IMMS reverted to bits. Outgoing packets dumping added.
...
Cisco does not set inteface MTU. Hmm....
2000-03-29 12:32:25 +00:00
Pavel Machek
8d2e3eba92
Cross-protocol issues solved better
2000-03-29 08:58:06 +00:00
Ondrej Filip
963ea03d87
DBdes sending/receiving changes.
2000-03-29 00:34:28 +00:00
Pavel Machek
d0031c5ee9
Use neigh_connected_to in rip, and behave more correctly
...
w.r.t. whotoldme and nexthop.
2000-03-27 12:21:11 +00:00
Pavel Machek
6480dd0880
I broke compilation. Sorry.
2000-03-26 21:31:57 +00:00
Pavel Machek
8c86f96fa6
Split horizont done right.
...
Locks done better.
2000-03-26 18:01:27 +00:00
Pavel Machek
9ee07ca53f
FIXME was actually already resolved
2000-03-24 10:08:20 +00:00
Pavel Machek
772f489932
Minor change to make code more readable.
2000-03-23 12:08:40 +00:00
Pavel Machek
ff8ed63285
Rip now tries to lock interface.
...
Fixed fatal errors which caused segfault at startup.
Fixed fatal errors in rip which caused it not to send more than first
update.
2000-03-22 14:26:03 +00:00
Martin Mares
72a6ef11fe
Construction of BGP packets.
2000-03-21 15:53:50 +00:00
Martin Mares
c01e37416d
Started work on BGP. Wrote main part of the connection handling code.
2000-03-20 21:50:17 +00:00
Martin Mares
2638249d34
Bare skeleton of the BGP.
2000-03-19 22:09:07 +00:00
Pavel Machek
856b87d1e4
Cleanup, mostly debugging messages.
2000-03-13 13:31:00 +00:00
Martin Mares
6b9fa32080
Great cleanup of debug messages. LOCAL_DEBUG turned off in most modules,
...
several debug() calls converted to DBG().
2000-03-12 21:01:38 +00:00
Ondrej Filip
ce17d4c165
LSA DB is completely redesigned. Now it should be faster and it needs
...
less memory.
2000-03-09 22:38:05 +00:00
Pavel Machek
af834f8630
Categorized TRACE() messages in rip
2000-03-09 16:38:51 +00:00
Pavel Machek
cb822c0777
Rip tracing: still need config hunk to set p->debug.
2000-03-09 15:12:41 +00:00
Pavel Machek
38466dbdac
log() classes done right
2000-03-09 14:59:10 +00:00
Ondrej Filip
30147b89ff
Sending of DBDes. (Checksum and length calculation NOT done.)
2000-03-08 12:50:28 +00:00
Martin Mares
9f4929e749
Renamed EAF_INLINE to EAF_TEMP to make the name reflect the real meaning.
2000-03-04 22:30:44 +00:00
Pavel Machek
62ab789de5
Added type parameter to f_new_dynamic_attr.
2000-03-01 14:42:59 +00:00
Martin Mares
db1326aa5e
Dynamic attributes are now declared in per-protocol grammar files instead
...
of filter/config.Y. Bird now compiles even if you disable RIP.
Removed RTA and IMPOSSIBLE tokens (unused).
Removed superfluous comment in filter.h.
I've tried to do my best, but Pavel, please check these changes.
2000-03-01 11:32:23 +00:00
Martin Mares
ef0883a12f
Adapted RIP to new interface flags. Pavel, please verify it's right.
2000-02-29 23:20:55 +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
ea28da044a
Small change for debugging.
2000-02-23 23:23:19 +00:00
Ondrej Filip
91808fffc2
Structures for router LSA added.
2000-02-23 23:14:18 +00:00
Ondrej Filip
6fa948d6c5
Better debugging.
2000-02-23 23:13:27 +00:00
Ondrej Filip
e6fcf113ec
Better debuging.
2000-02-23 23:13:10 +00:00
Ondrej Filip
4bf6de8737
Hash table structure redesigned.
2000-02-08 22:43:10 +00:00
Ondrej Filip
316d7bd7d1
Other LS struct added.
2000-02-08 22:13:12 +00:00
Ondrej Filip
d3cb698053
LSA type changed from u16 to u8.
2000-02-08 19:24:22 +00:00
Ondrej Filip
c7b915d68c
Malloc() changed to cfg_alloc().
2000-02-08 19:12:42 +00:00
Pavel Machek
bd215f8bab
Do not send empty packets in rip.
2000-01-26 14:12:18 +00:00
Pavel Machek
8660913ba8
Output made prettier.
2000-01-26 12:07:18 +00:00
Martin Mares
295ae16d4d
Static protocol supports full dynamic reconfiguration.
2000-01-17 12:38:50 +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
Martin Mares
0ec90e9fc6
Pipe protocol supports reconfiguration.
2000-01-17 00:20:45 +00:00
Martin Mares
50fe90edf3
First attempt on dynamic reconfiguration. There are still lots of bugs
...
and problems to solve, but the hardest part works.
2000-01-16 16:44: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
Martin Mares
3f996d46df
Added missing semicolon.
...
rip.h compiles in IPv6 mode, rip.c still doesn't.
1999-12-16 13:14:32 +00:00
Martin Mares
6aea8905c4
TODO entries and FIXME's.
1999-12-16 12:18:33 +00:00
Pavel Machek
dff1f57917
Added hooks for show route.
...
Fixed passing metrics around routing tables.
1999-12-08 13:33:44 +00:00
Pavel Machek
4d4de35f00
Fix timing and fix endianity in metrics.
1999-12-08 12:51:45 +00:00
Martin Mares
feed822676
Implemented `show static'. It's a relatively good example of how to write
...
show commands for other protocols.
1999-12-03 11:41:23 +00:00
Pavel Machek
e7f76bae8c
Stupid bug (essentially while(1) loop) occuring sometimes during start
...
of bird fixed.
1999-12-01 13:44:42 +00:00
Pavel Machek
639e628554
Actually check sequence numbers.
1999-12-01 12:52:57 +00:00
Martin Mares
3daf783f95
Implemented get_status for the pipe protocol (reports name of the other
...
side of the pipe).
Please do so for your protocols as well.
1999-12-01 12:01:41 +00:00
Ondrej Filip
163b207346
Inicialisation of Topology Graph (TG).
1999-11-30 10:35:26 +00:00
Pavel Machek
1a509a6310
md5 authentication seems to work.
1999-11-25 15:03:12 +00:00
Pavel Machek
d3702d57fd
Bugfixes: select right password for password authentication, do not
...
try to process authentication blocks as datablocks, make it possible
to add data at end of packet. Password authentication should actually work.
1999-11-25 14:54:08 +00:00
Pavel Machek
7e61cac325
Triggered updates should now actually work. Fixed metric=16 -> time it
...
out logic.
1999-11-25 13:38:25 +00:00
Pavel Machek
774f149959
Fix timeouts. Triggered updates are not done, yet.
1999-11-25 12:01:45 +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
Martin Mares
ea9bb932a3
Commented out nexthop selection, see the comment.
1999-11-17 11:16:15 +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
Pavel Machek
3918b1b050
Added timeout for routes (which means proper expiring of routes) added
...
few fixmes.
1999-11-10 11:52:36 +00:00
Pavel Machek
a5b583f20a
FIXME's updated. One fixme is remaining for correct RIPv4. Wow.
1999-11-04 14:39:51 +00:00
Pavel Machek
7bf19253d0
Reject packets which are not authenticated.
...
Set correct nexthop on outgoing packets.
1999-11-04 14:26:18 +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
Pavel Machek
f942a589ef
FIXME's for rip added.
...
Will we ever able to generate packets saying "route 1.2.3.4 using someone else"?
1999-10-12 13:04:50 +00:00
Martin Mares
89dc383a8c
Changed syntax of ip_class_mask, the old one was stupid.
1999-10-12 07:46:08 +00:00
Pavel Machek
c79ec2ec19
Untested IPv6 support added. I do not know if it compiles in IPV6 mode.
1999-10-11 14:19:29 +00:00
Pavel Machek
ac40c888c2
Obvious bugs in authentication fixed.
1999-10-02 10:44:48 +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
Pavel Machek
2981814066
Few FIXME's removed from auth, few FIXME's added to filter.
1999-08-20 09:59:39 +00:00
Pavel Machek
bce8a34b12
Few fixme's fixed in rip (will not crash any more on request for
...
sending routing table - hopefully).
Next few steps in md5 authentication (not yet complete).
1999-08-18 13:19:33 +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
Martin Mares
55e06729b1
Forgot to do a `cvs add', grr.
1999-08-03 19:57:43 +00:00
Martin Mares
8edf2361f9
Cleaned up handling of interface patterns:
...
o Parsing of interface patterns moved to generic code,
introduced this_ipatt which works similarly to this_iface.
o Interface patterns now support selection by both interface
names and primary IP addresses.
o Proto `direct' updated.
o RIP updated as well, it also seems the memory corruption
bug there is gone.
1999-08-03 19:30:49 +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
Pavel Machek
9de840bdbd
Set corectly destination address for RIP multicast. Broadcasting &
...
multicasting rip actually works [broadcasting is kind of hard to turn
it on, through].
1999-05-31 20:34:48 +00:00
Pavel Machek
b94bbe0027
Added FIXME: mode broadcast randombly corrupts memory.
...
Small cleaning and bugfixes.
1999-05-31 20:30:16 +00:00
Pavel Machek
9607536dbf
Kill duplicity between rif and rif_patt.
1999-05-31 19:43:08 +00:00
Pavel Machek
72efa4b6f8
Small fixes to rip.
1999-05-31 19:37:16 +00:00