Gabriel Somlo
e8ad324d3a
gui: exec.tcl: cache local IP address across calls to getMyIP
...
Modify getMyIP to cache the local machine's IP address, and
return it without further accessing of the underlying resolver
libraries during subsequent invocations.
getMyIP is called roughly once a second from within monitor_loop
when refreshing CPU utilization in the bottom-right corner of
the GUI window. Other, dedicated CPU usage windows might also
call getMyIP at regular intervals.
With systemd commit cda458a54 (between v232 and v233), the
implementation of gethostbyname4_r() was updated to a more
intransigently standard-compliant error reporting convention,
which in turn causes glibc to retry in a more labor intensive
way (see https://github.com/systemd/systemd/pull/5359 ).
Under certain circumstances depending on the local hostname
and IP configuration, the glibc/systemd back-end resolver
routines triggered by getMyIP's call to [socket ...] and
[fconfigure ...] end up taking long enough to noticeably slow
down refreshing the main core-gui window, to the point where
interaction with the GUI becomes difficult.
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2018-02-12 18:16:07 -05:00
bharnden
fe0329da25
Merge branch 'master' into rel/5.0
2017-10-05 08:32:05 -07:00
Blake J. Harnden
613e550e8a
merged latest code from rodolfos merge from the latest github pull
2017-07-06 15:10:50 -07:00
Jeff Ahrenholz
834167644c
globally replace mailing list URLs and dev email
...
update to:
https://publists.nrl.navy.mil/mailman/listinfo/core-users
https://publists.nrl.navy.mil/mailman/listinfo/core-dev
dev email:
core-dev@nrl.navy.mil
2017-06-30 09:07:16 -07:00
cspiker
46baca85d9
Add OVS and Ryu Services to CORE for SDN support
2017-06-08 08:31:50 -07:00
cspiker
b37d1d52fa
added new OVS service file
2017-06-07 12:41:52 -07:00
Tom Goff
b4ce4e9370
gui: Fix using xfce4-terminal as the terminal program.
2017-05-18 21:38:30 +00:00
Jeff Ahrenholz
724534e3ac
fix broken Throughput Widget and Wireshark for node numbers above 10
...
this also fixes the Throughput Widget results when multiple sessions are running
2017-03-31 09:55:26 -07:00
adamson
c147d5b2f5
added option Throughput widge to observe transmissions/receptions separately if desired
2017-02-23 18:40:29 -05:00
Jeff Ahrenholz
798793ed87
fix #24 Throughput Widget bug, now that hex interface numbers are used
...
(cherry picked from commit e8d4d5397c86d9edd454870f71c6ee72ea728df2)
2017-02-09 07:39:13 -08:00
Gabriel Somlo
33906aae9f
daemon: remove Quagga 'vtysh' service
...
Since all Quagga daemons are configured from a consolidated
location (the 'zebra' service), there is nothing left to do
for a dedicated service such as 'vtysh'. This patch removes
the service, along with all references to it from the rest
of the source tree (sample *.imn files, examples, etc.)
Signed-off-by: Gabriel Somlo <glsomlo@cert.org>
2017-02-01 09:55:58 -05:00
Tom Goff
bcd749578d
gui: Avoid added an extra newline to hook scripts when saving.
2016-09-29 17:28:31 -04:00
Tom Goff
002f9aee76
fixed adj widget to use node names instead of node id which would cause a crash if the names were changed using olsrv1/olsrv2
...
From: dean
2015-08-28 17:54:22 -04:00
tgoff0
fc4b8e71be
gui: Tweak using vtysh by widgets.
2015-05-26 17:34:13 +00:00
tgoff0
6979ab7abb
gui: Try to remove empty directories when uninstalling.
2015-05-26 17:34:09 +00:00
tgoff0
033b3227c0
gui: Use automake instead of installing files manually.
2015-05-26 17:34:04 +00:00
tgoff0
0a16ef13db
gui: Improve the use of vtysh by widgets.
2015-05-22 00:56:19 +00:00
tgoff0
8562b2bfdc
gui: Update the sample9-vpn.imn example.
2015-05-22 00:55:58 +00:00
tgoff0
94ad16e256
gui: Update the sample9-vpn.imn example.
2015-05-22 00:55:42 +00:00
tgoff0
3f2519a171
gui: Remove debugging output.
2015-05-22 00:55:37 +00:00
tgoff0
f3c9bcbcc4
fixed bug with lsearch for display for olsr
2015-05-22 00:54:59 +00:00
tgoff0
75b65730d1
added support for olsrv2 and olsr adjacency observer widgets requires nrlConsole.py to be in the path
2015-05-22 00:54:54 +00:00
tgoff0
3340ae2796
printed CEL messages to stdout when running in batch mode. Aborted current session when in batch mode and a FATAL event is received from the daemon
2015-05-22 00:54:09 +00:00
tgoff0
aa3023ae62
Fix occassional exceptions on tcl/tk 8.6 when executing python scripts from the GUI.
...
From: santiago
2015-04-03 01:49:03 +00:00
tgoff0
a02c9a3f6e
gui: Always disconnect/connect when loading a file; this creates a new
...
session.
2015-03-09 15:21:08 +00:00
tgoff0
62adc0f1c9
gui: Set interface MAC address when included in CORE link API messages.
2015-03-09 15:20:49 +00:00
tgoff0
dfdc1fe671
gui: Hide wireless links that are not on the current canvas.
2015-01-30 02:46:22 +00:00
tgoff0
69d8ba0002
gui: Only consider nodes on the same canvas when doing 'Select WLAN
...
members'.
2015-01-30 02:46:18 +00:00
tgoff0
c15d344e1f
gui: Only consider nodes on the same canvas when doing 'Link to all
...
routers'.
2015-01-30 02:46:14 +00:00
tgoff0
4599520518
Add some gitignore files.
2015-01-28 02:15:45 +00:00
tgoff0
42227bce83
gui: Trivial code cleanup.
2015-01-21 21:38:32 +00:00
tgoff0
e5159ad9d8
cleanup of script
2015-01-21 21:38:28 +00:00
tgoff0
7f0e76e94b
core smf scenario added mobility
2015-01-21 21:38:24 +00:00
tgoff0
0221673d1e
gui: Use interface names from /sys/class/net when it exists.
2015-01-21 21:37:56 +00:00
tgoff0
d56f26b5d6
Some trivial code cleanup.
2015-01-21 21:37:31 +00:00
tgoff0
d422cccad9
gui: Redraw the canvas after loading a new configuration from a file.
2014-12-19 01:02:06 +00:00
tgoff0
6084b4f416
Adjust file mode bits.
2014-12-15 18:23:25 +00:00
tgoff0
52fdc300b8
gui: Improve session management when opening files.
2014-12-15 18:23:08 +00:00
tgoff0
049efb642f
gui: Small refactoring of code to execute a python script.
2014-12-15 18:23:04 +00:00
tgoff0
51aba4b82c
gui: Pass a filename to openFile as an argument rather than using the
...
currentFile global variable.
2014-12-15 18:22:59 +00:00
tgoff0
9f1e800756
gui: Ask if the currently running session should be stopped when
...
loading a file.
2014-12-15 18:22:40 +00:00
tgoff0
51e670c717
gui: Check if a node is on the current canvas when modifying its appearance.
...
This also fixes a bug where a node's name would not be correctly
updated if it was on the current canvas.
Adapted from a patch by Yueli Yang.
2014-12-09 21:37:17 +00:00
ahrenholz
e319873815
re-read channel var when switching sessions via dialog (fixes bug #259 )
...
patch from Björn Axelsson
(Boeing r1899)
2014-10-31 18:29:16 +00:00
ahrenholz
76889d8411
improve adjacency widget lines when moving nodes (fixes bug #265 )
...
added "docker logs" Observer Widget
(Boeing r1898)
2014-10-31 17:32:32 +00:00
ahrenholz
503713f0bc
use hex value for short session ID used in naming interfaces
...
use interface names "vethOOOOO.ii.ss" and "vethOOOOO.iipss" for veth pairs
(where OOOOO = object id, ii = interface index, ss = hex short session ID)
fixes bug #260 virtual interface names too long
(Boeing r1894)
2014-10-28 21:18:16 +00:00
ahrenholz
3422d13851
added "Reload" entry to the File menu
...
(Boeing r1888)
2014-10-22 19:33:32 +00:00
ahrenholz
c60fc54ed2
fix bug #263 use correct interface name with Wireshark right-click menu
...
(Boeing r187)
2014-09-15 19:15:35 +00:00
ahrenholz
1973eb9313
fix bug #257 use correct interface name for throughput widget and plots
...
(Boeing r1876)
2014-08-06 18:23:04 +00:00
ahrenholz
063b323948
bump API version to 1.23 for 4.7 release
...
(Boeing r1871)
2014-08-05 22:23:16 +00:00
ahrenholz
ade7338cdc
fix bug #250 rj45 interface list cuts off long interface names
...
(Boeing r1857)
2014-07-29 13:52:40 +00:00