ajrockefeller / openfpc

Automatically exported from code.google.com/p/openfpc
0 stars 0 forks source link

problem on cgi-bin/extract.cgi and request format #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Send request to extract.cgi (i used snorby)
2. Bad request user.

What is the expected output? What do you see instead?
The user and password passed are correct because I used them on openfpc-client 
on cli and I was able to retrieve the pcap.

What version of the product are you using? On what operating system?
checkout from svn, r355.

Please provide any additional information below.
After debugging, I think I found the origin of the problem. Basically, the 
extract.cgi is sending OFPC::Request::request, an old version of the request, 
and the file needed to be updated to send the request in the new format, the 
format accepted by request ( OFPC::Request::mkreqv2() ). I changed some files 
to get it to work, i attached those files so you can see the differences.

Original issue reported on code.google.com by bruno90 on 27 Jan 2014 at 3:36

Attachments: