net::rawip source code question
am 08.01.2006 21:39:50 von August Reno
Hello!
I'm a total newbie in perl. I examined some scripts where the net::rawip
module
was used. What does the following mean ?
$s = new Net::RawIP;
$filter = "ip proto \\tcp and src host $daddr and src port $dport";
$pcap = $a->pcapinit($device,$filter,1500,60);
....
So I'm trouble with the $filter line. (daddr = destination address,
dport=destination port).
Please explain this to me! Thanks in advance,
regards,
august
Re: net::rawip source code question
am 09.01.2006 20:25:52 von Jim Gibson
In article , August Reno
wrote:
> Hello!
> I'm a total newbie in perl. I examined some scripts where the net::rawip
> module
> was used. What does the following mean ?
>
> $s = new Net::RawIP;
> $filter = "ip proto \\tcp and src host $daddr and src port $dport";
> $pcap = $a->pcapinit($device,$filter,1500,60);
> ...
>
> So I'm trouble with the $filter line. (daddr = destination address,
> dport=destination port).
> Please explain this to me! Thanks in advance,
> regards,
> august
>
>
I answered the same question you posted on comp.lang.perl.modules.
Please do not multi-post.
Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com