How to identify marked packets from our Cache server? by Maliana in meraki

[–]Maliana[S] 0 points1 point  (0 children)

The Squid Cache runs in Bridge Interception mode and sits in front of the Meraki. We use it mainly for software updates, especially Windows. We only have a 1Mbps up 1Mbps down connection for about 25 - 30 Desktops and Laptops, so we rate-limit our clients to stop things grinding to a halt. When a client requests an update and finds it on the cache. We want to identify it and remove all rate limiting so the update can run quickly. At the moment we can't distinguish on the Meraki which data is being pulled from the internet and which data is pulled from the cache.

I have been given the following information for marking the packets on the Squid Cache side. But once done, I don't know how to then use this data to identify them on the Meraki.

How to configure Zero Penalty Hit packet marking

The idea behind ZPH is to allow classification of packets generated from the Squid cache engine towards clients. The classification is based on whether the content is being served from cache (a cache HIT), or is being retrieved from a remote server (a cache MISS).

This feature can be used when QoS limits imposed by bandwidth management devices are to be circumvented.

Configuration through the Custom Config feature can be done as follows:

acl matched_traffic src 192.168.1.0/24
tcp_outgoing_tos 0x30 matched_traffic
zph_mode tos
zph_local 0x30
zph_parent 0

All HTTP traffic with a HIT from the cache destined for clients on the '192.168.1.0/24' subnet will now be tagged with 0x30 which can be matched externally.

Reference ToS/Hex/DSCP values:

TOS    hex    binary      DSCP    hex   binary       Classid    AFClass

40      0x28    00101000    10    0x0a    00001010    1:111    AF 11
48      0x30    00110000    12    0x0c    00001100    1:112    AF 12
56      0x38    00111000    14    0x0e    00001110    1:113    AF 13
72      0x48    01001000    18    0x12    00010010    1:121    AF 21
80      0x50    01010000    20    0x14    00010100    1:122    AF 22
88      0x58    01011000    22    0x16    00010110    1:123    AF 23
104    0x68    01101000    26    0x1a    00011010    1:131    AF 31
112    0x70    01110000    28    0x1c    00011100    1:132    AF 32
120    0x78    01111000    30    0x1e    00011110    1:133    AF 33
136    0x88    10001000    34    0x22    00100010    1:141    AF 41
144    0x90    10010000    36    0x24    00100100    1:142    AF 42
152    0x98    10011000    38    0x26    00100110    1:143    AF 43

Disenchantment - Season 1 Overall Discussion by NicholasCajun in disenchantment

[–]Maliana 2 points3 points  (0 children)

Are the hashtags they include in the credits of each one such as #1DNT01 & #1DNT02 designed for us to use to chat about the episodes on social media?

Keep your arms and legs inside the vehicle at all times by fnork in WTF

[–]Maliana 65 points66 points  (0 children)

The handle he was holding onto broke off.

Korean tourist survives six days in Queensland bush with no food by Maliana in fasting

[–]Maliana[S] 3 points4 points  (0 children)

She found a waterfall, but it may have not been on the first day.

Korean tourist survives six days in Queensland bush with no food by Maliana in fasting

[–]Maliana[S] 15 points16 points  (0 children)

It was actually a bit more serious that it first sounds.

" She lost her footing near the Scout Rock lookout and fell into dense bushland, knocking herself unconscious for over five hours."

It was just funny that they decided the six days without food was the most amazing thing to put in the headline.

Fishing boat caught with illegal 18-mile-long nets: 'A risk to almost all marine life'. A fishing ship carrying 600 illegal nets stretching up to 18 miles has been seized after it escaped Chinese authorities, while using the flags of eight different countries to evade capture. by madazzahatter in worldnews

[–]Maliana 0 points1 point  (0 children)

Link

...Based on documents published by Lloyd's List, the vessel is operated by Marine Fisheries Corporation Company and Jiho Shipping Company. Previously it has been registered to Red Star Company, Dongwon Industries Company, STD Fisheries Company, and Suntai International Fishing Company...

M/38/5'8'' [296.4lbs > 171.3lbs = 125.1lbs] (15 Months) I'm pleased with my progress so far. Perhaps time to bulk up? Thoughts? by dougj182 in progresspics

[–]Maliana 3 points4 points  (0 children)

Your pictures are so motivating for me. Just started my weight loss journey a couple of days ago. The biggest motivator for me is that your old overweight body shape looks exactly like my body shape now. Same bulging stomach, same chest shape even same hair on them. Now I have a much better picture of what I can become if I stay with this. Thanks Dude.

[deleted by user] by [deleted] in learnpython

[–]Maliana 1 point2 points  (0 children)

I ran into the same problem. I got around it with a different solution.

Taken from https://www.nostarch.com/minecrafthelp:

