LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 06-04-2018, 03:30 AM   #1
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Rep: Reputation: 10
Post UFW blocking same MAC address....


Ok, I am still learning all of this so please have some understanding...

Armbian Ubuntu 16.04 headless server

I am finally getting a small grasp of what is going on in this server and am getting all the hiccups out of it. I was looking in my UFW log and I am full of :

Code:
Jun  4 04:23:57 localhost kernel: [563200.398014] [UFW BLOCK] IN=eth0 OUT= MAC=01:00:5e:00:00:01:14:91:82:b9:9a:9c:08:00 SRC=0.0.0.0 DST=224.0.0.1 LEN=32 TOS=0x00 PREC=0xC0 TTL=1 ID=0 DF PROTO=2
It is blocking the request every 4 to 5 mins. How do I begin to track down what this is and put an end to it?

Thanks so much guys!

~T

Last edited by mr.travo; 06-04-2018 at 01:13 PM.
 
Old 06-04-2018, 04:03 AM   #2
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Ok, so after more and more searching I have found my router MAC address in there. I am trying to figure out if the first part of the long MAC address signifies a multicast connection (still learning what that is and does). The 08:00 at the end is also throwing me for a loop. What does it stand for?

Back to DDG.....

~T
 
Old 06-06-2018, 05:14 AM   #3
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
After 2 days of reading and searching I have come to find out that it is a multicast request from my router. I couldn't find a way to disable it from there so I denied it through UFW with:
Code:
sudo ufw deny to 224.0.0.1
So far it looks like it did the trick. It shouldn't be reporting in the ufw.log either... I just hope that it doesn't cover up something that could later be threatening.

~T
 
Old 06-06-2018, 11:23 AM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://tldp.org/HOWTO/Multicast-HOWTO-2.html

Edge devices have to communicate.

Last edited by Habitual; 06-06-2018 at 11:24 AM.
 
Old 06-06-2018, 02:09 PM   #5
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Thank you Habitual!

I read in the link:

Quote:
it should be obvious that multicast traffic is handled at the transport layer with UDP, as TCP provides point-to-point connections, not feasible for multicast traffic.
Is this pointing to my UFW rules not setup correctly?

Thanks,

~T
 
Old 06-08-2018, 06:15 PM   #6
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Anyone? I am just trying to get some understanding with this.... I had some more different blocks come in last night and I am trying to "decode" these so I know where to start and what action to take.

Really could use the help with this.

Thanks!

~T
 
Old 06-09-2018, 09:45 PM   #7
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Hello??? Should I be posting this some place else??? I don't understand how a couple of simple questions cannot be answered. It feels that I am searching for the Holy Grail or something. I am finding Microsoft Help (that's the kind of help that tells you what you already know) posted all over the internet. I an willing to bet that someone can teach me how to break down these messages and show me where to start looking for the problem....
 
Old 06-10-2018, 12:05 AM   #8
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
I don't know the answer to your questions...
I do know that bumping your own thread every 4 hours is going to turn folks off. We're not paid staff. We're all volunteers. Patience.
 
Old 06-10-2018, 01:26 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
i think habitual already gave you the answer?

fwiw, i've been seeing the same behaviour on my machine, always from the same address 224.0.0.1.
but i thought: "good, ufw is doing its job".

rethinking, should i maybe unblock 224.0.0.1?
 
1 members found this post helpful.
Old 06-10-2018, 07:54 PM   #10
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by scasey View Post
I don't know the answer to your questions...
I do know that bumping your own thread every 4 hours is going to turn folks off. We're not paid staff. We're all volunteers. Patience.
I wasn't trying to "bump" my thread. I was only posting up information as I was learning/finding it out. It just happened to be in a four hour block a couple of times. That was a fluke. Yes, I also am unpaid so I do realize that this is an all volunteer forum. Please don't forget that I have been searching this for over 4 days at that time. What I was asking was out of honesty- should I be posting these questions elsewhere? I wasn't trying to upset anyone.


Ondoho- If you click on the link and read it, it doesn't answer any questions I had about where this was coming from and what it is for. He also said that "Edge devices need to communicate." What does that mean? What's an "edge device"? These may be helpful to those who have a little more knowledge than I do, but at my level it made the water even murkier. All I am doing is trying to understand this as well. I am not trying to be a jerk or anything but after days of searching, it gets frustrating. I don't have a "vast" amount of Linux knowledge, but what I do have, I pass along. I am the type that DOES do his homework before posting up. I am not perfect, but I do read and learn as much as I can before I post up. Sometimes it makes more sense when someone else can put an article into words that make more sense.

Back to the topic-

I know this UFW layout is pretty "standard". I am understanding basically what it's saying, but I am having a hard time tracking down the offending address and how to tell what it's trying to do (other than connect).

