<flip214>
luis: one minor problem: if I specify "0.0.0.0" or "::" to listen on, that address can't be connected to... we'd need a manual override to translate that to eg. 127.1 resp. ::1
<flip214>
or is the specification/convention that only specific, set up IP addresses may be used here?
<flip214>
I guess I shouldn't use usocket in swank... so I need to manually convert the octets back into an IP address
nicktick has quit [Ping timeout: 264 seconds]
_whitelogger has joined #slime
<luis>
flip214: not sure what you mean by manual override
<pjb>
flip214: 0.0.0.0 means listen to all interfaces. Of course, you cannot connect to it, you must choose the address of one specifikc interface.
<flip214>
pjb: yeah, that's exactly the problem. the server may specify 0.0.0.0, but that doesn't help clients to connect!
<pjb>
flip214: ifconfig -a
<flip214>
pjb: doesn't exist on windows, on linux it becomes more and more rare, on embedded very improbable, ...
<flip214>
and then parsing the output etc..... well, never mind.
<pjb>
flip214: on ms-windows, it's ipconfig
<pjb>
flip214: and if it's a problem, the server can get the IP addresses of the interfaces and report them.
<pjb>
(write a patch).
flip214 has quit [*.net *.split]
flip214 has joined #slime
frgo has joined #slime
frgo has quit [Remote host closed the connection]
frgo has joined #slime
frgo has quit [Remote host closed the connection]
frgo has joined #slime
frgo has quit [Remote host closed the connection]
frgo has joined #slime
edgar-rft has quit [Quit: Leaving]
<luis>
That's what we've been discussing. SWANK will announce the IP address, right?
<luis>
flip214: that's the point of the local-address interface, is it not?
<flip214>
luis: yes. but if swank binds to 0.0.0.0 or ::, there _is_ no IP address to announce!
<pjb>
Yes, swank issues a message with the local address.
<pjb>
oh!
<pjb>
then it would have to test for 0.0.0.0 (and similar in ipv6), and instead get the list of interfaces and the list of addresses for each interface.
<luis>
Oh, right, 0.0.0.0 means listens on all interfaces. Forgot about that
<luis>
So, hmm, don't listen on all interfaces. :P Seems like a bad idea anyway.
pjb has quit [Read error: Connection reset by peer]
pjb has joined #slime
<jackdaniel>
what was your ip again? :-)
<luis>
jackdaniel: I recently learned that my ISP (like many others) assigns more than 4 sextillion addresses to each customer (256 IPv6 subnets)
<jackdaniel>
and you listen on all of them with ::? :D
<jackdaniel>
jokes aside, that sounds quite excesive
<luis>
It's the current RFC 6177 recommendation. They used to recommend more.
<pjb>
this let you avoid NAT…
<pjb>
you can have a single IPv6 address, and assign addresses to each of your employees, and let them assign addresses to each of their devices.
<jackdaniel>
I think that if each client had 9999999999 ip addresses, they still should be able to avoid NAT ;-)
<pjb>
128-bit…
<jackdaniel>
but yeah, I get the motivation - make everything addressable
<luis>
Yeah, a single 128-bit subnet (18 quintillions) seems like it would be enough, but the RFC mentions that having multiple subnets would be useful (don't remember why)
<jackdaniel>
sub1: light bulbs (high security), sub2: the computer (open as internet explorer)