Played around a bit, but realised the job was too much for me.
I have decided to use some of the tools readily available and execute them
when required.
tcpdump being one of the tools, if run with the *-c* flag, it will capture
packets until it is interrupted by a SIGINT or SIGTERM signal or the
sp
OK I think I know the reason why 'ansichar'
Just did a bit of code to list the net adaptors in a combobox and All I get
is symbols (??? and ?...@?). I think I read somewhere Windows may save adaptor
names in unicode since windows 2000 (maybe).
procedure TForm1.FormCreate(Sender: TObject);
begin
Fz
In our previous episode, lloyd thomas said:
> I have managed to get the zniffer wrapper to compile, but I am worried that
> using {$MODE delphi} may not be the best way to produce optimized code.
No problem. fpc modes are mostly about syntax, not optimization. If the code
is delphi in origin it is
I have managed to get the zniffer wrapper to compile, but I am worried that
using {$MODE delphi} may not be the best way to produce optimized code.
Also I have seen other libpcap where they use ansichar instead of char. Is
there a reason for this?
function Pcap_getAdapternames(Delimiter:char;var E
No Joy, I get exactly the same error. But putting the following at the start
of the unit got me to the next error (which I managed to fix ptr = pointer)
{$ifdef FPC}
{$MODE delphi}
{$endif}
2010/1/6 ik
> Try the following (see inline for the answer):
>
>
> On Wed, Jan 6, 2010 at 13:30, lloyd th
Try the following (see inline for the answer):
On Wed, Jan 6, 2010 at 13:30, lloyd thomas wrote:
> Well I have made a start using someone elese libpcap inplementation, but
> have bump into my first issue and because of my lack of skill I am not sure
> how to code round it. Any Ideas?
> I get th
Well I have made a start using someone elese libpcap inplementation, but
have bump into my first issue and because of my lack of skill I am not sure
how to code round it. Any Ideas?
I get the following errors
PlibCap\Pcap.pas(207,13) Error: Illegal qualifier
PlibCap\Pcap.pas(207,13) Hint: may be p
use libpcap (and bind it to FPC and share with us all :)) and then you can
sniff packets (that's the easiest way I know).
Ido
http://ik.homelinux.org/
On Tue, Jan 5, 2010 at 16:48, lloyd thomas wrote:
> Also came across this which uses pcap, but seems to be delphi only
> http://www.magsys.co.u
Also came across this which uses pcap, but seems to be delphi only
http://www.magsys.co.uk/delphi/magmonsock.asp
is there something similar for fpc?
2010/1/5 lloyd thomas
> OK. I wish to monitor and record calls between a SIP endpoint and SIP
> Gateway. At the moment I am doing that by connecti
OK. I wish to monitor and record calls between a SIP endpoint and SIP
Gateway. At the moment I am doing that by connecting the SIP endpoint and my
machine to an ethernet hub so that I can see all the traffic.
In the first instance I just need to correctly capture, read and interprete
the SIP messag
Hello,
SIP first of all uses UDP most of the times (and rarely TCP) .
It only create a tunnel that other protocols such as RDP and SDP are going
inside.
Can you explain a bit more what exactly do you wish to implement (i'm not
sure that I understand) ?
Ido
http://ik.homelinux.org/
On Tue, Jan
Please forgive my ignorance regarding the project I am about to embark on.
Need some advice on Lnet and capturing SIP RTP data to file. In the first
instance I just need to work with the sip messages. I believe the SIP
messages are similar to HTTP. I am using wireshark to understand how the SIP
mes
12 matches
Mail list logo