Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#12 base64 support for link layer

closed-accepted
Nerveup
None
5
2006-03-24
2006-03-21
Juergen Leising
No

Hi,

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 >
base_payload.php.diff

diff -Nur base_qry_alert.php.orig base_qry_alert.php >
base_qry_alert.php.diff

Bye, Juergen

Discussion

  • Logged In: YES
    user_id=1341286

    ...and base_qry_alert.php.diff...

     
  • Nerveup
    Nerveup
    2006-03-24

    • assigned_to: nobody --> nerveup
    • status: open --> closed-accepted
     
  • Nerveup
    Nerveup
    2006-03-24

    Logged In: YES
    user_id=1429350

    Sweet!
    Nice, qualitative diffs. Both commited.

    About that TODO youre right too.
    "it is just based on an assumption"

    Well. We could talk to Dirk to see if FLoP can log link type
    into sensor table for example or smth...