Linux/MacOs - Know which process filter UDP 443 packets
NickName:Yannick Ask DateTime:2020-05-18T18:17:15

Linux/MacOs - Know which process filter UDP 443 packets

Is there a way, on Linux / MacOs to find which process is filtering my UDP packets on a specific port ?

Here some details and why I'm asking:

On my MacOs ( Mojave 10.14) , if I try to send a UDP packet to any address ( DNS resolves correctly) to port 443, I cannot see anything leaving my laptop ( using tcpdump)

If I do the exact same test but for a different port , for instance 444, I can see the packet leaving ( on tcpdump).

There is a process which is filtering UDP packet to port 443 and I want to know which process it is ( Firewall disabled on my mac).

The exact commands I'm using for my tests :

sudo tcpdump udp port 443
nc -u IPADDRESS 443
I type something stuff here..

==> I cannot see anything going through

sudo tcpdump udp port 444
nc -u IPADDRESS 444
I type something stuff here..

==> I can see a datagram leaving my interface

I know this can be tricky to find which process might be filtering this port.. If anyone has an idea, would be great. I would not want to rely on the method ' Kill everything until it works'

Copyright Notice:Content Author:「Yannick」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/61867329/linux-macos-know-which-process-filter-udp-443-packets

More about “Linux/MacOs - Know which process filter UDP 443 packets” related questions

Linux/MacOs - Know which process filter UDP 443 packets

Is there a way, on Linux / MacOs to find which process is filtering my UDP packets on a specific port ? Here some details and why I'm asking: On my MacOs ( Mojave 10.14) , if I try to send a UDP ...

Show Detail

Linux drops UDP packets

I have written a C++ tool for my linux machine which receives UDP (OSC) packets and sends them back immediately (thats the only thing it does). But it seems that there is some amount of dropped pac...

Show Detail

How to filter Packets in RAW socket in LINUX

RAW Socket: How to filter packets in RAW Socket ? I was trying to capture UDP packets in a server Program but its receiving all the packets. Is there any function or command to filter the packets in

Show Detail

How to process raw UDP packets so that they can be decoded by a decoder filter in a directshow source filter

Long Story: There is an H264/MPEG-4 Source I can able to connect this source with RTSP protocol. I can able to get raw UDP packets with RTP protocol. Then send those raw UDP packets to a Decoder[h...

Show Detail

Another process stealing my UDP packets

I ran into this a while ago and a discussion I recently had reminded me that I don't know how to solve it... Suppose that you have a server and client communicating through UDP. Your client listens...

Show Detail

MacOS: strange delay between UDP/TCP packets

I am developing an application that sends data per UDP using AsyncUDPSocket class to another client on Mac and Windows. It is very important that packets arrive instantly. The problem is that every

Show Detail

Can I sniff UDP packets addressed another Linux machine using Python?

I have a Python process on one Linux machine server1 that receives and processes raw UDP packets. I want to have another Linux machine server2 capable of listening to the same UDP packets server1 is

Show Detail

How can you filter packets by content using native Linux tools such as netfilter?

I am aware that you can use netfilter to filter out packets based on address, protocol, and other things. My question is can you use netfilter (or some other native Linux utility) that will allow ...

Show Detail

Intercept UDP packets passing through Linux Bridge with Python/iptables

I am trying to use iptables on a layer 2 bridge running linux to get udp packets that are coming in from an ethernet port and going out on the wlan0 interface, and redirect them to a port on localh...

Show Detail

UDP packets lost when using windows but not Linux

I am trying to work out what could be causing a strange issue I have been observing when testing a system. The system under test recieves HTTP requests via UDP from an external source. For testin...

Show Detail