-
jbk
i've not heard of any recent problems..
-
jbk
illumos had a bug briefly where it was issuing the wrong LBAs (obviously not a good thing) but that's been fixed for a while
-
gitomat
[illumos-gate] 15510 Update tzdata to 2023b -- Andy Fiddaman <illumos⊙fn>
-
paulf
Does illumos have an equivalent of GNU excvpe ?
-
paulf
execvpe
-
andyf
paulf no, but there is a WIP change to add it at
code.illumos.org/c/illumos-gate/+/2066
-
fenix
→ CODE REVIEW 2066: 7125 Provide execvpe (NEW) |
illumos.org/issues/7125
-
sommerfeld
tzdata 2023c is likely to come out soon (Lebanon again).
-
toasterson
Do they have a ETA on d?
-
danmcd
<sigh>
-
danmcd
Good thing this is early in the SmartOS release cycle (plus a Lebanon update *hopefully* wont' require manifest changes).
-
os10000
hi!
-
os10000
thanks for illumos!
-
os10000
I have a single IP and want to run an ftp server in a zone. I need to use NAT.
-
os10000
the "rdr" directive in the man page has something that looks like
-
os10000
"port" port range port
-
os10000
what exactly does that mean
-
os10000
rdr e1000g0 from any to 144.76.69.252 port 65001-65100 -> 10.0.5.81
-
os10000
rdr e1000g0 from any to 144.76.69.252 port 65001:65100 -> 10.0.581
-
os10000
rdr e1000g0 from any to 144.76.69.252 port 65001 range 65100 -> 10.0.5.81
-
os10000
rdr e1000g0 from any to 144.76.69.252 port 65001 ... 65100 -> 10.0.5.81
-
os10000
don't work ... can anyone tell me what I should type?
-
os10000
hello hightower2, you're new here
-
os10000
do you know anything about ipnat.conf? -- I need to redirect a block of ports
-
os10000
alternatively, do you need help?
-
os10000
I know everything, except, of course, for the things I don't know
-
nahamu
os10000: according to the manpage you should be using the ':' in your port range.
-
nahamu
"man ipnat.conf"
-
os10000
thanks, I'll try again
-
os10000
[6:28:36 PM] <os10000> "port" port range port
-
os10000
[6:28:41 PM] <os10000> what exactly does that mean
-
os10000
syntax error error at ":", line 16
-
os10000
000011 # cmd-masq-service
-
os10000
000012 rdr e1000g0 from any to 144.76.69.252 port = 80 -> 10.0.17.217 port 80 tcp
-
os10000
000013 rdr e1000g0 from any to 144.76.69.252 port = 443 -> 10.0.17.217 port 443 tcp
-
os10000
000014 rdr e1000g0 from any to 144.76.69.252 port = 1194 -> 10.0.9.243 port 1194 tcp
-
os10000
000015 rdr e1000g0 from any to 144.76.69.252 port = 21 -> 10.0.5.81 port 21 tcp
-
os10000
000016 rdr e1000g0 from any to 144.76.69.252 port 65001:65100 -> 10.0.5.81
-
os10000
000017 rdr e1000g0 from any to 144.76.69.252 port = 2022 -> 10.0.5.81 port 22 tcp
-
os10000
000018 #
-
os10000
maybe rdr does not allow ranges
-
os10000
I'll read the man page again
-
os10000
redir ::= "rdr" ifname rlhs "->" ip [ "," ip ] rdrport rdroptions .
-
nahamu
yeah, I don't see an example of a rdr with a port range in the man page. I don't know.
-
os10000
the rlhs could be
-
os10000
rlhs ::= ipmask dport | fromto .
-
os10000
a fromto
-
os10000
fromto ::= "from" object "to" object .
-
nahamu
oh.... yeah, that might use a hyphen?!
-
os10000
I have "from any to ***"
-
os10000
the *** is an object
-
os10000
object :: = addr [ port-comp | port-range ] .
-
os10000
I would need an address, which I have ...
-
os10000
followed by a "port-range"
-
os10000
port-range :: = "port" port-num range port-num .
-
os10000
now that is the thing which puzzles me
-
os10000
rdr e1000g0 from any to 144.76.69.252 port 65001:65100 -> 10.0.5.81
-
os10000
I start on "port" alright
-
os10000
I have a number following it (65001)
-
os10000
then comes the >>>>range<<<<< whatever that is
-
os10000
followed by another port number
-
nahamu
I think I was wrong. I think it's a hyphen, not a colon.
-
os10000
rdr e1000g0 from any to 144.76.69.252/32 port = www -> 10.0.17.217 port 80 tcp
-
os10000
rdr e1000g0 from any to 144.76.69.252/32 port = https -> 10.0.17.217 port 443 tcp
-
os10000
rdr e1000g0 from any to 144.76.69.252/32 port = openvpn -> 10.0.9.243 port 1194 tcp
-
os10000
rdr e1000g0 from any to 144.76.69.252/32 port = ftp -> 10.0.5.81 port 21 tcp
-
os10000
syntax error error at "-", line 16
-
os10000
000014 rdr e1000g0 from any to 144.76.69.252 port = 1194 -> 10.0.9.243 port 1194 tcp
-
os10000
000015 rdr e1000g0 from any to 144.76.69.252 port = 21 -> 10.0.5.81 port 21 tcp
-
os10000
000016 rdr e1000g0 from any to 144.76.69.252 port 65001-65100 -> 10.0.5.81
-
os10000
000017 rdr e1000g0 from any to 144.76.69.252 port = 2022 -> 10.0.5.81 port 22 tcp
-
os10000
000018 #
-
nahamu
stop pasting the lines that work.
-
os10000
sorry
-
nahamu
let me see if I have a zone I can use to test this.
-
os10000
oh thanks!
-
nahamu
The grammar in the man page is slightly broken. There's no definition for "portnum" but it gets used...
-
os10000
ok ...
-
os10000
when I logged onto this IRC channel, I got a message where to find the illumos source code
-
os10000
-
os10000
I thought I could look at the BNF grammar, but found a bunch of examples first
-
os10000
maybe I can do without forwarding a range entirely
-
os10000
but I have another 12 hosts to do and I fear I will need a portrange before I'm done with all of them. FTP might not be my only problem that needs a range
-
nahamu
that's probably only going to grab the single port from /etc/services if I had to guess.
-
os10000
there's a builtin proxy
-
os10000
and ... it would be nice to understand what I'm doing ... when it's security relevant
-
nahamu
I mean... you're using regular FTP...
-
os10000
clearly I'm not understanding something correctly
-
os10000
ok, that's an oxymoron ... using "ftp" and "security" in the same sentence
-
os10000
I'm trying to confine that thing to a zone without other services
-
nahamu
oh, there is a "ftp proxy" in there... hmmm.
-
nahamu
but it's a map rather than a redir.
-
nahamu
I've been nerd-sniped into complete confusion now.
-
os10000
I couldn't get it to work, so I tried mapping 21 + a range
-
os10000
the proftpd allows itself to be restricted to a range and it has a masquerade command if I were to get the range to work
-
os10000
currently the proftpd is configured as a standard ftp server
-
os10000
from the parent zone it can be reached and used just fine
-
nahamu
I have to tap out. I need to get back to work and I'm not any closer to helping you solve this.
-
os10000
many thanks for your time
-
os10000
have a good day
-
jclulow
nahamu: The FTP proxy is, I believe, for users _inside_ a cone NAT that are trying to use "active" FTP instead of passive FTP (which is what everybody should use now)
-
jclulow
where the FTP server is expected to connect _back_ to you
-
richlowe
that sounds right
-
richlowe
I suspect active ftp is a thing few people remember really these days
-
» nomad hides the sftp server he's required to maintain for $job[1]
-
danmcd
sftp != ftp.
-
yuripv
and especially != active ftp
-
nomad
yeah, but still....
-
» nomad isn't thrilled to have any kind of FTP thing
-
jclulow
SFTP is basically fine
-
jclulow
it's just SSH
-
nomad
jclulow, as long as you don't mind account management for $random_contact.