Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent packet bursting by skipping consecutive ones | Yunchih Chen | 2019-03-07 | 1 | -1/+3 |
| | | | | | | If a process (using the same source port) keeps transmitting packets, only insert a log at the end of a time interval | ||||
* | Minor formatting and copyright | Yunchih Chen | 2019-03-07 | 1 | -2/+3 |
| | |||||
* | sqlite3 rewrite | Yunchih Chen | 2019-03-07 | 1 | -126/+62 |
| | | | | | | This rewrite intends to simplifies previous design by hosting the storage in sqlite database instead of counting on individual log files. | ||||
* | Old unfinished modifications | Yunchih Chen | 2018-11-23 | 1 | -3/+3 |
| | |||||
* | Checksum in a simple way | Yunchih Chen | 2018-08-30 | 1 | -0/+3 |
| | | | | Otherwise, cksum value mysteriously differs ... | ||||
* | Add raw_size field into header | Yunchih Chen | 2018-04-28 | 1 | -0/+1 |
| | |||||
* | Move netlink socket initialization into separate function | Yunchih Chen | 2018-04-28 | 1 | -36/+41 |
| | |||||
* | Fix possible NULL pointer returned by nflog_bind_group | Yunchih Chen | 2018-03-21 | 1 | -0/+6 |
| | |||||
* | Simplify variable assignments | Yunchih Chen | 2018-03-20 | 1 | -7/+5 |
| | |||||
* | Batch kernel -> userspace packet delivery | Yunchih Chen | 2018-03-20 | 1 | -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-limiting | Yunchih Chen | 2018-03-20 | 1 | -4/+32 |
| | |||||
* | Minimize nflog netlink socket receive buffer | Yunchih Chen | 2018-03-20 | 1 | -1/+4 |
| | | | | | We only read the meta data and the packet header and ignore packet payload | ||||
* | Remove pthread cancellation points | Yunchih Chen | 2018-03-20 | 1 | -3/+0 |
| | |||||
* | Add comments && formatting | Yunchih Chen | 2018-03-20 | 1 | -3/+3 |
| | |||||
* | Consistent variable / type naming | Yunchih Chen | 2018-03-18 | 1 | -18/+18 |
| | |||||
* | Add header checksum | Yunchih Chen | 2018-03-18 | 1 | -0/+3 |
| | |||||
* | Fix committer bug | Yunchih Chen | 2018-03-17 | 1 | -7/+6 |
| | |||||
* | Apply clang-format changes | Yunchih Chen | 2018-03-05 | 1 | -25/+30 |
| | |||||
* | Switch to new project layout | Yunchih Chen | 2018-03-05 | 1 | -0/+236 |