The init system of FreeBSD is quite different to the Linux. There is no concept of symbolic link of the init script to each run level and no run level. All you have is one big long list of init scripts and very simple way to administer these scripts. If you want some further readings, check out the original paper on rc.d system.
Here is a short tutorial, hopefully someone will find it useful. If you need to know more in depth, check out the FreeBSD document.
Beginners may find it difficult to relate the facts from the formal documentation on the BSD rc.d framework with the practical tasks of rc.d scripting. In this article, we consider a few typical cases of increasing complexity, show rc.d features suited for each case, and discuss how they work. Such an examination should provide reference points for further study of the design and efficient application of rc.d.
Figuring out how to configure FreeBSD services. We’ll break down the configuration for a simple service, linking you to all the relevant docs along the way.
The service we’re setting up is syncthing, which I use to synchronise files across my devices via my home server. It works very well and I wholeheartedly recommend it.
The other suggestion is that since the documentation was written, a new easier way to install MeshCentral in systemd was added. As root, run:
node node_modules/meshcentral --help
You should see a --install, --uninstall options. So remove the "meshcentral.service" file you created above and try:
node node_modules/meshcentral --installThis next example permits the user with the UID of 1001 to bind to TCP ports 110 (POP3) and 995 (POP3s):
# sysctl security.mac.portacl.rules=uid:1001:tcp:110,uid:1001:tcp:995
equivalent of setcap in Linux
setcap 'cap_net_bind_service=+ep' for FreeBSD
setcap.sh
# ref.
# https://www.freebsd.org/cgi/man.cgi?query=mac_portacl&sektion=4
# https://www.freebsd.org/doc/handbook/mac-policies.html
# load the kernel module
kldload mac_portacl
# set the new security rules
sysctl security.mac.portacl.rules=uid:80:tcp:80,uid:80:tcp:443
# disable default port protection
sysctl net.inet.ip.portrange.reservedhigh=0
# ->
# /boot/loader.conf
# /etc/sysctl.conf
Daryl's Subnet Calculator
This document is designed to give the reader a reasonable working knowledge of TCP/IP subnetting, addressing, and routing. It is not intended to be complete, or to cover all issues. This is targeted toward LAN administrators just moving to TCP/IP, however it should help anyone who wants to know a little (more) about how TCP/IP works. This document does not, generally, apply to dial-up SLIP/PPP connections.
The difference between this (a primer) and an FAQ, is that most FAQ's, in practice, tend to be question-and-answer oriented, and generally seem to try to cover ALL issues, not just the ones frequently asked about. This primer is intended as a starting point for someone who has an interest in the subject, but doesn't know where to start or what questions to ask. This should also help to broaden the understanding of people who have worked with TCP/IP for a while, but either haven't had the time to study all the less-than-useful theory behind the subject, or have been somewhat overwhelmed by the many theoretical details and have missed the big picture.
IPFW is included in the basic FreeBSD install as a separate run time loadable module. The system will dynamically load the kernel module when the rc.conf statement firewall_enable=”YES” is used.
The world of Linux is a vast one. Everyone in the tech world has at least come in contact with Linux, but not always FreeBSD. Join us on a journey of discovery from Linux to FreeBSD
When it comes to choosing a firewall technology for your operating system, the options can be overwhelming. This is particularly true for Linux and FreeBSD, which offer multiple choices. In this article, we’ll take a closer look at four of the most popular firewall options for both systems: iptables, nftables, ipfw, and pf, to help you make an informed decision.
So here’s our contribution to the effort, this article is essentially your four-way comparison of iptables, nftables, IPFW and PF
This server also provides secure Roughtime service. It is monitored and maintained at the same service level as the NTP service provided. The time is synchronized with stratum 1 upstreams.
“We believe in objective truth. We believe that there are often right and wrong,” Woodruff told me when asked about its editorial process. “There are many times when our entire staff agrees on a specific issue, but that doesn’t mean that we’re going to only present that side. We trust our readers to be able to be discerning.”
That purported neutrality is built on the hope that Christians avoid “falling into culture wars that promote hate of the other group” and instead seek greater understanding and love for “political enemies.” Concerned by how Christians, and Americans in general, are becoming siloed in ideological media echo chambers, Woodruff wants Pour Over readers to understand what “both sides” are saying about the news of the day.
But Woodruff’s philosophy conflates the understanding of other political opinions with the belief that they should hold equal weight, a fatal conclusion that misleads and misinforms his readership. While I resonate deeply with the idea that all Americans need an accurate view of what their political others believe, these perspectives shouldn’t be framed in an amoral vacuum. Political neutrality has never been the silver bullet that some presume it to be. //
Presenting all perspectives as equal creates a false binary and results in an unwillingness to hold firm, journalistic principles for the preservation of democracy and human rights, all while eroding public trust. According to reporter Sean Illing, “The issue for many people isn’t exactly a denial of truth as such. It’s more a growing weariness over the process of finding the truth at all. And that weariness leads more and more people to abandon the idea that the truth is knowable.” //
In these ways, The Pour Over is not so different from the mainstream outlets it’s seeking to distinguish itself from. In chasing the biggest news of the day, The Pour Over magnifies the vices of the mainstream press by framing its own view of objectivity as in line with the divine. The daily news is not all-encompassing, and holding a long-term perspective is important, but it also has real material and spiritual consequences. Good journalism should inform readers not only of the facts but also of the stakes.
By framing the news as all-but-equal, The Pour Over pushes readers toward an unbiblical political indifference.
At Mail-List.com, we still believe an email discussion group is the best choice for most communities because:
- Email is Universal.
- Email is easy to use.
- Email lands in your Inbox. No need to remember to check a group.
Fossil fuels are the dirtiest and most dangerous energy sources, while nuclear and modern renewable energy sources are vastly safer and cleaner.
“We will make electricity so cheap that only the rich will burn candles” - Thomas Edison
Edison was dreaming big when he said that. //
Belgium was dreaming big when they built the Atomium. It took 18 months to design and another 18 months to build. //
J'ai vu le futur. “I have seen the future.” These words are displayed inside the structure like a mantra for humankind. It’s not wrong. Consider the structures we admire the most: the Eiffel Tower, the Colosseum, the Pyramids, the Taj Mahal, the Easter Island heads, etc. We do not argue that these structures are too big. We visit them because they are so big, to marvel at their bigness.
For much of human history, we have tried to show our greatness, or to celebrate that which we have believed to be greater than us, through constructing large monuments.
So why are large-scale projects now so heavily criticised?
It may not surprise you that the idea that big is bad came from an anti-growth, anti-technology activist.
E F Schumacher wrote Small is Beautiful: A Study of Economics as if People Mattered in 1973. The book argues in favour of what Schumacher calls small, “appropriate” technologies as a superior alternative to the general ethos of "bigger is better". The latest edition of the book features a foreword by depopulation and degrowth activist Jonathon Porritt.
The book is a holy text for degrowthers, anti-progress activists, and Malthusians alike. It suffers from the recrudescence of the common fallacy of man versus nature, as Schumacher argues that “The system of nature, of which man is a part, tends to be self-balancing, self-adjusting, self-cleansing. Not so with technology.” //
What do I miss, as a human being, if I have never heard of the Second Law of Thermodynamics? The answer is: Nothing. And what do I miss by not knowing Shakespeare? Unless I get my understanding from another source, I simply miss my life. Shall we tell our children that one thing is as good as another-- here a bit of knowledge of physics, and there a bit of knowledge of literature? If we do so, the sins of the fathers will be visited upon the children unto the third and fourth generation, because that normally is the time it takes from the birth of an idea to its full maturity when it fills the minds of a new generation and makes them think by it. Science cannot produce ideas by which we could live.”
Consider that last statement. “Science cannot produce ideas by which we could live.” And yet we have heating, lighting, telephones, the Internet, shoes, glasses, clothes, and so on, thanks to science - not Shakespeare (though I take no umbrage with the Bard). The greatest irony of this statement is that we only have books like Schumacher’s and Shakespeare’s thanks to science and technology.
That a prophet of such pessimism and blinkered thinking has influenced our ideas of large-scale technology ought to concern us. While activists argue against large-scale technological projects, note that when they consider the structures to be works of art the same argument is seldom made. For example, the construction of the Sagrada Família, the largest unfinished Catholic church in the world, began in 1882 and continues to this day. For the most part, people do not cry “it’s too big!” or “what about the cost?!” regarding the church. They allow it to be built. They want to see it finished. Similarly, the Notre-Dame is being rapidly rebuilt after it caught fire in 2019. //
The fact is that we need one - power plants - to have the other - the Sagrada Família, Notre-Dame, etc.
Back to the Atomium. With this single structure, Belgium depicted its love of physics through art. The country wanted to highlight and promote the post-war ideal of peacefully applying atomic research and other advancements in technology, and with over 600,000 visitors per year, the Atomium has achieved this aim. //
Schumacher and I do agree on one thing. He wrote: “To talk about the future is useful only if it leads to action now.” Indeed, we should act now and start building. Large-scale nuclear energy is needed to displace fossil fuels, and committing to it represents the veriest foresight. Without new power plants, we cannot hope to overcome the vicissitudes of tomorrow and maintain the progress that led us here, and beyond. Sometimes we need to dream big and build big. Or, to put it less elegantly, we should go big or go home.
“The elevated costs associated with EVs persisted. Efforts to wrestle it down proved to be more challenging.” //
Because of low demand and high repair costs, Hertz Global Holdings Inc. will sell 20,000 electric vehicles (EV), one-third of its EV fleet. //
Hertz and everyone else had to know this would not work. You mean you couldn’t tell no one wanted to rent EVs?
Go woke, and you waste a ton of money:
Hertz will record a non-cash charge in its fourth-quarter results of about $245 million related to incremental net depreciation expense. //
Corky M | January 13, 2024 at 9:50 am
Recent article by younger fellow discussed how after 7 years his Tesla S had lost 32 percent of it’s range. What was more amazing to me was that he said he would still purchase another one.
Oh, and a 7 year old internal combustion engine vehicle is likely to get the same miles per gallon today as it did when new.
The long-term damage to the economy demanded by the “must go all electric” crowd will just increase. Electrification of everything to save the planet is a canard for being able to completely control humanity.
Nada mas.
This is one of the dumbest, most counter-productive immigration deals I've ever seen, which means is absolutely a perfect representation of the modern GOP. What is the point of voting for this?
I reported earlier this week how Sen. John Fetterman (D-PA) blasted South Africa for filing a case against Israel for genocide in Gaza when he spoke at a luncheon of the Orthodox Union Advocacy Center.
He told South Africa that they should just "sit this one out" and focus on its own country. Some interpreted that also as calling out South Africa over its own problems with the alleged genocide of white farmers. //
But he had a lot more to say, ripping into the activists, and demanding to know why weren't they asking about the hostage and protesting Hamas' actions?
"They're blocking tunnels, they're blocking roads," Fetterman said. "Why? Why aren’t they protesting, ‘When will we get the hostages back home?’ Why aren’t they protesting Hamas? Why aren't they protesting systemic rape and torture of Israeli women and children?
"I don't get it." //
atrocities committed against Israel, Fetterman said Wednesday, "I have a 12-year-old daughter. If someone did that to my daughter, would you want me to sit down at a table and negotiate with them? Never. I would never ask for Israel to do that as well."
Taking his support for Israel further, Fetterman said the country has the right to fully take on Hamas and noted that every Hamas terrorist that is killed is "one more step" toward peace. //
Recognizing the "blowback" he has received from some members of his party for his support for Israel, Fetterman said, "Great. I welcome the smoke then."
Ronnie Long’s story is a tragic tale of injustice and prosecutorial misconduct. In 1976, he was convicted of a crime he did not commit in Concord, North Carolina, and spent 44 years in prison.
Fortunately, Long was recently released after a review of his case. While the city will be paying a hefty settlement, it will not bring back the years in which he was wrongfully deprived of his freedom. This story is a frightening example of prosecutorial misconduct that often goes unnoticed.