networks – Proxmox: Add a second redundant / backup gateway

I'm running a physical device with two containers, each running a live service. I am moving this server to a different location within the data center and I want to reduce the downtime. The device will leave a data center provided / 29 and a new company / 24.

I am analyzing how to add a second gateway, a "backup" gateway, not to immediately replace the existing default gateway, but to complement it when the network changes.

The existing configuration looks like this.
A ProxMox table that contains a remote vmbr network and a local vmbr network

Ideally, you could simply add a vmbr2 with the new / 24 and the new gateway and leave it idle until those network conditions exist. Unfortunately, the way networks work seems to prohibit that configuration.

I tried to add a new vmbr in only enp3s0, with the idea of ​​telling remote hands to use that port, but Proxmox does not allow it either because there can only be one gateway in the whole table.

Is there a way to achieve a redundant gateway / backup / if-it-it in complement of a default gateway?

aws – Replace Gateway API headers with Lambda

Friends, the scenario is this: I need set dynamically the name of a file csv at Content-Disposition through Gateway API.
Currently I have a function that returns the corresponding body, but at the time of exporting it may not be able to replace the name of the csv.
It was inquired about the configuration of the integration.
There would be some way to replace with lambda the headers from to request | answer Configured in the Gateway API?

The code of my function in case I need it

const AWS = require (& # 39; aws-sdk & # 39;)

const docClient = new AWS.DynamoDB.DocumentClient ({region: & # 39; us-east-1 & # 39;})

exports.handler = async (event, context, callback) => {
if (typeof event.query.conversation_id === & # 39; undefined & # 39;) throws a new error (& # 39; Parameter: undefined [conversation_id]& # 39;)
if (typeof event.query.target === & # 39; undefined & # 39;) throws a new error (& # 39; Parameter: undefined [target]& # 39;)


var params = {
Name of the table: & # 39;& # 39 ;,
ExpressionAttributeValues: {
& # 39 ;: conversation_id & # 39 ;: event.query.conversation_id,
& # 39 ;: target & # 39 ;: event.query.target
}
KeyConditionExpression: & # 39; conversation_id =: conversation_id & # 39 ;,
FilterExpression: & # 39; conversation_id =: conversation_id and target =: target & # 39;
}

leave data = wait for new Promise ((solve, reject) => {
docClient.scan (params, function (err, data) {
yes (err) {
console.error (& # 39; Unable to query. Error: & # 39 ;, JSON.stringify (err, null, 2))
to refuse
} else {
console.log (& # 39; Query done correctly & # 39;)
solve (data)
}
})
})

let logs = data.Items
leave conversation = []
  let arrMessages = logs[0].messages
leave conv

for (be i = 0; i <logs.length; i ++) {
leave n = 0
let arrFound = arrMessages.find (function (element) {
n ++
return (element.from.type == & # 39; Agent & # 39;)
})

yes (arrFound) {
leave client = false
for (be j = n; j < arrMessages.length; j++) {
        if (arrMessages[j].from.type === 'Client') {
          cliente = true
        }
      }

      if (cliente) {
        conv = logs[i]
        break
      }
    }
  }

  const response = {}

  conv.mensajes.forEach(message => {
if (message.from && message.text && message.type == "Message" && message.from.type == "Agent") {

let clock = conv.timestamp
clock = new date (clock)
clock.setHours (clock.getHours () - 4)
leave date = watch
let hour = clock.getHours ()
leave min = clock.getMinutes ()
leave sec = clock.getSeconds ()
clock = time + & # 39;: & # 39; + min + & # 39;: & # 39; + sec
conversation.push['Agente', message.text.replace(/n/g, ''), clock, fecha])
}

if (message.from && message.text && message.type == "Message" && message.from.type == "Client") {

let clock = conv.timestamp
clock = new date (clock)
clock.setHours (clock.getHours () - 4)
leave date = watch
let hour = clock.getHours ()
leave min = clock.getMinutes ()
leave sec = clock.getSeconds ()
clock = time + & # 39;: & # 39; + min + & # 39;: & # 39; + sec
conversation.push['Cliente', message.text.replace(/n/g, ''), clock, fecha])
}
})

const body = conversation.map (interaction => interaction.juntar (& # 39 ;; & # 39;))
response.body = body
response.conversation_id = event.query.conversation_id
var res = {
StateCode: 200,
headers: {
& # 39; Type of content & # 39 ;: & # 39; text / csv & # 39 ;,
& # 39; Content-Disposition & # 39 ;: `attached; filename = $ {event.query.conversation_id} .csv`
}
body: response.body,
isBase64Encoded: true
}
callback (null, res)
}

windows – 403 error when loading the home page for a drupal application when the azure application gateway firewall is enabled

I have an application built in drupal platform and it throws 403 error when i login as root user after the azure application firewall gateway is enabled.

The detailed error says:
Default, OWASP, "3.0", "Mandatory rule." Inbound Anomaly Score Exceeded (Total Inbound Score: 45 – SQLI = 45, XSS = 0, RFI = 0, LFI = 0, RCE = 0, PHPI = 0 , HTTP = 0, SESS = 0): SQL Injection Attack: SQL Tautology Detected. ", Blocked," Warning. Operator GE matched 5 at TX: inbound_anomaly_score. "," Rules / RESPONSE-980-CORRELATION.conf "," / contextual / render ", ApplicationGatewayFirewallLog

render is an inbuilt drupal function and there is no custom code written for the same. Any help on this would be appreciated.

API design – How is an API gateway authenticated?

So I started learning about microservice architecture and how it is implemented and managed. After reading I found the concept of API gateways. As I understand it, they are used to provide a single endpoint for the client to interact while sending the appropriate requests to their recipients.
But then I started reading about authentication and how it is administered and it really confused me. So here is my current understanding:

  • You can create policies that define which API the bearer of the
    Access to the policy.
  • You create consumers (that's how they're called
    Kong) that has certain policies and an API token that they provide when accessing the gateway.
  • API tokens are provided when you log in and are used to access any API

But I do not understand parts of the authentication system, so I do not fully understand it. These are the parts that I do not understand:

  • How can the API gateway know which login is valid and which login is not?
  • When the client provides, that is, a JWT token that has the user ID in its payload, does the gateway pass the token to the API, so that the API knows which user it is dealing with?
  • How does the gateway know which policies to attach to a particular user?

I could not find a good general description of these concepts online, so I'm writing to you for help. If any of my questions is not clear, I would like you to notify me so I can review them.

networks – Use an iMac as a gateway Ethernet Ethernet network

The purpose is to connect a WindowsXP / PC to a 2 iMac network. (The PC does not have to connect to the Internet).

The network, with static address, it seems that (iMac_2 and PC are connected directly with an Ethernet cable):

internet —> ADSL Box <--- Wifi ---> iMac_2 <--- eth ---> personal computer

ADSL box
IP 192.168.0.254

iMac_2 (High Sierra)

  • Main service – wifi (configured with "Define service order" of Network Pref.) IP: 192.168.0.2 Subnet mask: 255.255.255.0 Router:
    192.168.0.254

  • Second service – Ethernet (configured with "Define service order" of Network Pref) IP: 192.168.1.9 SubredMask: 255.255.255.0 Router:
    192.168.0.254

personal computer – Ethernet
IP: 192.168.1.11
Subnet mask: 255.255.255.0
Routeur: 192.168.1.9

The iMac_2 is well networked (internet, file exchange with iMac_1, printer, …).
The iMac_2 can see r / w the shared folder on the PC; it's okay.
The PC can ping the iMac_2 in 192.168.1.9.

The problems are:

  • The PC can not connect to the iMac_2 user: "The specified network name is no longer available."

  • Every day you must change the Ethernet IP of the iMac (for example, 192.168.1.8) and re-establish the correct IP, or you can not connect to the PC …

The PC can not ping the main iMac_2 IP interface 192.168.0.2 (where iMac users are hosted is supose), nor ADSLBox or iMac_1.

I understand that the problem came from the iMac _2 network configuration that does not enable NAT and does not use iMac_2 as a router.

The crossed or straight ethernet cable makes the same result.

Does anyone have any advice or advice?
Thank you !

PS: Of course I looked in another publication with subjects like mine, but none of them gives me the answer or I understand something wrong.

PS 2: the PC uses "old" software with a license that I use regularly, and all the more expensive updates do not offer me any "plus". The XP system is not up to date, but the software does the work.

PS 3: I tried to use a CPL network with the PC, but it interfered with the CPL control meter of my electricity supplier. The UBS-Wifi key works, very, very badly.

Add-on development – Problem with creating tokenization when developing a custom gateway

Can anyone here give why this works?

https://wordpress.org/support/topic/problem-with-tokenization-developing-a-custom-gateway/

These are the contents of the previous link:
Hello everyone and thank you very much in advance for your support.

I'm trying to extend a custom payment gateway using tokenization for woocommerce, but I have a problem that may be too obvious, but I spent all afternoon trying to decipher it without luck.

Therefore, I have developed a fully functional personalized payment gateway that extends the WC_Payment_Gateway_CC with:

$ this-> support = array (& # 39; default_credit_card_form & # 39;);

To retrieve the credit card information within the class I use:

$ _POST['{payment method id}-card-number'];
$ _POST['{payment method id}-card-expiry'];
$ _POST['{payment method id}-card-cvc'];

Now I want to extend it to use "tokenization", so the first (and only) thing I did was to change the line of "supports" to:

$ this-> support = array (& # 39; default_credit_card_form & # 39 ;, & # 39; tokenization & # 39;);

After I did that suddenly, the credit card information is no longer in the $ _POST variable. the $ _POST The variable that I get now is.

$[POST]: {"payment_method": "{payment method id}", "wc- {payment method id} -payment-token": "new", "woocommerce_pay": "1", "_ wpnonce": "d1d883779d", " wp_http_referer ":" / checkout / order-pay / 77 /? pay_for_order = true & key = wc_order_5ae638306f334 "}

How can someone get the information on the credit card of the form when "tokenization" is supported?

Thanks for your help. I spent a few hours reading documentation and forums and I have no idea what else to try.

Arp poisoning: respond to an ARP request in the interface with the mac address of the default gateway

I am running a macOSX and I am sharing my internet using the native functionality of & # 39; sharing internet & # 39; from an Ethernet port on my macOSX to wifi. I connected my Windows PC to the WiFi access point and under these normal conditions, everything works fine.

Then I try to enable Cisco anyconnect on my macOSX, the VPN connections and my macOSX tunnel traffic as expected through the VPN, but then I lose connectivity on my Windows PC.

I have executed tcpdump in the bridge interface and it seems that my Windows PC repeatedly requests the mac address of the default gateway, but nobody responds. How can I forge an answer from my macosx, through the interface of the bridge and on the Windows PC to say that the mac address of 1.2.3.4 is 00: 00: 00: 00: 00: 00?

jquery – paypal payment gateway

Sincerely I have never had to make a payment gateway with paypal or card or anything of this and I do not know what to do.

I'm trying to make it on the web, after selecting several products in one window, in the next I see the selected products with their corresponding amount (type shopping cart) and the total to be paid and they tell me that the payment method has to be paypal.

I have created a paypal button which I have inserted into the web, but I do not know what I would have to do to pass the total price of the selected products to buy from the paypal payment gateway.

HTML of the button

Total Priceing:

<! -

€ 4000

->

JQuery to take out the Total

function add (value) {
newvalor = parseFloat (value); // Convert the value to an integer (number).

// Shows the total value of the sum of the prices of all the species
total = parseFloat (total) + newvalor;

// Place the result of the sum in the "span" control.
document.getElementById ('spTotal'). innerHTML = total + "€";

}

And what I'm trying to do is pass the value of the variable total paypal to make the corresponding payment, but I do not know how to do so that when I send to PayPal I pass the value of the total price.

If you could help me I would appreciate it.

Thank you

How can I import a .net api in the AWS api gateway?

I'm trying to import an api made in .net core in the aws entry api, but you can only import in swagger, I'm trying to convert but it gives error there is a better option to import that api?

Bitcoin Payment Gateway with GOlang

I was trying to create an API that integrates with bitcoind on my server. The web API can make rpc calls for the purpose of a payment gateway for bitcoin in Golang. My question is how to integrate an API with bitcoind and make rpc calls from the API itself.

Proxy Sites Proxy Tunnels Proxy List Working Proxy Sites Hotproxysite Proxy Sites Proxy Sites Anonymous Proxy Anonymous Proxies Top-Proxies.co.uk http://www.proxysitesnow.com Proxy Servers Free Proxies Free Proxy List Proxy List Zoxy Proxy List PR liste all proxy sites More Proxies netgofree netgofree Hide-MyIp - The Best Proxy List American Proxy List www.proxylisty.com/proxylist Web Proxy Submit Proxies Updated Proxy List Updated Proxy List aproxy.org Bypass Proxy Sites Free Proxies List Evolving Critic Business Web Directory Free Proxy List iShortIt MyProxyList Online Proxies Go Proxies Need Proxies PrivateProxies Proxies4MySchool Proxies4Work Free Proxy List Free Proxy Sites ProxyInside Wiksa Proxy ProxyLister.org Free Proxy List ProxyNoid Proxy List Free Proxy List Proxy Sites Proxy TopList ProxyVille UK Proxy WebProxy List RatedProxy.com - Listing the best Web Proxies Free Proxy List SchoolProxiesList Stay Anonymous Proxy List The Power Of Ninja Proxy List UNubstruct Free proxy sites Free proxy sites