OS X Firewall Block all incoming Connections Affecting Software Updates?

I just bought a 2017 Macbook Pro with the latest OS (Mojave). In the OS X Mojave Security and Privacy-Firewall settings, I set Firewall to “Block all incoming connections” as I am extra cautious, but will my software (such as Chrome web browser, Firefox, etc.) still get new updates? For example, will my Firefox browser still get the latest software updates or will I have to manually check for software updates because the firewall is blocking all incoming connections?

Incorrect Start time and End time of an Incoming meeting in a Calendar list in sharepoint 2016

I have a calendar list on sharepoint 2016 for managing meetings in our organization. The problem is when we send a meeting by outlook to this list the Start and End Time field has about 14 hours difference with the actual start time however the Created time field is correct. we all checked the time zone of server,sharepoint regional setting,outlook and all of them are the same. The point is that incoming meeting that send from gmail is set on a correct time in this list. Does anyone have an idea to solve this problem?

Design pattern that can be used for checking and handling a change in version number for incoming JSON message into data stream?

I have a Spark Streaming Job which processes messages coming from Kafka.

My incoming json that I process sort of looks like

{"sv" : 1.0, "field1" : "some data"} 

The only thing I do is put these in a MYSQL database.

However, I need to process these messages differently based on the schema version number!

For instance, I may get data that looks like the below in the same stream

{"sv" : 1.0, "field1" : "some data"}  {"sv" : 1.1, "field1" : "some data", "field2" : "new data"}  {"sv" : 1.2, "field1" : "some data", "field2" : "new data", "field3" : "data"} 

Now what I do is I have a function that formats the data for me like so

  def formatData(json: String): Option[Data] = {      var outputData: Option[Data] = None      val jsonObject = new JSONObject(json)      outputData = formatDataBasedOnSchemaVersion(jsonObject)      outputData    } 

and another function that formats based on a schema version number

  private def formatDataBasedOnSchemaVersion(jsonObject: JSONObject): Option[Data] = {      val outputData = {       jsonObject.getDouble("sv") match {         case 1.0 => Some(formatVersion_1_0(jsonObject))         case 1.1 => Some(formatVersion_1_1(jsonObject))         case 1.2 => Some(formatVersion_1_2(jsonObject))         case x: Double => logger.warn("No formatter found for schema version: " + x); None       }     }      outputData   } 

An example of my format function can look like

  private def formatVersion_1_2(jsonObject: JSONObject): Data = {      val f1 = jsonObject.getString("field1")     val f2 = jsonObject.getString("field2")     val f3 = jsonObject.getString("field3")      val data = Data(f1,f2,f3)      data    } 

In the format_1_0 function, all I do is pull out the “field1” parameter.

My Data class is simple DTO it just looks like

case class Data(field1: String, field2: String, field3: String) 

If I get schema version 1.0, field2 and field3 are left blank and inserted into the DB as blank values.

The problem is, I have to hard code in the schema version numbers like “1.0”, “1.1” etc.. and design a new method to pull out the extra fields. So for every schema change, I have to edit the code and add a new method to pull out the new data. So is there any better pattern I can use that can handle this? Or maybe a framework? I’ve heard of ORM would this help with that problem or would I still need to make similar code changes for schema version changes?

Do not mute Sound on incoming notification – Android, YouTube

Is there an option to manage sound notification behaviour on a Android phone?

Description: In the morning, I do watch YouTube lectures, but every minute or so I do receive Slack message, that mute the voice in the video for 5 seconds. It is really annoying, and hard to listen the lecture.

How it should be:

Option 1: Allow a notification to interrupt the sound/video stream without muting it (so the 'bip' would overlay/merge to the sound stream, but the video would continue). Option 2: (the current system state): Mute the application, but do not stop the video (very annoying)! Option 3: Mute the application, but stop the stream/video/music. 

I know that there are some option to mute the phone (manual), or install an app (automatic), but I do not wan’t do mute the notification itself. I do want to hear it, just without muting the sound/video/music that is currently playing!

My system Android 5, Samsung Galaxy S5

Greetings Jakub

Related topic: Disable Notification while watching Videos or Listening Music

Forward all incoming and outgoing calls and messages from one iPhone to another iPhone

I have two iPhones: one is a personal iPhone and one is a work iPhone.

I would like the work iPhone to be able to make both outgoing and receive incoming calls, iMessages, and SMS messages from the personal iPhone. Simply put,

I want the personal iPhone to be sitting at home (and turned on) and not really in use, while the work iPhone can handle everything the personal iPhone can do, while the work iPhone functions normally under a separate number.

Why not use eSim on the work iPhone?

Not able to because it’s a corporate phone.


Let me try to break this down into separate parts:

Incoming calls

We should be able to just enable call forwarding on the personal iPhone to forward all calls to the work iPhone.

Incoming and Outgoing iMessages

If both work and personal iPhone share the same Apple ID, then the work iPhone can receive all personal iPhone messages. iMessages can also be sent from the number / Apple ID that the message was originally sent to, so I’m not concerned about that.

Incoming and Outgoing SMS / MMS

Since the introduction of Continuity (and cellular continuity), text messages can also be forwarded to another Apple device, and that same Apple device can send new messages from that number.

enter image description here

Outgoing calls

Now, this should work by enabling Wi-Fi calling on the personal device, and then adding Wi-Fi calling for other devices. Again, my doubt is whether that other device can include a second iPhone on that same Apple ID.


Actual question

So, my question is: When Apple uses the phrases “you can forward texts to another Apple device”, and “Add WiFi-calling for other device”, does that other device also include another iPhone, especially an iPhone with active service already?

In other words, how do your cellular services work when you have two different numbers under the same Apple ID?

