]> git.entuzijast.net Git - imunes.git/log
imunes.git
20 years agoPointers to cross-canvas links now do not need a blank image to be
marko [Mon, 31 Oct 2005 21:37:59 +0000 (21:37 +0000)]
Pointers to cross-canvas links now do not need a blank image to be
selected.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoReimplement IPv4 / IPv6 automatic address assignment process so that it
marko [Mon, 31 Oct 2005 14:57:07 +0000 (14:57 +0000)]
Reimplement IPv4 / IPv6 automatic address assignment process so that it
works properly on cross-canvas links.

Add the "blank.gif" to the install.sh script.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoAdd a blank "icon" for better-looking cross-canvas links.
marko [Tue, 25 Oct 2005 14:47:15 +0000 (14:47 +0000)]
Add a blank "icon" for better-looking cross-canvas links.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFirst-pass fixing of exec.tcl so that it can handle cross-canvas links.
marko [Tue, 25 Oct 2005 12:49:07 +0000 (12:49 +0000)]
First-pass fixing of exec.tcl so that it can handle cross-canvas links.

This means cross-canvas linking now works, but we have to chase the bugs!

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoA partial implementation of cross-canvas links. Breaks exec.tcl
marko [Tue, 25 Oct 2005 10:29:42 +0000 (10:29 +0000)]
A partial implementation of cross-canvas links.  Breaks exec.tcl

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoDeprecate / remove the "delete" icon. Deleting nodes / links can now be
marko [Mon, 24 Oct 2005 12:06:36 +0000 (12:06 +0000)]
Deprecate / remove the "delete" icon.  Deleting nodes / links can now be
performed through the right-button-menu; alternatively, selected nodes
can be deleted using the keyboard shortcut (delete key).

NOTE: this and previous patch have slightly broken the "undo" functionality,
we will deal with this later when cross-canvas linking code will be
completed.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoIntroduce a popup-menu bound to the right mouse button, currently used to
marko [Sun, 23 Oct 2005 23:26:11 +0000 (23:26 +0000)]
Introduce a popup-menu bound to the right mouse button, currently used to
spawn a shell, start ethereal etc.  Creating a link to another node using
this menu is currently a no-op.

Deprecates the old binding model for spawining a shell and starting
ethereal to the right mouse button.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoImplement initial GUI support for operating on multiple canvases.
marko [Sat, 22 Oct 2005 14:45:27 +0000 (14:45 +0000)]
Implement initial GUI support for operating on multiple canvases.

TODO: implement links that can bind nodes in different canvases.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFix the verification of IPv4 / IPv6 network notation.
marko [Thu, 20 Oct 2005 13:51:09 +0000 (13:51 +0000)]
Fix the verification of IPv4 / IPv6 network notation.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoTemporarily disable route redistribution statements in XORP configurations.
marko [Thu, 20 Oct 2005 13:21:39 +0000 (13:21 +0000)]
Temporarily disable route redistribution statements in XORP configurations.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoView / Show IP Addresses is now replaced with "IPv4 Addresses" and "IPv6 addresssees...
miljenko [Wed, 21 Sep 2005 09:43:28 +0000 (09:43 +0000)]
View / Show IP Addresses is now replaced with "IPv4 Addresses" and "IPv6 addresssees". Variable showIfIPaddrs refers to IPv4 addresses, and new variable showIfIPv6addrs refers to IPv6 addresses.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoImprove alghoritmic efficiency / speed of automatic repositioning of
marko [Mon, 12 Sep 2005 00:04:03 +0000 (00:04 +0000)]
Improve alghoritmic efficiency / speed of automatic repositioning of
nodes by a factor of 2.

