The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
0answers
12 views

What is the Wireshark display filter expression to display ALL HTTP related packets?

What is the Wireshark display filter expression that displays ALL HTTP related packets? For quiz
1
vote
2answers
1k views

PowerShell filter files by date in name

I have many files with different names per day. How can I filter them by the date in their name? For example: app_20130505.log app_20130506.log app_20130507.log app_20130508.log app_20130509.log ...
0
votes
1answer
62 views

how to control ldap users access using groupdn?

i am using openldap, nslcd and nss-pam-ldapd. i want to restrict users login to ldap client. i have configured this in centos6.5 without any problem using groupdn. but in centos 7, there is no ...
2
votes
1answer
1k views

How to allow only certain files in Apache

I'd like to filter access to certain files in apache. I want only CGI access. So I tried putting in vhost file: <FilesMatch "\.cgi$"> Order allow,deny Allow from all </FilesMatch> ...
0
votes
0answers
8 views

Trim and filter functions in NFLOG

I have a tricky task to fulfill: I need to reduce the memory-size of my log on the disk space. Due to customer demand, I have work in a Linux environment with NFLOG. Another security restriction I ...
1
vote
2answers
245 views

Rsync filter and ignore some directories

I'd like to rsync a directory that contains a Python 3 app on my server. The directory has files I'm interested in: the files that end with .py And there are the files I'd like to be ignored (these ...
0
votes
0answers
15 views

How to block a users name from getting mail using postfix

I have a setup where I use /etc/aliases to define several email addresses for a user, e.g.: foo: user bar: user foo.bar: user However I want to block the users name (user@domain.com) from ...
0
votes
1answer
415 views

Proftpd - Disable AllowFilter on sub-folders

I'm trying to set up my ftp server properly, but I have a problem with the AllowFilter. The Description: I want to restrict all commands by default and only allow a few. That works. However. As you ...
1
vote
4answers
3k views

How can the SSDP protocol be filtered out of Wireshark view?

In Wireshark version 1.12.4, I am trying to filter out packet messages with an SSDP protocol. When I clicked the Expression button next to the Filter field, and selected "HTTP" (as Field Name) and ...
2
votes
1answer
88 views

Use Windows PowerShell to find and delete files from specific owner

Because of a ransomware attack (no big deal, all recovered from backup) I want to clean up the directories and sub directories on the network share where the attack happened to create a lot of ...
10
votes
4answers
11k views

Linux shell command to filter a text file by line length

I have a 30gb disk image of a borked partition (think dd if=/dev/sda1 of=diskimage) that I need to recover some text files from. Data carving tools like foremost only work on files with well defined ...
0
votes
1answer
190 views

Postfix delivery based on headers [duplicate]

I need to filter email delivery in Postfix based on a specific header. Lets have the following example: There's some PHP script that will dispatch emails to the local MTA (postfix). These emails ...
0
votes
0answers
28 views

ubuntu 14.04 LTS issue with tc filter command

Friends, I am using HTB queues in an output port, and my filter condition uses both destination MAC address and VLAN ID. I am having problems to make this filter work together. I have tried almost ...
-1
votes
1answer
48 views

HP ProCurve 2920, MAC filter

