Archive for the 'Networking' Category
SWIG, Java, and JRuby
Providing a robust, maintainable, and interactive interface to your C/C++ application can be a challenge, but I’ve found that a combination of SWIG, Java, and JRuby (or Jython if you prefer) makes for a very powerful combination.
Read more
Overview of the CCSDS Network Protocols
The CCSDS standards can be intimidating to the uninitiated, this article covers AOS, TC, COP-1, and other protocols used in space communications, how they interact, and where to find the details.
Read more
LDAP, PAM, SSHA, and CRYPT on RHEL 5
I’m putting this here because it took me two days to figure this out. RHEL 5 (or CentOS 5) has openLDAP broken out of the box. It does not handle SSHA password encryption (the default for openLDAP) properly. If you want openLDAP authentication to work with PAM on CentOs 5.3 you MUST edit the /etc/openldap/slapd.conf to contain:
password-hash {CRYPT}If you do not then as soon as you use ldappasswd to change a password your user will no longer be able to log in. That is all.
No commentsSpirit Vs. Lex/yacc/et al.
What are the differences and when should I use one or the other?
Read more
Creating a Binary File Using a Ruby DSL
So I used ruby to convert a simple hex string into a binary file in Converting hex to Binary in 4 Languages. Today I was trying to create a mixed ascii/binary file at work and created a little Domain Specific Language that has good possibilities.
NOTE: There is an expanded version of this script here: A Better Binary File Generator DSL in Ruby
Read more
Netcat Clone in Three Languages – Part I (Ruby)
I thought I’d continue my series of writing the same application in multiple languages by trying to clone the wonderful network tool: netcat. For the first installation I’m going to try it in Ruby.
2 commentsPPP VPN Will not use Local DNS Server Under Windows
OK. So there are solutions to this online, but it took me a long time to find them so I’m going to add one more here. The problem is that you are using a PPP adapter to connect to your LAN, but when you try to resolve internal names that have both and internal and external address, you keep getting the external address. Read more
No comments