Reputation
653
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
6 10
Newest
 Necromancer
Impact
~145k people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Nov
1
comment How to log all remote destinations a networking process is exchanging data with?
Seems to be abandonware. Vanilla source without debian patches compiles on my Slackware 13.1, but when running it I see segfault reports related to it in syslog. It also seems to watch for TCP traffic only, while I need UDP too (but hey, it doesn't seem to work for me anyway, since it is segfaulting).
Nov
1
comment How to log all remote destinations a networking process is exchanging data with?
A complex app (like a daemon) could fork and spawn children. Also, threads are implemented in Linux as processes IIRC. Is strace smart enough to handle such edge cases correctly as well? Also, would stracing have a heavy impact on performance? I want to run an app the usual way and collect stats, so its performance better not be impacted badly by the inspecting logic (whatever would it be).
Nov
1
comment How to log all remote destinations a networking process is exchanging data with?
Also, the lsof/netstat approach is inconvenient (you motivated that yourself). The iptables approach has drawbacks as well, an user can own many processes and it would work anyway for outgoing data only. Like I said, this is not the application level.
Nov
1
comment How to log all remote destinations a networking process is exchanging data with?
I'm rather looking for a socket wrapper library that could do some logging or for a process accounting kernel framework that can gather the data I need.
Nov
1
asked How to log all remote destinations a networking process is exchanging data with?
Nov
1
comment Bash: Difference between > and >> operator?
You could fiddle with temporary files to get the difference between >> and >.
Oct
22
answered Can I limit SSH access to a particular folder on a cPanel server?
Oct
22
answered phpBB: How to handle spammy registrations?
Oct
22
comment apache log file size limit
You could use logrotate to avoid the logs growing too big. This way you won't have to deal with the consequences.
Oct
22
comment Downloading php files from python simple http server
It is possible to instantiate CGIHTTPServer directly, it will execute CGI scripts from the cgi-bin subdirectory by default.
Oct
21
answered Block ip addresses on Window Server 2003
Oct
21
answered Best way to block a country by IP address?
Oct
19
answered how can i record maximum amount of memory used over time in a linux server
Oct
17
answered What is the purpose of executable file access rights in Linux?
Oct
16
answered How can I do traffic shaping in Linux by IP?
Oct
15
comment Disk encryption in Debian
Very good point about having the swap encrypted. And /tmp can be placed in RAM to close the gap.
Oct
13
answered Linux kernel with grsec + Java / Apache Tomcat
Oct
8
comment Infrastructure security check
OpenVAS is a free alternative to Nessus.
Oct
3
answered Freeing up space in my SVN repository
Oct
1
comment 5 Asterisks in crontab entry
Just man crontab will do. The crontab manpage is not always in section 5. I'm typing this from Slackware Linux 13.1 and it's in section 1 here.