[Snort-users] how to convert sql ipsrc hdrs to quad notation

Frontgate Lab mdiwan at ...200...
Fri Oct 12 12:56:12 EDT 2001


Hi,

 does anyone have a script that converts these to dotted quad notation? 

can you at least guide me in the direction of writting such a script? ie
the math behind it < where do i find it?


mysql> SELECT  iphdr.ip_src   FROM  iphdr;
+------------+
| ip_src     |
+------------+
| 2546232230 |
| 2546232230 |
| 2546232230 |
| 2546232230 |
| 2546232230 |
| 2546232230 |
| 2546232230 |
| 2546232230 |
| 3232274123 |
| 3232274123 |
| 3232274123 |
| 3232274123 |
+------------+
12 rows in set (0.00 sec)

thank you


Note: The information contained in this message may be privileged and confidential and protected from disclosure.  If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.  Thank you.  Wagner Weber & Williams




More information about the Snort-users mailing list