Thanks

~T
 
Old 06-10-2018, 11:16 PM   #11
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by mr.travo View Post
Ondoho- If you click on the link and read it, it doesn't answer any questions I had about where this was coming from and what it is for.
oh yes it does - at least partly (and you don't need the complete answer garnished & handed to you on a plate, do you?):

Quote:
224.0.0.1 is the all-hosts group. If you ping that group, all multicast capable hosts on the network should answer, as every multicast capable host must join that group at start-up on all it's multicast capable interfaces.
 
Old 06-10-2018, 11:26 PM   #12
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by ondoho View Post
oh yes it does - at least partly (and you don't need the complete answer garnished & handed to you on a plate, do you?):
Well, I am just not seeing it. Like I stated, to someone else with a little bit more knowledge in this subject, it may make perfect sense. I guess I just don't posses enough knowledge yet to understand the statement.

So, if I ping 224.0.0.1, all multicast capable hosts on the network should answer....

Ok:
Code:
mint18@Mint18 ~ $ ping 224.0.0.1
PING 224.0.0.1 (224.0.0.1) 56(84) bytes of data.
^C
--- 224.0.0.1 ping statistics ---
7 packets transmitted, 0 received, 100% packet loss, time 6143m
I'm not trying to be a smarta&^, I am just trying to figure all of this out. As stated from post #1:

Quote:
Ok, I am still learning all of this so please have some understanding...
I am seeking the knowledge. I am not sitting on my duff expecting everything hand delivered to me. I have gone round and round searching on this subject for days and am still confused.

I hope this gives you some more understand as to where I am at.

Thanks,

~T

Last edited by mr.travo; 06-10-2018 at 11:27 PM.
 
Old 06-11-2018, 01:58 PM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
https://en.wikipedia.org/wiki/Border_Gateway_Protocol

This 224.0.0.1 "noise" (Multicast) drove me C.R.A.Z.Y. for "a minute".
From what I read, it is just "noise" and I no longer worry about it.

I sleep better.

Blocking 224.0.0.1/24 could cause failures in communication from edge devices like routers and/or gateways.

Last edited by Habitual; 06-11-2018 at 02:01 PM.
 
Old 06-11-2018, 02:15 PM   #14
mr.travo
Member
 
Registered: Oct 2017
Location: All over the US
Distribution: Mint 18.3 Cinnamon, Gallium, Ubuntu Armbian (headless), Arch (learning)
Posts: 138

Original Poster
Rep: Reputation: 10
Quote:
Originally Posted by Habitual View Post
https://en.wikipedia.org/wiki/Border_Gateway_Protocol

This 224.0.0.1 "noise" (Multicast) drove me C.R.A.Z.Y. for "a minute".
From what I read, it is just "noise" and I no longer worry about it.

I sleep better.

Blocking 224.0.0.1/24 could cause failures in communication from edge devices like routers and/or gateways.
I appreciate the info but honestly it doesn't answer what this is and where it's coming from. I am NOT trying to be difficult at all, I am just striving to understand the network side of the house. Blocking this might help you out but for me blocking unknowns keep me up at night, LOL! That's why I try to keep it as a "last resort".

I know that these UFW block notices are displayed in a pretty consistent output. With my example, how can I tell WHICH multicast service is trying to connect and what is it trying to perform (other than a connection)? I am wanting to learn this so I can continue to diag other UFW blocks. It's the simple "teach a man to fish" philosophy.

Thanks Habitual, I appreciate your help!

~T

Last edited by mr.travo; 06-11-2018 at 02:17 PM.
 
Old 06-12-2018, 12:02 AM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Habitual View Post
Blocking 224.0.0.1/24 could cause failures in communication from edge devices like routers and/or gateways.
but do i need to tell ufw explicitely to UNblock it?
i'm seeing output very similar to that of op, so i assume ufw is blocking 224.0.0.1, though i never told it to do so explicitely.
Code:
# ufw status verbose
Status: active
Logging: on (low)
Default: deny (incoming), allow (outgoing), disabled (routed)
New profiles: skip

(... i don't want to show the rest ...)
everything is working though afaics...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
UFW Blocking Messages IP Address Appearing ? bloozman23 Linux - Server 0 03-21-2016 07:44 AM
[SOLVED] ufw not blocking an ip address mark_alfred Linux - Software 31 09-07-2014 12:35 AM
Blocking dhcpd address lease for specific MAC address kulman Linux - Server 8 03-30-2013 01:51 PM
[SOLVED] Whether ufw iptables support nating & Mac address restriction through firewall sanjay87 Linux - Server 1 03-05-2012 09:28 AM
MAC address blocking ridwan77 Linux - Newbie 1 04-22-2007 12:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration