Your message dated Wed, 29 Nov 2023 18:13:40 +0000
with message-id <[email protected]>
and subject line Bug#1057003: Removed package(s) from unstable
has caused the Debian Bug report #280013,
regarding linux-wlan-ng: wep key generator ist not windows or router compatible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
280013: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=280013
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: linux-wlan-ng
Version: 0.2.0+0.2.1pre21-1
Severity: important
Tags: patch


nwepgen outputs 4 hex-keys for a string. These keys are *NOT* the
ASCII-to-HEX conversion of the string that is used to convert wep
strings.

Here is an example:
$ nwepgen abcde 5
11:67:73:94:13
e2:c1:b3:e0:3b
ae:3a:9a:61:84
23:e3:bb:1d:ab

The hex-key corresponding to "abcde" is "61:62:63:64:65"

I have written a patch that replaces nwepgen by wepgen. Works for me,
but be aware that I removed the use of old nwepgen in the /etc/network
script.

Could you integrate it in next version of the package ?

This bug is very annoying because I searched hours why this damned
wireless network would not work and I almost gave up... I can imagine
that a lot of users will give up and say "encrypted wireless still does
not work under debian". This is why I gave it the severity "important".
If you disagree, just modify it ;-)

Cheers,

tibob

PS: Please also note that my algorithm is quite simple and that some
vendors use slightly different ASCII-TO-HEX algorithms. If some user
complain, you'll have to insert a switch to choose the conversion
algorithm :-)

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to 
en_US.iso88591)

Versions of packages linux-wlan-ng depends on:
ii  libc6                       2.3.2.ds1-18 GNU C Library: Shared libraries an
ii  sysvinit                    2.86-5       System-V like init
ii  wireless-tools              26+27pre28-1 Tools for manipulating Linux Wirel

-- no debconf information
diff -Nur linux-wlan-ng-0.2.0+0.2.1pre21/debian/linux-wlan-ng-pre-up 
linux-wlan-ng-0.2.0+0.2.1pre21-rc/debian/linux-wlan-ng-pre-up
--- linux-wlan-ng-0.2.0+0.2.1pre21/debian/linux-wlan-ng-pre-up  2004-11-06 
18:21:10.000000000 +0100
+++ linux-wlan-ng-0.2.0+0.2.1pre21-rc/debian/linux-wlan-ng-pre-up       
2004-11-06 18:18:28.000000000 +0100
@@ -16,7 +16,7 @@
 esac   
 
 WLANCTL=/sbin/wlanctl-ng
-PRIV_GENERATOR=/sbin/nwepgen
+PRIV_GENERATOR=/sbin/wepgen
 
 if [ ! -x $WLANCTL ] ; then 
        exit 0
@@ -150,9 +150,9 @@
        fi
        if [ ! -z "$IF_WLAN_NG_PRIV_GENSTR" ]; then
                if [ "$IF_WLAN_NG_PRIV_KEY128" = "false" ]; then
-                       keys=`$PRIV_GENERATOR "$IF_WLAN_NG_PRIV_GENSTR" 5`
+                       keys=`$PRIV_GENERATOR "$IF_WLAN_NG_PRIV_GENSTR"`
                else
-                       keys=`$PRIV_GENERATOR "$IF_WLAN_NG_PRIV_GENSTR" 13`
+                       keys=`$PRIV_GENERATOR "$IF_WLAN_NG_PRIV_GENSTR"`
                fi
 
                knum=0
diff -Nur linux-wlan-ng-0.2.0+0.2.1pre21/src/Makefile 
linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/Makefile
--- linux-wlan-ng-0.2.0+0.2.1pre21/src/Makefile 2004-11-06 18:21:10.000000000 
+0100
+++ linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/Makefile      2004-11-06 
18:15:53.000000000 +0100
@@ -50,9 +50,9 @@
 MODULES+=prism2 p80211
 endif
 
-DIRS=$(MODULES) shared wlanctl wland nwepgen \
+DIRS=$(MODULES) shared wlanctl wland nwepgen wepgen \
        mkmeta wlancfg
-ALL_DIRS=mkmeta $(MODULES) shared wlanctl wland \
+ALL_DIRS=mkmeta $(MODULES) shared wlanctl wland wepgen \
        nwepgen wlancfg
 
 ifneq ($(wildcard *.addon),) 
