Package Details: trafshow 5.2.3-7

Git Clone URL: https://aur.archlinux.org/trafshow.git (read-only, click to copy)
Package Base: trafshow
Description: Full screen network monitoring
Upstream URL: https://fossies.org/linux/misc/old/
Licenses: netbsd
Submitter: None
Maintainer: oriba
Last Packager: oriba
Votes: 16
Popularity: 0.000000
First Submitted: 2009-11-05 13:06 (UTC)
Last Updated: 2021-03-10 11:47 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

u666sa commented on 2021-02-25 19:24 (UTC)

gcc -g -O2 -Wall -I. -DHAVE_CONFIG_H -pthread -c trafshow.c trafshow.c:61:12: error: conflicting types for ‘pcap_init’ 61 | static int pcap_init(PCAP_HANDLER ph_list, pcap_if_t dp); | ^~~~~~~~~ In file included from /usr/include/pcap.h:43, from trafshow.c:32: /usr/include/pcap/pcap.h:386:14: note: previous declaration of ‘pcap_init’ was here 386 | PCAP_API int pcap_init(unsigned int, char *); | ^~~~~~~~~ trafshow.c: In function ‘main’: trafshow.c:98:12: warning: variable ‘show_thr’ set but not used [-Wunused-but-set-variable] 98 | pthread_t show_thr, sig_thr, pcap_thr; | ^~~~~~~~ make: [Makefile:45: trafshow.o] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

oriba commented on 2021-01-29 20:08 (UTC)

Yes, the problem occurs here too. Looks like there were changes in the used system-code. Looks like just interface change. Looks like it's necessary to patch the code. Maybe some of the bigger Linux-distributions or BSD-people might provide a patch? Or if someone from the users here may want to look at it? Not sure if I have the time - and if I have time, if I can fix it. But if nobody else fixes it during the next four weeks I may give it a try. (or maybe earlier, don't know)

tee commented on 2021-01-26 17:04 (UTC)

Failed to compile

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
gcc -march=native -mtune=native -O2 -pipe -fno-plt -flto -Wall -I. -DHAVE_CONFIG_H -pthread -c trafshow.c
trafshow.c:61:12: error: conflicting types for ‘pcap_init’
   61 | static int pcap_init(PCAP_HANDLER **ph_list, pcap_if_t *dp);
      |            ^~~~~~~~~
In file included from /usr/include/pcap.h:43,
                 from trafshow.c:32:
/usr/include/pcap/pcap.h:386:14: note: previous declaration of ‘pcap_init’ was here
  386 | PCAP_API int pcap_init(unsigned int, char *);
      |              ^~~~~~~~~
trafshow.c: In function ‘main’:
trafshow.c:98:12: warning: variable ‘show_thr’ set but not used [-Wunused-but-set-variable]
   98 |  pthread_t show_thr, sig_thr, pcap_thr;
      |            ^~~~~~~~
make: *** [Makefile:45: trafshow.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
error making: trafshow

naumovitch commented on 2018-07-06 15:06 (UTC) (edited on 2021-01-29 21:09 (UTC) by naumovitch)

(pts/4)[admin@espressobin:/usr/src/apps]$ sudo trafshow -v

trafshow Version 5.2.3

compiled for aarch64-linux-gnu with gcc -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -Wall -I. -DHAVE_CONFIG_H -pthread -lslang -lpcap -lnsl -lresolv

libpcap version 1.8.1
slcurses version 20302 <---(must be ncurses version 5.9 !!!
colors support
your current terminal has color capability

it compiling with slcurses version 20302 and dont work colors and dont shows sting selection too :(
it's need compiling with ncurses? can sumone make path?? :(

checking for tgetent in -ltermcap... no
checking for curses library... slang <----(must be ncurses
checking for bkgd... no
checking for wbkgd... no
checking for wredrawln... no
checking for resizeterm... no
checking for use_default_colors... no <------(NO COLORS
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: config.h is unchanged

SinClaus commented on 2017-11-27 04:35 (UTC)

I'm using KDE, trafshow don't show sting selection in any terminal. $ trafshow -v trafshow Version 5.2.3 compiled for amd64-linux-gnu with gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -Wall -I. -DHAVE_CONFIG_H -pthread -lslang -lpcap -lnsl -lresolv libpcap version 1.8.1 slcurses version 20301 colors support your current terminal has color capability Environment var's COLORTERM=truecolor TERM=xterm-256color

hexadecagram commented on 2016-05-08 08:04 (UTC)

I have tried rxvt-unicode, gnome-terminal, xterm, and even a console, but I see no colorized output. And yet: % trafshow -v trafshow Version 5.2.3 compiled for amd64-linux-gnu with gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -Wall -I. -DHAVE_CONFIG_H -pthread -lslang -lpcap -lnsl -lresolv libpcap version 1.7.4 slcurses version 20300 colors support your current terminal has color capability Copyright (c) 1993-2006 Rinet Corp., Novosibirsk, Russia For bug report please email to trafshow@risp.ru (include this page)

oriba commented on 2015-03-23 16:49 (UTC)

Thanks for the new URL. I updated the PKGBUILD. This software is ages old, and seems not to be further developed? Some other tools with similar functionality are out there, if you look for newer tools. But trafshow is very convenient in usage, imho.

sjrct commented on 2015-03-23 07:08 (UTC)

It seems the address http://fossies.org/linux/misc/trafshow-5.2.3.tgz no longer points to a tarball, which seems to exist here now: http://fossies.org/linux/misc/old/trafshow-5.2.3.tgz Seems to be an old version, though I am not familiar with trafshow's development nor do I see a newer version on fossies.org.

oriba commented on 2013-09-05 17:54 (UTC)

Thanks for the hint, zatricky. I seem to have crapped the PKGBUILD with the last change. I have corected it now and checked the package-file. Should work now. BTW: trafshow is also very old and it seems that develeopment stalled for longer time too; so I'm not sure if you will be happy with it. I didn't knew iftop so far and will try it also :-) So, thanks for your verbose comment :-))