I have few HP 2920. They are connected to another HP modular switch via uplinks. When I check which devices are connected via MAC I can only see MAC addresses on uplink ports (idk why I can't see ...
4
votes
5answers
2k views

How do I remove (un-apply) a named filter from a Procurve switch port using the CLI?

EDIT: Edited my examples to reflect that I was indeed attempting this with the switch in "configure" mode. Still no joy. EDIT: I've done some more searching on this issue. I just can't seem to see it ...
0
votes
0answers
23 views

Emails ending up in gmail spam folder [duplicate]

Emails from my dedicated server are ending up in spam folder in gmail even though the server is not blacklisted and with good reputation - see below. the server level issues that would cause this ...
0
votes
0answers
164 views

Postfix capture messages exceeding limit

Is it possible to capture/filter messages that are exceeding the limit that has been set in the postfix configuration, and forward the captured mails to an external id? thanks in advance. EDIT : We ...
0
votes
1answer
230 views

Transparent HTTP/HTTPS domain filtering proxy [closed]

I want to set up a transparent HTTP/HTTPS proxy to filter outbound requests based on destination hostname (domain). The proxy itself should be non-intrusive and just forward traffic, not ...
1
vote
1answer
50 views

How to re-open the port?

I've a server with root access, I opened the 4022 port for ssh and it was working very well before, Today I try to connect on my server via ssh, but nothing happened, so I checked that via nmap and ...
1
vote
1answer
104 views

Powershell to exclude Group Members from Dynamic Distribution List

I am attempting to remove specific users from a Dynamic Distribution List. I have searched and toyed with my PowerShell script for sometime with no luck. I'm sure it is something I am overlooking as ...
1
vote
0answers
40 views

How do I set Host Groups on Fail2ban for Wordpress?

I'm trying to set up a custom filter for fail2ban on a wordpress site. I've been following this tutorial but when I try to test my custom filter, I get the error: server.failregex.RegexException: No ...
30
votes
2answers
54k views
1
vote
0answers
157 views

rsyslog filter on authpriv facility in rsyslog.conf

This has been addressed in other post(s), but I still can't get this to work properly. I am trying to OMIT (discard) certain entries from being written to my " /var/log/secure ". Namely, any line ...
2
votes
3answers
156 views

How to filter a LDAP query for users which are authenticated? [closed]

I want to check if a user is authenticated right now for my Windows domain. For that I want to use an LDAP query. I learned that there is a group "Authenticated Users" (S-1-5-11) which might do the ...
0
votes
2answers
1k views

Logstash: UNIX Epoch time not getting converted to readable format

I have setup an ELK stack and I am trying to parse squid log entries. And I am having a problem trying to convert the following UNIX/Epoc time as 1442469455.757 to a human readable format. While ...
-1
votes
1answer
69 views

When should I use the different tables in iptables?

I am new to iptables and a bit confused. What I would like to know is, for example, if I need to block a certain IP from accessing my server, should I add the rule to the mangle table or the filter ...
1
vote
1answer
121 views

Exim - add footer to all outgoing emails except for one user

I am currently managing an email server that is being handled by Exim 4.85 This server currently adds a footer to all outgoing messages. The line that adds this functionality can be found on several ...
4
votes
5answers
10k views

Wireshark filter to only capture Incoming Packets?

I am trying to setup a Filter (so my log files aren't massive) that will capture only incoming traffic. I have looked on http://wiki.wireshark.org/CaptureFilters but so far have been unable to find a ...
0
votes
0answers
95 views

Filter packets with layer 7 (raw) data with iptables

Let's suppose I've got the following iptables rule: iptables -A INPUT -p tcp -s $IP --sport $PORT -j DROP filtering (and dropping, in this case) packets coming from $IP:$PORT. This filter drop ...
0
votes
1answer
188 views

Disable logging ip adress to access.log in lighttpd

I have my webserver configured with lighttpd/1.4.31. About 80% of all entries in lighttpd's /var/log/lighttpd/access.log consist of my own ip address. I would like to disable my ip address logging ...
1
vote
1answer
223 views

Filter getent passwd output with SSSD

I am using ldap_access_filter in sssd.conf in order to limit access to users that are in a specific ldap group. However, when I do a "getent passwd" I still get a full list of the ldap users. How can ...
0
votes
1answer
139 views

Fail2Ban Filter Errors

I'm trying to add two fail2ban filters, one for post flood and phpmyadmin brute force but i get the following errors. logs: fail2ban.filter : ERROR No 'host' group in '[[]client []] File does not ...
0
votes
2answers
51 views

Redirect a port to a blocked port but with the filter to unlock it

I have all ports with iptables dropped for security reasons, now i want to open a port which redirects the traffic to a blocked port, but it will open if the traffic comes to this port. Let's see, i ...
2
votes
1answer
260 views

How are filters combined in syslog-ng

If I've got an entry in syslog-ng log { source (src); filter (filter1); filter (filter2); filter (filter3); filter (filter4); destination (all_log) } And, say filter4 is a very ...
2
votes
2answers
1k 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 ...
6
votes
1answer
76 views

How to filter settings within a GPO that only applies to Windows XP?

We have several GPOs containing many settings that have accumluated over time. I have spot-checked some of them and stumbled over settings that only apply to Windows XP (we exclusively run Vista and ...
1
vote
0answers
29 views

Applying filter on mail from specific subnet in postfix [duplicate]

I'm trying to get the following to work: We have a postfix relay on the edge of our network, accepting all mail from our internal LAN & DMZ. What we are trying to get to work is limiting the ...
0
votes
1answer
50 views

Make ProFtpd ignore a blank command

Is there a way to make ProFtpd ignore a blank command? Now it says "500 Invalid command: try being more creative" This confuses a client ftp program. The client (which I can't change) issues blank ...
3
votes
1answer
1k views

Clearing out Barracuda 310 web filter DNS/site cache?

On my network I have a Barracuda 310 web filter installed. After an issue with our ISP suddenly interrupting our DNS service, we switched over to a more reliable DNS on all of our systems. ...
1
vote
1answer
220 views

Using mime_header_checks to ACCEPT instead of REJECT?

I'm pretty well versed in using header_checks/mime_header_checks to refuse smtp mail in Postfix, but now I think I've gone off the path of righteousness; I'm trying to suss out a way that I can refuse ...
0
votes
1answer
213 views

Tcpdump advanced filters

i want ask for command can Get only the IPs have more then 1 connection with different source port xxx.xxx.xxx.xxx:X | xxx.xxx.xxx.xxx:Y (example) if IP1 has connection to server with Src Port X ...
1
vote
0answers
197 views

What does Nginx Proxy Filter in Fail2ban really do?

What does Nginx Proxy Filter in Fail2ban really do? I am currently setting up Fail2Ban for Nginx. Almost everywhere I've read, they all have included a setting for [nginx-proxy] proxy filter. From ...
0
votes
1answer
591 views

Postfix: Pipe to script bounces sent to specific virtual user

I'm building a small ticket system where basically some mail accounts of my email server are piped into a PHP script that will take care of the emails. The server is running, I can send email over ...
0
votes
1answer
2k views

sed fix for BusyBox - boot fail unable to mount LVM

BusyBox why u no vi?! Summary: Ubuntu 14.04 Server after upgrade first boot, only boots to BusyBox v1.21.1 initramfs with "gave up waiting for root device" due to missing /dev/mapper/xxx-root as ...
2
votes
2answers
1k 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

postfix/dovecot filter who can send mail on behalf of

I am using postfix + dovecot(imap+pop3) + mysql I whant to explicity define users or groups that can send email on behalf of others I was thinking doing this way: for all local(mysql) authenticated ...
1
vote
1answer
1k views

PF: Block all, but one subnet firewall rule?

I'm trying to do something that I thought would be relatively simple: Block all the traffic to a test server, other than my company's subnet. I've tried things along these lines (111.111.0.0 is my ...
0
votes
1answer
38 views

Mail Filtering - MS Exchange

I am on MS Exchange in my office and daily I receive about 500 bugzilla mails addressed to an ilist. I wanted to filter them out. Planning to setup a linux mail server to receive the mails and filter ...
0
votes
1answer
1k views

Filter python messages with regex in syslog-ng

I have syslog-ng (v3.4.7) configured to catch almost all messages in their respective logs, but recently I've included some python scripts in crontab and their output just goes to messages or debug ...
1
vote
2answers
1k views

How to exclude local traffic from AWStats reports?

I have AWStats configured to run on my website, but I would like it to exclude hits coming from myself (localhost) that are seen as originating from these ip addresses: 127.0.0.1 192.168.0.1 How ...