Hi Josh, Lua support is disabled by default in 1.2.11-6...
/etc/wireshark/init.lua: ... -- Lua is disabled by default, comment out the following line to enable Lua support. disable_lua = true; do return end; ... After commenting out the second line hello.lua gets executed: user@host:~$ tshark -X lua_script:hello.lua Hello tireless maintainers! tshark: There are no interfaces on which a capture can be done Cheers, Balint 2013/3/7 josh.end...@gmail.com <josh.end...@gmail.com>: > Package: tshark > Version: 1.2.11-6+squeeze9 > Severity: normal > > I believe the stable release of tshark to have dysfunctional Lua support. The > expected behavior is to see the output of the Lua script. Instead, nothing is > printed. It should be noted that the 1.8.2-2 on 7.0 handles this > appropriately. > > Freshly installed 6.0.7 on a VM > > jenders@debian:~$ cat hello.lua > print("Hello tireless maintainers!") > > jenders@debian:~$ tshark -X lua_script:hello.lua > tshark: There are no interfaces on which a capture can be done > > Same steps on 7.0 with tshark version 1.8.2-2 > > $ tshark -X lua_script:hello.lua > Hello tireless maintainers! > tshark: There are no interfaces on which a capture can be done > > -- System Information: > Debian Release: 6.0.7 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: amd64 (x86_64) > > Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages tshark depends on: > ii libc-ares2 1.7.3-1squeeze1 library for asyncronous name > resol > ii libc6 2.11.3-4 Embedded GNU C Library: Shared > lib > ii libcomerr2 1.41.12-4stable1 common error description library > ii libgcrypt11 1.4.5-2 LGPL Crypto library - runtime > libr > ii libglib2.0-0 2.24.2-1 The GLib library of C routines > ii libgnutls26 2.8.6-1+squeeze2 the GNU TLS library - runtime > libr > ii libk5crypto3 1.8.3+dfsg-4squeeze6 MIT Kerberos runtime libraries - > C > ii libkrb5-3 1.8.3+dfsg-4squeeze6 MIT Kerberos runtime libraries > ii libpcap0.8 1.1.1-2+squeeze1 system interface for user-level > pa > ii libpcre3 8.02-1.1 Perl 5 Compatible Regular > Expressi > ii libsmi2ldbl 0.4.8+dfsg2-3 library to access SMI MIB > informat > ii wireshark-common 1.2.11-6+squeeze9 network traffic analyzer - common > ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime > > tshark recommends no packages. > > tshark suggests no packages. > > -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org