Amazon Web Services – AWS – EC2: Use a different public address for outbound connections

I assigned an AWS Ubuntu EC2 instance with a resilient IP address running a web application.

I want to run a web scrap script on my server, and I do not prefer that my server / domain be traced back from the IP address that links my script to external websites.

For this purpose I decided to activate and use a NAT gateway on the VPC. However, when I changed the default route on the VPC towards the NAT gateway, I also lost the connection to my own server.

I will appreciate if you can assist me in creating a solution through a NAT gateway or otherwise.

Is a Bitcoin address collision possible if 90 million addresses are generated every 4 hours?

A very relevant answer can be found here: Is each bitcoin address unique?

This is a question of the birthday attack on the hashes. Bitcoin addresses (assuming a "normal" style, starting with a 1) encode 160-bit hashes, so the output space may have 2 ^ 160 hashes. Since it is a hash function, we assume that all issues have the same probability of being spent.

At the rate specified in the OP, you would generate 1,971 * 10 ^ 11 addresses in a year. Use the approximate birthday formula n ^ 2 / 2HThe probability of a collision in one year is therefore approximately on the order of 10 ^ -26. This basically means 0. In 20 years, this probability is on the order of 10 ^ -24. Still basically 0. If all 8 billion people in the world had generated addresses at this rate for 20 years, a total of 3.1536 * 10 ^ 22 addresses would be generated. Even then, the likelihood of a collision is only 0.0003. Keep in mind that a collision like this is very different from a targeted attack to find the private key of a particular address. In the event of a collision, there is a chance that no funds will be sent to the address anyway, making the attack unusable.

Did Pelosi ask for trumps to cancel the SOTU address because she was worried about security or political pettiness?

She asked him to postpone it, not to cancel it.

Traditionally, SOTU's speeches are either about achievements or inspiring the nation. Given the current circumstances, Trump has nothing to boast about its success, and its ability to "inspire" everyone, but its trailer parking base is already well-known. A SOTU speech from him would be extremely absurd.

Even if it was reasonable (ie read from a screenplay), the address inevitably degenerated into complaints about "false news" chasing the "witch hunt", his victimization by this "rat," Cohen, and the usual hyperbolic droll about the invading brown hordes and the opposition that favors "open borders". We have all heard this bullshit.

If he wants to throw up more of this filth, he's supposed to call another of his high school pep rallies somewhere in a warehouse in Podunksberg, Missouri or Dumbfvcksville, Indiana. He can bask in the slavish worship of his brainless base, who likes to bring big spoons to scoop and sip what he spits.

,

Computer Architecture – jump to the MMIO address

What happens in the ARM architecture when executing a jump statement whose jump destination address is an MMIO address (or in paging mode, a virtual address associated with an MMIO address)?
Would this statement be aborted?
If this succeeds and the EIP is set accordingly, what happens next: Will the CPU actually get the next instruction by reading the MMIO address?

If this succeeds, thinking about such a CPU seems to be problematic, as reading and writing to I / O addresses, unlike DRAM, may be visible to the outside world. For example, the effect of out-of-order prefetch command over IO becomes visible to the outside world.

python – How does ping determine the IP address of a mDNS service?

I am trying to write a Python 3 program that returns the numeric IPv4 address of the computer where the service is running when specifying the name of a service. (I do not want to use the Zeroconf module.)

With https://en.wikipedia.org/wiki/Multicast_DNS and https://pymotw.com/3/socket/multicast.html I could put together something that determines the IP number of a host that has /. etc / hosts entry (ie query a hostname.local). However, if code is running on this system (hostname.local) that is a _osc._udp.local. "- Service (for example, oscresponder.local)" registers, "ping oscresponder.local" returns IP only as "ping hostname.local". but does not do my code.

In other words:

ping hostname.local # works
./mDNS.py hostname.local # works
ping oscresponder.local # works
./mDNS.py oscresponder.local # does not work

So what makes Ping go beyond what the Wikipedia article lists?

(I tried to find out the information using Wireshark, but my network is pretty bad and I could not determine which answer Ping used to specify the IPv4 address.)

Windows – ODBC from Win10 32-bit client connects only to the IP address, but not to the host name

I have a pretty strange problem.

We use MS SQL based quality assurance software. The database is hosted on an MS SQL 2016 standard. Server running on a Windows Server 2012 R2 VM.

Our customers are a mix of mainly 64-bit Windows 7 and Windows 10 clients.

To connect a client to the SQL server, you need to create an ODBC connection using the file odbcad32.exe, which resides on 64-bit clients at c: windows syswow64 or on 32-bit computers c: windows system32 is located.

Now, one of these Windows 10 32-bit clients refuses to connect to the SQL server via the host name.
When adding the connection, I use the ODBC driver "SQL Server" version 10.00.17763.01, the same driver that works fine on 64-bit Windows 10 clients.

I can select the SQL Server instance and enter the appropriate SQL user name and passwords.
However, the connection is aborted with the following, unfortunately German error message:

Enter the image description here

By manually entering the IP address of the SQL server, I can easily connect to the SQL Server instance.
Since the license of the software is tied to the hostname of the SQL server that hosts the database, I can not log on to it … I need to connect to the database using the host name and not the IP address.

Unfortunately, this is the only 32-bit Windows 10 client in our environment. So I can not say if something is wrong with that particular computer.

Has anyone ever encountered a similar problem? Is there possibly a dedicated ODBC SQL Server driver for 32-bit Windows 10?

Thank you in advance,

Dominik