This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Capture packet to SQL Database

0

I'm using a serial to ethernet bridge (static IP) to connect a serial device to my network. I need a piece of software to grab the data from the ethernet bridge and store it in a SQL database (ideal) or a text file. The software needs to be able to run on a Win 2008 server when it is logged off. Can Wireshark do this?

Thanks!

asked 31 Oct '11, 09:09

DeadCenter's gravatar image

DeadCenter
1111
accept rate: 0%


One Answer:

0

Wireshark and TShark can't save data to an SQL database, as it has no idea what the schema of the database is. If somebody wants that capability, it would help if they indicated what it means to "save data to an SQL database" - do they want particular fields extracted from the packet as columns in a table, do they want the raw packet data stored as a blob, or what?

Wireshark is a GUI application, so it would be inappropriate to save a text file. TShark might be able to do it, but it might not be able to save anything more than a hex dump of the raw Ethernet packet.

answered 31 Oct '11, 12:27

Guy%20Harris's gravatar image

Guy Harris ♦♦
17.4k335196
accept rate: 19%