Improve the stability / decrease the possibility for oscillations.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoReplace the probabilistic algorithm for node rearrangement with a fluid
marko [Sat, 10 Sep 2005 01:03:36 +0000 (01:03 +0000)]
Replace the probabilistic algorithm for node rearrangement with a fluid
model.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoImplement a simple genetic algorithm for automatic rearpositioining of
marko [Thu, 8 Sep 2005 13:02:44 +0000 (13:02 +0000)]
Implement a simple genetic algorithm for automatic rearpositioining of
nodes.  The new function is activated from the "tools" menu, and remains
in effect until a cusor is clicked on blank space in the canvas, or
"execute" mode is engaged.  It is possible to reposition either all nodes
or only the currently selected ones.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoCorrectly handle autogeneration of MAC addresses for up to 100000
marko [Wed, 7 Sep 2005 15:36:39 +0000 (15:36 +0000)]
Correctly handle autogeneration of MAC addresses for up to 100000
interfaces.  We had a bug where we would generate bogus MAC addresses
after 99-th interface would be instantiated.

Bug found by: Dario Vierra
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoSimplify / reduce the autogenerated config file for a XORP router.
marko [Sun, 28 Aug 2005 11:22:38 +0000 (11:22 +0000)]
Simplify / reduce the autogenerated config file for a XORP router.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFix a bug when clicking on blank space in the canvas while active tool
marko [Thu, 18 Aug 2005 22:14:00 +0000 (22:14 +0000)]
Fix a bug when clicking on blank space in the canvas while active tool
is "link" would result in throwing an error.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoAlways put rj45 node in promiscous mode - previously it wouldn't receive
marko [Thu, 18 Aug 2005 21:39:57 +0000 (21:39 +0000)]
Always put rj45 node in promiscous mode - previously it wouldn't receive
any packets for virtual MAC addresses.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFix the MAC address autogenerator which was not resetting after repeated
marko [Sun, 14 Aug 2005 15:35:09 +0000 (15:35 +0000)]
Fix the MAC address autogenerator which was not resetting after repeated
instantiation of topologies, which could lead to overflows of the last
byte of the autogenerated MAC addresses.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoEnable IPv6 forwarding for routers. This was unintentionaly disabled /
marko [Wed, 10 Aug 2005 14:36:10 +0000 (14:36 +0000)]
Enable IPv6 forwarding for routers.  This was unintentionaly disabled /
overlooked in the process of separating node-type specific code from
exec.tcl a few weeks ago.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoBugfix: applying an empty custom-config would lead to a deadlock in GUI.
marko [Fri, 5 Aug 2005 15:11:10 +0000 (15:11 +0000)]
Bugfix: applying an empty custom-config would lead to a deadlock in GUI.

