GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've been playing around with Google's experimental and free (so far) AI, Bard.I saw another post about ChatGPT emulating a terminal. Since I'm up at 3 AM my time just for giggles I thought I'd give it a shot.
I ran this modified command. Me: I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is {w3m linuxquestions.org}
Google Bard: "Sure! Here is the terminal output:
```
<!DOCTYPE HTML>
<html>
<head>
<title>LinuxQuestions.org</title>
</head>
<body>
<h1>LinuxQuestions.org</h1>
<p>LinuxQuestions.org is a community-driven, self-help web site for Linux users.</p>
<p>As of August 2011, it has over 462,200 registered members.</p>
<p>Started in 2000 by Jeremy Garcia, LQ is one of the most popular free software community sites and is usually reputed for helpfulness.</p>
<p>The most popular section of the site are the forums, where Linux users can share their knowledge and experience.</p>
<p>LQ also has a section where one can download CD/DVD ISO images of Linux installation and Live CDs.</p>
<p>Other than the download section and forums LQ also has the following sections:</p>
<ul>
<li>Linux Podcast</li>
<li>LQ Radio</li>
<li>Linux distributions reviews</li>
<li>Book reviews</li>
</ul>
</p>
</body>
</html>
```"
Bard spit this out in a couple of seconds. AI in general is moving forward with, to me, what seems to be alarming speed.
On a related note I heard on my local radio station yesterday that IT experts are calling for a six month pause in AI development. People are concerned with the speed of AI development. I have mixed feelings about this.
On a related note I heard on my local radio station yesterday that IT experts are calling for a six month pause in AI development. People are concerned with the speed of AI development. I have mixed feelings about this.
Yeah, Musk, Wozniak and many others calling for a pause. Some names were found to be false but there were several 'big hitters.' I think it may be too late - genie out of the bottle so to speak. I don't necessarily subscribe to the self-awareness school of thought but I do think there is great potential for abuse.
Overnight Google has apparently added some ability to write 'code' to 'Bard.'
Non-programmer Me: Write rust code for hello world
Google Bard: "Sure, here is a Rust code for hello world:
```
fn main() {
println!("Hello, world!");
}
```
This code defines a function called `main()`. The `fn` keyword is used to define a function. The `main()` function is the entry point of the program. The body of the function is wrapped inside curly braces, `{}`. The `println!` macro is used to print text to the console. The `"Hello, world!"` string is an argument to `println!()`. Finally, we end the line with a `;` which indicates that the expression is over.
To run this code, save it in a file called `http://hello.rs
` and then run the following command:
```
rustc http://hello.rs
```
This will compile the code into an executable file called `hello`. You can then run the executable file by typing the following command:
```
./hello
```
This will print the following output to the console:
```
Hello, world!
```"
Last edited by mjolnir; 04-10-2023 at 08:47 AM.
Reason: Spelling
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824
Rep:
i just got Suricata alert :
Quote:
ET INFO Session Traversal Utilities for NAT (STUN Binding Request On Non-Standard High Port)
and i tried to get info about that alert from google bard.
this is what it said :
Quote:
The alert ET INFO Session Traversal Utilities for NAT (STUN) Binding Request On Non-Standard High Port means that a device on your network has attempted to make a STUN binding request on a non-standard high port. STUN is a protocol that allows devices to discover their own IP address and port number when they are behind a NAT (Network Address Translation) device. NAT devices are commonly used in home and office networks to share a single public IP address among multiple devices.
The alert is considered informational because it does not necessarily indicate that an attack is in progress. However, it can be a sign that someone is trying to exploit a vulnerability in your network. If you see this alert, you should investigate the source of the request and take steps to secure your network.
Here are some steps you can take to investigate and secure your network:
Check the source IP address of the request. If it is from a known good source, such as a VoIP or gaming device, you can probably ignore the alert. However, if the source IP address is unknown or suspicious, you should investigate further.
Check the port number of the request. STUN binding requests are typically made on port 3478. If the request is coming from a non-standard high port, it is more likely to be malicious.
Check your network for known vulnerabilities. There are a number of known vulnerabilities that can be exploited to make STUN binding requests on non-standard high ports. You can check your network for known vulnerabilities using a vulnerability scanner.
Implement security best practices. There are a number of security best practices that can help to protect your network from STUN binding attacks. These include:
Using strong passwords and security settings
Keeping your software up to date
Using a firewall to block unauthorized access
Educating your users about security risks
By following these steps, you can help to protect your network from STUN binding attacks.
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824
Rep:
i tried one more message from suricata :
Quote:
SURICATA Applayer Mismatch protocol both directions
here is what it said to me :
Quote:
The Suricata alert "SURICATA Applayer Mismatch protocol both directions" is raised when Suricata detects that the protocols used in a network conversation are different in both directions. This can happen for a number of reasons, including:
A misconfiguration on one or both of the endpoints of the conversation
A malicious attack, such as a man-in-the-middle attack
A legitimate application that is using multiple protocols
In most cases, the alert can be ignored, but it is worth investigating if it occurs frequently or if it is accompanied by other suspicious activity.
Here are some possible causes of the alert:
A misconfiguration on one or both of the endpoints of the conversation. For example, if a web server is configured to listen on port 80 but is actually listening on port 443, Suricata will raise this alert.
A malicious attack, such as a man-in-the-middle attack. In a man-in-the-middle attack, an attacker intercepts traffic between two hosts and modifies it. This can cause Suricata to raise this alert.
A legitimate application that is using multiple protocols. For example, a web application might use HTTP for the initial request and then switch to HTTPS for the subsequent communication. This can cause Suricata to raise this alert.
If you are unsure of the cause of the alert, you can consult with a security professional.
Here are some possible ways to mitigate the risk of this alert:
Configure your network devices and applications correctly. This will help to prevent misconfigurations from causing the alert.
Use a firewall or intrusion detection system (IDS) to detect and block malicious traffic. This will help to prevent man-in-the-middle attacks and other malicious activity from causing the alert.
Keep your software up to date. This will help to protect your systems from vulnerabilities that could be exploited by attackers.
By following these steps, you can help to reduce the risk of the Suricata alert "SURICATA Applayer Mismatch protocol both directions".
it is so good to get those answers in easy to understand English
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824
Rep:
one more usage for google bard :
prompt : what sites are hosted at 172.64.163.15 ?
Quote:
The IP address 172.64.163.15 is hosted by Amazon Web Services (AWS). AWS is a cloud computing platform that offers a variety of services, including hosting websites. Some of the sites that are hosted on 172.64.163.15 include:
Amazon.com: Amazon.com is an e-commerce website that sells a variety of products, including books, electronics, and clothing.
Netflix: Netflix is a streaming service that offers movies and TV shows.
Spotify: Spotify is a music streaming service.
Dropbox: Dropbox is a file-sharing service.
Zoom: Zoom is a video conferencing service.
These are just a few of the many sites that are hosted on 172.64.163.15. AWS is a popular hosting provider, and it hosts a wide variety of websites.
Here are some additional details about the IP address 172.64.163.15:
Country: United States
Region: Northern Virginia
City: Ashburn
Organization: Amazon Technologies Inc.
I hope this information is helpful. Please let me know if you have any other questions.
What they are now hyping as "AI" is simply attempts at improving non-procedural computer algorithms, particularly in the recognition of human inputs. But we have a l-o-n-g way to go before we solve the "GIGO Problem."
I have no problem with marketing, but, let's please not (within our own ranks, at least), pretend ...
Google has done many excellent things, and they're very good at promoting it to the common man, but still ... "Technology is what it is, and isn't what it isn't. (At least, not yet!)"
Last edited by sundialsvcs; 06-19-2023 at 08:27 PM.
You see to be unaware that these responses are utter nonsense...
... and that google internally won't see bard used... "because Bard can output "undesired code suggestions." Issues could potentially lead to buggy programs or complex, bloated software that will cost developers more time to fix than if they didn't use AI to code at all. "
If an AI produces bad code, who is legally responsible for any consequences: the people who maintain and issue the code or the company that markets the AI?
Obviously if it's GPL there's no problem because you use it at your own risk, but what if it's proprietary?
Yesterday Google added image generation to Bard. Type in a prompt it spits out, as nearly as I can tell, a completely unique image(s). Still free and a work-in-progress but it just reitterates the oft repeated adage on this site that you can no longer 'trust' any digital media. To be fair, there are already ais out there that a person can rent or buy that do a much better job but for a free 'app' for lack of a better word, this is fun to play with.
There are 4 sections in the attached photo, the top two are of tabby cats lounging in a windows sunlight. The third section is of two mythical bear cubs, one eating a grub while his sister tries to take it from him.
Today happened to be my Niece's birthday and I asked 'Bard' for a beach scene with her name and 'Happy Birthday' scrawled in the sand.
None of these pictures will soon win any photography awards but the future will be both amazing and dismaying.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.