diff -Nur linux-wlan-ng-0.2.0+0.2.1pre21/src/wepgen/.cvsignore 
linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/wepgen/.cvsignore
--- linux-wlan-ng-0.2.0+0.2.1pre21/src/wepgen/.cvsignore        1970-01-01 
01:00:00.000000000 +0100
+++ linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/wepgen/.cvsignore     2004-02-13 
18:31:42.000000000 +0100
@@ -0,0 +1 @@
+nwepgen
diff -Nur linux-wlan-ng-0.2.0+0.2.1pre21/src/wepgen/Makefile 
linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/wepgen/Makefile
--- linux-wlan-ng-0.2.0+0.2.1pre21/src/wepgen/Makefile  1970-01-01 
01:00:00.000000000 +0100
+++ linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/wepgen/Makefile       2004-11-06 
18:08:44.000000000 +0100
@@ -0,0 +1,50 @@
+# src/wepgen/Makefile
+#
+# Copyright (C) 1999 AbsoluteValue Systems, Inc.  All Rights Reserved.
+# --------------------------------------------------------------------
+#
+# linux-wlan
+#
+#   The contents of this file are subject to the Mozilla Public
+#   License Version 1.1 (the "License"); you may not use this file
+#   except in compliance with the License. You may obtain a copy of
+#   the License at http://www.mozilla.org/MPL/
+#
+#   Software distributed under the License is distributed on an "AS
+#   IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+#   implied. See the License for the specific language governing
+#   rights and limitations under the License.
+#
+#   Alternatively, the contents of this file may be used under the
+#   terms of the GNU Public License version 2 (the "GPL"), in which
+#   case the provisions of the GPL are applicable instead of the
+#   above.  If you wish to allow the use of your version of this file
+#   only under the terms of the GPL and not to allow others to use
+#   your version of this file under the MPL, indicate your decision
+#   by deleting the provisions above and replace them with the notice
+#   and other provisions required by the GPL.  If you do not delete
+#   the provisions above, a recipient may use your version of this
+#   file under either the MPL or the GPL.
+#
+# --------------------------------------------------------------------
+#
+#   This Makefile was taken from src/nwepgen and modified to compile
+#   wepgen.  -- Robert Chéramy < robert at cheramy dot net >
+#
+# --------------------------------------------------------------------
+
+include ../../config.mk
+
+CPPFLAGS= -I../include -I$(LINUX_SRC)/include \
+               -D__LINUX_WLAN__
+
+wepgen: wepgen.o
+       $(CC) $(LDFLAGS) -o wepgen wepgen.o
+
+install:
+       mkdir -p $(TARGET_INST_EXEDIR)
+       cp wepgen $(TARGET_INST_EXEDIR)
+
+clean: 
+       rm -f core core.* *.o .*.o *.s *.a .depend tmp_make *~ wepgen
+
diff -Nur linux-wlan-ng-0.2.0+0.2.1pre21/src/wepgen/wepgen.c 
linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/wepgen/wepgen.c
--- linux-wlan-ng-0.2.0+0.2.1pre21/src/wepgen/wepgen.c  1970-01-01 
01:00:00.000000000 +0100
+++ linux-wlan-ng-0.2.0+0.2.1pre21-rc/src/wepgen/wepgen.c       2004-11-06 
17:58:21.000000000 +0100
@@ -0,0 +1,42 @@
+/* wepgen.c */
+/* Generates an hexa wep key from a String
+   Algorithm is pretty simple: chars are printed in hex format and separated
+   by a ':
+*/
+/* (c) 2004 Robert Chéramy ( robert at cheramy dot net ) */
+/* This program is free software; you can redistribute it and/or modify
+   it under the terms of the GNU General Public License as published by
+   the Free Software Foundation; either version 2 of the License, or
+   (at your option) any later version.
+
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
+
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+
+void usage (char *progname) {
+  printf ("Usage: %s 'wepkey'\n", progname);
+  printf ("Use 5 (40bits) or 13 (128 bits) characters for wepkey.\n");
+  exit (1);
+}
+
+int main (int argc, char *argv[]) {
+  unsigned char *pointer;
+
+  if (argc != 2 || (strlen (argv[1]) != 13 && strlen (argv[1]) != 5))
+    usage (argv[0]);
+  for (pointer=argv[1]; pointer[1] != '\0'; pointer++) {
+    printf("%02x:", *pointer);
+  }
+  printf("%02x\n", *pointer);
+  return (0);
+}

--- End Message ---
--- Begin Message ---
Version: 0.2.9+dfsg-6+rm

Dear submitter,

as the package linux-wlan-ng has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1057003

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to