From matthias.apitz at oclc.org Fri May 2 09:46:53 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Fri May 2 09:46:57 2008 Subject: measure traffic caused by pppd (UMTS) Message-ID: <20080502094646.GA3576@rebelion.Sisis.de> Hello, Sometimes when I travel around and can't see any usable WLAN I'm using the UMTS and PPPD, which works well but of course one must pay for this; Is there some tool which I could put into /etc/ppp/ip_down script which logs the traffic done into some file; I see /usr/ports/net/ppptraf which comes without any documentation and is curses based :-( any other ideas? I'm not interested in any analysis about to which location the traffic goes or about speed and bandwidth; just - cmd line based with output to a file or stdout - the amount of bytes/megabytes in and out; thx in advance matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ Don't top-post, read RFC1855 http://www.faqs.org/rfcs/rfc1855.html A: Because it messes up the order in which people normally read text. Q: Why is it such a bad thing? A: Top-posting. Q: What is the most annoying thing on Usenet and in e-mail? From prabu at hackinthebox.org Sat May 3 02:16:41 2008 From: prabu at hackinthebox.org (Praburaajan) Date: Sat May 3 02:16:44 2008 Subject: Photos and Presentation Materials from HITBSecConf2008 - Dubai Released Message-ID: <481BC487.9010100@hackinthebox.org> The codes, tools, exploits, slides and other presentation goodies from HITBSecConf2008 - Dubai are available for download! You will also find a 'bonus download' of the live recording of DJ Negative's set from the HITB Post Conference Party at the URL below :) http://conference.hitb.org/hitbsecconf2008dubai/materials/ The official photos from the training, conference and party have also been posted on-line at the HITB Photos page: http://photos.hitb.org/ === Don't forget that the Call for Papers for HITBSecConf2008 - Malaysia October 27th - 30th, Kuala Lumpur, Malaysia) will open on the 5th of May. We're back at The Westin Kuala Lumpur with an expanded program featuring an additional track (HITB Labs) to our usual dual-track conference, 4 keynote speakers and over 25 international experts joining them. We're expecting a 1000+ attendees from around the world to join us, so if you have something cool, new and unreleased you'd like to present - please do submit! See you in October! Warmest regards, The HITB Team From matthias.apitz at oclc.org Sat May 3 06:48:38 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Sat May 3 06:48:42 2008 Subject: Vodafone Mobile Connect HSDPA/UMTS/EDGE datacard supported? Message-ID: <20080503064135.GA2355@rebelion.Sisis.de> Hello, Normally I'm using for UMTS an 'Option GT 3G/3G quad datacard' which is supported fine since FreeBSD 6.2++ by the ubsa(4) driver; Yesterday I've got a new card (and was lucky not giving away the working one) which does not attach to any driver; the only information I have is what is written on the cover of the device: upper side: Vodafone Mobile Connect HSDPA/UMTS/EDGE datacard lower side: Model GT 3G+ EMEA designed in E.U. by Option SNR: NL246970CJ on plug-in into the slot the kernel says: May 2 16:58:23 rebelion kernel: cardbus0: at device 0.0 (no driver attached) May 2 16:58:23 rebelion root: Unknown Cardbus device: device 0x000c class 0x028000 vendor 0x1931 bus cardbus0 I've Google'd around with the vendor id 0x1931 and the only hit is some thread in a French Linux kernel group about a patch for some piece of code drivers/char/nozomi.c naming the device code 0x000c and vendor id: +#define VENDOR1 0x1931 /* Vendor Option */ +#define DEVICE1 0x000c /* HSDPA card */ Is there some work in FreeBSD for this card? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ b http://gurucubano.blogspot.com/ From volker at vwsoft.com Sat May 3 13:36:31 2008 From: volker at vwsoft.com (Volker) Date: Sat May 3 13:36:35 2008 Subject: nozomi driver (was: Vodafone Mobile Connect HSDPA/UMTS/EDGE datacard supported?) In-Reply-To: <20080503064135.GA2355@rebelion.Sisis.de> References: <20080503064135.GA2355@rebelion.Sisis.de> Message-ID: <481C6A3D.6030007@vwsoft.com> On 12/23/-58 20:59, Matthias Apitz wrote: > Hello, > > Normally I'm using for UMTS an 'Option GT 3G/3G quad datacard' which is > supported fine since FreeBSD 6.2++ by the ubsa(4) driver; > > Yesterday I've got a new card (and was lucky not giving away the working > one) which does not attach to any driver; the only information I have is > what is written on the cover of the device: > > upper side: > Vodafone Mobile Connect HSDPA/UMTS/EDGE datacard > lower side: > Model GT 3G+ EMEA > designed in E.U. by Option > SNR: NL246970CJ > > on plug-in into the slot the kernel says: > > May 2 16:58:23 rebelion kernel: cardbus0: at device 0.0 (no driver attached) > May 2 16:58:23 rebelion root: Unknown Cardbus device: device 0x000c class 0x028000 vendor 0x1931 bus cardbus0 > > I've Google'd around with the vendor id 0x1931 and the only hit is some > thread in a French Linux kernel group about a patch for some piece of > code drivers/char/nozomi.c naming the device code 0x000c and vendor > id: > > +#define VENDOR1 0x1931 /* Vendor Option */ > +#define DEVICE1 0x000c /* HSDPA card */ > > Is there some work in FreeBSD for this card? Thx Matthias, no real life of a working driver, but a preliminary piece of code, which may get your device working can be found here: http://bsd.vwsoft.com/3g/nozomi/ Please grab the Makefile and nozomi.c file. Big fat warning: This code currently can't make it into the fBSD source tree, as it contains portions of GPL'd code. At least you should get your device in a working state with that code. The host interface of that card is totally different to that of other cards so you won't have any luck with any other drive from the base system. Please report back to me if you find any issues (as I'm not using 3G cards very often these days anymore). HTH Volker From matthias.apitz at oclc.org Sun May 4 14:37:45 2008 From: matthias.apitz at oclc.org (Matthias Apitz) Date: Sun May 4 14:37:49 2008 Subject: nozomi driver (was: Vodafone Mobile Connect HSDPA/UMTS/EDGE datacard supported?) In-Reply-To: <481C6A3D.6030007@vwsoft.com> References: <20080503064135.GA2355@rebelion.Sisis.de> <481C6A3D.6030007@vwsoft.com> Message-ID: <20080504143704.GA2571@rebelion.Sisis.de> El d?a Saturday, May 03, 2008 a las 03:35:57PM +0200, Volker escribi?: > Matthias, > > no real life of a working driver, but a preliminary piece of code, which > may get your device working can be found here: > > http://bsd.vwsoft.com/3g/nozomi/ > > Please grab the Makefile and nozomi.c file. > > Big fat warning: This code currently can't make it into the fBSD source > tree, as it contains portions of GPL'd code. > > At least you should get your device in a working state with that code. > The host interface of that card is totally different to that of other > cards so you won't have any luck with any other drive from the base system. > > Please report back to me if you find any issues (as I'm not using 3G > cards very often these days anymore). > > HTH > > Volker Hi Volker, Thanks for the piece of software. I run into a small problem compiling the code nozomi.c because the function bus_setup_intr() awaits one more argument as it was called in nozomi.c; I checked the man page of bus_setup_intr() and other divers how they call it and came up with this small patch: *** nozomi.c 2008-05-04 16:14:15.406582000 +0200 --- nozomi.c.orig 2007-04-18 00:47:50.000000000 +0200 *************** *** 1204,1210 **** nozomi_tty_init(sc); /* setup interrupt and interrupt handler */ ! if(bus_setup_intr(dev, sc->intr_res, INTR_TYPE_TTY , NULL, nozomi_interrupt_handler, sc, &sc->intr_cookie)) { printf("unable to register interrupt handler\n"); goto fail; } --- 1204,1210 ---- nozomi_tty_init(sc); /* setup interrupt and interrupt handler */ ! if(bus_setup_intr(dev, sc->intr_res, INTR_TYPE_TTY , nozomi_interrupt_handler, sc, &sc->intr_cookie)) { printf("unable to register interrupt handler\n"); goto fail; } With this change the driver compiles fine and loads fine with 'kldload ./nozomi.ko' On card insert it says: May 4 16:19:54 rebelion kernel: nozomi0: