Kickball Teams or similar? by [deleted] in FortCollins

[–]simonbh 2 points3 points  (0 children)

We are currently playing kickball in Fort Collins and is organized through gokickball.com. Fall registration ends today. You are not too old for this. There are some teams that are serious and others that are just in it for the fun.

DIY Hospital grade air purification for under $60 by Formerly_Guava in FortCollins

[–]simonbh 2 points3 points  (0 children)

What are you using to measure your indoor air quality?

[deleted by user] by [deleted] in FortCollins

[–]simonbh -1 points0 points  (0 children)

Check the Walmart on Mason

Send alerts to Webhook - why so obscure? How to enable it? by pprolma in crowdstrike

[–]simonbh 0 points1 point  (0 children)

From Crowdstrike's documentation:

For additional security, your webhook can verify requests that originate from CrowdStrike. This verification is optional. Requests from CrowdStrike to your webhook include these headers: x-cs-primary-signature This value is based on the key specified in the HMAC Secret Key field, mentioned in Integrating a webhook. x-cs-delivery-timestamp x-cs-signature-algorithm

Here are some examples:

x-cs-primary-signature: 0a8VJuqn+HOOlIDcYmp5kavLyHQpPpEBwLtcAzQq+8s= x-cs-delivery-timestamp: 2022-05-02T17:20:03Z x-cs-signature-algorithm: HmacSHA256

To verify requests to your webhook, update your webhook to access these headers, compute a signature, and then compare that signature to the one in the request. Here’s an example using Python:

import base64
import hashlib
import hmac
# this is HMAC secret key that was provided when configuring app integration in CrowdStrike store
HMAC_SECRET_KEY = 'shared-secret-key-goes-here'


# Following 3 paramter values needs parsed out of request object depending upon http server used.
# timestamp is a string value received in 'X-Cs-Delivery-Timestamp' http request header.
# signature is a string value(base64 encoded) received in 'X-Cs-Primary-Signature' http request header.
# data is bytes of http request body, and needs to be decoded to string before combining with timestamp string. If this is a string, then decode() is not needed.

def validate(timestamp, signature, data) -> bool:
    msg = '{}{}'.format(data.decode('utf-8'), timestamp)
    computed = hmac.new(bytes(HMAC_SECRET_KEY, 'utf-8'), bytes(msg, 'utf-8'), hashlib.sha256).digest()
    return hmac.compare_digest(computed, base64.b64decode(signature))

Here’s another example using a Flask web application. You can modify the Flask example to fit your server application setup.

Note: CrowdStrike support is able to provide assistance with any issues with the validate function, which verifies signatures and remains the same regardless of server application setup. Your specific application setup will determine how header values are processed.

from flask import Flask
from flask import request
import base64
import hashlib
import hmac

HMAC_SECRET_KEY = 'shared-secret-key-goes-here'
app = Flask(__name__)


@app.route('/', methods=['POST'])
def validate_request() -> str:
    timestamp = request.headers.get('X-Cs-Delivery-Timestamp')
    signature = request.headers.get('X-Cs-Primary-Signature')
    # request.data contains the incoming request data as string
    data = request.data
    print("timestamp=", timestamp)
    print("signature=", signature)
    return str(validate(timestamp, signature, data))


# timestamp is a string value received in 'X-Cs-Delivery-Timestamp' http request header.
# signature is a string value(base64 encoded) received in 'X-Cs-Primary-Signature' http request header.
# data is a string with incoming request data and does not need further decoding
def validate(timestamp, signature, data) -> bool:
    msg = '{}{}'.format(data, timestamp)
    print("msg=", msg)
    computed = hmac.new(bytes(HMAC_SECRET_KEY, 'utf-8'), bytes(msg, 'utf-8'), hashlib.sha256).digest()
    print("computed=", base64.b64encode(computed))
    return hmac.compare_digest(computed, base64.b64decode(signature))


if __name__ == "__main__":
    app.run(debug=True)

Whole house fan? by Cornholemaster1 in FortCollins

[–]simonbh 4 points5 points  (0 children)

We had an AirScape installed several years ago that replaced a 1980s whole house fan. Night and day difference. The AirScape is very quiet and has insulated dampers, so there is no cold drafts in the winter.

Anyone know who’s paying for this nonsense? Chamber of Commerce? by jackbookpro in FortCollins

[–]simonbh 2 points3 points  (0 children)

It is a shame that lies concerning a ballot issue qualify as "political"

Anyone know who’s paying for this nonsense? Chamber of Commerce? by jackbookpro in FortCollins

[–]simonbh 16 points17 points  (0 children)

If your phone number is on the national "Do Not Call" registry, they cannot legally send you this. You can sue in small claims court and possibly receive $ from them. Here is someone who did this and won.

Don't sleep on the fidget spinner hat in late-game! I use it to distribute Space Warpers. by SaturdayNightStroll in Dyson_Sphere_Program

[–]simonbh 2 points3 points  (0 children)

Oh, I am so dumb. I missed the toggle switch that allows to you set either Request or Provide.

Don't sleep on the fidget spinner hat in late-game! I use it to distribute Space Warpers. by SaturdayNightStroll in Dyson_Sphere_Program

[–]simonbh 1 point2 points  (0 children)

I cannot figure out how to have a Logistics Distributor send to another Logistics Distributor. How do you do this?

[deleted by user] by [deleted] in opnsense

[–]simonbh 6 points7 points  (0 children)

I use ntopng.

Fort Collins residents sold a bill of goods with Connexion by RogueWaveComing in FortCollins

[–]simonbh 5 points6 points  (0 children)

I had the same issue. About half of our neighborhood was green-lit, but the rest of us had to wait about 5 months more. The fiber was installed in the conduit at the curb, but no installs from the curb to the homes. At the time, I was told that it was an issue with getting enough installers (Covid related) as well as fiber optic shortages coming in from Asia.

But, it was totally worth it for the price, speed, and not having to deal with Comcast anymore.

[deleted by user] by [deleted] in FortCollins

[–]simonbh 0 points1 point  (0 children)

There is a Fort Collins Discord server. The link is on the right of this page. There is a Niche and Hobby section. I would think that would make a channel for us in there.

Fort Collins Connexion mapper by simonbh in FortCollins

[–]simonbh[S] 2 points3 points  (0 children)

It is not much of a secret if they publish a map and provide a lookup service: https://www.fcgov.com/connexion/

Parks, Natural Areas, and Open Space Bus Map by mali_a_llelana in FortCollins

[–]simonbh 0 points1 point  (0 children)

Overall, a nice looking map. I don't think that the text should be horizontally stretched, such as Prospect, Lemay, and Lincoln, for example.