Bugfix: correctly implement removeCanvas procedure.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFix exec.tcl so that it can run without any traces of quagga (no package
marko [Tue, 2 Aug 2005 11:13:48 +0000 (11:13 +0000)]
Fix exec.tcl so that it can run without any traces of quagga (no package
installed and no quagga specific directories).

Bug found by: Atanu Ghosh
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFix the bug in configuration file editor which caused non-visible top
marko [Sat, 30 Jul 2005 02:01:58 +0000 (02:01 +0000)]
Fix the bug in configuration file editor which caused non-visible top
lines of the config to be truncated.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoA race condition could occur in vimageCleanup when processes inside a
marko [Wed, 27 Jul 2005 05:40:10 +0000 (05:40 +0000)]
A race condition could occur in vimageCleanup when processes inside a
dying vimage would be shutting down too slow.  This would occur
particularly often with XORP.  The vimage shutdown is now performed in
a loop to ensure we do not proceed further until the cleanup has
completely succedded.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoMinor fix in config parser - previously we silently discarded all lines
marko [Wed, 20 Jul 2005 22:51:55 +0000 (22:51 +0000)]
Minor fix in config parser - previously we silently discarded all lines
in network- and custom- config sections not beginning with a <TAB>
character, now it is allowed for entries in those sections to start
right at column 0.

Remove another Tk polluting line from exec.tcl

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoMinor nits - hide the Canvas menubar until fully operational, fix spacing
marko [Tue, 19 Jul 2005 00:38:20 +0000 (00:38 +0000)]
Minor nits - hide the Canvas menubar until fully operational, fix spacing
in xorp cfggen, remove unnecessary curly brackets un cfgparse.tcl

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoProcedures dumpCfg and loadCfg separated in cfgparse.tcl (moved from
marko [Mon, 18 Jul 2005 13:00:34 +0000 (13:00 +0000)]
Procedures dumpCfg and loadCfg separated in cfgparse.tcl (moved from
editor.tcl)

Each node now tagged with a canvas ID (muliple canvas / pages support
commin soon in editor.tcl)

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoMove several IPv4 and IPv6 specific procedures into separated newly
marko [Sat, 16 Jul 2005 04:55:00 +0000 (04:55 +0000)]
Move several IPv4 and IPv6 specific procedures into separated newly
created files ipv4.tcl and ipv6.tcl.

Move the MTU rolobox in interface config window from IPv4 address to toplevel.

Change the default IPv6 subnet from fefe:0:: to fec0:0:0:0:: which should
be more correct according to certain authors (site-local prefix space).

Add proc $MODULE.layer for each node type.  Return value can be either
NETWORK or LINK and is to be used primarily by editor.tcl for choosing
which configurable parameter to show / offer on a per-node basis.

Add proc removeNode and removeLink which do not manipulate on any Tk
objects, thus can be invoked in plain tcl scripts.  For removing Tk objects
(primarily in editor.tcl) removeGUINode and removeGUILink should be used.

Node names can now be arbitrary strings, including punctuation and
whitespaces.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFix a bug with pointer / cursor taking wrong icon / shape after choosing
marko [Wed, 13 Jul 2005 22:56:55 +0000 (22:56 +0000)]
Fix a bug with pointer / cursor taking wrong icon / shape after choosing
File->New in main menu.

Also prevent vimageCleanup from being called unnecessarily from within
filemgmt.tcl when in edit mode.

Bug found by: miljenko
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoBack out a bug I previously introduced by removing an "eval" in front
marko [Wed, 13 Jul 2005 22:21:55 +0000 (22:21 +0000)]
Back out a bug I previously introduced by removing an "eval" in front
of exec in proc nexec.

XORP can now be selected as a router model even if xorp is not installed
locally.  Usefull for a) editing a topology on one machine, executing it
on another and b) marketing XORP.  The default router model remains quagga.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoAdd a missing line with "!" after each protocol section in final
marko [Wed, 13 Jul 2005 16:45:35 +0000 (16:45 +0000)]
Add a missing line with "!" after each protocol section in final
quagga configuration.

Remove stale #nexec section from imunes.tcl

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoexec changed to nexec.
miljenko [Wed, 13 Jul 2005 12:45:13 +0000 (12:45 +0000)]
exec changed to nexec.
Added procedure nexec to exec.tcl.
nexec currently calls exec, in future some RPC "exec"

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoBump up version / date reported by imunes -v
marko [Tue, 12 Jul 2005 21:35:20 +0000 (21:35 +0000)]
Bump up version / date reported by imunes -v

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoMove a few exec calls to external programs away from imunes.tcl to
marko [Tue, 12 Jul 2005 21:31:55 +0000 (21:31 +0000)]
Move a few exec calls to external programs away from imunes.tcl to
exec.tcl -> GUI can run on FreeBSD 5.X in edit-only mode

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoXORP: add spacing between nodes in xorp config file
marko [Tue, 12 Jul 2005 13:34:26 +0000 (13:34 +0000)]
XORP: add spacing between nodes in xorp config file

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoStatic route refactoring:
marko [Tue, 12 Jul 2005 13:16:17 +0000 (13:16 +0000)]
Static route refactoring:

 * both IPv4 and IPv6 static routes can be specified / mixed;

 * syntax checking on route entries performed when applying changes,
   invalid route entries are silently discarded;

 * an integer metric value can be optionally specified with each route
   (currently usefull only with XORP).

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoChange procedure definitions in type-specific modules from (example)
marko [Tue, 12 Jul 2005 08:16:13 +0000 (08:16 +0000)]
Change procedure definitions in type-specific modules from (example)
host.bootcmd to $MODULE.bootcmd -> makes copy & paste from one module
to another less labor intensive.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoMove node type specific shell command selection away from editor.tcl
marko [Tue, 12 Jul 2005 07:48:31 +0000 (07:48 +0000)]
Move node type specific shell command selection away from editor.tcl

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoNew procedures hasIPv4Addr{} and hasIPv6Addr{} - return true if
marko [Tue, 12 Jul 2005 07:30:24 +0000 (07:30 +0000)]
New procedures hasIPv4Addr{} and hasIPv6Addr{} - return true if
at least one interface has an IPv{4|6} address configured,
otherwise return false.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoAdd support for configs where only one protocol address (IPv4 or IPv6)
marko [Mon, 11 Jul 2005 17:09:30 +0000 (17:09 +0000)]
Add support for configs where only one protocol address (IPv4 or IPv6)
is configured on an interface, but not both.

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoAdd IPv6 address syntax checking
marko [Mon, 11 Jul 2005 16:37:59 +0000 (16:37 +0000)]
Add IPv6 address syntax checking

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoAdd button icon for textual objects (future use)
marko [Mon, 11 Jul 2005 14:40:50 +0000 (14:40 +0000)]
Add button icon for textual objects (future use)

