3
votes
3answers
275 views

Filter the output of a log file

Question I've a log-File which display all console-logs of my website in the range of 10.Oct to 1.Nov, start with the logs of 10.Oct. I need all logs from the range of 25.Oct until today. The problem ...
-1
votes
1answer
65 views

Filter incoming span feed to a single vlan

I have a span feed coming in on an un-addressed interface of a linux (centos) box. eth4. The span contains several vlans. I have an application which can grab packets from an interface ...
2
votes
0answers
132 views

Can ebtables BROUTING/PREROUTING package to INPUT or FORWARD table?

Can I decide the direction of package with ebtables? See the diagram above, when raw package come, I want to the package goto FORWARD table rather than INPUT table with ebtables, directly. The ...
0
votes
1answer
137 views

Date variables within rsync filters?

I have an rsync script that syncs logs files from a remote server. The log files are always named YYYY-MM-DD-HH-MM-SS. At the moment, I have a filter in place to only get the current year's logs: ...
2
votes
1answer
571 views

Linux ldap authentication, pam_filter ignored

I've set up linux client authentication via ldap, it works. I want to control user's access to several services by adding or removing different OUs for accounts. E.g., if user is allowed to login ...
0
votes
3answers
92 views

Find everything installed since server creation

I often seem to be dealing with "almost virgin" Linux installations: VMs that were created for a purpose, used briefly, but after a while we're not sure exactly what's on it. What I'd like to be able ...
2
votes
2answers
610 views

tc prio qdisc for priorization of mysql traffic

I am struggling with tc prio qdisc for a few hours now. I have read the lartc Documentation, Examples and HowTos, but this whole thing is kinda new for me and somewhat confusing :) So this is my ...
0
votes
1answer
1k views

Inconsistencies with Linux tc filter u32 matching on packet data payload - can someone explain?

I would just like some heads up on this as I really don't understand -why- this is the case. Further down is the TCPDUMP output (tcpdump -s0 -XXnni eth0 tcp port 80) of the 'HTTP' response a ...
4
votes
4answers
2k views

Log every IP connecting on a system with iptables

Title says it all. How can I, with iptables under Linux, log all IP connecting to a server? As a little detail, I'd like to have only ONE entry in the log PER DAY PER IP. Thanks :) EDIT: I ...