Sunday, March 8, 2020

Google Fiber Link Regularly Reset when I block Private networks and loopback addresses??

Here's some information.

- I had Google Fiber installed yesterday.

- I have a powerful-enough pfSense setup.

- I also have ATT fiber at the moment (making the switch for pricing reasons).

In order to test the connection, we plugged a computer directly into the ONT and ran speed tests. This shows me that the ONT does not require the traffic to be tagged on a vlan (because the laptop I have surely wasn't tagging traffic). However, when I plugged the router (pfSense) into the ONT, I see the link being reset every 30-45seconds or so.

After some troubleshooting steps, I disabled the "Block private networks and loopback addresses" on the WAN interface (that was plugged into the ONT). At this point, the interface connects and maintains a connection.

What would cause this kind of behavior? I have used the same settings on ATT fiber (blocking private networks etc.) with no problem. Then I move the cable to the GF ONT and mayhem ensues.

I would be happy to provide more information as possible, I'm just not sure exactly what more to provide.

Essentially: When I don't "block private networks and loopback addresses" the connection works. When I "block private networks and loopback addresses" the connection resets over and over again.



I lack the ability to clearly communicate technical issues to c-level execs and business units. How do I learn this skill?

I seem to lack this ability that seems necessary to progress my career past a certain level. How could I ever be a higher level network architect if I can’t walk into a room with execs or business directors and explain anything to them in English that they’re going to understand?

I’ve always been more of an introvert personality wise, and I’m far more comfortable interfacing with technology than I am with people.

But because of this I fit a very skewed and often unjustified stereotype of “geeky IT staff” that often hurts our cause.

When I jump straight into explanation about RIB vs FIB entries or split-brain failure scenarios I’m not deliberately being an arrogant snoot trying to talk down on others like Sheldon from The Big Bang Theory. It’s just that I don’t really know how to articulate stuff to be digested by management in any meaningful way.

I’m at a point in my career where I’m being put in front of these people more and more and I’m distressed that often by the time I leave the room, no one has understood the specific problems or bought into my proposed solutions at all, and we’re often worse off.

For example a discussion about a limit of our architecture and the difference between lan and wan latency has unexpectedly led to bringing a consultant in. Now I feel like I let the whole team down.

How do you get better at politics and translating Technobabble into “business language?”



Why is ARP probe not used in some DHCP implementations?

As mentioned here: https://tools.ietf.org/html/rfc5227#section-2

Before beginning to use an IPv4 address (whether received from manual configuration, DHCP, or some other means), a host implementing this specification MUST test to see if the address is already in use, by broadcasting ARP Probe packets.

For example, I have a pfSense router and and an Ubuntu host. After the ACK stage of the DHCP DORA, the router is sending out a ARP request asking for the MAC of the Ubuntu. And Ubuntu responds to it, and that is it...

As far as I understand, Ubuntu should be sending out ARP probe to check if no other host is using the IP. However, it does not. Could it be that ARP probing is not used in some implementations?



YSK about firewalls and how they work

Inspired by the famous "YSK about fiber" post.

I realized there's a certain aura about firewalls in this field. Firewalls can be tricky. They are born to drop traffic and sometimes they do it unexpectedly, leading to long troubleshooting sessions.

Also, while everybody here agrees that routing and switching is part of the job, not everybody agrees on firewalls. Sometimes, they are managed by a separate team entirely.

So I decided to write down something, in an attempt to clear up some things about how firewalls work. I hope this helps.

A firewall is a default-deny device. What is not explicitly allowed is forbidden.

Basic concepts

I think some of the mystery aura about firewalls is because there's a whole vocabulary of new concepts. And we all know how vendors make things easier when dealing with naming things /s

Policy/rule. Identifies source zone, destination zone (if any), source, destination, port, application, action, profile.

Zones. A zone is a group of physical or virtual interfaces with similar functions and which usually have the same trust level. When you set up zones, firewalls put a default-allow rule for traffic within the zone itself. However, you can also set up fine-grained policies which can deny even traffic that stays in the same zone (so-called "intra-zone blocking"). Microsegmentation relies on this.

Application. An application (sometimes called service) is an actual Layer 7 protocol (or application, more on that later) that is recognized by the firewall. This allows you to set up policies that don't just allow traffic to tcp/8443, but only https traffic to that port.

Some firewalls take this a step further, and are able to recognize actual applications like Facebook or Office365, mostly by checking domains and IPs plus some heuristics. This means you can set up a policy like "10.0.0.0/8 to Internet, application=Facebook, deny". Of course these things are not 100% foolproof.

Obviously, you can still use Layer4 ports in your policies, it's just an additional tool.

Action. Permit/deny/log.

Profile. A profile is a security capability of the firewall that goes beyond simple L3 permit/deny. Examples: antivirus scanning, TLS inspection, URL filtering.

This means you can set up a policy that permits traffic but, for example, performs an AV scanning on what's being sent.

The implementation of these features can be tricky and often relies on weaknesses in the protocols that are then fixed. Basically, TLS inspection is a MitM attack performed by a firewall. So, as protocols are fixed to improve privacy and make MitM attacks harder, NGFW vendors race to make their own MitM possible... or suggest people to disable these new features.

AV scanning can be either proxy-based or stream-based, in which case the firewall examines files block by block. You can also set up your firewalls to send suspicious files to a sandbox, or to an external antivirus platform (Virustotal-like).

URL filtering relies on the fact that HTTPS doesn't usually hide the domain and, if TLS inspection is enabled, it also examines the actual URL in the payload. Firewalls then keep a database which classifies URLs in categories (travel, gambling, health, cryptomining,...). This is also useful for compliance reasons. Example: you don't want to carry out TLS inspection when people access health-related websites.

Instances. Firewalls can often act as L3 devices, so you can sometimes set up VRFs on them. You can also set up "partitions", basically multiple virtual firewalls that can be managed separately, by different people.

As usual, vendors like to call the same thing in different ways. So, partitions are called "contexts" by Cisco (ASA and FTD), "logical systems" by Juniper, "virtual systems" by Palo Alto, "virtual domains" (VDOM) by Fortinet. But, guess what? They are exactly the same thing.

Objects and groups. An object is an IP or IP range that is given a name. This allows you to:

1) create human-readable policies, which don't rely on rote memorization of IP ranges to be understood. Instead of "192.168.44.0/27" you can write "domain-controller-net" in the policy (of course if you defined the object), and everybody that has to read the policy is happier

