aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix check_dir bugYunchih Chen2019-04-071-6/+5
|
* Prevent packet bursting by skipping consecutive onesYunchih Chen2019-03-071-1/+3
| | | | | | If a process (using the same source port) keeps transmitting packets, only insert a log at the end of a time interval
* Improve garbage collectionYunchih Chen2019-03-072-20/+49
|
* Miscellaneous improvementsYunchih Chen2019-03-072-4/+16
|
* Minor formatting and copyrightYunchih Chen2019-03-073-4/+6
|
* Minor fixYunchih Chen2019-03-071-2/+0
|
* sqlite3 rewriteYunchih Chen2019-03-076-401/+457
| | | | | | This rewrite intends to simplifies previous design by hosting the storage in sqlite database instead of counting on individual log files.
* Old unfinished modificationsYunchih Chen2018-11-232-19/+28
|
* Add extract time range selectionYunchih Chen2018-09-012-2/+5
|
* Checksum in a simple wayYunchih Chen2018-08-303-12/+10
| | | | Otherwise, cksum value mysteriously differs ...
* Add raw_size field into headerYunchih Chen2018-04-283-21/+22
|
* Move netlink socket initialization into separate functionYunchih Chen2018-04-281-36/+41
|
* Fix indexing bugYunchih Chen2018-03-211-1/+1
|
* Fix possible NULL pointer returned by nflog_bind_groupYunchih Chen2018-03-211-0/+6
|
* Check chdir, getcwd, fread return errorsYunchih Chen2018-03-201-2/+2
|
* Simplify variable assignmentsYunchih Chen2018-03-201-7/+5
|
* Batch kernel -> userspace packet deliveryYunchih Chen2018-03-201-6/+8
| | | | | | To reduce #syscall, configure libnetfilter to send packet in batch via netlink. In this way, we also have more effective rate-limitating because the batchly-sent packets will get same timestamp.
* Add simple rate-limitingYunchih Chen2018-03-201-4/+32
|
* Minimize nflog netlink socket receive bufferYunchih Chen2018-03-201-1/+4
| | | | | We only read the meta data and the packet header and ignore packet payload
* Remove pthread cancellation pointsYunchih Chen2018-03-201-3/+0
|
* Add comments && formattingYunchih Chen2018-03-202-5/+5
|
* nfextract: Check number of available entriesYunchih Chen2018-03-202-9/+14
|
* Enable file checking during extractionYunchih Chen2018-03-181-1/+1
|
* Format with clang-formatYunchih Chen2018-03-182-42/+51
|
* Consistent variable / type namingYunchih Chen2018-03-184-48/+48
|
* Add header checksumYunchih Chen2018-03-183-7/+14
|
* Fix extractor bugYunchih Chen2018-03-181-1/+2
|
* Fix zstd bugYunchih Chen2018-03-181-5/+5
|
* Fix format output ipaddrYunchih Chen2018-03-181-3/+2
|
* Fix extract worker bugYunchih Chen2018-03-181-12/+11
|
* Fix file matching regexYunchih Chen2018-03-181-5/+8
|
* Add utility function to calculate filesizeYunchih Chen2018-03-181-0/+9
|
* Add zstd extraction implementationYunchih Chen2018-03-181-10/+42
|
* Fix committer bugYunchih Chen2018-03-173-21/+28
|
* Apply clang-format changesYunchih Chen2018-03-054-110/+111
|
* Switch to new project layoutYunchih Chen2018-03-054-0/+500