summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/wellenreiter/ChangeLog6
-rw-r--r--noncore/net/wellenreiter/README6
-rw-r--r--noncore/net/wellenreiter/TODO11
-rw-r--r--noncore/net/wellenreiter/gui/wellenreiterbase.cpp26
-rw-r--r--noncore/net/wellenreiter/opie-wellenreiter.control4
5 files changed, 31 insertions, 22 deletions
diff --git a/noncore/net/wellenreiter/ChangeLog b/noncore/net/wellenreiter/ChangeLog
index b59f9f9..4855e7d 100644
--- a/noncore/net/wellenreiter/ChangeLog
+++ b/noncore/net/wellenreiter/ChangeLog
@@ -1,18 +1,22 @@
1 2004-??-?? Michael Lauer <mickey@Vanille.de> 1 2004-05-04 Michael Lauer <mickey@Vanille.de>
2 2
3 * Released as Version 1.0.3
4 * Removed the dummy capture file which has always been written to if none was chosen.
5 * Removed the old dumb hex window tab and added a nice PackageViewer tab.
6 * Added configuration options for the PackageViewer buffer size.
3 * Registered a signal handler. We're now trying to gracefully exit and emergency close capture files. 7 * Registered a signal handler. We're now trying to gracefully exit and emergency close capture files.
4 This should allow reproducing failures. 8 This should allow reproducing failures.
5 * Added sanity check for compile time vs. run time Wireless Extension versions. 9 * Added sanity check for compile time vs. run time Wireless Extension versions.
6 * Added sanity check isPresent(interface) before starting the engine. 10 * Added sanity check isPresent(interface) before starting the engine.
7 * Added a View submenu. Added actions to expand and collapse all items. 11 * Added a View submenu. Added actions to expand and collapse all items.
8 * Switched to a (hopefully) more reliable method reading from gpsd. 12 * Switched to a (hopefully) more reliable method reading from gpsd.
9 * Added parsing of named ProbeRequests. Display only-probed-yet SSIDs in a different network color. 13 * Added parsing of named ProbeRequests. Display only-probed-yet SSIDs in a different network color.
10 * Rewrote the simple actions on new {Network, Client, Station}. Besides playing a sound or 14 * Rewrote the simple actions on new {Network, Client, Station}. Besides playing a sound or
11 blinking a LED, a user customizable script can now be executed, if something has been 15 blinking a LED, a user customizable script can now be executed, if something has been
12 detected. This opens up many possibilities, i.e. a qcop to qpegps or exec'ing flite (speech). 16 detected. This opens up many possibilities, i.e. a qcop to qpegps or exec'ing flite (speech).
13 * Added decloaking of cloaked ESSIDs (length != 0, but essid[0] == \0). 17 * Added decloaking of cloaked ESSIDs (length != 0, but essid[0] == \0).
14 * Hided the 'Parse' Tab in the configuration window. Not functional now and may come later 18 * Hided the 'Parse' Tab in the configuration window. Not functional now and may come later
15 * Added parsing of control frames. Display stations sending them SSID "<unknown>" for now. 19 * Added parsing of control frames. Display stations sending them SSID "<unknown>" for now.
16 * Added command line option "-nocheck" to skip non-root and dhcp tests. 20 * Added command line option "-nocheck" to skip non-root and dhcp tests.
17 * Improved the speed of and user feedback during reading the manufacturer list. 21 * Improved the speed of and user feedback during reading the manufacturer list.
18 * GPS coordinates are now presented in the DMS (as opposed to decimal) format. 22 * GPS coordinates are now presented in the DMS (as opposed to decimal) format.
diff --git a/noncore/net/wellenreiter/README b/noncore/net/wellenreiter/README
index 7607a74..59163b3 100644
--- a/noncore/net/wellenreiter/README
+++ b/noncore/net/wellenreiter/README
@@ -1,50 +1,50 @@
1/************************************************************************ 1/************************************************************************
2/* W e l l e n r e i t e r I I 2/* W e l l e n r e i t e r I I
3/* =============================== 3/* ===============================
4/* 4/*
5/* Version: 1.0.2 5/* Version: 1.0.3
6/************************************************************************ 6/************************************************************************
7 7
8---------------------------------------------------- 8----------------------------------------------------
9 Release Notes for Wellenreiter II / December 2003 9 Release Notes for Wellenreiter II / May 2004
10---------------------------------------------------- 10----------------------------------------------------
11 11
12===================== 12=====================
13= Supported Devices 13= Supported Devices
14===================== 14=====================
15 15
16- HERMES chipset [ orinoco or hostap ], e.g. Lucent/Agere cards, Compaq, ... 16- HERMES chipset [ orinoco or hostap ], e.g. Lucent/Agere cards, Compaq, ...
17- PRISM2+PRISM3 chipset [ orinoco or hostap ], e.g. D-Link, Buffallo, NetGear, ... 17- PRISM2+PRISM3 chipset [ orinoco or hostap ], e.g. D-Link, Buffallo, NetGear, ...
18- SYMBOL/SPECTRUM chipset [ orinoco ], e.g. Symbol Spectrum 24, Socket Lowpower CF, ... 18- SYMBOL/SPECTRUM chipset [ orinoco ], e.g. Symbol Spectrum 24, Socket Lowpower CF, ...
19- CISCO chipset 19- CISCO chipset
20- WLAN-NG supported chipsets, e.g. D-Link USB cards 20- WLAN-NG supported chipsets, e.g. D-Link USB cards
21 21
22===================== 22=====================
23= Build 23= Build
24===================== 24=====================
25 25
26To compile a standalone Wellenreiter II for X11, you need Qt3/X11 and the development 26To compile a standalone Wellenreiter II for X11, you need Qt3/X11 and the development
27packages for Qt3/X11, depending on the distribution e.g. libqt3-devel, libqt3-dev, ... 27packages for Qt3/X11, depending on the distribution e.g. libqt3-devel, libqt3-dev, ...
28 28
29 * Set $QTDIR to the appropriate directory (e.g. /usr/lib/qt3) 29 * Set $QTDIR to the appropriate directory (e.g. /usr/lib/qt3)
30 * './build make' 30 * './build make'
31 * as root, './build install' 31 * as root, './build install'
32 * Wellenreiter will be installed in /usr/local (sorry, no relocation possible yet) 32 * Wellenreiter will be installed in /usr/local (sorry, no relocation possible yet)
33 33
34The current CVS version of Wellenreiter II is _not_ X11 compatible. 34NOTE: The current version of Wellenreiter II is _not_ X11 compatible.
35 35
36===================== 36=====================
37= Precompiled Binaries 37= Precompiled Binaries
38===================== 38=====================
39 39
40Precompiled binaries are available for the PDA-Version. 40Precompiled binaries are available for the PDA-Version.
41Get them from http://vanille.de/feed 41Get them from http://vanille.de/feed
42Sorry, no .rpm oder .deb available at that time. Volunteers? 42Sorry, no .rpm oder .deb available at that time. Volunteers?
43 43
44===================== 44=====================
45= Run 45= Run
46===================== 46=====================
47 47
48* Configure your device by pressing the configure toolbutton (to the right) 48* Configure your device by pressing the configure toolbutton (to the right)
49* Start Sniffing by pressing the execute toolbutton which will be enabled, 49* Start Sniffing by pressing the execute toolbutton which will be enabled,
50if your device has been properly configured. 50if your device has been properly configured.
diff --git a/noncore/net/wellenreiter/TODO b/noncore/net/wellenreiter/TODO
index f0a193d..a3d0d3d 100644
--- a/noncore/net/wellenreiter/TODO
+++ b/noncore/net/wellenreiter/TODO
@@ -1,70 +1,67 @@
1/************************************************************************ 1/************************************************************************
2/* W e l l e n r e i t e r I I 2/* W e l l e n r e i t e r I I
3/* =============================== 3/* ===============================
4/* 4/*
5/* Version: 1.0.2 5/* Version: 1.0.3
6/************************************************************************ 6/************************************************************************
7 7
8---------------------------------------------------- 8----------------------------------------------------
9 Ideas as of Wellenreiter II / April 2004 9 Ideas as of Wellenreiter II / May 2004
10---------------------------------------------------- 10----------------------------------------------------
11 11
12-------- 12--------
13 BUILD 13 BUILD
14-------- 14--------
15 15
16- fix building against X11 again 16- fix building against X11 again
17 17
18-------- 18--------
19 ENGINE 19 ENGINE
20-------- 20--------
21 21
22- enable multiple packet sources 22- enable multiple packet sources
23 - infrared 23 - infrared
24 - bluetooth 24 - bluetooth
25 - usb 25 - usb
26 26
27- define packet structure in a metalanguage and generate 27- define packet structure in a metalanguage and generate
28 the actual parsing code (hmmm) 28 the actual parsing code (hmmm)
29 29
30- pester the ethereal folks to settle for an application independant 30- pester the ethereal folks to settle for an application independant
31 packet dissection framework... (unlikely) 31 packet dissection framework... (unlikely)
32 32
33- adaptive hopping scheme ! 33- implement the adaptive hopping scheme !
34 34
35- gather interface capabilities 35- gather interface capabilities
36 36
37- enable sniffing in wired networks 37- enable sniffing in wired networks
38 38
39- fix autodetection (the interface name is not selected correctly) 39- fix autodetection (the interface name is not selected correctly)
40 40
41- use ethtool IOCTLs (if present) 41- use ethtool IOCTLs (if present)
42 42
43--------- 43---------
44 UI 44 UI
45--------- 45---------
46 46
47- display interface capabilities (or rewrite networksettings?) 47- display interface capabilities (or rewrite networksettings?)
48 48
49- distinguish wireless bridges (WDS traffic) 49- distinguish wireless bridges (WDS traffic)
50 50
51- add configuration for scrollback buffer in hex window and log window 51- add configuration for scrollback buffer in log window
52
53- revamp hex window, make it more sophisticated than just a QMultiLineEdit
54 - tree view
55 52
56- beep over headphone / customizable 53- beep over headphone / customizable
57 54
58- count/display number of wireless networks / APs since last start/stop 55- count/display number of wireless networks / APs since last start/stop
59 56
60--------- 57---------
61 FILES 58 FILES
62--------- 59---------
63 60
64- write kismet-like .network format and format to be importable into AutoRoute 61- write kismet-like .network format and format to be importable into AutoRoute
65 62
66- implement beacon stripping (the first beacon is enough to detect a 63- implement beacon stripping (the first beacon is enough to detect a
67 new network - further beacons just blow up the capture file) 64 new network - further beacons just blow up the capture file)
68 65
69- write wi-scan format like that: 66- write wi-scan format like that:
70 # $Creator: Wellenreiter II Version 1.0.2 67 # $Creator: Wellenreiter II Version 1.0.2
diff --git a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
index 9bdf3e0..a29d520 100644
--- a/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
+++ b/noncore/net/wellenreiter/gui/wellenreiterbase.cpp
@@ -20,32 +20,33 @@
20 20
21#include "logwindow.h" 21#include "logwindow.h"
22#include "packetview.h" 22#include "packetview.h"
23#include "scanlist.h" 23#include "scanlist.h"
24#include "statwindow.h" 24#include "statwindow.h"
25#include "graphwindow.h" 25#include "graphwindow.h"
26 26
27#ifdef QWS 27#ifdef QWS
28#include <qpe/resource.h> 28#include <qpe/resource.h>
29#include <opie2/otabwidget.h> 29#include <opie2/otabwidget.h>
30using namespace Opie; 30using namespace Opie;
31#else 31#else
32#include "resource.h" 32#include "resource.h"
33#include <qtabwidget.h> 33#include <qtabwidget.h>
34#endif 34#endif
35 35
36#define WELLENREITER_VERSION "V1.0.3 (unofficial)"
36 37
37/* 38/*
38 * Constructs a WellenreiterBase which is a child of 'parent', with the 39 * Constructs a WellenreiterBase which is a child of 'parent', with the
39 * name 'name' and widget flags set to 'f' 40 * name 'name' and widget flags set to 'f'
40 */ 41 */
41using namespace Opie::Ui; 42using namespace Opie::Ui;
42using namespace Opie::Ui; 43using namespace Opie::Ui;
43using namespace Opie::Ui; 44using namespace Opie::Ui;
44WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl ) 45WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags fl )
45 : QWidget( parent, name, fl ) 46 : QWidget( parent, name, fl )
46{ 47{
47 //ani1 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot0" ) ); 48 //ani1 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot0" ) );
48 //ani2 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot90" ) ); 49 //ani2 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot90" ) );
49 //ani3 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot180" ) ); 50 //ani3 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot180" ) );
50 //ani4 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot270" ) ); 51 //ani4 = new QPixmap( Resource::loadPixmap( "wellenreiter/networks_rot270" ) );
51 52
@@ -92,33 +93,40 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f
92 statwindow = new MStatWindow( TabWidget, "Stat" ); 93 statwindow = new MStatWindow( TabWidget, "Stat" );
93 94
94 //--------- ABOUT TAB -------------- 95 //--------- ABOUT TAB --------------
95 96
96 about = new QWidget( TabWidget, "about" ); 97 about = new QWidget( TabWidget, "about" );
97 aboutLayout = new QGridLayout( about ); 98 aboutLayout = new QGridLayout( about );
98 aboutLayout->setSpacing( 6 ); 99 aboutLayout->setSpacing( 6 );
99 aboutLayout->setMargin( 11 ); 100 aboutLayout->setMargin( 11 );
100 101
101 PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" ); 102 PixmapLabel1_3_2 = new QLabel( about, "PixmapLabel1_3_2" );
102 PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) ); 103 PixmapLabel1_3_2->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)0, (QSizePolicy::SizeType)0, PixmapLabel1_3_2->sizePolicy().hasHeightForWidth() ) );
103 PixmapLabel1_3_2->setFrameShape( QLabel::Panel ); 104 PixmapLabel1_3_2->setFrameShape( QLabel::Panel );
104 PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken ); 105 PixmapLabel1_3_2->setFrameShadow( QLabel::Sunken );
105 PixmapLabel1_3_2->setLineWidth( 2 ); 106 PixmapLabel1_3_2->setLineWidth( 2 );
106 PixmapLabel1_3_2->setMargin( 0 ); 107 PixmapLabel1_3_2->setMargin( 0 );
107 PixmapLabel1_3_2->setMidLineWidth( 0 ); 108 PixmapLabel1_3_2->setMidLineWidth( 0 );
108 PixmapLabel1_3_2->setPixmap( Resource::loadPixmap( "wellenreiter/logo" ) ); 109
110 QPixmap logo = Resource::loadPixmap( "wellenreiter/logo" );
111 QPainter draw( &logo );
112 draw.setPen( Qt::black );
113 draw.setFont( QFont( "Fixed", 8 ) );
114 draw.drawText( 30, 10, WELLENREITER_VERSION );
115
116 PixmapLabel1_3_2->setPixmap( logo );
109 PixmapLabel1_3_2->setScaledContents( TRUE ); 117 PixmapLabel1_3_2->setScaledContents( TRUE );
110 PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) ); 118 PixmapLabel1_3_2->setAlignment( int( QLabel::AlignCenter ) );
111 119
112 aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 ); 120 aboutLayout->addWidget( PixmapLabel1_3_2, 0, 0 );
113 121
114 TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" ); 122 TextLabel1_4_2 = new QLabel( about, "TextLabel1_4_2" );
115 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); 123 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() );
116 TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); 124 TextLabel1_4_2_font.setFamily( "adobe-helvetica" );
117 TextLabel1_4_2_font.setPointSize( 10 ); 125 TextLabel1_4_2_font.setPointSize( 10 );
118 TextLabel1_4_2->setFont( TextLabel1_4_2_font ); 126 TextLabel1_4_2->setFont( TextLabel1_4_2_font );
119 TextLabel1_4_2->setText( 127 TextLabel1_4_2->setText(
120"<p align=center>" 128"<p align=center>"
121"<hr>" 129"<hr>"
122"<b>(C) Michael 'Mickey' Lauer</b><br>" 130"<b>(C) Michael 'Mickey' Lauer</b><br>"
123"<hr>" 131"<hr>"
124"mickey@Vanille.de<br>" 132"mickey@Vanille.de<br>"
@@ -155,28 +163,28 @@ WellenreiterBase::WellenreiterBase( QWidget* parent, const char* name, WFlags f
155/* 163/*
156 * Destroys the object and frees any allocated resources 164 * Destroys the object and frees any allocated resources
157 */ 165 */
158WellenreiterBase::~WellenreiterBase() 166WellenreiterBase::~WellenreiterBase()
159{ 167{
160 // no need to delete child widgets, Qt does it all for us 168 // no need to delete child widgets, Qt does it all for us
161} 169}
162 170
163/* 171/*
164 * Main event handler. Reimplemented to handle application 172 * Main event handler. Reimplemented to handle application
165 * font changes 173 * font changes
166 */ 174 */
167bool WellenreiterBase::event( QEvent* ev ) 175bool WellenreiterBase::event( QEvent* ev )
168{ 176{
169 bool ret = QWidget::event( ev ); 177 bool ret = QWidget::event( ev );
170 if ( ev->type() == QEvent::ApplicationFontChange ) { 178 if ( ev->type() == QEvent::ApplicationFontChange ) {
171 //QFont Log_2_font( Log_2->font() ); 179 //QFont Log_2_font( Log_2->font() );
172 //Log_2_font.setFamily( "adobe-courier" ); 180 //Log_2_font.setFamily( "adobe-courier" );
173 //Log_2_font.setPointSize( 8 ); 181 //Log_2_font.setPointSize( 8 );
174 //Log_2->setFont( Log_2_font ); 182 //Log_2->setFont( Log_2_font );
175 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() ); 183 QFont TextLabel1_4_2_font( TextLabel1_4_2->font() );
176 TextLabel1_4_2_font.setFamily( "adobe-helvetica" ); 184 TextLabel1_4_2_font.setFamily( "adobe-helvetica" );
177 TextLabel1_4_2_font.setPointSize( 10 ); 185 TextLabel1_4_2_font.setPointSize( 10 );
178 TextLabel1_4_2->setFont( TextLabel1_4_2_font ); 186 TextLabel1_4_2->setFont( TextLabel1_4_2_font );
179 } 187 }
180 return ret; 188 return ret;
181} 189}
182 190
diff --git a/noncore/net/wellenreiter/opie-wellenreiter.control b/noncore/net/wellenreiter/opie-wellenreiter.control
index 1d8c482..cbc287a 100644
--- a/noncore/net/wellenreiter/opie-wellenreiter.control
+++ b/noncore/net/wellenreiter/opie-wellenreiter.control
@@ -1,10 +1,10 @@
1Package: opie-wellenreiter 1Package: opie-wellenreiter
2Files: bin/wellenreiter pics/wellenreiter apps/Applications/wellenreiter.desktop 2Files: bin/wellenreiter pics/wellenreiter apps/Applications/wellenreiter.desktop
3Priority: optional 3Priority: optional
4Section: opie/applications 4Section: opie/applications
5Maintainer: Michael 'Mickey' Lauer <mickeyl@handhelds.org> 5Maintainer: Michael 'Mickey' Lauer <mickeyl@handhelds.org>
6Architecture: arm 6Architecture: arm
7Version: 1.0.2-$SUB_VERSION 7Version: 1.0.3
8Depends: libqpe1, libpcap0 (0.7.2), libopiecore2, libopienet2 (>=1.8.3), libopieui2 8Depends: libqpe1, libpcap0 (>=0.7.2), libopiecore2, libopienet2, libopieui2
9Description: A WaveLAN Network Monitor 9Description: A WaveLAN Network Monitor
10 A WaveLAN Network Monitor/Sniffer for the Opie Environment. 10 A WaveLAN Network Monitor/Sniffer for the Opie Environment.