2) re-IP servers without manually changing the policies, just by modifying the corresponding object.

BIG CAVEAT here: if you re-IP a server on a range that falls within another zone, you're typically SOL and you have to manually change policies. Traffic between different zones is by default blocked, and you end up staring at a configuration that seems good and asking yourself "why doesn't it work?... Oh wait, the zone is wrong".

You can set up object groups, to make policies even more readable and flexible. You can also define application groups (for example: all the ports required for NFS).

Session timeouts. Firewalls are stateful devices, so they have to keep a session table. When the session timeout expires, the firewall usually closes the TCP session. This can be a problem, especially during low traffic times.

There are all kinds of issues that can happen because of this, including not being able to access your Outlook address book.

In most cases, default session timeouts are fine, but keep in mind special cases like databases or Exchange.

As always, there's a tradeoff. Setting up high session timeouts means DoS attacks on the firewall (by exhausting its resources) are easier. However, you can mitigate this risk by properly configuring DoS protection on the firewall.

High availability

Asymmetric routing is notoriously bad, especially when hitting stateful devices like firewalls. As a result, active/standby is the standard way to handle firewall HA.

Active/active is not supported by all devices, sometimes certain features are not supported, sometimes you have to ask your vendor, so it's certainly not a solution out-of-the-box.

When you do need active/active, things get more complex because you have to avoid, or at least manage, asymmetric routing.

Common approaches rely on:

  • active/active as a combination of two active/standby groups with inverted priorities. Let's say you have firewalls A and B. With this approach, you set up two HA groups.

Group 1: master = A, slave = B. Group 2: master = B, slave = A.

  • session synchronization between the two firewalls. In this way, even if a packet actually travels asymmetrically, both firewalls have the same information, so nothing wrong should happen. A caveat here is that, depending on how often you synchronize session state and when that packet actually arrives, you may still have some issues.

If you're doing Active/Active and your firewalls also act as default gateways, you also have to introduce a way to manage ARP.

Again, there are two approaches to this:

1) you share ARP among the firewalls based on some load-balancing mechanism, and use gratuitous ARP in case of failure (Palo Alto, "ARP load sharing"), or

2) you prevent ARP requests from hitting the other data center. ARP traffic is broadcast, so you can benefit from BUUM (Broadcast, Unknown Unicast, Multicast) suppression techniques used by OTV, EVPN, and so on.



Providing internet for multiple companies in the same building.

Hello Guys,

this is my first Post and i hope you can help me out. Sorry for my english in advance, it is not my native language.

I work for a small MSP as the only Sysadmin / Networking guy. We got two apprentices, but they do not Count.

Now we got a new contract to manage a form of "campus" and Provide internet for a couple companies.

We are the only ISP with our own fiber connection, with a public IP Range.

Every Network Port in the campus is connected to a series of managed HP Aruba Switches Leading to our fiber connection with a Sophos XG in Front of it.

The Question is now: How do i provide those companies with their own IP address, seperating them (vlans?) from other companies. Secure each one of them and the campus network (own Routers with mac authentication?) and keep it all easy to deploy and manageable.

