-
lw
alepzi: yes it's great if i want to run hikari 3 weeks from now
-
jbo
well you're running current, so lets you can fetch I imagine
-
jbo
also, potato CPU
-
» jbo hides under a table
-
lw
jbo: i do take donations
-
alepzi
you 2 should really room up to save money and buy more iron
-
lw
alepzi: are you russian?
-
alepzi
no?
-
lw
oh, ok
-
alepzi
you?
-
lw
just curious because in russian they called hardware 'iron'
-
jbo
that was discussed prior
-
lw
never seen that in other language much
-
alepzi
ppl used to call it big iron
-
jbo
compiling ports on the new machine for the first time.... there go 600W
-
jbo
thank god this is all hydroelectric power
-
lw
maybe we should get together and buy a #freebsd build server
-
jbo
that sounds nice!
-
jbo
company servers are still stuck on 2x Xeon E5-2690. they didn't feel slow before. now they do
-
lw
jbo: does hikari do tiling?
-
jbo
lw, yes
-
lw
i really hate sway but i like tiling
-
lw
oh good
-
jbo
lw, keep in mind that I haven't used it in 2 or 3 years. I tested it on a system with intel integrated graphics (where it worked well) before using it on my desktop where it didn't work because Nvidia driver seem to use a different rendering backend. hence I am using X.
-
jbo
with bspwm :)
-
lw
if i wanted X i'd just use twm, or maybe fvwm
-
lw
sadly no one updated them for wayland yet
-
jbo
-
VimDiesel
Title: Solved - Nvidia - Current status | The FreeBSD Forums
-
lw
idk i've never used an nvidia card with freebsd
-
jbo
but... nvidia provides native freebsd drivers .__.
-
lw
i know nvidia in general abandoned EGLStreams though
-
lw
yes... but i don't own any nvidia graphics cards...
-
lw
and anyway, what's the chance their drivers even work on 15.0
-
jbo
I never had a non-Nvidia GPU (except for intel integrated). But then again, I never had a non-Intel CPU.
-
jbo
why exactly are you running -current as your primary OS again?
-
lw
why wouldn't i?
-
lw
it has all the latest features, zero bugs, and i can instantly test my src changes
-
lw
i would guess nearly all developers who submit patches to src use -current on desktop
-
jbo
but... daily driver? the system you earn $$$ with?
-
lw
yes?
-
jbo
my home desktop & @work desktop are all running stable/14
-
lw
i've been using it for 4 months now - zero crashes, zero bugs that impact anything important
-
lw
main is really stable nowadays
-
jbo
before I switched to FreeBSD I was an Arch person... one day there was a bug where after exiting hibernate it overwrote / with /dev/zero .__.
-
jbo
(effectively, I assume it was more complex)
-
lw
i mean you have to apply a bit of common sense, after some of the changes that went in this week i'm not going to update until next month probably
-
lw
but updating 1-2 times a month is a pretty decent upgrade cycle
-
lw
i think freebsd should get rid of -stable/-release tbh and just ship -current
-
jbo
yeah, I get that. but simply not good enough for my $atWork system
-
lw
jbo: have you even tried it? how do you know it's not good enough
-
lw
with bectl you can easily roll back a bad update, too
-
jbo
true - but I fear bugs that trash a zpool :D
-
lw
yeah, but then 14.0-RELEASE corrupted my zpool so i'm resigned to low code quality of zfs at this point
-
lw
might switch to netbsd raidframe or something, idk
-
lw
raid/fs with built-in checksums seems hard to find
-
jbo
yeah I remember an ML thread from a few weeks/months ago about somebody voicing concerns over ZFS quality nowdays
-
lw
i think i should just pick up a netapp/emc/something off ebay and go with that, as open source developers don't care to create reliable filesystem
-
jbo
lw, I have another question for you...
-
lw
ok, i need a fag tho, brb
-
jbo
I was using emby for years now, generally happy, but lately I spend a lot of time ripping CDs (because diizzy). I feel like emby is not really nice for music. you used something else just for music, right?
-
realdeimos
the death and failures of zfs are greatly exaggerated in the press
-
lw
realdeimos: i don't care about the press, i'm talking about problems i've run into in real life
-
lw
14.0-R data corruption -> i filed the bug that resulted in the FreeBSD EN for this bug
-
lw
native encryption broken -> i posted to fs@ about this months before Phoronix discovered the problem
-
» jbo throws credits at lw
-
lw
ofc it's notable that i posted about that months ago even today, openzfs has completely ignored the issue and still tells people to use native zfs encryption
-
lw
even though it's simply broken and should never be used
-
alepzi
the more you spread the word about it the closer we get to fixes
-
alepzi
we NEED native zfs encryption
-
alepzi
bring attention and that'll bring help
-
jbo
+1
-
lw
i don't want to be a cheerleader for "fixing zfs" i want a damned filesystem that works
-
lw
jbo: for music i use Navidrome
-
alepzi
lw it's so close it's way easier to get native encryption fixed than reimplement zfs
-
lw
jbo: what's what the sublime-music port is a client for
-
alepzi
just think of howmuch work is already done
-
lw
jbo: (but it also has a web interface)
-
jbo
lw, "is it any good"?
-
jbo
I'm pretty anal about music
-
lw
jbo: yeah i'm really happy with it so far
-
lw
it's had no problem reading my mixed flac/mp3 music collection (1TB of files), all the tags seem fine
-
jbo
ack
-
jbo
sublime needs >=3.10, right?
-
lw
it does support multi-disc albums which a lot of music players don't
-
lw
y
-
lw
but, there's a bit caveat
-
lw
the version in ports is like two years old
-
jbo
lw, I'd like something with... *cough* an android client *cough*
-
lw
i've been meaning to update it, in the mean time i run it in an alpine linux vm in bhyve
-
jbo
where the android client should support offline-download
-
lw
jbo: i don't use android but i'd be surprised if there isn't a good android client
-
lw
jbo: it uses an API which is compatible with another music server called "Subsonic", if that helps
-
jbo
so how about you provide a port patch and I take care of it? :>
-
lw
i think Subsonic is pretty popular and has android clients
-
lw
ugh
-
lw
jbo: did you miss where i unmaintained all my ports
-
jbo
wut?
-
jbo
yes. I was pretty much absent the past 8 weeks or so
-
lw
i can't express how little interest i have in dealing with that
-
jbo
I get that
-
jbo
I'm not a ports committer for fun :(
-
lw
all of ports is just fucked, sorry, i understand you do ports and i'm sure you do a good job (and you really helped me with my stuff) but...
-
lw
i'm just going to maintain my ports in a local branch from now on
-
jbo
yeah but you mostly touched python crap, right?
-
lw
not by choice, but yeah
-
jbo
I mean... I get the criticisim (and point).
-
jbo
as I told you, I generally try not to touch python@. you made me break that rule more than once :>
-
lw
i might be convinced to submit an update to navidrome
-
» jbo is convincing
-
jbo
make my music experience great again!
-
lw
-
VimDiesel
Title: 276996 – [NEW PORT] databases/postgres_exporter: PostgreSQL metric exporter for Prometheus
-
jbo
oh...
-
jbo
I...
-
jbo
will....
-
jbo
look at it.
-
jbo
sorry dude...
-
jbo
my bad
-
jbo
100%
-
lw
it's fine it's not your fault
-
lw
it shouldn't be your responsibility to get crap committed
-
jbo
oh it is, 100% in this case.
-
lw
this is why i hate ports though :-P
-
jbo
nonono, it's assigned to me. it's not anybody's fault but mine.
-
jbo
let me testport this in 3 seconds
-
jbo
lw, patch is not applying cleanly (anymore?) can you update that?
-
lw
-
lw
i moved my monitoring to arm64 and didn't realise this package was missing
-
jbo
I'm sorry. It's my fault - no question.
-
lw
wait what
-
lw
how does it not apply cleanly, it's a new port
-
lw
oh, the parent Makefile
-
jbo
jup
-
lw
jbo: can you take a 'git format-patch' here or do you need it on the bug?
-
jbo
lw, PR would be preferred TBH
-
lw
ok
-
lw
how the heck do i download a patch from bugzilla
-
jbo
just to annoy you a bit more: this one I have to process through mentor approval. because I didn't do anything the past 8 weeks I didn't complete my mentee phase :<
-
lw
oh, you click 'View'
-
jbo
-
lw
yeah
-
lw
-
lw
the patch doesn't apply - ok, expected. but if i edit databases/Makefile, there are no conflict markers
-
jbo
I assume you can just resolve the conflict and git am --continue?
-
lw
do i seriously have to apply it manually? what r u doing git
-
lw
jbo: that's the thing, there is no conflict
-
lw
it hasn't touched databases/Makefile at all
-
jbo
time for git-apply I guess
-
lw
let me ask #git
-
jbo
pwned
-
lw
this is going to be easier to just apply by hand, isn't it
-
jbo
sometimes you just gotta cave in
-
lw
i asked #bsdmips, let's see if anyone there knows how to use git (i certainly don't)
-
lw
ok
-
lw
sorted, i think
-
lw
i looked through 'git log' for a commit id from Feb 12th
-
lw
checked out that version of the tree
-
lw
now git am works fine
-
lw
then git merge origin/main, conflict in databases/Makefile, easy to resolve
-
lw
-
lw
oh let me put it on the PR
-
lw
done
-
lw
hmm, my zfs fileserver just rebooted for no apparent reason while running poudriere
-
lw
weirdly no kernel dump
-
markmcb
curious, any reason to use poudriere over synth?
-
debdrup
lw: sounds like hardware problems to me
-
debdrup
or rather.. smells like? do you know if it's panic'd before, and left behind a dump?
-
debdrup
-
VimDiesel
Title: Add MUTUALLY_EXCLUSIVE_BUILD_PACKAGES · freebsd/poudriere@a37a981 · GitHub
-
pertho
hey all... is it possible to run a FreeBSD 12.x jail these days? I got an ancient app I need to house but it needs to run on older FreeBSD. How feasible would this be?
-
Soni
we allegedly turned off inet
-
Soni
hmm, nope it doesn't seem to have worked
-
Soni
cat /etc/src.conf: WITHOUT_INET=.
-
Soni
-
VimDiesel
Title: ungleich blog - Die IPv4, die!
-
plasma
:)
-
Soni
oh good, that doesn't work anymore
-
Soni
/usr/src/sys/netinet6/in6_pcb.c:569:16: error: variable 'inp' set but not used [-Werror,-Wunused-but-set-variable]
-
Soni
imagine not having to maintain any of this!
-
debdrup
Well, if it was proprietary software, you woudn't have the option of maintaining it.
-
debdrup
Imagine having bugs, but not being able to fix it.
-
debdrup
You don't even need to imagine having bugs, because all software does - so it's easier on the imagination :D
-
pkubaj
debdrup: if you go that way, imagine that 99% of people in the world run proprietary firmware, which also has bugs :)
-
debdrup
pkubaj: I'd rather not, that's a terrifying thought.
-
debdrup
-
VimDiesel
Title: Re: Question regarding crunchgen(1) binaries
-
meena
that was an interesting read
-
Soni
debdrup: our goal is to get rid of this code entirely, but for now some __unused is fine
-
Soni
okay it'd be nice if tools pointed out which file caused an error/warning
-
Soni
does sendmail even support ipv6
-
Soni
so it does but it breaks by default on an ipv6-only kernel we guess?
-
Soni
we could deal with the configuration issue... or we could patch libc.
-
Puzfire
tykling what jail options do you have for your poudriere build jail? ;)
-
Puzfire
im getting denied: mount: proc: Operation not permitted even though i set what i think is right in /etc/jail.conf on host
-
jbo
<class 'ImportError'>: /usr/local/lib/qt5/libQt5WebEngineCore.so.5: Undefined symbol "_ZN6snappy11RawCompressEPKcmPcPm"
-
jbo
17:01:31 /usr/local/lib/qt5/libQt5WebEngineCore.so.5: Undefined symbol "_ZN6snappy11RawCompressEPKcmPcPm"
-
jmnbtslsQE
Puzfire: did you set allow.mount.procfs=1 in your jail configuration
-
Puzfire
i think i did, but will revisit and make sure jmnbtslsQE, thanks for input
-
Puzfire
-
VimDiesel
Title: Configuration for running poudriere in a jail on FreeBSD 14 – Dan Langille's Other Diary
-
Puzfire
now it runs
-
tykling
good :)
-
martinrame
Hi, any Freebsd/Python expert here?
-
bdrewery
just ask your question
-
bdrewery
there is also #freebsd-python
-
martinrame
Hi, I'm trying to run a program as root, but it seems it can't find the correct path to packages. As a normal user I've set these vars (
pastebin.com/xzhZ8YYx) and it works ok. Now I want to run it as root (called from a program that runs from apache) but it can't find the right packages.
-
mfisher
what are the values of the paths (especially $PYTHONPATH) for your different users?
-
martinrame
The user that needs it is www (the script is called from CGI that runs under apache24)
-
martinrame
this is a user that cannot login
-
martinrame
I'm sure the PYTHONPATH variable isn't set for that user
-
mfisher
you can set the PYTHONPATH variable in your apache config
-
martinrame
mfisher: I'm reading about mod_env
-
mfisher
it's probably not ideal for a long term fix (or in prod) but I've set a login shell and given the www user a home directory so that I could run scripts with a bit more visibility to what is going on
-
martinrame
mfisher: Solved with mod_env
-
mfisher
yay
-
crb__
I wonder if someone could help me, I have a application that displays a window, I have a bhyve linux instance and I'd like to the app to display on that instance but I keep getting: xterm: Xt error: Can't open display: 192.168.1.166:0.0
-
crb__
I've done and xhost + on 192.168.1.166 and I can ping it from the machine on which I want to run the xterm
-
rwp
crb__, I am not knowledgeable about X in bhyve so won't be able to help there but I can tell you why what you are trying now does not work.
-
crb__
rwp: ok, the bhyve client seems to be working fine and display local X programs
-
rwp
X is either not listening on the tcp port or there is a firewall blocking the tcp path or there is no tcp route for the path.
-
rwp
Oh! You have it working for you already. Great! Always glad to hear. :-)
-
crb__
rwp: what port does X listen on? there is no firewall unless centos has one built in and turned on by default, theses machines are both on a local network
-
rwp
crb__, Normally X will listen on the Unix domain socket at /tmp/.X11-unix/X0 which is protected by standard Unix file system permissions. That's the "new" way since around year 2000 or so.
-
rwp
Traditionally X would listen on port 6000+$DISPLAY (I think, or something similar). This was globally available over the network. The security dependent upon IP address of the remote host. Controlled using xhost.
-
crb__
is there a command I can use to see if anything is listen on that or other ports?
-
rwp
That was okay on a trusted LAN but as you might imagine it was also a great bit of fun on April Fool's Day when we would "meltdown" people, or send them crickets, or maybe Xsnow them.
-
rwp
But in recent years the entire tcp connection has been frowned upon strongly. X no longer listens to tcp by default (I think, pretty sure, not positive) and if one wants it to listen one needs to add -listen tcp (or correct option I would need to look up in the documentation) but don't do that because it's not a secure thing to do.
-
crb__
rwp yep I remember those days but today I'm on a local network that's behind a fire wall, and while I'd eventually like to lock this down more for the moment I'd just like to get any X connection going to this linux instance
-
rwp
Mostly these days we "ssh -X remotehost" and then let the X forwarding just do its thing.
-
rwp
Does that work for you?
-
rwp
It should be plenty fast enough on the local system.
-
crb__
ok so on the linux box I should run ssh -X remotest and when I get a shell on my remote host type xterm? What's the display value, is it just :0
-
rtprio
crb__: it's assigned by ssh
-
rwp
So earlier you said "a bhyve linux" which implies to me that you are on FreeBSD with a bhyve VM and the bhyve VM is running Linux? So then you would need to ssh -X from FreeBSD to the Linux VM, right? Please clarify?
-
rwp
If your X server you want to display upon is actually a Linux X server then on Linux you can "ss -na | grep ^tcp.*LISTEN" to get a list of ports open for listening. And note that :6000 is not being listened upon (by default).
-
crb__
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
-
crb__
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
-
rwp
So... I hesitate to say how to generate that data (xauth generate $DISPLAY) because this seems like an XY problem.
-
rwp
One should never need to do that manually. It should all be handled automatically.
-
crb__
oops, too late I did that and now I can connect from the FreeBSD box to the linux box, but xterm -display :0 on the freebsd box still l results in xterm: Xt error: Can't open display: :0
-
rwp
I am still confused about which direction is the source and which is the destination.
-
crb__
top still have Warning: untrusted X11 forwarding setup failed: xauth key data not generated
-
crb__
rwp: sure, sorry. I want to run xterm -display on my freebsd machine and have the terminal window show up on the bhyve linux instance
-
rwp
And you can connect from freebsd to linux 192.168.1.166:6000 okay nothing blocking that tcp path?
-
rwp
And on Linux you can "ss -na | grep :6000" and see that something is listening on that port?
-
crb__
rwp nothing listening on that port on the linux side
-
rwp
And on Linux you can "ps -ef | grep X" and see something similar to "/usr/lib/xorg/Xorg -nolisten tcp vt07" but without the -nolisten option?
-
crb__
I don't know if I can connect to 6000 from the freebsd side but I can ssh that way (which obviously uses a different port) so I assume there is nothing blocking
-
rwp
If nothing is listening on that port then you will not be able to throw the display there over the X protocol. Because X is not listening there.
-
crb__
but I suppose if nothing is listening on the linux side it won't matter
-
rwp
On the Linux side if you really want to open X to the old traditional X display protocol then you would need to edit /etc/X11/xinit/xserverrc and remove the -nolisten tcp option. Probably changing it to the -listen tcp option. Then restart X.
-
rwp
See the "man Xserver" page and look for -listen for details.
-
crb__
rwp: thank you
-
rwp
FTR but I recommend not doing this and using "ssh -X" forwarding instead. That should Just Work and avoids all of the problems.
-
crb__
rwp: I don't see a file like that, I'll have to poke aronud
-
rwp
Obviously this is not a Linux support channel but I am curious what Linux distro you are using?
-
crb__
no it's not an I appreciate that, it's centos 7.9.2009
-
mason
crb__: That CentOS is out of support.
-
mason
Even CentOS 8 support is ending nowish.
-
mason
Might be time to find a replacement.
-
rwp
I am sure that X still works the same as it did then though. And if someone is okay opening the X protocol port up then they are outside of the security circle of worry.
-
mason
Fair point.
-
crb__
mason, it probably is but I use this instance for one VERY specific things and right now I'm just trying to get that app to run under linux emulation
-
crb__
perhaps I
-
crb__
perhaps It'd be easier to setup a vnc server on my freebsd box and export somewhere
-
rwp
If everything is local then "ssh -X" works very well. Even across a LAN. I would try it before discounting it.
-
rwp
It's across the Internet WAN where latency really kills X performance. That's X regardless of whether it is native X protocol or ssh -X or X via VNC.
-
crb__
I did try that Warning: untrusted X11 forwarding setup failed: xauth key data not generated
-
crb__
the ssh connects and give me a shell but also the forwarding failed
-
rwp
Hmm... I am not sure why it would do this. I am doing a little bit of research on it...
-
rwp
Hmm... I don't know. I'll just suggest a little poking around trying "xauth info" and then "xauth list" and hope there is an error with one of those that would point to something.
-
s2r
crb__ doesn't ssh have a configuration setting x-forwarding or something set to no?
-
crb__
s2r: I can't see that on either side in /etc/ssh/ssh_config
-
crb__
I don't know what the default is
-
rtprio
"X11Forwarding no" defaults off on freebsd
-
rwp
s2r's suggestion is good. Double check both client and server side that X forwarding is not disabled. It's X11Forwarding on the server side.
-
rtprio
i thought you needed xauth to do this
-
crb__
rwp: yes I checked neither side has a setting so it's whatever the default value is, and I don't know that
-
alepzi
when you guys make and build apps for rollout how do you handle assets that are different depending on the env? like maybe you have a small fake user.db for the dev env, but for prod env it's a different file. do you store the files next to eachother? when you build for dev env, does it also include the prod user.db next to it still? would you ever wanna run an app with the assets of 1 env in the other env? like run production
-
alepzi
build in dev env
-
rwp
crb__, So I have never needed this but reading the man page I am reminded that there is an "ssh -Y" option to "Enables trusted X11 forwarding. Trusted X11 forwardings are not subjected to the X11 SECURITY extension controls." which honestly I don't understand exactly what that means but I would try -Y at least once.
-
rtprio
alepzi: not really a freebsd question
-
alepzi
ya but lots of admins deal with the same stuff no?
-
rwp
I can only say that when building for production then everything must be as it will be for production. When building for staging for production everything must be as it will be in production. When building for testing for production everything must be as it will be in production.
-
alepzi
ya good reality check. that ultimately ideally everything is the same no matter the env. so try to keep it that as much as i can
-
crb__
rwp: from the Freebsd box to the linux display sever?
-
crb__
ok so this time I didn't get an error about X11 forwarding
-
crb__
ok I got a local vnc server going and that seems to work
-
rtprio
alepzi: on pattern i like is the ... config.file and you have config.dev.file and config.prod.file and it's up to you about copying/editing the right one
-
alepzi
rtprio: ya i was thinking about that. so when you make a dev build, would it choose config.dev.file to import into the package as config.file, or would you package both up and the app code wouldn't choose 1 until runtime based on an env var?
-
rtprio
there are dozens of ways to do it, but generally one instance only runs either prod or dev
-
rtprio
so no sense in switching betwen the two
-
rwp
crb__, Since you are doing the thing you need to know the direction things are going. *I* can't keep them straight on your system! :-) But ssh from the X display system to the remote one.
-
alepzi
when you name files for the environment they're made to run in, do you put it like user-dev.db, user.db.dev, user.dev.db or??
-
uskerine
hi, there is a command line tool (and library) which is not NETCAT which is an old command line tool to implement script-based tools using networks/sockets/tcp/udp etc, but I forgot the name and netcat is so ubiquious that I can not find it. Anyone?
-
rtprio
nc
-
alepzi
i use ucat i think
-
crb__
rip: got it, thank you
-
crb__
rwp: thank you
-
rwp
crb__, Good luck!
-
rwp
uskerine, socat is another very similar tool to netcat, but more logically written.
-
uskerine
It was not netcat and socat, but unfortunately I can not find it again
-
uskerine
netcat or socat
-
rwp
You say script based and so of course perl/python/ruby/lua will do networking in a script. But I am sure that's not what you are looking for either.
-
uskerine
I do think it was common and famous in the old days of UNIXes
-
uskerine
No, it was an actual C written library+ command line tools
-
rwp
I'll mention "expect" just in case that triggers a memory.
-
uskerine
it was actually pretty good, robust and tested, but no longer that common
-
uskerine
It was not expect either
-
rwp
If I am working with SMTP then I will give a shoutout to the wonderful "swaks" tool, swiss army knife for smtp, as it is truly awesome.
-
uskerine
this was more for regular TCP/UDP sockets, but intended to build services in shell scripts
-
rwp
I am not one of these people but some people have been known to preach the wonder of doing network programming in bash itself. I do not recommend it.
-
rwp
alepzi, This problem sounds like something very specific to your system. Meaning you have a lot of freedom to name it anything you wish.
-
rwp
On our OS the /etc/aliases.db file is always simply the /etc/aliases.db file. And same for the /etc/pwd.db file. They have already been named.
-
rwp
If you are creating your own files then it is a good idea to "namespace" them under your larger project name and not use too general or too short of a name. Ambiguity to be avoided.
-
rwp
For example user.db sounds too general for my liking. But postfix-user.db is something I would immediately know by looking at it what it is intending. (postfix is a mail transfer agent.)
-
rwp
General names and short names in a project named subdirectory is again okay. I would think /etc/user.db is something of freebsd but postfix/user.db I would know is something associated with postfix.
-
uskerine
I am prototyping something and it is convenient, the library/command line toolkit was extremely good, I was surprised when I found it
-
rwp
uskerine, Sorry I could not help more. If you remember it please throw the name of it my direction because I would be curious. Until then good luck! I am AFK for a bit now.
-
uskerine
thanks
-
uskerine
-
uskerine
might be this one
-
alepzi
uskerine: what does prototyping something look like in that?
-
uskerine
tcpserver and tcpclient are easy-to-use command-line tools for building TCP client-server applications.
-
uskerine
tcpserver waits for incoming connections and, for each connection, runs a program of your choice. Your program receives environment variables showing the local and remote host names, IP addresses, and port numbers.
-
jgh
gosh, inetd
-
uskerine
it is vintage certainly
-
alepzi
uskerine: sounds inefficient but VERY handy for prototyping like you said
-
alepzi
then you basically just use your same app logic in the final version
-
uskerine
alepzi> do you really see like that? Maybe I am missing something but when I read this it looked to me like easier to nc
-
uskerine
I am prototyping an internal LAN service for a few users
-
uskerine
the invoked programs are normally either simple C programs or TCL scripts
-
alepzi
the tcpclient tcpserver thing you described sounds really nice and easy
-
uskerine
but that thing is so obscure now, I found it by mere chance
-
alepzi
sounds like a ruby on rails app where you use a framework that lets you just handle requests and it handles all the connection shit
-
alepzi
anything wrong with allowing the sftp subsystem on servers?
-
alepzi
no less secure than ssh right? and handy for moving files around manually
-
alepzi
i use rsync for automated files shuttling
-
uskerine
-
VimDiesel
Title: FreshPorts -- sysutils/ucspi-tcp: Command-line tools for building TCP client-server applications
-
alepzi
nice you found it!
-
uskerine
I do not need security for this, just doing simple requests that are served via command line tools
-
alepzi
no, i was asking for myself
-
alepzi
hehe
-
uskerine
well it is clear why it is obscure, it is a bit convoluted to handle the redirection, but I still think this is a great to automate custom stuff on the shell (provided that it is a simple environment)
-
alepzi
which way is right to enable bash-completion in my freebsd account?
bsd.to/peBg
-
VimDiesel
Title: dpaste/peBg (Plain Text)
-
rwp
alepzi, It's a bash specific syntax and for bash "." and "source" are the same thing. So it does not matter. Both are equivalent.
-
rwp
The ". file" syntax is standard /bin/sh and so bash gets that from there. The "source file" syntax originates with csh and bash pulls it in from csh.
-
V_PauAmma_V
rwp, alepzi left before you answered.