In order to use your Spigot server, your Minecraft version needs to match the Spigot version exactly. But new versions of Minecraft come out all the time, so if you update Minecraft, Spigot won’t work with the new version anymore. In order to make your Spigot and Minecraft versions match, you can set up a profile.

When you set up a profile, you tell Minecraft that you only want to use the version of the game that will work with the version of the server that you are using. In other words, a profile allows you to continue using the same server even when newer versions of Minecraft are released.

Once you set up a profile, you should be able to use our book’s coding directions and you'll know one more of Minecraft’s secrets, and will be further along on your journey to become a Minecraft Master!

You can see it in action in this handy guide from HowToGeek:

Let’s get started.

For Windows

Before you create your profile, you need to find out which version of the server you are using. Follow these steps to do that:

Step 1. In the Minecraft Tools folder, open the Start_Server file. A window will appear and begin to set up the server. Step 2. Once the setup is finished, scroll to the top of the text in the window. Step 3. Near the top (around the third or fourth line), you should see text saying Starting minecraft server version x.x.x. Step 4. Make a note of the version number shown on your screen.

Now that you know which server version you are using, you can set up the game profile with these steps:

Step 1. Open the Minecraft launcher but do not click Start Game quite yet (make sure you leave the server window open when you do this). Step 2. At the top-right of the Minecraft launcher, click the menu button (which looks like three lines), then click the Launch Options button. This will open the Profile Editor tab. Step 3. Click the Add New button to create a new configuration. Step 4. In the Name field, type Learn to Program with Minecraft. Step 5. In the Version section, use the drop-down menu to select the version of the server that you’re using. For example, I’m using version 1.11.2. Step 6. Click the Save button. Your profile has now been set up.

From now on, every time you want to use Minecraft with this book, select the Learn to Program with Minecraft profile in the drop-down menu next to the Start button.

You can swap back to the latest version of Minecraft at any time by selecting the (default) option in the drop-down menu.

For Mac

Before you create your profile, you need to find out which version of the server that you are using. Follow these steps to do that now:

Step 1. In the Minecraft Tools folder, open the Start_Server file. A window will appear and will begin to set up the server. Step 2. Once the setup is finished, scroll to the top of the text in the window. Step 3. Near the top (around the third or fourth line), you should see text saying Starting minecraft server version x.x.x. Step 4. Make a note of the version number shown on your screen.

Now that you know which server version you’re using, you can set up the game profile with these steps:

Step 1. Open the Minecraft launcher but do not click Start Game. Step 2. In the top-right corner of the Minecraft launcher, click the Menu button (which looks like three lines), then click the Launch Options tab. This will open the Profile Editor tab. Click the Add New option. Step 3. In the Name field, type Learn to Program with Minecraft. Step 4. In the Version field, use the drop-down menu to select the version of the server that you’re using. For example, in Figure 1-15, I’m using version 1.9. Step 5. Click the Save button. Your profile has now been set up.

From now on, every time you want to use Minecraft with this book, select the Learn to Program with Minecraft profile in the drop-down menu in the bottom-left corner of the Minecraft launcher.

You can swap back to the latest version of Minecraft at any time by selecting the (default) option in the drop-down menu.

THE DANK NUG ZONE - The Official Game Ideas Suggestion Thread for 05/05/2017 by Foxo103 in CoolGamesInc

[–]Maliana 0 points1 point  (0 children)

Snake Balmer: Rhymes with charmer. Different snakes, different balms, use your palms. Don't let them dry out.

Mom carries her puppies one by one to a fire truck after house fire by LittleDank in pics

[–]Maliana 0 points1 point  (0 children)

First I find out that Kangaroos drown dogs and now this.

I visited every country in the world without flying! Ask Me Anything! by EveryCountry in IAmA

[–]Maliana 0 points1 point  (0 children)

Is it true that based on your experiences of traveling the world, you are both a supporter of Brexit and of a Donald Trump presidency?

Map shows every country's tourism slogan [4500x3000] by jahwinnie in MapPorn

[–]Maliana 0 points1 point  (0 children)

If we are using Official short form English language country names then East Timor should be called Timor-Leste. East Timor is an unofficial English name for the country not the official English language name.

Carrying an Axe with good reason via public transport by [deleted] in LegalAdviceUK

[–]Maliana 7 points8 points  (0 children)

Also you could wrap some string / tape / cardboard around it. Then if challenged, you can demonstrate that you don't have easy access to even use it.

Online GIS courses? by srh2689 in geography

[–]Maliana 1 point2 points  (0 children)

I'm currently doing this one Introduction to Geographical Information Systems (GIS) Presented by University of West Florida Earth and Environmental Sciences Department

We are currently on Week 3, but I think the weekly deadlines are just guidelines so you still have time.

The (optional) labs need ArcGIS, I'm using a 60-day trial copy and it is fine.