As an extra: the Rooms and places of those companies can easily change and switch.

Changing Hardware is still possible, but our budget is very limited.

Maybe you got some ideas and thanks in advance.



Survey:default network config for a new appliance

I'm looking to manufacture and sell NAS appliances, and as I don't know the customer network setup, I'm considering, how to configure the appliance IP configuration on delivery. How would you prefer a new appliance to be configured on delivery? the obvious approach would be to use DHCP, and then let the customer change to a static IP of their choosing through a web interface, but I suspect many customers would then have trouble logging into a webinterface on an appliance with an unknown IP-address. Any suggestions?



Need some advice on an assignment.

Honestly networking is my Achilles heel. I currently have Security and this assignment is giving me a major ass head ache.

I have no idea where as to start even.I am not asking for someone to do it, just to guide me in a direction or which some pointers.

The project aims to design and implement security on a data centre. The data centre has 3 servers, each of which host different services. The services on each of the servers are DNS, FTP and HTTPS. Each of the servers have unique public IP addresses. There are also 2 network administrators on the network who manages and troubleshoot any issues on the server.

Requirements

  1. The data centre servers and admins should be on different network.
  2. The servers should be accessible from the internet using public IP address.
  3. The servers should also have private IP address using which the admins access.
  4. The private IP address of the servers should not be accessible from the outside network.
  5. All communication to the outside network from the server network should be through the respective public IP address.
  6. External users should be unable to access the LAN network.
  7. Data centre security proposal.

My first thought was to build the layout on draw.io. And then go from there to complete it. By assigning the Ip address.

https://imgur.com/pPKJXwS this is the first layout I tried making



Advice: cable management(new office)

My company is getting a new warehouse and there is a specific location for our main office employees about the size of 60 feet by 40 feet or so. Fairly enough. We currently have 12 employees that will go in that specific location.

Currently at our office, there is a perfect wall going around them so everyone’s desk is placed along the insides of the wall and I have wall plates for Ethernet and electric outlets. No biggie.

But the office doesn’t not have a wall surrounding where they will be. So I have to basically establish multiple Ethernet plates and run cables to these desks. The desks will be starting at the wall in 2 rows. Basically 6 desks out from the wall on 1 row in a straight line and another of 6 desks out from the wall in another straight line.

| 123456.

| 123456.

Essentially like that. The problem is that they do not want to put up a physical wall in between both rows. Which I think is wild because that would simple solve cable management and keep things clean. Then just expand down the line or start a whole new set of 2 rows if needed.

I keep getting mentions of movable walls that can roll around and stuff but I am unsure what to do because the space is much larger and cable runs will be confusing if walls are moved. And power within moving walls sounds tedious or complicated. Unsure how to handle this situation honestly.



Windows Always on VPN (IKEv2 machine tunnel) encryption types and Cisco ASA

(xpost from /r/sysadmin)

Hi all,

I'm currently deploying always on VPN in my environment using IKEv2 device tunnels, and a Cisco ASA as the concentrator.

I've been able to get the VPN working, but I can see the Windows defaults are 3DES, SHA1 and 1024-bit DH parameters. Needless to say, this crypto is so weak you may as well just have none at all.

I'm trying to configure the ASA and the Windows client to use the AES-GCM encryption type, as well as 256-bit ECDH parameters, and SHA256 message authentication but I'm running in to some problems.

My ASA config has the following:

IKEv2 policy:

crypto ikev2 policy 60 encryption aes-gcm integrity null group 19 prf sha256 lifetime seconds 86400

IPsec proposal: crypto ipsec ikev2 ipsec-proposal ipsec-proposal protocol esp encryption aes-gcm aes-gcm-192 aes-gcm-256 protocol esp integrity sha-256

I've then configured the Windows client like so:

$connection = “[connection name]” Set-VpnConnectionIPsecConfiguration -ConnectionName $connection -AuthenticationTransformConstants AESGCM -CipherTransformConstants AES128 -DHGroup Group14 -EncryptionMethod AES128 -IntegrityCheckMethod SHA256 -PFSgroup PFS2048 -Force

I've taken a packet capture and I can see matching proposals from the ASA and Windows client - but the connection never completes and seems to time out.

Has anyone have a working ASA config they could share? I'm thinking I must have missed something here.



How to intentionally cause a log entry?

Hi I have a Dell N4xxx and I just set up a syslog server. It is in production so let's not do anything too wild.

I set it up in our syslog server however I have no way of confirming it works. I logged into the device and there legitimately were no logs for 3 weeks. Even on debugging level. Furthermore logging seems to act differently on different firmware versions as I have been able to cause logs with logging in and out and on some devices with doing copy run start.

What would be a good way of causing a log entry without shutting anything important down?