openSSL edit email address max value - email

Is it ok if i edit emailAddress_max value in openssl.cnf file. The default value is 64. But i want to change to 129 for my project. In my project the max length of email address is 129(local is 64 # domain is 64).
I want to know is there any reason for the default max 64 value?
thank you.

Related

What really is the maximum length of email address local part?

According to Wikipedia (https://en.wikipedia.org/wiki/Email_address) and http://isemail.info/about the maximal length of the local part of an email address is 64 characters.
However, I just received email from this address:
reply+0032ff332e028331fad75f7549ee52d90483c7aa70138a3192cf00000001123b88e492a169ce06aab82c#reply.github.com
Its local part is 90 characters and it is deemed invalid by isemail.info, however, it's a perfectly valid email address. I can send email to it and it is received by the other party.
So what gives: is not the maximal length of the local part of email address 64 characters or not? If not, what is the maximal length then?
The maximum length is 64 octets.
Yet as MSalters says in comments, just because something is done doesn't mean it's legal.
Some system accept longer local parts, some others don't. In this case, Github says that you should send an e-mail to them on that address. It's bad practice from Github because they might accept a longer e-mail address, but they forget that the client might be more pedantic and refuse to send (or worse, truncate the e-mail address).
They probably consider reply as the real local part and use +0032ff33... as an identifier, but all in all, as you point out, it makes their local part much (too?) bigger.

M68k - IDA Pro 24-bit addressing?

I'm trying to disassemble a BIOS image for the 68000, and I'm having trouble getting IDA Pro 6.5 to correctly cross-reference addresses.
For those who aren't aware, the Motorola 68000 has a couple of interesting features/quirks related to addressing:
When given a 16-bit absolute address, the processor sign-extends it to 32 bits before dereferencing it.
The 68K uses a 24-bit address bus, so the high byte in a 32-bit address is ignored.
The original authors of this BIOS took advantage of these properties in a number of places to save a few bytes: for any address above 0xFF8000, it's possible to specify the address using only two bytes instead of four. For example, if I wanted to access the memory at address 0xFF9134:
lea (0x9134).w, a0
< sign extension >
lea (0xFFFF9134).l, a0
< discard high byte >
lea 0xFF9134, a0
The problem I'm running into is that IDA Pro is performing the sign extension, but then considers the entire 32-bit address instead of only the lower 24 bits. IDA ends up trying to cross-reference addresses that don't (or at least shouldn't) exist, and any segments/code/data I have in the 0xFF8000-0xFFFFFF address range get completely ignored.
I'm still new to IDA Pro, so I don't know if this would be solvable with a script, let alone how to write such a thing. Is there a way I can get the disassembler to correctly handle this dirty/clever addressing trick?
I have the same problem. My decision was to create custom_ana callback and then change every operand address as the following: op.add &= 0xFFFFFF.
But it is not so easy. Because you don't have fully recognized "cmd" at this moment, and you must prepare it by your own code.

How to set lease time and server identifier fields in DHCPOFFER packet?

When I see the DHCP RFC at http://www.ietf.org/rfc/rfc2131.txt , it says that lease time and server identifier fields come under options. Which bits in the DHCP packet actually represent these field?
It's not possible to give you a specific byte offset to look at - you have to interpet the "Options" section of the packet. The Options can be given in any order.
Take a look at the definitions of the Options here: http://en.wikipedia.org/wiki/Dynamic_Host_Configuration_Protocol#DHCP_options
Options are variable length octet strings. The first octet is the
option code, the second octet is the number of following octets and
the remaining octets are code dependent.
So if you have DHCPOFFER packet to decode, you need to start at the beginning of the Options section (octet offset 812 into the entire DHCPOFFER packet), and interpret each Option (code, length, data) until you reach the end of the packet. Then look at which Option had a code of 51 (lease time) followed by a length octet of value 4 and then 4 octets of data, or 54 (Server identifier) again followed by length 4 and 4 octets of data.

Why an email address must not exceed 254 characters?

I have a question about the email addresses length.
Why in wikipedia or in some other sites tell that the maximum number of chars in an email-user-name is 64, that the server-name must have maximum 255 chars and that together the user-name-mail#server-name must not exceed 254 characters?
If it must have 254 chars, why the server-name must not exceed 255??? I don't understand that...
Could you help me please? Thanks!
The relevant SMTP standard is currently RFC5321. Section 4.5.3 describes the limits. The length of a mail path can't exceed 256 bytes. Since a mail path includes angle brackets, practically this means the user#host portion can't exceed 254 characters.

Limitation on length of bin name in citrusleaf

Is there a limitation on length of bin name in citrusleaf.
Is the default value 14 and can it be increased?
I am getting following error if the length of binName is more than 14 characters (using Java API)
null due to parameter error
This restrictions is enforced from server-side.
This is an artificial restriction to keep the memory & disk requirement in control.
Note that this is only for the bin name and not the bin value.
The wire protocol is a generic interface. So, it allows any length to be passed.
Different limits are followed for different names.
For e.g. namespace & set names should be <32 bytes
The bottom line is that you cannot use bin names longer than 14 characters using the current Citrusleaf version