Bug found by:
Submitted by:
Requested by: miljenko
Reviewed by:
Approved by:
Obtained from:

20 years agoBug found by: Miljenko
miljenko [Mon, 11 Jul 2005 12:09:20 +0000 (12:09 +0000)]
Bug found by: Miljenko
Submitted by: Miljenko
Requested by:
Reviewed by:
Approved by:
Obtained from:
Testing CVS. Imunes works on ... 4.11

20 years agoFirst-cut IPv6 support in GUI
marko [Sun, 10 Jul 2005 22:45:31 +0000 (22:45 +0000)]
First-cut IPv6 support in GUI

Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoFix ifconfig typo
marko [Fri, 8 Jul 2005 13:16:27 +0000 (13:16 +0000)]
Fix ifconfig typo

Bug found by: zrinka
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoImproved IP address assignment in LANs / broadcast domains comprised of
marko [Fri, 8 Jul 2005 13:13:45 +0000 (13:13 +0000)]
Improved IP address assignment in LANs / broadcast domains comprised of
multiple interconnected switches / hubs.  The new code recursively
traverses all directly connected link-layer nodes in a search for an
appropriate subnet and host address.

Bug found by: nikola
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoAdd lanswitch, hub and rj45 scripts to the installation script.
marko [Fri, 8 Jul 2005 10:35:51 +0000 (10:35 +0000)]
Add lanswitch, hub and rj45 scripts to the installation script.

Bug found by: zrinka
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

20 years agoInitial revision
marko [Tue, 5 Jul 2005 00:06:47 +0000 (00:06 +0000)]
Initial revision

20 years agoInitial revision
marko [Mon, 4 Jul 2005 23:51:53 +0000 (23:51 +0000)]
Initial revision

20 years agoInitial revision
marko [Mon, 4 Jul 2005 23:06:29 +0000 (23:06 +0000)]
Initial revision

20 years agoInitial revision
marko [Mon, 4 Jul 2005 21:33:40 +0000 (21:33 +0000)]
Initial revision

20 years agoInitial revision
marko [Mon, 4 Jul 2005 21:27:47 +0000 (21:27 +0000)]
Initial revision

20 years agoInitial revision
marko [Mon, 4 Jul 2005 18:14:36 +0000 (18:14 +0000)]
Initial revision

20 years agoInitial revision
marko [Sat, 2 Jul 2005 19:49:36 +0000 (19:49 +0000)]
Initial revision

20 years agoInitial revision
marko [Fri, 24 Jun 2005 12:53:59 +0000 (12:53 +0000)]
Initial revision

20 years agoInitial revision
marko [Wed, 22 Jun 2005 15:39:51 +0000 (15:39 +0000)]
Initial revision

20 years agoInitial revision
marko [Mon, 14 Mar 2005 08:37:03 +0000 (08:37 +0000)]
Initial revision

20 years agoInitial revision
marko [Mon, 14 Mar 2005 08:29:34 +0000 (08:29 +0000)]
Initial revision