ajrockefeller / openfpc

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

Bug: pulling all packets for a given time doesn't work #8

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
This might not work because this really isn't the point of this tool I think, 
but this is a failure case.

What steps will reproduce the problem?
1. goto http://<your server>/openfpc/
2. Select a start and end time frame
3. Select TCP
4. Select IPV4
5. click extract

What is the expected output? 

A .pcap of all IPv4 packets for that time frame or an error message stating 
that a required field is missing.

What do you see instead?

a popup to download a 0 byte file named "0".

tail -f /var/log/apache2/error_log

[Fri Mar 25 13:56:18 2011] [error] [client 10.75.164.31] PHP Warning:  
readfile(0): failed to open stream: No such file or directory in 
/var/www/localhost/htdocs/openfpc/index.php on line 1122, referer: 
http://<removed by Wally>/openfpc/

Original issue reported on code.google.com by Jason.R....@gmail.com on 25 Mar 2011 at 6:04

GoogleCodeExporter commented 8 years ago
Agreed, there is a bug here.

I will fix when committing the "new" look GUI. With debug on it does provide 
the error.
Fail! 
Result: 0 
Error: Insufficient Constraints added. Please add some session identifiers 
Size: 0 

Original comment by leon.j.w...@gmail.com on 27 Mar 2011 at 6:17

GoogleCodeExporter commented 8 years ago
check the time... mine seams to be logging in GMT not local time.

Original comment by roy.boi...@gmail.com on 5 Apr 2011 at 1:29

GoogleCodeExporter commented 8 years ago
Just a quick comment: You do need to provide some session identifiers, complete 
extraction of all traffic from a time window is not supported.

I can't remember why I imposed this constraint, right now it makes sense to 
remove it.

On the todo list.

Original comment by leon.j.w...@gmail.com on 25 Apr 2011 at 6:02