Dynamically update cell contents by merging incoming Google Form submissions

I have a google form where multiple students will anonymously submit comments/feedback for another peer.

Currently I am using the formula below to essentially concatenate all of the student comments specific to the individual receiving feedback.

 =(join("    ",transpose(iferror(filter($  L$  3:$  L, $  C$  3:$  C=$  C3,$  B$  3:$  B=$  B3))))) 
  • The line break within the “join” function is to separate the individual comments by a line break.
  • Column L: The original comment submitted by the students.
  • Column C: Filters by the name of the student being evaluated.
  • Column B: Secondary filter criteria.

I am currently using the add-on “CopyDown” to apply said formula to each new submission. However, I notice that the newer submissions do not concatenate prior entries even though the filter conditions are met; the formula works correctly when I manually copy/paste it into the cell.

Is there a way to alter the original formula to dynamically update the cell contents as new submissions are incoming? Perhaps through arrayformula?

Incoming debit transactions in statements

I have a question. In my bank statement there are few incoming transactions such as 800 or 1000 or 2500 apart from my monthly salary. Actually these amounts are mine which my friends paid back to me as i have paid for various reasons such as we were traveling together or outing and having dinner together and the expenses occurred is paid by me thru credit card and sharing charges are paid back to me from their back account online. How can i justify this scenario to visa officers while submitting the application for UK visit visa. Kindly advise.

Thanks in advance.

How to make a server hosted behind a VPN reply on the same interface as the incoming connection

I have a server used as a Web and SSH server under Arch Linux. In it runs a VPN client, with OpenVPN. If I have properly understood, the VPN changes the routing tables, leading to forwarding all the traffic through the VPN.

Then, when I try to request my Web site hosted on the server, it has become unavailable. I have a very primary knowledge in networking, but what I can assume (feel you free to correct me if I am wrong) is that the request is correctly received by the server through the usual interface, let’s name it eth0, but given that the route has changed and passes now through the VPN, the response should be sent on the VPN’s interface, which is obviously impossible for security sake.

I looked up the following threads:

https://superuser.com/questions/753736/accessing-a-webserver-hosted-behind-vpn-with-closed-ports-remotely

Reply on the same interface as incoming with DNATed IP

https://unix.stackexchange.com/questions/4420/reply-on-same-interface-as-incoming

but unfortunately, they have been unhelpful.

Let’s call the VPN’s interface tun0. What I would like to do, is to reply to requests on eth0 on the same interface, namely eth0 itself, instead of tun0 as the VPN runs. Another precision, my server is behind a gateway which is different from it (two different IP addresses).

1) Is it possible to do so?

2) What are the different ways to do that?

Thank you in advance for your feedback.

Thousands of incoming SSH connection attempts despite firewall lockdown

So my server is getting slammed with thousands of SSH login attempts. Fail2ban is catching and banning them – but my inbox it’s worrying me and it filling up inbox with alerts. Here’s a sample of what I’m seeing:

May 28 15:26:09 sshd[4908]: input_userauth_request: invalid user test [preauth] May 28 15:26:09 sshd[4908]: pam_unix(sshd:auth): check pass; user unknown May 28 15:26:09 sshd[4908]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=<<SNIPIP>> May 28 15:26:11 sshd[4908]: Failed password for invalid user test from <<SNIPIP>> port 41344 ssh2 May 28 15:26:11 sshd[4908]: Received disconnect from <<SNIPIP>> port 41344:11: Bye Bye [preauth] May 28 15:26:11 sshd[4908]: Disconnected from <<SNIPIP>> port 41344 [preauth] 

What’s interesting is when I attempt to connect using something like:
ssh test@myserverip -p 41344

my connection attempt eventually times out and I see no entry in auth.log – which is what I would expect to happen given I’ve locked the machine firewall down via UFW: (sidenote: I’m already running ssh on a non standard port)

ufw status verbose Status: active Logging: on (low) Default: deny (incoming), allow (outgoing), disabled (routed) New profiles: skip  To                         Action      From --                         ------      ---- Anywhere                   DENY IN     144.202.55.196 Anywhere                   DENY IN     188.53.140.190 Anywhere                   DENY IN     185.50.197.159 Anywhere                   DENY IN     206.189.197.133 Anywhere                   DENY IN     61.175.121.73 Anywhere                   DENY IN     8.30.124.149 Anywhere                   DENY IN     193.105.134.45 Anywhere                   DENY IN     139.129.14.230 Anywhere                   DENY IN     37.247.96.111 22                         DENY IN     Anywhere 2200/tcp                   ALLOW IN    Anywhere 25/tcp                     ALLOW IN    Anywhere 80,443/tcp (Nginx Full)    ALLOW IN    Anywhere 2246                       ALLOW IN    Anywhere 2812                       ALLOW IN    Anywhere 2247/tcp                   ALLOW IN    Anywhere 19999/tcp                  ALLOW IN    Anywhere 82/tcp                     ALLOW IN    Anywhere 22 (v6)                    DENY IN     Anywhere (v6) 2200/tcp (v6)              ALLOW IN    Anywhere (v6) 25/tcp (v6)                ALLOW IN    Anywhere (v6) 80,443/tcp (Nginx Full (v6)) ALLOW IN    Anywhere (v6) 2246 (v6)                  ALLOW IN    Anywhere (v6) 2812 (v6)                  ALLOW IN    Anywhere (v6) 2247/tcp (v6)              ALLOW IN    Anywhere (v6) 19999/tcp (v6)             ALLOW IN    Anywhere (v6) 82/tcp (v6)                ALLOW IN    Anywhere (v6) 

So my main question is, how is it possible that someone is even getting a chance to attempt a login on port 41344 when I can’t?