05-11-2015
tcpdump: BIOCVERSION: Invalid argument is the output I get
9 More Discussions You Might Find Interesting
1. Cybersecurity
Hello,
Is there a functional flow of the UNIX security system that I can view? (1 Reply)
Discussion started by: spanglerbrod
1 Replies
2. Programming
hello im facing a queer problem when i execute the foll code in unix
# include <stdio.h>
# include <unistd.h>
main(int argc,char *argv)
{
FILE *fp = fopen("/ras/chirag/fifotest/file.fifo","a");
int i=1;
fprintf(fp,argv);
printf("I SLEEP");
system("date");
for (i=0;i<50;i++)... (2 Replies)
Discussion started by: tej.buch
2 Replies
3. Programming
Any One help how to draw the flow chart for C programe ?
If any usefull link's. (1 Reply)
Discussion started by: sabari
1 Replies
4. Programming
Hi,
my program stops with a buffer overflow error, but i can't understand the problem. I have a file like:
int array; //global variable
void func(){
int i;
for(i=0;i<n;i++)array=-1;
...
}
I had the error when i added the array initialization.
the file is a part of a C project. What... (1 Reply)
Discussion started by: littleboyblu
1 Replies
5. Shell Programming and Scripting
i am in an epic quagmire of horrid misunderstanding.
its been a while since ive been in the scene, couldnt remember my login for the account i used to have here, so excuse the 1st post. i dont want it to seem like ima post n boogy. in any case here we go:
just recently installed mandriva... (6 Replies)
Discussion started by: SirDonkeyPunch
6 Replies
6. IP Networking
I have a number of Windows CE operator terminals. They have facility to print alarms/messages to ...
aser or Inkjet (so they're using PCL).
USB or IP. IP connection takes just the IP address.
Question
How could I create a service or daemon on a server to capture all this data?... (7 Replies)
Discussion started by: transistor
7 Replies
7. Shell Programming and Scripting
hi ,
I am new to scripting, i have a doubt can any one pls solve it for me
the code is not working
set users = (user1 user2 user3)
echo The users are
echo $users
echo Enter the USER NAME
set USER_NAME = $<
set i = 1;
for ( i = 1; i <= $#users; i++ )
if ( $USER_NAME == $users )... (1 Reply)
Discussion started by: Manju87
1 Replies
8. Shell Programming and Scripting
B()
{
}
A()
{
calling a function B
}
for condition
do
calling a function A
done
Shall after executing function B, the control will return back to loop?
Thanks in advance :) (2 Replies)
Discussion started by: ezee
2 Replies
9. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
LEARN ABOUT FREEBSD
ipresend
IPRESEND(1) General Commands Manual IPRESEND(1)
NAME
ipresend - resend IP packets out to network
SYNOPSIS
ipresend [ -EHPRSTX ] [ -d <device> ] [ -g <gateway> ] [ -m <MTU> ] [ -r <filename> ]
DESCRIPTION
ipresend was designed to allow packets to be resent, once captured, back out onto the network for use in testing. ipresend supports a num-
ber of different file formats as input, including saved snoop/tcpdump binary data.
OPTIONS
-d <interface>
Set the interface name to be the name supplied. This is useful with the -P, -S, -T and -E options, where it is not otherwise possi-
ble to associate a packet with an interface. Normal "text packets" can override this setting.
-g <gateway>
Specify the hostname of the gateway through which to route packets. This is required whenever the destination host isn't directly
attached to the same network as the host from which you're sending.
-m <MTU>
Specify the MTU to be used when sending out packets. This option allows you to set a fake MTU, allowing the simulation of network
interfaces with small MTU's without setting them so.
-r <filename>
Specify the filename from which to take input. Default is stdin.
-E The input file is to be text output from etherfind. The text formats which are currently supported are those which result from the
following etherfind option combinations:
etherfind -n
etherfind -n -t
-H The input file is to be hex digits, representing the binary makeup of the packet. No length correction is made, if an incorrect
length is put in the IP header.
-P The input file specified by -i is a binary file produced using libpcap (i.e., tcpdump version 3). Packets are read from this file
as being input (for rule purposes).
-R When sending packets out, send them out "raw" (the way they came in). The only real significance here is that it will expect the
link layer (i.e. ethernet) headers to be prepended to the IP packet being output.
-S The input file is to be in "snoop" format (see RFC 1761). Packets are read from this file and used as input from any interface.
This is perhaps the most useful input type, currently.
-T The input file is to be text output from tcpdump. The text formats which are currently supported are those which result from the
following tcpdump option combinations:
tcpdump -n
tcpdump -nq
tcpdump -nqt
tcpdump -nqtt
tcpdump -nqte
-X The input file is composed of text descriptions of IP packets.
SEE ALSO
snoop(1m), tcpdump(8), etherfind(8c), ipftest(1), ipresend(1), iptest(1), bpf(4), dlpi(7p)
DIAGNOSTICS
Needs to be run as root.
BUGS
Not all of the input formats are sufficiently capable of introducing a wide enough variety of packets for them to be all useful in testing.
If you find any, please send email to me at darrenr@pobox.com
IPRESEND(1)