Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
promisc mode
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tigrezno
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 251
Location: Spain

PostPosted: Thu Jul 04, 2002 2:01 pm    Post subject: promisc mode Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: Wisconsin, USA

PostPosted: Thu Jul 04, 2002 4:53 pm    Post subject: Re: promisc mode Reply with quote

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
View user's profile Send private message
tigrezno
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 251
Location: Spain

PostPosted: Thu Jul 04, 2002 5:22 pm    Post subject: Re: promisc mode Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: Wisconsin, USA

PostPosted: Fri Jul 05, 2002 12:26 am    Post subject: Re: promisc mode Reply with quote

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
View user's profile Send private message
tigrezno
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 251
Location: Spain

PostPosted: Fri Jul 05, 2002 9:16 am    Post subject: woah, segmentation fault installing libcap Reply with quote

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
View user's profile Send private message
delta407
Bodhisattva
Bodhisattva


Joined: 23 Apr 2002
Posts: 2876
Location: Chicago, IL

PostPosted: Fri Jul 05, 2002 5:01 pm    Post subject: Reply with quote

make is segfaulting, that's not good. What are your CFLAGS?
_________________
I don't believe in witty sigs.
Back to top
View user's profile Send private message
tigrezno
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 251
Location: Spain

PostPosted: Fri Jul 05, 2002 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 16029
Location: Colorado

PostPosted: Fri Jul 05, 2002 6:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
tigrezno
Apprentice
Apprentice


Joined: 28 Jun 2002
Posts: 251
Location: Spain

PostPosted: Fri Jul 05, 2002 10:09 pm    Post subject: hehehe sorry Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum