I have a little problem finding a clean solution to the following problem.
A machine with two network interfaces and no default route. The first interface gets an IP at boot time and the corresponding static route is inserted during boot into the routing table without problems. The second interface only gets an IP address when the shared-IP zones on the machine are started, during boot the interface is plumbed but without any address. The networks on those interfaces are not connected and the machine is not a gateway (this means we have a machine–administration network and a production-network). The static routes we want to have for the addresses of the zones are not added to the routing table, because the next hop is not reachable at the time the routing-setup is done. As soon as the zones are up (and the interface gets an IP), a re-run of the routing-setup adds the missing static routes.
Unfortunately I can not tell Solaris to keep the static route even if the next hop is not reachable ATM (at least I have not found an option to the route command which does this).
One solution to this problem would be to add an address at boot to the interface which does not have an address at boot-time ATM (probably with the deprecated flag set). The problem is, that this subnet (/28) has not enough free addresses anymore, so this is not an option.
Another solution is to use a script which re-runs the routing-setup after the zones are started. This is a pragmatic solution, but not a clean solution.
As I understand the in.routed man-page in.routed is not an option with the default config, because the machine shall not route between the networks, and shall not change the routing based upon RIP messages from other machines. Unfortunately I do not know enough about it to be sure, and I do not get the time to play around with this. I have seen some intersting options regarding this in the man-page, but playing around with this and sniffing the network to see what happens, is not an option ATM. Anyone with a config/tutorial for this “do not broadcast anything, do not accept anything from outside”-case (if possible)?
GD Star Rating
loading…
GD Star Rating
loading…
Tags: administration network,
boot time,
clean solution,
default config,
default route,
network interfaces,
pragmatic solution,
routing table,
static route,
static routes —
At the weekend a friend visited me. We have not seen since each other since a long time. As we studied both computer science, parts of our discussion where off course technology related. Parts of the discussion where about current TV’s and game consoles (he participated in the design of the PS3 CPU, so he is well aware about the technical limitations of the hardware the current game consoles use).
During our discussion we talked about the software limitations of such hardware.
Current TV’s come for example with some predefined internet channels, but not with a real web browser. We think that people which keep a TV for 10 years or longer (like for example our parents and probably both of us too) this will result in a loss of features after some years, because those channels will get less attention of case to exist at all. There is also no way to switch to alternatives then, except by buying a new TV (we expect that there will be no firmware update in such a case). With a real web browser this would not be an issue (it may be more easy to enter URL’s with a real keyboard than with a remote control, but let us do small steps here). Game consoles are a bit better in this regard, but there we have the problem that some websites are too much memory hungry (they do not include the user agent of the game console browsers in the same class as smart phones or tablet PCs… from the size aspect they are not, but from the memory and computing power aspect they are more similar).
I would expect that the TV stations do not want to have TVs with really good browsers, because then you may not need a TV station anymore. But this is what users would use if it would be there.
Another deficit is that there is not a mail program in game consoles and TV’s. For writing mails you need a real keyboard, but for a quick check if there is mail (e.g. X unread mails, or maybe even displaying the subject line of the emails) or maybe to just read without answering a solution without a keyboard connected would already be enough.
I expect that console manufacturers do not want to spend money for something people are not willing to give much money for, respectively for something where they can not make money with (an email service from the console company would be another mail service additional to the one for the PC and maybe additional to the one of the smart phone… people do not need 10 email accounts, one is enough).
Another overlooked feature is some kind of VoIP+Video feature (at least for the game consoles which have optionally a camera, but IMO this is also possible for the next generation of TV’s with build-in webcams). At least the offerings from Sony and Microsoft are powerful enough to come with some kind of video conferencing software. It does not matter much if this is Skype or the Google version of this, or some other widespread one (MS surely wants to use their own stuff), it just has to be one which is in widespread use to be adopted by the people.This does not need to be in HD, even a small video would already be much more than what is available ATM.
Basically I gave the answer to my question (the title of this posting) myself (except for the video conferencing stuff)… but on the other hand this would be something which could set a product apart from others. For the PS3 this may be now one of the things which could show up in the Homebrew scene, now that the security of the PS3 is compromised. For the Wii at least the email part could be easily done. The rest… would have to catch up in case something like this shows up for the PS3 and is used extensively.
GD Star Rating
loading…
GD Star Rating
loading…
Tags: buying a new tv,
course technology,
current tv,
firmware update,
game consoles,
internet channels,
mail program,
small steps,
software limitations,
unread mails —
After moving our secondary management site (our team is split up into 2 different locations) to a new building, we decided to clean-up some things. One of those things involves moving the LDAP to a different machine (more or less a new server for the new site, it is independent regarding LDAP/homes/… from the primary site). While I am at it, I take the opportunity to move from DSEE5 to DSEE7 (my previous post about the DSEE6 migration was at the primary site). This time I took the package distribution instead of the zip distribution (the main reason is that I can get patch-listings with an automatic tool, and the secondary management site has no disaster-recovery requirements for the applications… we just will setup a new secondary site somewhere else if necessary).
Here my experiences with the installation instructions of DSEE7.
- The install instructions refer to the web interface for the DSEE7 management, but I have not seen something which tells you first have to setup an application server (this was better in the DSEE6 instructions).
- When using the Glassfish application server which comes with Solaris 10 for the web interface, you will get an exception after deploying the dscc7.war, as it is using an outdated JVM. After some fighting and Googling, I found that I have to change the AS_JAVA value in /usr/appserver/config/asenv.conf to a more recent JVM as it is pointing to the very outdated j2se 1.4.x. I pointed it to /usr/java (which is a symlink to the most recent version installed as a package). Instead of the original exception I got another one now (after a redirection in the web-browser), something that it can not find the AntMain class (Glassfish uses ANT from /usr/sfw, this is the one which comes with Solaris 10 update 9). I tried with Java 5 instead of Java 6, but I get the same error. In the net there are some discussions about such errors (it is even a FAQ at the ANT site), but this Glassfish/DSEE7 thing is a black box for me, so what am I supposed to do here (I do not want to put the system into an unofficial state by installing my own ANT for Glassfish/DSEE7)?
It was not mentioned in the Appendix of the DSEE7 install instructions which explains how to install the .war in Glassfish that you have to change to a more recent JVM, and I still fight with the AntMain problem (hey Oracle, there is room for improvement in the product compatibility testing and documentation verification process).
I will update this posting when I make some advancements. For now I let the web interface in the bad state as it is and concentrate on finishing the LDAP move to the new system (installing an DSEE on a backup system, configuring replication, switching the clients to them). The web interface is independent enough to handle it later (hints welcome, that is the main purpose why I write this posing in the middle of the work).
GD Star Rating
loading…
GD Star Rating
loading…
Tags: appserver,
automatic tool,
directory server,
jvm,
oracle directory,
package distribution,
sfw,
solaris 10,
web interface,
zip distribution —
I search a way to use one-time–passwords for Horde/IMP on FreeBSD. I do not want to use PAM (local users on the machine). Currently I use the authentication via IMAP4 (link between the IMAP4-server and postfix via MySQL, to have the same PW for sending and receiving), and I expect that not all users of Horde/IMP will use OTP if available, so the problem case is not that easy. I can imagine a solution which tries to authenticate via OTP first, and if it succeeds gets a password for the login to the IMAP4 server. If the OTP-auth fails, it could try the entered password for the login to the IMAP4 server. Migrating existing users to a new solution can be done by telling them to enter the password from the machine of the person doing the migration. The solution needs to automatically login to the IMAP4 server, entering a password for the IMAP4 server after the OTP-login to Horde is not an option.
Oh, yes, sending the passwords over SSL is not an option (that is already the only way to login there). The goals are to have
- an easy to remember password for an OTP app on the mobile to generate the real password
- the password expire fast, so that a stolen password does not cause much harm
- not the same login-password for different services (mail-pw != jabber-pw != user-pw)
GD Star Rating
loading…
GD Star Rating
loading…
Tags: different services,
existing users,
horde imp,
imap4 server,
mail,
new solution,
postfix,
problem case,
pw,
time passwords —
I search a way to use one-time–passwords for jabber/XMPP (ejabberd) on FreeBSD. I do not want to use PAM (local users on the machine). Currently I use the internal authentication, and I expect that not all users of the jabber server will use OTP if available, so the problem case is not that easy (migrating existing users to a new solution can be done by changing the password myself and then telling them to change their password, but there needs to be a way to let them change the non-OTP password).
I assume that OTP is not foreseen in the XMPP protocol, so where could I ask to have something like that considered as an extension (if such a place exists at all)?
Oh, yes, sending the passwords over SSL is not an option (that is already the only way to login there). The goals are to have
- an easy to remember password for an OTP app on the mobile to generate the real password
- the password expire fast, so that a stolen password does not cause much harm
- not the same login-password for different services (mail-pw != jabber-pw != user-pw)
GD Star Rating
loading…
GD Star Rating
loading…
Tags: authentication,
different services,
existing users,
freebsd,
jabber server,
mail,
new solution,
pam,
problem case,
time passwords —