| View previous topic :: View next topic |
| Author |
Message |
tigrezno Apprentice


Joined: 28 Jun 2002 Posts: 251 Location: Spain
|
Posted: Thu Jul 04, 2002 2:01 pm Post subject: promisc mode |
|
|
Hi all, i'm trying to activate promisc mode on my ethernet adaptor, but it doesn't seem to work. do i have to compile any aditional option in kernel?
thanks |
|
| Back to top |
|
 |
Nitro Bodhisattva


Joined: 08 Apr 2002 Posts: 661 Location: Wisconsin, USA
|
Posted: Thu Jul 04, 2002 4:53 pm Post subject: Re: promisc mode |
|
|
| tigrezno wrote: | | Hi all, i'm trying to activate promisc mode on my ethernet adaptor, but it doesn't seem to work. do i have to compile any aditional option in kernel? |
What adapter are you using?
What module are you using?
How are you trying to enter promisc mode?
Do you get an error, if so what does it say? _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
| Back to top |
|
 |
tigrezno Apprentice


Joined: 28 Jun 2002 Posts: 251 Location: Spain
|
Posted: Thu Jul 04, 2002 5:22 pm Post subject: Re: promisc mode |
|
|
| Nitro wrote: | | tigrezno wrote: | | Hi all, i'm trying to activate promisc mode on my ethernet adaptor, but it doesn't seem to work. do i have to compile any aditional option in kernel? |
What adapter are you using?
What module are you using?
How are you trying to enter promisc mode?
Do you get an error, if so what does it say? |
I have intel epro100, and i use e100.o module from intel. When i had redhat, it works, but now, it doesn't. I enter promiscuous mode: ifconfig eth0 promisc, and then with ifconfig -a i see PROMISC mode activated, but gkrellm or another network monitor doesn't show anything, while my friends are downloading. |
|
| Back to top |
|
 |
Nitro Bodhisattva


Joined: 08 Apr 2002 Posts: 661 Location: Wisconsin, USA
|
Posted: Fri Jul 05, 2002 12:26 am Post subject: Re: promisc mode |
|
|
| tigrezno wrote: | | I have intel epro100, and i use e100.o module from intel. When i had redhat, it works, but now, it doesn't. I enter promiscuous mode: ifconfig eth0 promisc, and then with ifconfig -a i see PROMISC mode activated, but gkrellm or another network monitor doesn't show anything, while my friends are downloading. |
I run gkrellm with the network monitor, and it is blinking at me right now, but ifconfig doesn't show promiscuous mode enabled. When I run snort -v on my box dmesg shows "device eth0 entered promiscuous mode," but ifconfig doesn't show anything about it. Snort works as expected too. When I stop snort it shows "device eth0 left promiscuous mode."
This leads me to look at your network module. Did you use the same module in RedHat? Does tcpdump work at all for you? _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
| Back to top |
|
 |
tigrezno Apprentice


Joined: 28 Jun 2002 Posts: 251 Location: Spain
|
Posted: Fri Jul 05, 2002 9:16 am Post subject: woah, segmentation fault installing libcap |
|
|
I decided installing tcpdump in order to test the promisc mode, but i get this errors:
gcc -O2 -march=i686 -O3 -pipe -I. -DHAVE_CONFIG_H -c ./bpf_dump.c
flex -Ppcap_ -t scanner.l > $$.scanner.c; mv $$.scanner.c scanner.c
bison -y -p pcap_ -d grammar.y
make: *** [grammar.c] Segmentation fault
make: *** Se espera a que terminen otras tareas....
gcc -O2 -march=i686 -O3 -pipe -I. -DHAVE_CONFIG_H -c bpf_filter.c
bison -y -p pcap_ -d grammar.y
make: *** [grammar.c] Segmentation fault
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -88, Exitcode 2
!!! compile problem
!!! emerge aborting on /usr/portage/net-libs/libpcap/libpcap-0.7.1.ebuild . |
|
| Back to top |
|
 |
delta407 Bodhisattva


Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Fri Jul 05, 2002 5:01 pm Post subject: |
|
|
make is segfaulting, that's not good. What are your CFLAGS? _________________ I don't believe in witty sigs. |
|
| Back to top |
|
 |
tigrezno Apprentice


Joined: 28 Jun 2002 Posts: 251 Location: Spain
|
Posted: Fri Jul 05, 2002 5:59 pm Post subject: |
|
|
| delta407 wrote: | | make is segfaulting, that's not good. What are your CFLAGS? |
My flags are:
USE="-3dnow -gnome -kde aalib apm arts -avi -crypt -cups dvd esd -fbcon gif gpm gtk -gtkhtml imlib jpeg -java libwww mbox mmx mikmod -motif mozilla mpeg -mysql ncurses nls oggvorbis oss pam pdflib -perl plotutils png -python -qt -quicktime samba sdl snmp socks5 ssl -tcl -tk svga tcpd tiff truetype X -xml -xml2 xmms xv xlib" |
|
| Back to top |
|
 |
pjp Administrator


Joined: 16 Apr 2002 Posts: 16029 Location: Colorado
|
Posted: Fri Jul 05, 2002 6:06 pm Post subject: |
|
|
Those are your USE flags... he wants to see your CFLAGS _________________ lolgov. 'cause where we're going, you don't have civil liberties.
In Loving Memory
1787 - 2008 |
|
| Back to top |
|
 |
tigrezno Apprentice


Joined: 28 Jun 2002 Posts: 251 Location: Spain
|
Posted: Fri Jul 05, 2002 10:09 pm Post subject: hehehe sorry |
|
|
| kanuslupus wrote: | | Those are your USE flags... he wants to see your CFLAGS |
ok, my cflags are:
CFLAGS="-march=i686 -O3 -pipe" |
|
| Back to top |
|
 |
|