rain1
|
43c98c68be
|
* src/main.cpp: Include header files for capabilities and attrs.
* src/nethogs.cpp: Add code to read and parse file attrs, and check for the required capabilities in the non-root case.
|
2016-04-14 11:49:55 +00:00 |
|
Arnout Engelen
|
ef74014094
|
Include stdio.h in packet.cpp (fixes #70)
I guess we want to think about handling output consistently anyway (iostream vs
printf, what to do when we're in library mode), but that's for later.
|
2016-04-14 09:07:27 +02:00 |
|
Arnout Engelen
|
d9ade498e8
|
Merge pull request #68 from raboof/fix-stack-buffer-overflow
Fix stack buffer overflow
|
2016-03-31 08:01:33 +02:00 |
|
Arnout Engelen
|
db2da627df
|
Don't redefine TH_FLAGS
Fixes compiler warning:
packet.cpp:127:9: warning: 'TH_FLAGS' macro redefined
^
/usr/include/netinet/tcp.h:103:9: note: previous definition is here
|
2016-03-31 07:56:09 +02:00 |
|
Arnout Engelen
|
07bd32e878
|
Add -Wno-missing-field-initializers to build
to suppress spurious warning
|
2016-03-31 07:51:46 +02:00 |
|
Wang Xin-yu (王昕宇)
|
17c51c6a86
|
fix stack buffer overflow when convert between in6_addr
|
2016-03-30 16:01:30 +08:00 |
|
Arnout Engelen
|
a2329643f6
|
Update build system to find manpage again (fixes #67)
|
2016-03-30 07:46:18 +02:00 |
|
Arnout Engelen
|
8b245e1be0
|
Fix packet matching for packets with IPv6 addresses
|
2016-03-28 00:30:53 +02:00 |
|
Arnout Engelen
|
c73b8cd065
|
Remove some dead code
|
2016-03-27 23:24:12 +02:00 |
|
Arnout Engelen
|
e7a74b00fb
|
Move sources to 'src' directory
|
2016-03-27 23:14:33 +02:00 |
|