Re: [WinPcap-users] How to debug a windows crash (reboot)?

2005-04-28 Thread Ben Greear
ry useful for post-mortem analysis. Thanks! Could you let me know what sort of tool chains I need to compile winpcap (including the driver)? I was hoping that I wouldn't need to, but it is probably the problem here... Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technolo

[WinPcap-users] How to debug a windows crash (reboot)?

2005-04-28 Thread Ben Greear
gging such a problem? Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com == This is the WinPcap users list. It is archived at http://www.mail-archive.com/winpcap-users@winpcap.polito.it/

Re: [WinPcap-users] Is cable plugged in?

2005-04-28 Thread Ben Greear
Ben Greear wrote: > You can probably use PacketRequest with the OID_GEN_MEDIA_CONNECT_STATUS > OID. > Loris I am trying to do something similar, and I can't get anything other than zeros returned in the OID. My code is below. The MAC request works, but the link status request

Re: [WinPcap-users] Is cable plugged in?

2005-04-28 Thread Ben Greear
quot; << (int)(oid->Data[2]) << ":" << (int)(oid->Data[3]) << endl; if (oid->Data[0]) { cur_flags.turn_off(IF_link_OK); } else { cur_flags.turn_on(IF_link_OK);

Re: [WinPcap-users] Problem with making winpcap under cygwin

2005-04-27 Thread Ben Greear
ciate any suggestion, sincerely. Maybe try renaming Packet.a to libPacket.a ? Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com == This is the WinPcap users list. It is archived at h

Re: [WinPcap-users] Can't load packet dll on win2k?

2005-04-27 Thread Ben Greear
In the WpdPack/Lib/ directory there is a libpacket.a and a Packet.lib file. Can anyone tell me the difference between the two? Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelate

Re: [WinPcap-users] Can't load packet dll on win2k?

2005-04-27 Thread Ben Greear
Guy Harris wrote: Ben Greear wrote: Right, but I _also_ need to select on other tcp sockets. It seems there is nothing in Windows that will select/wait on both at the same time. Does Windows - or, at least, the NT versions of same (NT 4.0, W2K, WXP, WServer2K3, etc.) - support any call that

Re: [WinPcap-users] Can't load packet dll on win2k?

2005-04-27 Thread Ben Greear
Loris Degioanni wrote: Ben, Ben Greear wrote: First, I was able to get bridging working on my XP box with the npf.sys file that someone sent me. (I tried to thank them in person, but email to their address bounces.) I am having to poll the pcap_t device since I need to select on other file

[WinPcap-users] Can't load packet dll on win2k?

2005-04-26 Thread Ben Greear
deas for how to fix this? Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com == This is the WinPcap users list. It is archived at http://www.mail-archive.com/winpcap-users@winpcap.

Re: [WinPcap-users] PROBLEM WITH BUILDING A BRIDGE

2005-04-26 Thread Ben Greear
se > if you can write a bridge, you can also write a transparent firewall. Me too... Thanks, Ben > Regards > David Rodriguez -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com == This i

[WinPcap-users] How to get device index from pcap_t structure?

2005-04-24 Thread Ben Greear
goodies... So, could anyone point me to a method of getting the device index given the results of pcap_findalldevs? Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc http://www.candelatech.com == This

Re: [WinPcap-users] PROBLEM WITH BUILDING A BRIDGE

2005-04-24 Thread Ben Greear
functions involved? From reading your discussion, it sounds like setting a flag on the pcap_t object should be sufficient to get the info to the write() logic, but I do not see anywhere to set such a flag... Thanks, Ben -- Ben Greear <[EMAIL PROTECTED]> Candela Technologies Inc