software that calls itself BASE obviously needs base64
support. And here it is:
- for the MAC addresses presented on the screen
- for the pcap download feature.
TODO: The user should have a possibility to change
the link layer type, as 1 (== ethernet) is not
necessarily true, it is just BASEd on an assumption.
Perhaps in base_conf.php, or as a form field, in line
with those DLTs in pcap/net/bpf.h.
And just another idea: I have changed the output
filename into something like "base_101-62808.pcap"
to give a hint which program is responsible for the
packet. This has made it easier for me to distinguish
the packets generated by different programs, like base,
getpacket (from FLoP), tethereal and so on.
After all, all of those packets need some tests and checks.
I have attached two diffs (referring to base-1.2.4):
diff -Nur base_payload.php.orig base_payload.php >
diff -Nur base_qry_alert.php.orig base_qry_alert.php >