Problem with TCPDUMP ( it says : "tcpdump: socket: Invalid argument" ??!!

Problem with TCPDUMP ( it says : "tcpdump: socket: Invalid argument" ??!!

Post by Thomas TESTASECC » Sun, 02 Dec 2001 00:23:10



Hi,

i tape : "tcpdump -i eth0"
and i have : "tcpdump: socket: Invalid argument"

What's the problem ??!!!

Thomas TESTASECCA
ETIC telecom

 
 
 

Problem with TCPDUMP ( it says : "tcpdump: socket: Invalid argument" ??!!

Post by Dean Thompso » Sun, 02 Dec 2001 19:40:27


Hi!,

Quote:> i tape : "tcpdump -i eth0"
> and i have : "tcpdump: socket: Invalid argument"

> What's the problem ??!!!

Is it possible that you have upgraded the kernel from say 2.2 to 2.4 but you
haven't upgraded/updated the tcpdump package.  Get the latest version of the
"tcpdump" program and install it on your system.  Hopefully, when you run the
new version, the invalid argument error will disappear.

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

 
 
 

Problem with TCPDUMP ( it says : "tcpdump: socket: Invalid argument" ??!!

Post by Thomas TESTASECC » Tue, 04 Dec 2001 17:35:32


i haven't upgraded anything !!??



Quote:

> Hi!,

> > i tape : "tcpdump -i eth0"
> > and i have : "tcpdump: socket: Invalid argument"

> > What's the problem ??!!!

> Is it possible that you have upgraded the kernel from say 2.2 to 2.4 but
you
> haven't upgraded/updated the tcpdump package.  Get the latest version of
the
> "tcpdump" program and install it on your system.  Hopefully, when you run
the
> new version, the invalid argument error will disappear.

> See ya

> Dean Thompson

> --

+____________________________+____________________________________________+

|
> | Bach. Computing (Hons)     | ICQ     - 45191180
|
> | PhD Student                | Office  - <Off-Campus>
|
> | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)
|
> | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077
|
> | Melbourne, Australia       |
|

+----------------------------+--------------------------------------------+
 
 
 

Problem with TCPDUMP ( it says : "tcpdump: socket: Invalid argument" ??!!

Post by Thomas TESTASECC » Tue, 04 Dec 2001 21:38:21


ok i've found the problem
i hadn't configured my kernel with "packet socket" option

tom



> i haven't upgraded anything !!??



> > Hi!,

> > > i tape : "tcpdump -i eth0"
> > > and i have : "tcpdump: socket: Invalid argument"

> > > What's the problem ??!!!

> > Is it possible that you have upgraded the kernel from say 2.2 to 2.4 but
> you
> > haven't upgraded/updated the tcpdump package.  Get the latest version of
> the
> > "tcpdump" program and install it on your system.  Hopefully, when you
run
> the
> > new version, the invalid argument error will disappear.

> > See ya

> > Dean Thompson

> > --

+____________________________+____________________________________________+
Quote:> > | Dean Thompson              | E-mail  -


Quote:> |
> > | Bach. Computing (Hons)     | ICQ     - 45191180
> |
> > | PhD Student                | Office  - <Off-Campus>
> |
> > | School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)
> |
> > | MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077
> |
> > | Melbourne, Australia       |
> |

+----------------------------+--------------------------------------------+

- Show quoted text -

 
 
 

Problem with TCPDUMP ( it says : "tcpdump: socket: Invalid argument" ??!!

Post by Dean Thompso » Tue, 04 Dec 2001 21:59:58


Hi!,


> i haven't upgraded anything !!??

Hmm, that is interesting, there should be no real reason why you would get an
invalid argument return code if nothing has changed on your system.  Does
upgrading tcpdump actually help you at all ?

See ya

Dean Thompson

--
+____________________________+____________________________________________+

| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+