diff --git a/src/main/java/org/tinyradius/attribute/IntegerAttribute.java b/src/main/java/org/tinyradius/attribute/IntegerAttribute.java index 5aeed728..df7350e6 100644 --- a/src/main/java/org/tinyradius/attribute/IntegerAttribute.java +++ b/src/main/java/org/tinyradius/attribute/IntegerAttribute.java @@ -95,11 +95,11 @@ public void setAttributeValue(String value) { * Check attribute length. * @see org.tinyradius.attribute.RadiusAttribute#readAttribute(byte[], int, int) */ - public void readAttribute(byte[] data, int offset, int length) + public void readAttribute(byte[] data, int offset, int attrType, int attrLen, int attrTypeSize, int attrLenSize) throws RadiusException { - if (length != 6) + if (attrLen != 4 + attrTypeSize + attrLenSize) throw new RadiusException("integer attribute: expected 4 bytes data"); - super.readAttribute(data, offset, length); + super.readAttribute(data, offset, attrType, attrLen, attrTypeSize, attrLenSize); } - + } diff --git a/src/main/java/org/tinyradius/attribute/IpAttribute.java b/src/main/java/org/tinyradius/attribute/IpAttribute.java index 5c0e812f..fa184386 100644 --- a/src/main/java/org/tinyradius/attribute/IpAttribute.java +++ b/src/main/java/org/tinyradius/attribute/IpAttribute.java @@ -121,11 +121,11 @@ public void setIpAsLong(long ip) { * Check attribute length. * @see org.tinyradius.attribute.RadiusAttribute#readAttribute(byte[], int, int) */ - public void readAttribute(byte[] data, int offset, int length) + public void readAttribute(byte[] data, int offset, int attrType, int attrLen, int attrTypeSize, int attrLenSize) throws RadiusException { - if (length != 6) + if (attrLen != 4 + attrTypeSize + attrLenSize) throw new RadiusException("IP attribute: expected 4 bytes data"); - super.readAttribute(data, offset, length); + super.readAttribute(data, offset, attrType, attrLen, attrTypeSize, attrLenSize); } } diff --git a/src/main/java/org/tinyradius/attribute/Ipv6Attribute.java b/src/main/java/org/tinyradius/attribute/Ipv6Attribute.java index dfe30f33..fc7823bc 100644 --- a/src/main/java/org/tinyradius/attribute/Ipv6Attribute.java +++ b/src/main/java/org/tinyradius/attribute/Ipv6Attribute.java @@ -77,11 +77,11 @@ public void setAttributeValue(String value) { * Check attribute length. * @see org.tinyradius.attribute.RadiusAttribute#readAttribute(byte[], int, int) */ - public void readAttribute(byte[] data, int offset, int length) + public void readAttribute(byte[] data, int offset, int attrType, int attrLen, int attrTypeSize, int attrLenSize) throws RadiusException { - if (length != 18) + if (attrLen != 16 + attrTypeSize + attrLenSize) throw new RadiusException("IP attribute: expected 16 bytes data"); - super.readAttribute(data, offset, length); + super.readAttribute(data, offset, attrType, attrLen, attrTypeSize, attrLenSize); } } diff --git a/src/main/java/org/tinyradius/attribute/Ipv6PrefixAttribute.java b/src/main/java/org/tinyradius/attribute/Ipv6PrefixAttribute.java index 5762382e..2070a41e 100644 --- a/src/main/java/org/tinyradius/attribute/Ipv6PrefixAttribute.java +++ b/src/main/java/org/tinyradius/attribute/Ipv6PrefixAttribute.java @@ -97,11 +97,11 @@ public void setAttributeValue(String value) { * Check attribute length. * @see org.tinyradius.attribute.RadiusAttribute#readAttribute(byte[], int, int) */ - public void readAttribute(byte[] data, int offset, int length) + public void readAttribute(byte[] data, int offset, int attrType, int attrLen, int attrTypeSize, int attrLenSize) throws RadiusException { - if (length > 20 || length < 4) + if (attrLen > 20 + attrTypeSize + attrLenSize || attrLen < 4 + attrTypeSize + attrLenSize) throw new RadiusException("IPv6 prefix attribute: expected 4-20 bytes data"); - super.readAttribute(data, offset, length); + super.readAttribute(data, offset, attrType, attrLen, attrTypeSize, attrLenSize); } } diff --git a/src/main/java/org/tinyradius/attribute/RadiusAttribute.java b/src/main/java/org/tinyradius/attribute/RadiusAttribute.java index 2059b79a..25b58a4a 100644 --- a/src/main/java/org/tinyradius/attribute/RadiusAttribute.java +++ b/src/main/java/org/tinyradius/attribute/RadiusAttribute.java @@ -74,10 +74,10 @@ public int getAttributeType() { * Sets the type of this Radius attribute. * * @param attributeType - * type code, 0-255 + * type code, 0-65535 */ public void setAttributeType(int attributeType) { - if (attributeType < 0 || attributeType > 255) + if (attributeType < 0 || attributeType > 65535) throw new IllegalArgumentException("attribute type invalid: " + attributeType); this.attributeType = attributeType; } @@ -165,6 +165,24 @@ public byte[] writeAttribute() { return attr; } + /** + * Returns this attribute encoded as a byte array. + * + * @return attribute + */ + public byte[] writeAttribute(int attrTypeSize, int attrLenSize) { + if (getAttributeType() == -1) + throw new IllegalArgumentException("attribute type not set"); + if (attributeData == null) + throw new NullPointerException("attribute data not set"); + + byte[] attr = new byte[attrTypeSize + attrLenSize + attributeData.length]; + System.arraycopy(toByteArray(getAttributeType(), attrTypeSize), 0, attr, 0, attrTypeSize); + System.arraycopy(toByteArray(attrTypeSize + attrLenSize + attributeData.length, attrLenSize), 0, attr, attrTypeSize, attrLenSize); + System.arraycopy(attributeData, 0, attr, attrTypeSize + attrLenSize, attributeData.length); + return attr; + } + /** * Reads in this attribute from the passed byte array. * @@ -181,6 +199,15 @@ public void readAttribute(byte[] data, int offset, int length) throws RadiusExce setAttributeData(attrData); } + public void readAttribute(byte[] data, int offset, int attrType, int attrLen, int attrTypeSize, int attrLenSize) throws RadiusException { + if (attrLen < 2) + throw new RadiusException("attribute length too small: " + attrLen); + byte[] attrData = new byte[attrLen - attrTypeSize - attrLenSize]; + System.arraycopy(data, offset + attrTypeSize + attrLenSize, attrData, 0, attrLen - attrTypeSize - attrLenSize); + setAttributeType(attrType); + setAttributeData(attrData); + } + /** * String representation for debugging purposes. * @@ -275,6 +302,19 @@ public static RadiusAttribute createRadiusAttribute(int attributeType) { return createRadiusAttribute(dictionary, -1, attributeType); } + private static byte[] toByteArray(int value, int len) { + switch (len) { + case 1: + return new byte[] {(byte) value}; + case 2: + return new byte[] {(byte) (value >> 8), (byte) value}; + case 4: + return new byte[] {(byte) (value >> 24), (byte) (value >> 16), (byte) (value >> 8), (byte) value}; + default: + throw new IllegalArgumentException("integer can only be [1,2,4] bytes in size"); + } + } + /** * Dictionary to look up attribute names. */ diff --git a/src/main/java/org/tinyradius/attribute/VendorSpecificAttribute.java b/src/main/java/org/tinyradius/attribute/VendorSpecificAttribute.java index 5adf0767..77534513 100644 --- a/src/main/java/org/tinyradius/attribute/VendorSpecificAttribute.java +++ b/src/main/java/org/tinyradius/attribute/VendorSpecificAttribute.java @@ -1,7 +1,7 @@ /** * $Id: VendorSpecificAttribute.java,v 1.7 2005/11/22 10:18:38 wuttke Exp $ * Created on 10.04.2005 - * + * * @author Matthias Wuttke * @version $Revision: 1.7 $ */ @@ -37,7 +37,7 @@ public VendorSpecificAttribute() { /** * Constructs a new Vendor-Specific attribute to be sent. - * + * * @param vendorId * vendor ID of the sub-attributes */ @@ -48,7 +48,7 @@ public VendorSpecificAttribute(int vendorId) { /** * Sets the vendor ID of the child attributes. - * + * * @param childVendorId */ public void setChildVendorId(int childVendorId) { @@ -57,7 +57,7 @@ public void setChildVendorId(int childVendorId) { /** * Returns the vendor ID of the sub-attributes. - * + * * @return vendor ID of sub attributes */ public int getChildVendorId() { @@ -66,7 +66,7 @@ public int getChildVendorId() { /** * Also copies the new dictionary to sub-attributes. - * + * * @param dictionary * dictionary to set * @see org.tinyradius.attribute.RadiusAttribute#setDictionary(org.tinyradius.dictionary.Dictionary) @@ -81,7 +81,7 @@ public void setDictionary(Dictionary dictionary) { /** * Adds a sub-attribute to this attribute. - * + * * @param attribute * sub-attribute to add */ @@ -94,7 +94,7 @@ public void addSubAttribute(RadiusAttribute attribute) { /** * Adds a sub-attribute with the specified name to this attribute. - * + * * @param name * name of the sub-attribute * @param value @@ -123,7 +123,7 @@ public void addSubAttribute(String name, String value) { /** * Removes the specified sub-attribute from this attribute. - * + * * @param attribute * RadiusAttribute to remove */ @@ -134,7 +134,7 @@ public void removeSubAttribute(RadiusAttribute attribute) { /** * Returns the list of sub-attributes. - * + * * @return List of RadiusAttribute objects */ public List getSubAttributes() { @@ -143,7 +143,7 @@ public List getSubAttributes() { /** * Returns all sub-attributes of this attribut which have the given type. - * + * * @param attributeType * type of sub-attributes to get * @return list of RadiusAttribute objects, does not return null @@ -164,7 +164,7 @@ public List getSubAttributes(int attributeType) { /** * Returns a sub-attribute of the given type which may only occur once in * this attribute. - * + * * @param type * sub-attribute type * @return RadiusAttribute object or null if there is no such sub-attribute @@ -184,7 +184,7 @@ else if (attrs.size() == 0) /** * Returns a single sub-attribute of the given type name. - * + * * @param type * attribute type name * @return RadiusAttribute object or null if there is no such attribute @@ -208,7 +208,7 @@ public RadiusAttribute getSubAttribute(String type) throws RadiusException { /** * Returns the value of the Radius attribute of the given type or null if * there is no such attribute. - * + * * @param type * attribute type name * @return value of the attribute as a string or null if there is no such @@ -228,7 +228,7 @@ public String getSubAttributeValue(String type) throws RadiusException { /** * Renders this attribute as a byte array. - * + * * @see org.tinyradius.attribute.RadiusAttribute#writeAttribute() */ public byte[] writeAttribute() { @@ -243,7 +243,7 @@ public byte[] writeAttribute() { try { for (Iterator i = subAttributes.iterator(); i.hasNext();) { RadiusAttribute a = (RadiusAttribute) i.next(); - bos.write(a.writeAttribute()); + bos.write(a.writeAttribute(getDictionary().getVendorTypeSize(getChildVendorId()), getDictionary().getVendorLengthSize(getChildVendorId()))); } } catch (IOException ioe) { @@ -268,7 +268,7 @@ public byte[] writeAttribute() { /** * Reads a Vendor-Specific attribute and decodes the internal sub-attribute * structure. - * + * * @see org.tinyradius.attribute.RadiusAttribute#readAttribute(byte[], int, int) */ public void readAttribute(byte[] data, int offset, int length) throws RadiusException { @@ -283,22 +283,21 @@ public void readAttribute(byte[] data, int offset, int length) throws RadiusExce throw new RadiusException("not a Vendor-Specific attribute"); // read vendor ID and vendor data - /* - * int vendorId = (data[offset + 2] << 24 | data[offset + 3] << 16 | - * data[offset + 4] << 8 | ((int)data[offset + 5] & 0x000000ff)); - */ - int vendorId = (unsignedByteToInt(data[offset + 2]) << 24 | unsignedByteToInt(data[offset + 3]) << 16 - | unsignedByteToInt(data[offset + 4]) << 8 | unsignedByteToInt(data[offset + 5])); + int vendorId = unsignedByteToInt(data, offset + 2, 4); setChildVendorId(vendorId); // validate sub-attribute structure int pos = 0; int count = 0; + + int vendorTypeSize = getDictionary().getVendorTypeSize(vendorId); + int vendorLengthSize = getDictionary().getVendorLengthSize(vendorId); + while (pos < vsaLen) { if (pos + 1 >= vsaLen) throw new RadiusException("Vendor-Specific attribute malformed"); - // int vsaSubType = data[(offset + 6) + pos] & 0x0ff; - int vsaSubLen = data[(offset + 6) + pos + 1] & 0x0ff; + //int vsaSubType = unsignedByteToInt(data, (offset + 6) + pos, vendorTypeSize); + int vsaSubLen = unsignedByteToInt(data, (offset + 6) + pos + vendorTypeSize, vendorLengthSize); pos += vsaSubLen; count++; } @@ -308,12 +307,13 @@ public void readAttribute(byte[] data, int offset, int length) throws RadiusExce subAttributes = new ArrayList(count); pos = 0; while (pos < vsaLen) { - int subtype = data[(offset + 6) + pos] & 0x0ff; - int sublength = data[(offset + 6) + pos + 1] & 0x0ff; - RadiusAttribute a = createRadiusAttribute(getDictionary(), vendorId, subtype); - a.readAttribute(data, (offset + 6) + pos, sublength); + int subType = unsignedByteToInt(data, (offset + 6) + pos, vendorTypeSize); + int subLength = unsignedByteToInt(data, (offset + 6) + pos + vendorTypeSize, vendorLengthSize); + + RadiusAttribute a = createRadiusAttribute(getDictionary(), vendorId, subType); + a.readAttribute(data, (offset + 6) + pos, subType, subLength, vendorTypeSize, vendorLengthSize); subAttributes.add(a); - pos += sublength; + pos += subLength; } } @@ -321,9 +321,26 @@ private static int unsignedByteToInt(byte b) { return b & 0xFF; } + private static int unsignedByteToInt(byte[] bytes, int offset, int len) { + switch (len) { + case 1: + return bytes[offset] & 0xFF; + case 2: + return ((bytes[offset] & 0xFF) << 8 ) | + ((bytes[offset + 1] & 0xFF) << 0 ); + case 4: + return ((bytes[offset] & 0xFF) << 24) | + ((bytes[offset + 1] & 0xFF) << 16) | + ((bytes[offset + 2] & 0xFF) << 8 ) | + ((bytes[offset + 3] & 0xFF) << 0 ); + default: + throw new IllegalArgumentException("integer can only be [1,2,4] bytes in size"); + } + } + /** * Returns a string representation for debugging. - * + * * @see org.tinyradius.attribute.RadiusAttribute#toString() */ public String toString() { diff --git a/src/main/java/org/tinyradius/dictionary/AttributeType.java b/src/main/java/org/tinyradius/dictionary/AttributeType.java index 5b62600e..d6bde4f8 100644 --- a/src/main/java/org/tinyradius/dictionary/AttributeType.java +++ b/src/main/java/org/tinyradius/dictionary/AttributeType.java @@ -65,10 +65,10 @@ public int getTypeCode() { * Sets the Radius type code for this attribute type. * * @param code - * type code, 1-255 + * type code, 1-65535 */ public void setTypeCode(int code) { - if (code < 1 || code > 255) + if (code < 1 || code > 65535) throw new IllegalArgumentException("code out of bounds"); this.typeCode = code; } diff --git a/src/main/java/org/tinyradius/dictionary/Dictionary.java b/src/main/java/org/tinyradius/dictionary/Dictionary.java index a3023020..c2db3e2e 100644 --- a/src/main/java/org/tinyradius/dictionary/Dictionary.java +++ b/src/main/java/org/tinyradius/dictionary/Dictionary.java @@ -53,5 +53,21 @@ public interface Dictionary { * @return vendor ID or -1 */ public int getVendorId(String vendorName); + + /** + * Retrieves vendor type size in bytes + * vendor code. + * @param vendorId vendor number + * @return vendor name or null + */ + public int getVendorTypeSize(int vendorId); + + /** + * Retrieves vendor length size in bytes + * vendor code. + * @param vendorId vendor number + * @return vendor name or null + */ + public int getVendorLengthSize(int vendorId); } diff --git a/src/main/java/org/tinyradius/dictionary/DictionaryParser.java b/src/main/java/org/tinyradius/dictionary/DictionaryParser.java index 7062ea51..e4786337 100644 --- a/src/main/java/org/tinyradius/dictionary/DictionaryParser.java +++ b/src/main/java/org/tinyradius/dictionary/DictionaryParser.java @@ -152,13 +152,32 @@ private static void parseVendorAttributeLine(WritableDictionary dictionary, Stri * Parses a line containing a vendor declaration. */ private static void parseVendorLine(WritableDictionary dictionary, StringTokenizer tok, int lineNum) throws IOException { - if (tok.countTokens() != 2) + if (tok.countTokens() != 3 && tok.countTokens() != 2) throw new IOException("syntax error on line " + lineNum); int vendorId = Integer.parseInt(tok.nextToken().trim()); String vendorName = tok.nextToken().trim(); + int vendorType = 1; + int vendorLength = 1; + if(tok.countTokens() == 1) { + String format = tok.nextToken(); + if(!format.startsWith("format=")) { + throw new IOException("syntax error on line " + lineNum); + } + String[] formatTokens = format.substring(7).split(","); + if(formatTokens.length != 2) { + throw new IOException("syntax error on line " + lineNum); + } + try { + vendorType = Integer.parseInt(formatTokens[0]); + vendorLength = Integer.parseInt(formatTokens[1]); + } catch (NumberFormatException ex) { + throw new IOException("syntax error on line " + lineNum); + } + } + - dictionary.addVendor(vendorId, vendorName); + dictionary.addVendor(vendorId, vendorName, vendorType, vendorLength); } /** diff --git a/src/main/java/org/tinyradius/dictionary/MemoryDictionary.java b/src/main/java/org/tinyradius/dictionary/MemoryDictionary.java index aabc5f38..3e0c2df7 100644 --- a/src/main/java/org/tinyradius/dictionary/MemoryDictionary.java +++ b/src/main/java/org/tinyradius/dictionary/MemoryDictionary.java @@ -84,6 +84,16 @@ public int getVendorId(String vendorName) { return -1; } + @Override + public int getVendorTypeSize(int vendorId) { + return vendorsTypeSize.get(vendorId) != null ? (int) vendorsTypeSize.get(vendorId) : 1; + } + + @Override + public int getVendorLengthSize(int vendorId) { + return vendorsLengthSize.get(vendorId) != null ? (int) vendorsLengthSize.get(vendorId) : 1; + } + /** * Retrieves the name of the vendor with the given code from * the cache. @@ -117,6 +127,21 @@ public void addVendor(int vendorId, String vendorName) { vendorsByCode.put(new Integer(vendorId), vendorName); } + @Override + public void addVendor(int vendorId, String vendorName, int vendorType, int vendorLength) { + addVendor(vendorId, vendorName); + + if(vendorType != 1 && vendorType !=2 && vendorType != 4) { + throw new IllegalArgumentException("vendor type size can only be [1,2,4]"); + } + if(vendorLength != 1 && vendorLength != 2) { + throw new IllegalArgumentException("vendor length size can only be [1,2]"); + } + + vendorsTypeSize.put(vendorId, vendorType); + vendorsLengthSize.put(vendorId, vendorLength); + } + /** * Adds an AttributeType object to the cache. * @@ -149,6 +174,8 @@ public void addAttributeType(AttributeType attributeType) { } private Map vendorsByCode = new HashMap(); // + private Map vendorsTypeSize = new HashMap(); // + private Map vendorsLengthSize = new HashMap(); // private Map attributesByCode = new HashMap(); // > private Map attributesByName = new HashMap(); // diff --git a/src/main/java/org/tinyradius/dictionary/WritableDictionary.java b/src/main/java/org/tinyradius/dictionary/WritableDictionary.java index 2d8bc5a4..5ff18017 100644 --- a/src/main/java/org/tinyradius/dictionary/WritableDictionary.java +++ b/src/main/java/org/tinyradius/dictionary/WritableDictionary.java @@ -20,6 +20,15 @@ public interface WritableDictionary */ public void addVendor(int vendorId, String vendorName); + /** + * Adds the given vendor to the dictionary. + * @param vendorId vendor ID + * @param vendorName name of the vendor + * @param vendorType defines the size of the vendor type in bytes + * @param vendorLength defines the size of the "vendor length" in bytes + */ + public void addVendor(int vendorId, String vendorName, int vendorType, int vendorLength); + /** * Adds an AttributeType object to the dictionary. * @param attributeType AttributeType object diff --git a/src/main/java/org/tinyradius/dictionary/dictionary.3gpp b/src/main/resources/org/tinyradius/dictionary/dictionary.3gpp similarity index 100% rename from src/main/java/org/tinyradius/dictionary/dictionary.3gpp rename to src/main/resources/org/tinyradius/dictionary/dictionary.3gpp diff --git a/src/main/java/org/tinyradius/dictionary/dictionary.fortinet b/src/main/resources/org/tinyradius/dictionary/dictionary.fortinet similarity index 100% rename from src/main/java/org/tinyradius/dictionary/dictionary.fortinet rename to src/main/resources/org/tinyradius/dictionary/dictionary.fortinet diff --git a/src/test/java/org/tinyradius/attribute/VariableDictionaryFormatTest.java b/src/test/java/org/tinyradius/attribute/VariableDictionaryFormatTest.java new file mode 100644 index 00000000..da74edd2 --- /dev/null +++ b/src/test/java/org/tinyradius/attribute/VariableDictionaryFormatTest.java @@ -0,0 +1,108 @@ +package org.tinyradius.attribute; + +import org.junit.BeforeClass; +import org.junit.Test; +import org.tinyradius.dictionary.DefaultDictionary; +import org.tinyradius.dictionary.DictionaryParser; +import org.tinyradius.dictionary.MemoryDictionary; +import org.tinyradius.packet.RadiusPacket; +import org.tinyradius.util.RadiusException; + +import java.io.ByteArrayInputStream; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.InputStream; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.fail; + +public class VariableDictionaryFormatTest { + + static MemoryDictionary defaultDictionary; + + @BeforeClass + public static void prepareDictionary() { + defaultDictionary = (MemoryDictionary) DefaultDictionary.getDefaultDictionary(); + ClassLoader classLoader = VariableDictionaryFormatTest.class.getClassLoader(); + + try (InputStream in = classLoader.getResourceAsStream("org/tinyradius/dictionary/dictionary.starent"); + InputStream il = classLoader.getResourceAsStream("org/tinyradius/dictionary/dictionary.3gpp")) { + DictionaryParser.parseDictionary(in, defaultDictionary); + DictionaryParser.parseDictionary(il, defaultDictionary); + } catch (IOException e) { + fail(e.getMessage()); + } + } + + @Test + public void parseDictionaryFormat() { + assertEquals(2, defaultDictionary.getVendorLengthSize(8164)); + assertEquals(2, defaultDictionary.getVendorTypeSize(8164)); + } + + @Test + public void parseDictionaryFormatDefault() { + assertEquals(1, defaultDictionary.getVendorLengthSize(14122)); + assertEquals(1, defaultDictionary.getVendorTypeSize(14122)); + } + + @Test + public void encodeDecode() throws IOException, RadiusException { + String hexRadiusPacket = "04060217a72a40db2866fa5877f22a53154822e31f0e35323535353430303434393304060afffbfa2806000000011a1700001fe40120001132312e313920283738353431290606000000020706000000073d06000000121a0e00001fe4003e0008000000011a17000028af01113333343032303435373533363733301a0e000028af08083333343032301a09000028af0a03351a09000028af0c03301a0c000028af0206428b4cd91a27000028af052130352d313339323146373339364645464537343832464646463030353930301a0c000028af0d06304330301a0e000028af09083333343032301a09000028af1a03001a09000028af1503011a0a000028af17040a211a18000028af1412383636303138303530303333383932391a0c000028af0306000000002c12433835464130373734323842344344391a0c000028af0606c990c3601a0c000028af0706c85fa0771a0c00001fe40002000667691a0e00001fe4007b0008000000011a0c00001fe40068000667691a0e00001fe400920008000000011a1100001fe4012d000b64656661756c741a1500001fe400fa000f74656c63656c2d686f6d651a0e00001fe400690008000000023212433835464130373734323842344344390c06000005dc1a10000028af160a013304202f4c88921a0e000028af120833333430323037066173129508060aa175cc1a0e00001fe400180008000000040506002573b829060000000f"; + InputStream inputStream = new ByteArrayInputStream(hexStringToByteArray(hexRadiusPacket)); + RadiusPacket radiusPacket = RadiusPacket.decodePacket(defaultDictionary, inputStream, "secret", null, RadiusPacket.UNDEFINED); + + System.out.println(radiusPacket); + + //validate String type + assertEquals(radiusPacket.getAttribute(8164, 146).getAttributeValue(), "Enabled"); + assertEquals(radiusPacket.getAttribute(8164, 146).getAttributeTypeObject().getName(), "SN-Mediation-No-Interims"); + + //validate String type + assertEquals(radiusPacket.getAttribute(10415, 10).getAttributeValue(), "5"); + assertEquals(radiusPacket.getAttribute(10415, 10).getAttributeTypeObject().getName(), "3GPP-NSAPI"); + + //validate ipaddr Type + assertEquals(((IpAttribute)radiusPacket.getAttribute(10415, 6)).getAttributeValue(), "201.144.195.96"); + assertEquals(radiusPacket.getAttribute(10415, 6).getAttributeTypeObject().getName(), "3GPP-SGSN-Address"); + + //validate integer Type + assertEquals(((IntegerAttribute)radiusPacket.getAttribute(8164, 62)).getAttributeValue(), "GTP_VERSION_1"); + assertEquals(((IntegerAttribute)radiusPacket.getAttribute(8164, 62)).getAttributeValueInt(), 1); + assertEquals(radiusPacket.getAttribute(8164, 62).getAttributeTypeObject().getName(), "SN-GTP-Version"); + + //validate integer Type + assertEquals(((IntegerAttribute)radiusPacket.getAttribute(10415, 2)).getAttributeValueInt(), 1116425433); + assertEquals(radiusPacket.getAttribute(10415, 2).getAttributeTypeObject().getName(), "3GPP-Charging-ID"); + + ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); + radiusPacket.encodeRequestPacket(outputStream, "secret"); + + assertEquals(hexRadiusPacket, encodeHexString(outputStream.toByteArray())); + } + + public static byte[] hexStringToByteArray(String s) { + int len = s.length(); + byte[] data = new byte[len / 2]; + for (int i = 0; i < len; i += 2) { + data[i / 2] = (byte) ((Character.digit(s.charAt(i), 16) << 4) + + Character.digit(s.charAt(i+1), 16)); + } + return data; + } + + public String byteToHex(byte num) { + char[] hexDigits = new char[2]; + hexDigits[0] = Character.forDigit((num >> 4) & 0xF, 16); + hexDigits[1] = Character.forDigit((num & 0xF), 16); + return new String(hexDigits); + } + + public String encodeHexString(byte[] byteArray) { + StringBuilder hexStringBuffer = new StringBuilder(); + for (byte b : byteArray) { + hexStringBuffer.append(byteToHex(b)); + } + return hexStringBuffer.toString(); + } +} diff --git a/src/test/resources/org/tinyradius/dictionary/dictionary.3gpp b/src/test/resources/org/tinyradius/dictionary/dictionary.3gpp new file mode 100644 index 00000000..c31dffc6 --- /dev/null +++ b/src/test/resources/org/tinyradius/dictionary/dictionary.3gpp @@ -0,0 +1,78 @@ +# -*- text -*- +# Copyright (C) 2015 The FreeRADIUS Server project and contributors +# +# 3GPP stuff. +# +# http://www.3gpp.org/ftp/Specs/archive/29_series/29.061/29061-3a0.zip +# +# $Id$ +# +VENDOR 10415 3GPP + + + + +# +# Most of the 'string' attributes are UTF-8 encoded text. +# Maybe we want a UTF-8 'type' in the server... +# +VENDORATTR 10415 3GPP-IMSI 1 string +VENDORATTR 10415 3GPP-Charging-ID 2 integer +VENDORATTR 10415 3GPP-PDP-Type 3 integer +VENDORATTR 10415 3GPP-Charging-Gateway-Address 4 ipaddr +VENDORATTR 10415 3GPP-GPRS-Negotiated-QoS-profile 5 string +VENDORATTR 10415 3GPP-SGSN-Address 6 ipaddr +VENDORATTR 10415 3GPP-GGSN-Address 7 ipaddr +VENDORATTR 10415 3GPP-IMSI-MCC-MNC 8 string +VENDORATTR 10415 3GPP-GGSN-MCC-MNC 9 string +VENDORATTR 10415 3GPP-NSAPI 10 string +VENDORATTR 10415 3GPP-Session-Stop-Indicator 11 byte +VENDORATTR 10415 3GPP-Selection-Mode 12 string +VENDORATTR 10415 3GPP-Charging-Characteristics 13 string +VENDORATTR 10415 3GPP-Charging-Gateway-IPv6-Address 14 ipv6addr +VENDORATTR 10415 3GPP-SGSN-IPv6-Address 15 ipv6addr +VENDORATTR 10415 3GPP-GGSN-IPv6-Address 16 ipv6addr + +# +# This attribute is really an array of IPv6 addresses. +# Why the heck couldn't they just send multiple attributes? +# +VENDORATTR 10415 3GPP-IPv6-DNS-Servers 17 octets + +VENDORATTR 10415 3GPP-SGSN-MCC-MNC 18 string +VENDORATTR 10415 3GPP-Teardown-Indicator 19 byte +VENDORATTR 10415 3GPP-IMEISV 20 string +VENDORATTR 10415 3GPP-RAT-Type 21 byte +VENDORATTR 10415 3GPP-User-Location-Info 22 octets +VENDORATTR 10415 3GPP-MS-Time-Zone 23 octets[2] +VENDORATTR 10415 3GPP-Camel-Charging-Info 24 octets +VENDORATTR 10415 3GPP-Packet-Filter 25 octets +VENDORATTR 10415 3GPP-Negotiated-DSCP 26 byte +VENDORATTR 10415 3GPP-Allocate-IP-Type 27 byte + +VALUE 3GPP-RAT-Type UTRAN 1 +VALUE 3GPP-RAT-Type GERAN 2 +VALUE 3GPP-RAT-Type WLAN 3 +VALUE 3GPP-RAT-Type GAN 4 +VALUE 3GPP-RAT-Type HSPA-Evolution 5 +VALUE 3GPP-RAT-Type EUTRAN 6 +VALUE 3GPP-RAT-Type Virtual 7 +VALUE 3GPP-RAT-Type EUTRAN-NB-IoT 8 +VALUE 3GPP-RAT-Type LTE-M 9 +VALUE 3GPP-RAT-Type 5G-New-Radio 10 +VALUE 3GPP-RAT-Type NG-RAN 51 +VALUE 3GPP-RAT-Type IEEE-802.16e 101 +VALUE 3GPP-RAT-Type 3GPP2-eHRPD 102 +VALUE 3GPP-RAT-Type 3GPP2-HRPD 103 +VALUE 3GPP-RAT-Type 3GPP2-1xRTT 104 + +VALUE 3GPP-Allocate-IP-Type Do-Not-Allocate 0 +VALUE 3GPP-Allocate-IP-Type Allocate-IPv4-Address 1 +VALUE 3GPP-Allocate-IP-Type Allocate-IPv6-Prefix 2 +VALUE 3GPP-Allocate-IP-Type Allocate-IPv4-and-IPv6 3 + + +VALUE 3GPP-PDP-Type IPv4 0 +VALUE 3GPP-PDP-Type PPP 1 +VALUE 3GPP-PDP-Type IPv6 2 +VALUE 3GPP-PDP-Type IPv4v6 3 diff --git a/src/test/resources/org/tinyradius/dictionary/dictionary.starent b/src/test/resources/org/tinyradius/dictionary/dictionary.starent new file mode 100644 index 00000000..bc58e753 --- /dev/null +++ b/src/test/resources/org/tinyradius/dictionary/dictionary.starent @@ -0,0 +1,1332 @@ +VENDOR 8164 Starent format=2,2 + +VENDORATTR 8164 SN-VPN-ID 1 integer +VENDORATTR 8164 SN-VPN-Name 2 string +VENDORATTR 8164 SN-Disconnect-Reason 3 integer +VENDORATTR 8164 SN-PPP-Progress-Code 4 integer +VENDORATTR 8164 SN-Primary-DNS-Server 5 ipaddr +VENDORATTR 8164 SN-Secondary-DNS-Server 6 ipaddr +VENDORATTR 8164 SN-Re-CHAP-Interval 7 integer +VENDORATTR 8164 SN-IP-Pool-Name 8 string +VENDORATTR 8164 SN-PPP-Data-Compression 9 integer +VENDORATTR 8164 SN-IP-Filter-In 10 string +VENDORATTR 8164 SN-IP-Filter-Out 11 string +VENDORATTR 8164 SN-Local-IP-Address 13 ipaddr +VENDORATTR 8164 SN-IP-Source-Validation 14 integer +VENDORATTR 8164 SN-PPP-Outbound-Password 15 string +VENDORATTR 8164 SN-PPP-Keepalive 16 integer +VENDORATTR 8164 SN-IP-In-ACL 17 string +VENDORATTR 8164 SN-IP-Out-ACL 18 string +VENDORATTR 8164 SN-PPP-Data-Compression-Mode 19 integer +VENDORATTR 8164 SN-Subscriber-Permission 20 integer +VENDORATTR 8164 SN-Admin-Permission 21 integer +VENDORATTR 8164 SN-Simultaneous-SIP-MIP 22 integer +VENDORATTR 8164 SN-Min-Compress-Size 23 integer +VENDORATTR 8164 SN-Service-Type 24 integer +VENDORATTR 8164 SN-DNS-Proxy-Use-Subscr-Addr 25 integer +VENDORATTR 8164 SN-Tunnel-Password 26 octets +VENDORATTR 8164 SN-Tunnel-Load-Balancing 27 integer +VENDORATTR 8164 SN-MN-HA-Timestamp-Tolerance 30 integer +VENDORATTR 8164 SN-Prepaid-Compressed-Count 31 integer +VENDORATTR 8164 SN-Prepaid-Inbound-Octets 32 integer +VENDORATTR 8164 SN-Prepaid-Outbound-Octets 33 integer +VENDORATTR 8164 SN-Prepaid-Total-Octets 34 integer +VENDORATTR 8164 SN-Prepaid-Timeout 35 integer +VENDORATTR 8164 SN-Prepaid-Watermark 36 integer +VENDORATTR 8164 SN-NAI-Construction-Domain 37 string +VENDORATTR 8164 SN-Tunnel-ISAKMP-Crypto-Map 38 string +VENDORATTR 8164 SN-Tunnel-ISAKMP-Secret 39 string +VENDORATTR 8164 SN-Ext-Inline-Srvr-Context 41 string +VENDORATTR 8164 SN-L3-to-L2-Tun-Addr-Policy 43 integer +VENDORATTR 8164 SN-Long-Duration-Timeout 44 integer +VENDORATTR 8164 SN-Long-Duration-Action 45 integer +VENDORATTR 8164 SN-PDSN-Handoff-Req-IP-Addr 46 integer +VENDORATTR 8164 SN-HA-Send-DNS-ADDRESS 47 integer +VENDORATTR 8164 SN-MIP-Send-Term-Verification 48 integer +VENDORATTR 8164 SN-Data-Tunnel-Ignore-DF-Bit 49 integer +VENDORATTR 8164 SN-MIP-AAA-Assign-Addr 50 integer +VENDORATTR 8164 SN-Proxy-MIP 52 integer +VENDORATTR 8164 SN-MIP-Match-AAA-Assign-Addr 51 integer +VENDORATTR 8164 SN-IP-Alloc-Method 53 integer +VENDORATTR 8164 SN-Gratuitous-ARP-Aggressive 54 integer +VENDORATTR 8164 SN-Ext-Inline-Srvr-Up-Addr 55 ipaddr +VENDORATTR 8164 SN-Ext-Inline-Srvr-Down-Addr 56 ipaddr +VENDORATTR 8164 SN-Ext-Inline-Srvr-Preference 57 integer +VENDORATTR 8164 SN-Ext-Inline-Srvr-Up-VLAN 58 octets +VENDORATTR 8164 SN-Ext-Inline-Srvr-Down-VLAN 59 octets +VENDORATTR 8164 SN-IP-Hide-Service-Address 60 integer +VENDORATTR 8164 SN-PPP-Outbound-Username 61 string +VENDORATTR 8164 SN-GTP-Version 62 integer +VENDORATTR 8164 SN-Access-link-IP-Frag 63 integer +VENDORATTR 8164 SN-Subscriber-Accounting 64 integer +VENDORATTR 8164 SN-Nw-Reachability-Server-Name 65 string +VENDORATTR 8164 SN-Subscriber-IP-Hdr-Neg-Mode 67 integer +VENDORATTR 8164 SN-GGSN-MIP-Required 68 integer +VENDORATTR 8164 SN-Subscriber-Acct-Start 69 integer +VENDORATTR 8164 SN-Subscriber-Acct-Interim 70 integer +VENDORATTR 8164 SN-Subscriber-Acct-Stop 71 integer +VENDORATTR 8164 SN-QoS-Tp-Dnlk 73 integer +VENDORATTR 8164 SN-Tp-Dnlk-Committed-Data-Rate 74 integer +VENDORATTR 8164 SN-Tp-Dnlk-Peak-Data-Rate 75 integer +VENDORATTR 8164 SN-Tp-Dnlk-Burst-Size 76 integer +VENDORATTR 8164 SN-Tp-Dnlk-Exceed-Action 77 integer +VENDORATTR 8164 SN-Tp-Dnlk-Violate-Action 78 integer +VENDORATTR 8164 SN-QoS-Tp-Uplk 79 integer +VENDORATTR 8164 SN-Tp-Uplk-Committed-Data-Rate 80 integer +VENDORATTR 8164 SN-Tp-Uplk-Peak-Data-Rate 81 integer +VENDORATTR 8164 SN-Tp-Uplk-Burst-Size 82 integer +VENDORATTR 8164 SN-Tp-Uplk-Exceed-Action 83 integer +VENDORATTR 8164 SN-Tp-Uplk-Violate-Action 84 integer +VENDORATTR 8164 SN-Subscriber-IP-TOS-Copy 85 integer +VENDORATTR 8164 SN-QoS-Conversation-Class 86 octets +VENDORATTR 8164 SN-QoS-Streaming-Class 87 octets +VENDORATTR 8164 SN-QoS-Interactive1-Class 88 octets +VENDORATTR 8164 SN-QoS-Interactive2-Class 89 octets +VENDORATTR 8164 SN-QoS-Interactive3-Class 90 octets +VENDORATTR 8164 SN-QoS-Background-Class 91 octets +VENDORATTR 8164 SN-PPP-NW-Layer-IPv4 92 integer +VENDORATTR 8164 SN-PPP-NW-Layer-IPv6 93 integer +VENDORATTR 8164 SN-Virtual-APN-Name 94 string +VENDORATTR 8164 SN-PPP-Accept-Peer-v6Ifid 95 integer +VENDORATTR 8164 SN-IPv6-rtr-advt-interval 96 integer +VENDORATTR 8164 SN-IPv6-num-rtr-advt 97 integer +VENDORATTR 8164 SN-NPU-Qos-Priority 98 integer +VENDORATTR 8164 SN-MN-HA-Hash-Algorithm 99 integer +VENDORATTR 8164 SN-Subscriber-Acct-Rsp-Action 100 integer +VENDORATTR 8164 SN-IPv6-Primary-DNS 101 ipv6addr +VENDORATTR 8164 SN-IPv6-Secondary-DNS 102 octets +VENDORATTR 8164 SN-IPv6-Egress-Filtering 103 integer +VENDORATTR 8164 SN-Mediation-VPN-Name 104 string +VENDORATTR 8164 SN-Mediation-Acct-Rsp-Action 105 integer +VENDORATTR 8164 SN-Home-Sub-Use-GGSN 106 integer +VENDORATTR 8164 SN-Visiting-Sub-Use-GGSN 107 integer +VENDORATTR 8164 SN-Roaming-Sub-Use-GGSN 108 integer +VENDORATTR 8164 SN-Home-Profile 109 integer +VENDORATTR 8164 SN-IP-Src-Validation-Drop-Limit 110 integer +VENDORATTR 8164 SN-QoS-Class-Conversational-PHB 111 integer +VENDORATTR 8164 SN-QoS-Class-Streaming-PHB 112 integer +VENDORATTR 8164 SN-QoS-Class-Background-PHB 113 integer +VENDORATTR 8164 SN-QoS-Class-Interactive-1-PHB 114 integer +VENDORATTR 8164 SN-QoS-Class-Interactive-2-PHB 115 integer +VENDORATTR 8164 SN-QoS-Class-Interactive-3-PHB 116 integer +VENDORATTR 8164 SN-Visiting-Profile 117 integer +VENDORATTR 8164 SN-Roaming-Profile 118 integer +VENDORATTR 8164 SN-Home-Behavior 119 integer +VENDORATTR 8164 SN-Visiting-Behavior 120 integer +VENDORATTR 8164 SN-Roaming-Behavior 121 integer +VENDORATTR 8164 SN-Internal-SM-Index 122 integer +VENDORATTR 8164 SN-Mediation-Enabled 123 integer +VENDORATTR 8164 SN-IPv6-Sec-Pool 124 string +VENDORATTR 8164 SN-IPv6-Sec-Prefix 125 octets +VENDORATTR 8164 SN-IPv6-DNS-Proxy 126 integer +VENDORATTR 8164 SN-Subscriber-Nexthop-Address 127 integer +VENDORATTR 8164 SN-Prepaid 128 integer +VENDORATTR 8164 SN-Prepaid-Preference 129 integer +VENDORATTR 8164 SN-PPP-Always-On-Vse 130 integer +VENDORATTR 8164 SN-Voice-Push-List-Name 131 string +VENDORATTR 8164 SN-Unclassify-List-Name 132 string +VENDORATTR 8164 SN-Subscriber-No-Interims 133 integer +VENDORATTR 8164 SN-Permit-User-Mcast-PDUs 134 integer +VENDORATTR 8164 SN-Prepaid-Final-Duration-Alg 135 integer +VENDORATTR 8164 SN-IPv6-Min-Link-MTU 136 integer +VENDORATTR 8164 SN-Charging-VPN-Name 137 string +VENDORATTR 8164 SN-Chrg-Char-Selection-Mode 138 integer +VENDORATTR 8164 SN-Cause-For-Rec-Closing 139 integer +VENDORATTR 8164 SN-Change-Condition 140 integer +VENDORATTR 8164 SN-Dynamic-Addr-Alloc-Ind-Flag 141 octets +VENDORATTR 8164 SN-Ntk-Initiated-Ctx-Ind-Flag 142 octets +VENDORATTR 8164 SN-Ntk-Session-Disconnect-Flag 143 integer +VENDORATTR 8164 SN-Enable-QoS-Renegotiation 144 integer +VENDORATTR 8164 SN-QoS-Renegotiation-Timeout 145 integer +VENDORATTR 8164 SN-QoS-Negotiated 147 string +VENDORATTR 8164 SN-Mediation-No-Interims 146 integer +VENDORATTR 8164 SN-Primary-NBNS-Server 148 ipaddr +VENDORATTR 8164 SN-Secondary-NBNS-Server 149 ipaddr +VENDORATTR 8164 SN-IP-Header-Compression 150 integer +VENDORATTR 8164 SN-Mode 151 integer +#VENDORATTR 8164 SN-ROHC-Mode 151 integer +VENDORATTR 8164 SN-Assigned-VLAN-ID 152 short +VENDORATTR 8164 SN-Direction 153 integer +VENDORATTR 8164 SN-MIP-HA-Assignment-Table 154 string +VENDORATTR 8164 SN-Tun-Addr-Policy 156 integer +VENDORATTR 8164 SN-DHCP-Lease-Expiry-Policy 157 integer +VENDORATTR 8164 SN-Subscriber-Template-Name 158 string +VENDORATTR 8164 SN-Subs-IMSA-Service-Name 159 string +VENDORATTR 8164 SN-Traffic-Group 161 integer +VENDORATTR 8164 SN-Rad-APN-Name 162 octets +VENDORATTR 8164 SN-MIP-Send-Ancid 163 integer +VENDORATTR 8164 SN-MIP-Send-Imsi 164 integer +VENDORATTR 8164 SN-MIP-Dual-Anchor 165 integer +VENDORATTR 8164 SN-MIP-ANCID 166 octets +VENDORATTR 8164 SN-IMS-AM-Address 167 ipaddr +VENDORATTR 8164 SN-IMS-AM-Domain-Name 168 octets +VENDORATTR 8164 SN-Service-Address 169 ipaddr +VENDORATTR 8164 SN-PDIF-MIP-Required 170 integer +VENDORATTR 8164 SN-FMC-Location 171 octets +VENDORATTR 8164 SN-PDIF-MIP-Release-TIA 172 integer +VENDORATTR 8164 SN-PDIF-MIP-Simple-IP-Fallback 173 integer +VENDORATTR 8164 SN-Tunnel-Gn 174 integer +VENDORATTR 8164 SN-MIP-Reg-Lifetime-Realm 175 integer +VENDORATTR 8164 SN-Ecs-Data-Volume 176 octets +VENDORATTR 8164 SN-QoS-Traffic-Policy 177 octets +VENDORATTR 8164 SN-ANID 178 octets +VENDORATTR 8164 SN-PPP-Reneg-Disc 187 integer +VENDORATTR 8164 SN-MIP-Send-Correlation-Info 188 integer +VENDORATTR 8164 SN-PDSN-Correlation-Id 189 octets +VENDORATTR 8164 SN-PDSN-NAS-Id 190 string +VENDORATTR 8164 SN-PDSN-NAS-IP-Address 191 ipaddr +VENDORATTR 8164 SN-Subscriber-Acct-Mode 192 integer +VENDORATTR 8164 SN-IP-In-Plcy-Grp 193 string +VENDORATTR 8164 SN-IP-Out-Plcy-Grp 194 string +VENDORATTR 8164 SN-IP-Source-Violate-No-Acct 196 integer +VENDORATTR 8164 SN-Firewall-Enabled 198 integer +VENDORATTR 8164 SNA-PPP-Unfr-data-In-Oct 200 integer +VENDORATTR 8164 SNA-PPP-Unfr-data-Out-Oct 201 integer +VENDORATTR 8164 SNA-PPP-Unfr-Data-In-Gig 202 integer +VENDORATTR 8164 SNA-PPP-Unfr-Data-Out-Gig 203 integer +VENDORATTR 8164 SN-Admin-Expiry 204 integer +VENDORATTR 8164 SNA-Input-Gigawords 206 integer +VENDORATTR 8164 SNA-Output-Gigawords 207 integer +VENDORATTR 8164 SN-DNS-Proxy-Intercept-List 214 string +VENDORATTR 8164 SN-Subscriber-Class 219 integer +VENDORATTR 8164 SN-CFPolicy-ID 220 integer +VENDORATTR 8164 SN-Subs-VJ-Slotid-Cmp-Neg-Mode 221 integer +VENDORATTR 8164 SN-Primary-DCCA-Peer 223 string +VENDORATTR 8164 SN-Secondary-DCCA-Peer 224 string +VENDORATTR 8164 SN-Subs-Acc-Flow-Traffic-Valid 225 integer +VENDORATTR 8164 SN-Acct-Input-Packets-Dropped 226 integer +VENDORATTR 8164 SN-Acct-Output-Packets-Dropped 227 integer +VENDORATTR 8164 SN-Acct-Input-Octets-Dropped 228 integer64 +VENDORATTR 8164 SN-Acct-Output-Octets-Dropped 229 integer64 +VENDORATTR 8164 SN-Acct-Input-Giga-Dropped 230 integer +VENDORATTR 8164 SN-Acct-Output-Giga-Dropped 231 integer +VENDORATTR 8164 SN-Overload-Disc-Connect-Time 233 integer +VENDORATTR 8164 SN-Overload-Disconnect 235 integer +VENDORATTR 8164 SN-Radius-Returned-Username 236 integer +VENDORATTR 8164 SN-ROHC-Profile-Name 238 string +VENDORATTR 8164 SN-Firewall-Policy 239 octets +VENDORATTR 8164 SN-Transparent-Data 247 octets +VENDORATTR 8164 SN-MS-ISDN 248 octets +VENDORATTR 8164 SN-Routing-Area-Id 249 string +VENDORATTR 8164 SN-Rulebase 250 string +VENDORATTR 8164 SN-Call-Id 251 integer +VENDORATTR 8164 SN-IMSI 252 octets +VENDORATTR 8164 SN-Long-Duration-Notification 253 integer +VENDORATTR 8164 SN-SIP-Method 254 integer +VENDORATTR 8164 SN-Event 255 string +VENDORATTR 8164 SN-Role-Of-Node 256 integer +VENDORATTR 8164 SN-Session-Id 257 string +VENDORATTR 8164 SN-SIP-Request-Time-Stamp 258 string +VENDORATTR 8164 SN-SIP-Response-Time-Stamp 259 string +VENDORATTR 8164 SN-IMS-Charging-Identifier 260 string +VENDORATTR 8164 SN-Originating-IOI 261 string +VENDORATTR 8164 SN-Terminating-IOI 262 string +VENDORATTR 8164 SN-SDP-Session-Description 263 string +VENDORATTR 8164 SN-GGSN-Address 264 ipaddr +VENDORATTR 8164 SN-Sec-IP-Pool-Name 265 string +VENDORATTR 8164 SN-Authorised-Qos 266 string +VENDORATTR 8164 SN-Cause-Code 267 integer +VENDORATTR 8164 SN-Node-Functionality 268 integer +VENDORATTR 8164 SN-Is-Unregistered-Subscriber 269 string +VENDORATTR 8164 SN-Content-Type 270 string +VENDORATTR 8164 SN-Content-Length 271 string +VENDORATTR 8164 SN-Content-Disposition 272 string +VENDORATTR 8164 SN-CSCF-Rf-SDP-Media-Components 273 octets +VENDORATTR 8164 SN-ROHC-Flow-Marking-Mode 274 integer +# Attribute 275 has three clashing values. +# VENDORATTR 8164 SN-Inactivity-Time 275 integer +VENDORATTR 8164 SN-CSCF-App-Server-Info 275 octets +VENDORATTR 8164 SN-ISC-Template-Name 276 string +VENDORATTR 8164 SN-CF-Forward-Unconditional 277 string +VENDORATTR 8164 SN-CF-Forward-No-Answer 278 string +VENDORATTR 8164 SN-CF-Forward-Busy-Line 279 string +VENDORATTR 8164 SN-CF-Forward-Not-Regd 280 string +VENDORATTR 8164 SN-CF-Follow-Me 281 string +VENDORATTR 8164 SN-CF-CId-Display 282 integer +VENDORATTR 8164 SN-CF-CId-Display-Blocked 283 integer +VENDORATTR 8164 SN-CF-Call-Waiting 284 integer +VENDORATTR 8164 SN-CF-Call-Transfer 285 integer +VENDORATTR 8164 SN-Cscf-Subscriber-Ip-Address 287 ipaddr +VENDORATTR 8164 SN-Software-Version 288 string +VENDORATTR 8164 SN-Max-Sec-Contexts-Per-Subs 290 integer +VENDORATTR 8164 SN-CF-Call-Local 291 integer +VENDORATTR 8164 SN-CF-Call-LongDistance 292 integer +VENDORATTR 8164 SN-CF-Call-International 293 integer +VENDORATTR 8164 SN-CF-Call-Premium 294 integer +VENDORATTR 8164 SN-CR-International-Cid 295 integer +VENDORATTR 8164 SN-CR-LongDistance-Cid 296 integer +VENDORATTR 8164 SN-NAT-IP-Address 297 ipaddr +VENDORATTR 8164 SN-CF-Call-RoamingInternatnl 298 integer +VENDORATTR 8164 SN-PDG-TTG-Required 299 integer +VENDORATTR 8164 SN-Bandwidth-Policy 300 string +VENDORATTR 8164 SN-Acs-Credit-Control-Group 301 string +VENDORATTR 8164 SN-CBB-Policy 302 string +VENDORATTR 8164 SN-QOS-HLR-Profile 303 octets +VENDORATTR 8164 SN-Fast-Reauth-Username 304 octets +VENDORATTR 8164 SN-Pseudonym-Username 305 octets +VENDORATTR 8164 SN-WiMAX-Auth-Only 306 integer +VENDORATTR 8164 SN-TrafficSelector-Class 307 integer +VENDORATTR 8164 SN-DHCP-Options 309 octets +VENDORATTR 8164 SN-Handoff-Indicator 310 integer + +VENDORATTR 8164 SNA-PPP-Ctrl-Input-Octets 1001 integer +VENDORATTR 8164 SNA-PPP-Ctrl-Output-Octets 1002 integer +VENDORATTR 8164 SNA-PPP-Ctrl-Input-Packets 1003 integer +VENDORATTR 8164 SNA-PPP-Ctrl-Output-Packets 1004 integer +VENDORATTR 8164 SNA-PPP-Framed-Input-Octets 1005 integer +VENDORATTR 8164 SNA-PPP-Framed-Output-Octets 1006 integer +VENDORATTR 8164 SNA-PPP-Discards-Input 1007 integer +VENDORATTR 8164 SNA-PPP-Discards-Output 1008 integer +VENDORATTR 8164 SNA-PPP-Errors-Input 1009 integer +VENDORATTR 8164 SNA-PPP-Errors-Output 1010 integer +VENDORATTR 8164 SNA-PPP-Bad-Addr 1011 integer +VENDORATTR 8164 SNA-PPP-Bad-Ctrl 1012 integer +VENDORATTR 8164 SNA-PPP-Packet-Too-Long 1013 integer +VENDORATTR 8164 SNA-PPP-Bad-FCS 1014 integer +VENDORATTR 8164 SNA-PPP-Echo-Req-Input 1015 integer +VENDORATTR 8164 SNA-PPP-Echo-Req-Output 1016 integer +VENDORATTR 8164 SNA-PPP-Echo-Rsp-Input 1017 integer +VENDORATTR 8164 SNA-PPP-Echo-Rsp-Output 1018 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-Total 1019 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-Acc-Reg 1020 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-Acc-Dereg 1021 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-Msg-Auth-Fail 1022 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-Mis-ID 1023 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-Badly-Formed 1024 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-VID-Unsupported 1025 integer +VENDORATTR 8164 SNA-RPRRQ-Rcvd-T-Bit-Not-Set 1026 integer +VENDORATTR 8164 SNA-RPRAK-Rcvd-Total 1027 integer +VENDORATTR 8164 SNA-RPRAK-Rcvd-Acc-Ack 1028 integer +VENDORATTR 8164 SNA-RPRAK-Rcvd-Msg-Auth-Fail 1029 integer +VENDORATTR 8164 SNA-RPRAK-Rcvd-Mis-ID 1030 integer +VENDORATTR 8164 SNA-RP-Reg-Reply-Sent-Total 1031 integer +VENDORATTR 8164 SNA-RP-Reg-Reply-Sent-Acc-Reg 1032 integer +VENDORATTR 8164 SNA-RP-Reg-Reply-Sent-Acc-Dereg 1033 integer +VENDORATTR 8164 SNA-RP-Reg-Reply-Sent-Bad-Req 1034 integer +VENDORATTR 8164 SNA-RP-Reg-Reply-Sent-Denied 1035 integer +VENDORATTR 8164 SNA-RP-Reg-Reply-Sent-Mis-ID 1036 integer +VENDORATTR 8164 SNA-RP-Reg-Reply-Sent-Send-Err 1037 integer +VENDORATTR 8164 SNA-RP-Reg-Upd-Sent 1038 integer +VENDORATTR 8164 SNA-RP-Reg-Upd-Re-Sent 1039 integer +VENDORATTR 8164 SNA-RP-Reg-Upd-Send-Err 1040 integer + +VENDORATTR 8164 SN-Proxy-MIPV6 65530 integer + +VALUE SN-Disconnect-Reason Not-Defined 0 +VALUE SN-Disconnect-Reason Admin-Disconnect 1 +VALUE SN-Disconnect-Reason Remote-Disconnect 2 +VALUE SN-Disconnect-Reason Local-Disconnect 3 +VALUE SN-Disconnect-Reason Disc-No-Resource 4 +VALUE SN-Disconnect-Reason Disc-Excd-Service-Limit 5 +VALUE SN-Disconnect-Reason PPP-LCP-Neg-Failed 6 +VALUE SN-Disconnect-Reason PPP-LCP-No-Response 7 +VALUE SN-Disconnect-Reason PPP-LCP-Loopback 8 +VALUE SN-Disconnect-Reason PPP-LCP-Max-Retry 9 +VALUE SN-Disconnect-Reason PPP-Echo-Failed 10 +VALUE SN-Disconnect-Reason PPP-Auth-Failed 11 +VALUE SN-Disconnect-Reason PPP-Auth-Failed-No-AAA-Resp 12 +VALUE SN-Disconnect-Reason PPP-Auth-No-Response 13 +VALUE SN-Disconnect-Reason PPP-Auth-Max-Retry 14 +VALUE SN-Disconnect-Reason Invalid-AAA-Attr 15 +VALUE SN-Disconnect-Reason Failed-User-Filter 16 +VALUE SN-Disconnect-Reason Failed-Provide-Service 17 +VALUE SN-Disconnect-Reason Invalid-IP-Address-AAA 18 +VALUE SN-Disconnect-Reason Invalid-IP-Pool-AAA 19 +VALUE SN-Disconnect-Reason PPP-IPCP-Neg-Failed 20 +VALUE SN-Disconnect-Reason PPP-IPCP-No-Response 21 +VALUE SN-Disconnect-Reason PPP-IPCP-Max-Retry 22 +VALUE SN-Disconnect-Reason PPP-No-Rem-IP-Address 23 +VALUE SN-Disconnect-Reason Inactivity-Timeout 24 +VALUE SN-Disconnect-Reason Session-Timeout 25 +VALUE SN-Disconnect-Reason Max-Data-Excd 26 +VALUE SN-Disconnect-Reason Invalid-IP-Source-Address 27 +VALUE SN-Disconnect-Reason MSID-Auth-Failed 28 +VALUE SN-Disconnect-Reason MSID-Auth-Fauiled-No-AAA-Resp 29 +VALUE SN-Disconnect-Reason A11-Max-Retry 30 +VALUE SN-Disconnect-Reason A11-Lifetime-Expired 31 +VALUE SN-Disconnect-Reason A11-Message-Integrity-Failure 32 +VALUE SN-Disconnect-Reason PPP-lcp-remote-disc 33 +VALUE SN-Disconnect-Reason Session-setup-timeout 34 +VALUE SN-Disconnect-Reason PPP-keepalive-failure 35 +VALUE SN-Disconnect-Reason Flow-add-failed 36 +VALUE SN-Disconnect-Reason Call-type-detection-failed 37 +VALUE SN-Disconnect-Reason Wrong-ipcp-params 38 +VALUE SN-Disconnect-Reason MIP-remote-dereg 39 +VALUE SN-Disconnect-Reason MIP-lifetime-expiry 40 +VALUE SN-Disconnect-Reason MIP-proto-error 41 +VALUE SN-Disconnect-Reason MIP-auth-failure 42 +VALUE SN-Disconnect-Reason MIP-reg-timeout 43 +VALUE SN-Disconnect-Reason Invalid-dest-context 44 +VALUE SN-Disconnect-Reason Source-context-removed 45 +VALUE SN-Disconnect-Reason Destination-context-removed 46 +VALUE SN-Disconnect-Reason Req-service-addr-unavailable 47 +VALUE SN-Disconnect-Reason Demux-mgr-failed 48 +VALUE SN-Disconnect-Reason Internal-error 49 +VALUE SN-Disconnect-Reason AAA-context-removed 50 +VALUE SN-Disconnect-Reason invalid-service-type 51 +VALUE SN-Disconnect-Reason mip-relay-req-failed 52 +VALUE SN-Disconnect-Reason mip-rcvd-relay-failure 53 +VALUE SN-Disconnect-Reason ppp-restart-inter-pdsn-handoff 54 +VALUE SN-Disconnect-Reason gre-key-mismatch 55 +VALUE SN-Disconnect-Reason invalid_tunnel_context 56 +VALUE SN-Disconnect-Reason no_peer_lns_address 57 +VALUE SN-Disconnect-Reason failed_tunnel_connect 58 +VALUE SN-Disconnect-Reason l2tp-tunnel-disconnect-remote 59 +VALUE SN-Disconnect-Reason l2tp-tunnel-timeout 60 +VALUE SN-Disconnect-Reason l2tp-protocol-error-remote 61 +VALUE SN-Disconnect-Reason l2tp-protocol-error-local 62 +VALUE SN-Disconnect-Reason l2tp-auth-failed-remote 63 +VALUE SN-Disconnect-Reason l2tp-auth-failed-local 64 +VALUE SN-Disconnect-Reason l2tp-try-another-lns-from-remote 65 +VALUE SN-Disconnect-Reason l2tp-no-resource-local 66 +VALUE SN-Disconnect-Reason l2tp-no-resource-remote 67 +VALUE SN-Disconnect-Reason l2tp-tunnel-disconnect-local 68 +VALUE SN-Disconnect-Reason l2tp-admin-disconnect_remote 69 +VALUE SN-Disconnect-Reason l2tpmgr-reached-max-capacity 70 +VALUE SN-Disconnect-Reason MIP-reg-revocation 71 +VALUE SN-Disconnect-Reason path-failure 72 +VALUE SN-Disconnect-Reason dhcp-relay-ip-validation-failed 73 +VALUE SN-Disconnect-Reason gtp-unknown-pdp-addr-or-pdp-type 74 +VALUE SN-Disconnect-Reason gtp-all-dynamic-pdp-addr-occupied 75 +VALUE SN-Disconnect-Reason gtp-no-memory-is-available 76 +VALUE SN-Disconnect-Reason dhcp-relay-static-ip-addr-not-allowed 77 +VALUE SN-Disconnect-Reason dhcp-no-ip-addr-allocated 78 +VALUE SN-Disconnect-Reason dhcp-ip-addr-allocation-tmr-exp 79 +VALUE SN-Disconnect-Reason dhcp-ip-validation-failed 80 +VALUE SN-Disconnect-Reason dhcp-static-addr-not-allowed 81 +VALUE SN-Disconnect-Reason dhcp-ip-addr-not-available-at-present 82 +VALUE SN-Disconnect-Reason dhcp-lease-expired 83 +VALUE SN-Disconnect-Reason lpool-ip-validation-failed 84 +VALUE SN-Disconnect-Reason lpool-static-ip-addr-not-allowed 85 +VALUE SN-Disconnect-Reason static-ip-validation-failed 86 +VALUE SN-Disconnect-Reason static-ip-addr-not-present 87 +VALUE SN-Disconnect-Reason static-ip-addr-not-allowed 88 +VALUE SN-Disconnect-Reason radius-ip-validation-failed 89 +VALUE SN-Disconnect-Reason radius-ip-addr-not-provided 90 +VALUE SN-Disconnect-Reason invalid-ip-addr-from-sgsn 91 +VALUE SN-Disconnect-Reason no-more-sessions-in-aaa 92 +VALUE SN-Disconnect-Reason ggsn-aaa-auth-req-failed 93 +VALUE SN-Disconnect-Reason conflict-in-ip-addr-assignment 94 +VALUE SN-Disconnect-Reason apn-removed 95 +VALUE SN-Disconnect-Reason credits-used-bytes-in 96 +VALUE SN-Disconnect-Reason credits-used-bytes-out 97 +VALUE SN-Disconnect-Reason credits-used-bytes-total 98 +VALUE SN-Disconnect-Reason prepaid-failed 99 +VALUE SN-Disconnect-Reason l2tp-ipsec-tunnel-failure 100 +VALUE SN-Disconnect-Reason l2tp-ipsec-tunnel-disconnected 101 +VALUE SN-Disconnect-Reason mip-ipsec-sa-inactive 102 +VALUE SN-Disconnect-Reason Long-Duration-Timeout 103 +VALUE SN-Disconnect-Reason proxy-mip-registration-failure 104 +VALUE SN-Disconnect-Reason proxy-mip-binding-update 105 +VALUE SN-Disconnect-Reason proxy-mip-inter-pdsn-handoff-require-ip-address 106 +VALUE SN-Disconnect-Reason proxy-mip-inter-pdsn-handoff-mismatched-address 107 +VALUE SN-Disconnect-Reason Local-purge 108 +VALUE SN-Disconnect-Reason failed-update-handoff 109 +VALUE SN-Disconnect-Reason closed_rp-handoff-complete 110 +VALUE SN-Disconnect-Reason closed_rp-duplicate-session 111 +VALUE SN-Disconnect-Reason closed_rp-handoff-session-not-found 112 +VALUE SN-Disconnect-Reason closed_rp-handoff-failed 113 +VALUE SN-Disconnect-Reason pcf-monitor-keep-alive-failed 114 +VALUE SN-Disconnect-Reason call-internal-reject 115 +VALUE SN-Disconnect-Reason call-restarted 116 +VALUE SN-Disconnect-Reason a11-mn-ha-auth-failure 117 +VALUE SN-Disconnect-Reason a11-badly-formed 118 +VALUE SN-Disconnect-Reason a11-t-bit-not-set 119 +VALUE SN-Disconnect-Reason a11-unsupported-vendor-id 120 +VALUE SN-Disconnect-Reason a11-mismatched-id 121 +VALUE SN-Disconnect-Reason mipha-dup-home-addr-req 122 +VALUE SN-Disconnect-Reason mipha-dup-imsi-session 123 +VALUE SN-Disconnect-Reason ha-unreachable 124 +VALUE SN-Disconnect-Reason IPSP-addr-in-use 125 +VALUE SN-Disconnect-Reason mipfa-dup-home-addr-req 126 +VALUE SN-Disconnect-Reason mipha-ip-pool-busyout 127 +VALUE SN-Disconnect-Reason inter-pdsn-handoff 128 +VALUE SN-Disconnect-Reason active-to-dormant 129 +VALUE SN-Disconnect-Reason ppp-renegotiation 130 +VALUE SN-Disconnect-Reason active-start-param-change 131 +VALUE SN-Disconnect-Reason tarrif-boundary 132 +VALUE SN-Disconnect-Reason a11-disconnect-no-active-stop 133 +VALUE SN-Disconnect-Reason nw-reachability-failed-reject 134 +VALUE SN-Disconnect-Reason nw-reachability-failed-redirect 135 +VALUE SN-Disconnect-Reason container-max-exceeded 136 +VALUE SN-Disconnect-Reason static-addr-not-allowed-in-apn 137 +VALUE SN-Disconnect-Reason static-addr-required-by-radius 138 +VALUE SN-Disconnect-Reason static-addr-not-allowed-by-radius 139 +VALUE SN-Disconnect-Reason mip-registration-dropped 140 +VALUE SN-Disconnect-Reason counter-rollover 141 +VALUE SN-Disconnect-Reason constructed-nai-auth-fail 142 +VALUE SN-Disconnect-Reason inter-pdsn-service-optimize-handoff-disabled 143 +VALUE SN-Disconnect-Reason gre-key-collision 144 +VALUE SN-Disconnect-Reason inter-pdsn-service-optimize-handoff-triggered 145 +VALUE SN-Disconnect-Reason intra-pdsn-handoff-triggered 146 +VALUE SN-Disconnect-Reason delayed-abort-timer-expired 147 +VALUE SN-Disconnect-Reason Admin-AAA-disconnect 148 +VALUE SN-Disconnect-Reason Admin-AAA-disconnect-handoff 149 +VALUE SN-Disconnect-Reason PPP-IPV6CP-Neg-Failed 150 +VALUE SN-Disconnect-Reason PPP-IPV6CP-No-Response 151 +VALUE SN-Disconnect-Reason PPP-IPV6CP-Max-Retry 152 +VALUE SN-Disconnect-Reason PPP-Restart-Invalid-source-IPV4-address 153 +VALUE SN-Disconnect-Reason a11-disconnect-handoff-no-active-stop 154 +VALUE SN-Disconnect-Reason call-restarted-inter-pdsn-handoff 155 +VALUE SN-Disconnect-Reason call-restarted-ppp-termination 156 +VALUE SN-Disconnect-Reason mipfa-resource-conflict 157 +VALUE SN-Disconnect-Reason failed-auth-with-charging-svc 158 +VALUE SN-Disconnect-Reason mipha-dup-imsi-session-purge 159 +VALUE SN-Disconnect-Reason mipha-rev-pending-newcall 160 +VALUE SN-Disconnect-Reason volume-quota-reached 161 +VALUE SN-Disconnect-Reason duration-quota-reached 162 +VALUE SN-Disconnect-Reason gtp-user-authentication-failed 163 +VALUE SN-Disconnect-Reason MIP-reg-revocation-no-lcp-term 164 +VALUE SN-Disconnect-Reason MIP-private-ip-no-rev-tunnel 165 +VALUE SN-Disconnect-Reason Invalid-Prepaid-AAA-attr-in-auth-response 166 +VALUE SN-Disconnect-Reason mipha-prepaid-reset-dynamic-newcall 167 +VALUE SN-Disconnect-Reason gre-flow-control-timeout 168 +VALUE SN-Disconnect-Reason mip-paaa-bc-query-not-found 169 +VALUE SN-Disconnect-Reason mipha-dynamic-ip-addr-not-available 170 +VALUE SN-Disconnect-Reason a11-mismatched-id-on-handoff 171 +VALUE SN-Disconnect-Reason a11-badly-formed-on-handoff 172 +VALUE SN-Disconnect-Reason a11-unsupported-vendor-id-on-handoff 173 +VALUE SN-Disconnect-Reason a11-t-bit-not-set-on-handoff 174 +VALUE SN-Disconnect-Reason MIP-reg-revocation-i-bit-on 175 +VALUE SN-Disconnect-Reason A11-RRQ-Deny-Max-Count 176 +VALUE SN-Disconnect-Reason Dormant-Transition-During-Session-Setup 177 +VALUE SN-Disconnect-Reason PPP-Rem-Reneg-Disc-Always-Cfg 178 +VALUE SN-Disconnect-Reason PPP-Rem-Reneg-Disc-NAI-MSID-Mismatch 179 +VALUE SN-Disconnect-Reason mipha-subscriber-ipsec-tunnel-down 180 +VALUE SN-Disconnect-Reason mipha-subscriber-ipsec-tunnel-failed 181 +VALUE SN-Disconnect-Reason mipha-subscriber-ipsecmgr-death 182 +VALUE SN-Disconnect-Reason flow-is-deactivated 183 +VALUE SN-Disconnect-Reason ecsv2-license-exceeded 184 +VALUE SN-Disconnect-Reason IPSG-Auth-Failed 185 +VALUE SN-Disconnect-Reason driver-initiated 186 +VALUE SN-Disconnect-Reason ims-authorization-failed 187 +VALUE SN-Disconnect-Reason service-instance-released 188 +VALUE SN-Disconnect-Reason flow-released 189 +VALUE SN-Disconnect-Reason ppp-renego-no-ha-addr 190 +VALUE SN-Disconnect-Reason intra-pdsn-handoff 191 +VALUE SN-Disconnect-Reason overload-disconnect 192 +VALUE SN-Disconnect-Reason css-service-not-found 193 +VALUE SN-Disconnect-Reason Auth-Failed 194 +VALUE SN-Disconnect-Reason dhcp-client-sent-release 195 +VALUE SN-Disconnect-Reason dhcp-client-sent-nak 196 +VALUE SN-Disconnect-Reason msid-dhcp-chaddr-mismatch 197 +VALUE SN-Disconnect-Reason link-broken 198 +VALUE SN-Disconnect-Reason prog-end-timeout 199 +VALUE SN-Disconnect-Reason qos-update-wait-timeout 200 +VALUE SN-Disconnect-Reason css-synch-cause 201 +VALUE SN-Disconnect-Reason Gtp-context-replacement 202 +VALUE SN-Disconnect-Reason PDIF-Auth-failed 203 +VALUE SN-Disconnect-Reason l2tp-unknown-apn 204 +VALUE SN-Disconnect-Reason ms-unexpected-network-reentry 205 +VALUE SN-Disconnect-Reason r6-invalid-nai 206 +VALUE SN-Disconnect-Reason eap-max-retry-reached 207 +VALUE SN-Disconnect-Reason vbm-hoa-session-disconnected 208 +VALUE SN-Disconnect-Reason vbm-voa-session-disconnected 209 +VALUE SN-Disconnect-Reason in-acl-disconnect-on-violation 210 +VALUE SN-Disconnect-Reason eap-msk-lifetime-expiry 211 +VALUE SN-Disconnect-Reason eap-msk-lifetime-too-low 212 +VALUE SN-Disconnect-Reason mipfa-inter-tech-handoff 213 +VALUE SN-Disconnect-Reason r6-max-retry-reached 214 +VALUE SN-Disconnect-Reason r6-nwexit-recd 215 +VALUE SN-Disconnect-Reason r6-dereg-req-recd 216 +VALUE SN-Disconnect-Reason r6-remote-failure 217 +VALUE SN-Disconnect-Reason r6r4-protocol-errors 218 +VALUE SN-Disconnect-Reason wimax-qos-invalid-aaa-attr 219 +VALUE SN-Disconnect-Reason npu-gre-flows-not-available 220 +VALUE SN-Disconnect-Reason r4-max-retry-reached 221 +VALUE SN-Disconnect-Reason r4-nwexit-recd 222 +VALUE SN-Disconnect-Reason r4-dereg-req-recd 223 +VALUE SN-Disconnect-Reason r4-remote-failure 224 +VALUE SN-Disconnect-Reason ims-authorization-revoked 225 +VALUE SN-Disconnect-Reason ims-authorization-released 226 +VALUE SN-Disconnect-Reason ims-auth-decision-invalid 227 +VALUE SN-Disconnect-Reason mac-addr-validation-failed 228 +VALUE SN-Disconnect-Reason excessive-wimax-pd-flows-cfgd 229 +VALUE SN-Disconnect-Reason sgsn-canc-loc-sub 230 +VALUE SN-Disconnect-Reason sgsn-canc-loc-upd 231 +VALUE SN-Disconnect-Reason sgsn-mnr-exp 232 +VALUE SN-Disconnect-Reason sgsn-ident-fail 233 +VALUE SN-Disconnect-Reason sgsn-sec-fail 234 +VALUE SN-Disconnect-Reason sgsn-auth-fail 235 +VALUE SN-Disconnect-Reason sgsn-glu-fail 236 +VALUE SN-Disconnect-Reason sgsn-imp-det 237 +VALUE SN-Disconnect-Reason sgsn-smgr-purge 238 +VALUE SN-Disconnect-Reason sgsn-subs-handed-to-peer 239 +VALUE SN-Disconnect-Reason sgsn-dns-fail-inter-rau 240 +VALUE SN-Disconnect-Reason sgsn-cont-rsp-fail 241 +VALUE SN-Disconnect-Reason sgsn-hlr-not-found-for-imsi 242 +VALUE SN-Disconnect-Reason sgsn-ms-init-det 243 +VALUE SN-Disconnect-Reason sgsn-opr-policy-fail 244 +VALUE SN-Disconnect-Reason sgsn-duplicate-context 245 +VALUE SN-Disconnect-Reason hss-profile-update-failed 246 +VALUE SN-Disconnect-Reason sgsn-no-pdp-activated 247 +VALUE SN-Disconnect-Reason asnpc-idle-mode-timeout 248 +VALUE SN-Disconnect-Reason asnpc-idle-mode-exit 249 +VALUE SN-Disconnect-Reason asnpc-idle-mode-auth-failed 250 +VALUE SN-Disconnect-Reason asngw-invalid-qos-configuration 251 +VALUE SN-Disconnect-Reason sgsn-dsd-allgprswithdrawn 252 +VALUE SN-Disconnect-Reason r6-pmk-key-change-failure 253 +VALUE SN-Disconnect-Reason sgsn-illegal-me 254 +VALUE SN-Disconnect-Reason sess-termination-timeout 255 +VALUE SN-Disconnect-Reason sgsn-sai-fail 256 +VALUE SN-Disconnect-Reason sgsn-rnc-removal 257 +VALUE SN-Disconnect-Reason sgsn-rai-removal 258 +VALUE SN-Disconnect-Reason sgsn-init-deact 259 +VALUE SN-Disconnect-Reason ggsn-init-deact 260 +VALUE SN-Disconnect-Reason hlr-init-deact 261 +VALUE SN-Disconnect-Reason ms-init-deact 262 +VALUE SN-Disconnect-Reason sgsn-detach-init-deact 263 +VALUE SN-Disconnect-Reason sgsn-rab-rel-init-deact 264 +VALUE SN-Disconnect-Reason sgsn-iu-rel-init-deact 265 +VALUE SN-Disconnect-Reason sgsn-gtpu-path-failure 266 +VALUE SN-Disconnect-Reason sgsn-gtpc-path-failure 267 +VALUE SN-Disconnect-Reason sgsn-local-handoff-init-deact 268 +VALUE SN-Disconnect-Reason sgsn-remote-handoff-init-deact 269 +VALUE SN-Disconnect-Reason sgsn-gtp-no-resource 270 +VALUE SN-Disconnect-Reason sgsn-rnc-no-resource 271 +VALUE SN-Disconnect-Reason sgsn-odb-init-deact 272 +VALUE SN-Disconnect-Reason sgsn-invalid-ti 273 +VALUE SN-Disconnect-Reason sgsn-ggsn-ctxt-non-existent 274 +VALUE SN-Disconnect-Reason sgsn-apn-restrict-vio 275 +VALUE SN-Disconnect-Reason sgsn-regular-deact 276 +VALUE SN-Disconnect-Reason sgsn-abnormal-deact 277 +VALUE SN-Disconnect-Reason sgsn-actv-rejected-by-peer 278 +VALUE SN-Disconnect-Reason sgsn-err-ind 279 +VALUE SN-Disconnect-Reason asngw-non-anchor-prohibited 280 +VALUE SN-Disconnect-Reason asngw-im-entry-prohibited 281 +VALUE SN-Disconnect-Reason session-idle-mode-entry-timeout 282 +VALUE SN-Disconnect-Reason session-idle-mode-exit-timeout 283 +VALUE SN-Disconnect-Reason asnpc-ms-power-down-nwexit 284 +VALUE SN-Disconnect-Reason asnpc-r4-nwexit-recd 285 +VALUE SN-Disconnect-Reason sgsn-iu-rel-before-call-est 286 +VALUE SN-Disconnect-Reason ikev2-subscriber-ipsecmgr-death 287 +VALUE SN-Disconnect-Reason All-dynamic-pool-addr-occupied 288 +VALUE SN-Disconnect-Reason mip6ha-ip-addr-not-available 289 +VALUE SN-Disconnect-Reason bs-monitor-keep-alive-failed 290 +VALUE SN-Disconnect-Reason sgsn-att-in-reg-state 291 +VALUE SN-Disconnect-Reason sgsn-inbound-srns-in-reg-state 292 +VALUE SN-Disconnect-Reason dt-ggsn-tun-reestablish-failed 293 +VALUE SN-Disconnect-Reason sgsn-unknown-pdp 294 +VALUE SN-Disconnect-Reason sgsn-pdp-auth-failure 295 +VALUE SN-Disconnect-Reason sgsn-duplicate-pdp-context 296 +VALUE SN-Disconnect-Reason sgsn-no-rsp-from-ggsn 297 +VALUE SN-Disconnect-Reason sgsn-failure-rsp-from-ggsn 298 +VALUE SN-Disconnect-Reason sgsn-apn-unknown 299 +VALUE SN-Disconnect-Reason sgsn-serv-req-init-deact 300 +VALUE SN-Disconnect-Reason sgsn-attach-on-attch-init-abort 301 +VALUE SN-Disconnect-Reason sgsn-iu-rel-in-israu-init-abort 302 +VALUE SN-Disconnect-Reason sgsn-smgr-init-abort 303 +VALUE SN-Disconnect-Reason sgsn-mm-ctx-cleanup-init-abort 304 +VALUE SN-Disconnect-Reason sgsn-unknown-abort 305 +VALUE SN-Disconnect-Reason sgsn-guard-timeout-abort 306 +VALUE SN-Disconnect-Reason vpn-bounce-dhcpip-validate-req 307 +VALUE SN-Disconnect-Reason mipv6-id-mismatch 308 +VALUE SN-Disconnect-Reason aaa-session-id-not-found 309 +VALUE SN-Disconnect-Reason x1-max-retry-reached 310 +VALUE SN-Disconnect-Reason x1-nwexit-recd 311 +VALUE SN-Disconnect-Reason x1-dereg-req-recd 312 +VALUE SN-Disconnect-Reason x1-remote-failure 313 +VALUE SN-Disconnect-Reason x1x2-protocol-errors 314 +VALUE SN-Disconnect-Reason x2-max-retry-reached 315 +VALUE SN-Disconnect-Reason x2-nwexit-recd 316 +VALUE SN-Disconnect-Reason x2-dereg-req-recd 317 +VALUE SN-Disconnect-Reason x2-remote-failure 318 +VALUE SN-Disconnect-Reason x1-pmk-key-change-failure 319 +VALUE SN-Disconnect-Reason sa-rekeying-failure 320 +VALUE SN-Disconnect-Reason sess-sleep-mode-entry-timeout 321 +VALUE SN-Disconnect-Reason phsgw-non-anchor-prohibited 322 +VALUE SN-Disconnect-Reason asnpc-pc-relocation-failed 323 +VALUE SN-Disconnect-Reason asnpc-pc-relocation 324 +VALUE SN-Disconnect-Reason auth_policy_mismatch 325 +VALUE SN-Disconnect-Reason sa-lifetime-expiry 326 +VALUE SN-Disconnect-Reason asnpc-del-ms-entry-recd 327 +VALUE SN-Disconnect-Reason phspc-sleep-mode-timeout 328 +VALUE SN-Disconnect-Reason phspc-sleep-mode-exit 329 +VALUE SN-Disconnect-Reason phspc-sleep-mode-auth-failed 330 +VALUE SN-Disconnect-Reason phspc-ms-power-down-nwexit 331 +VALUE SN-Disconnect-Reason phspc-x2-nwexit-recd 332 +VALUE SN-Disconnect-Reason invalid-nat-config 333 +VALUE SN-Disconnect-Reason asngw-tid-entry-not-found 334 +VALUE SN-Disconnect-Reason No-NAT-IP-Address 335 +VALUE SN-Disconnect-Reason excessive-phs-pd-flows-cfgd 336 +VALUE SN-Disconnect-Reason phsgw-invalid-qos-configuration 337 +VALUE SN-Disconnect-Reason Interim-Update 338 +VALUE SN-Disconnect-Reason sgsn-attach-abrt-rad-lost 339 +VALUE SN-Disconnect-Reason sgsn-inbnd-irau-abrt-rad-lost 340 +VALUE SN-Disconnect-Reason ike-keepalive-failed 341 +VALUE SN-Disconnect-Reason sgsn-attach-abrt-ms-suspend 342 +VALUE SN-Disconnect-Reason sgsn-inbnd-irau-abrt-ms-suspend 343 +VALUE SN-Disconnect-Reason duplicate-session-detected 344 +VALUE SN-Disconnect-Reason sgsn-xid-response-failure 345 +VALUE SN-Disconnect-Reason sgsn-nse-cleanup 346 +VALUE SN-Disconnect-Reason sgsn-gtp-req-failure 347 +VALUE SN-Disconnect-Reason sgsn-imsi-mismatch 348 +VALUE SN-Disconnect-Reason sgsn-bvc-blocked 349 +VALUE SN-Disconnect-Reason sgsn-attach-on-inbound-irau 350 +VALUE SN-Disconnect-Reason sgsn-attach-on-outbound-irau 351 +VALUE SN-Disconnect-Reason sgsn-incorrect-state 352 +VALUE SN-Disconnect-Reason sgsn-t3350-expiry 353 +VALUE SN-Disconnect-Reason sgsn-page-timer-expiry 354 +VALUE SN-Disconnect-Reason phsgw-tid-entry-not-found 355 +VALUE SN-Disconnect-Reason phspc-del-ms-entry-recd 356 +VALUE SN-Disconnect-Reason sgsn-pdp-local-purge 357 +VALUE SN-Disconnect-Reason phs-invalid-nai 358 +VALUE SN-Disconnect-Reason session-sleep-mode-exit-timeout 359 +VALUE SN-Disconnect-Reason sgsn-offload-phase2 360 +VALUE SN-Disconnect-Reason phs-thirdparty-auth-fail 361 +VALUE SN-Disconnect-Reason remote-error-notify 362 +VALUE SN-Disconnect-Reason no-response 363 +VALUE SN-Disconnect-Reason PDG-Auth-failed 364 +VALUE SN-Disconnect-Reason mme-s1AP-send-failed 365 +VALUE SN-Disconnect-Reason mme-egtpc-connection-failed 366 +VALUE SN-Disconnect-Reason mme-egtpc-create-session-failed 367 +VALUE SN-Disconnect-Reason mme-authentication-failure 368 +VALUE SN-Disconnect-Reason mme-ue-detach 369 +VALUE SN-Disconnect-Reason mme-mme-detach 370 +VALUE SN-Disconnect-Reason mme-hss-detach 371 +VALUE SN-Disconnect-Reason mme-pgw-detach 372 +VALUE SN-Disconnect-Reason mme-sub-validation-failure 373 +VALUE SN-Disconnect-Reason mme-hss-connection-failure 374 +VALUE SN-Disconnect-Reason mme-hss-user-unknown 375 +VALUE SN-Disconnect-Reason dhcp-lease-mismatch-detected 376 +VALUE SN-Disconnect-Reason nemo-link-layer-down 377 +VALUE SN-Disconnect-Reason eapol-max-retry-reached 378 +VALUE SN-Disconnect-Reason sgsn-offload-phase3 379 +VALUE SN-Disconnect-Reason mbms-bearer-service-disconnect 380 +VALUE SN-Disconnect-Reason disconnect-on-violation-odb 381 +VALUE SN-Disconnect-Reason disconn-on-violation-focs-odb 382 +VALUE SN-Disconnect-Reason CSCF-REG-Admin-disconnect 383 +VALUE SN-Disconnect-Reason CSCF-REG-User-disconnect 384 +VALUE SN-Disconnect-Reason CSCF-REG-Inactivity-timeout 385 +VALUE SN-Disconnect-Reason CSCF-REG-Network-disconnect 386 +VALUE SN-Disconnect-Reason CSCF-Call-Admin-disconnect 387 +VALUE SN-Disconnect-Reason CSCF-CAll-User-disconnect 388 +VALUE SN-Disconnect-Reason CSCF-CALL-Local-disconnect 389 +VALUE SN-Disconnect-Reason CSCF-CALL-No-Resource 390 +VALUE SN-Disconnect-Reason CSCF-CALL-No-Respone 391 +VALUE SN-Disconnect-Reason CSCF-CALL-Inactivity-timeout 392 +VALUE SN-Disconnect-Reason CSCF-CALL-Media-Auth-Failure 393 +VALUE SN-Disconnect-Reason CSCF-REG-No-Resource 394 +VALUE SN-Disconnect-Reason ms-unexpected-idle-mode-entry 395 +VALUE SN-Disconnect-Reason re-auth-failed 396 +VALUE SN-Disconnect-Reason sgsn-pdp-nse-cleanup 397 +VALUE SN-Disconnect-Reason sgsn-mm-ctxt-gtp-no-resource 398 +VALUE SN-Disconnect-Reason unknown-apn 399 +VALUE SN-Disconnect-Reason gtpc-path-failure 400 +VALUE SN-Disconnect-Reason gtpu-path-failure 401 +VALUE SN-Disconnect-Reason actv-rejected-by-sgsn 402 +VALUE SN-Disconnect-Reason sgsn-pdp-gprs-camel-release 403 +VALUE SN-Disconnect-Reason sgsn-check-imei-failure 404 +VALUE SN-Disconnect-Reason sgsn-sndcp-init-deact 405 +VALUE SN-Disconnect-Reason sgsn-pdp-inactivity-timeout 406 +VALUE SN-Disconnect-Reason fw-and-nat-policy-removed 407 +VALUE SN-Disconnect-Reason FNG-Auth-failed 408 +VALUE SN-Disconnect-Reason ha-stale-key-disconnect 409 +VALUE SN-Disconnect-Reason No-IPV6-address-for-subscriber 410 +VALUE SN-Disconnect-Reason prefix-registration-failure 411 +VALUE SN-Disconnect-Reason disconnect-from-policy-server 412 +VALUE SN-Disconnect-Reason s6b-auth-failed 413 +VALUE SN-Disconnect-Reason gtpc-err-ind 414 +VALUE SN-Disconnect-Reason gtpu-err-ind 415 +VALUE SN-Disconnect-Reason invalid-pdn-type 416 +VALUE SN-Disconnect-Reason aaa-auth-req-failed 417 +VALUE SN-Disconnect-Reason apn-denied-no-subscription 418 +VALUE SN-Disconnect-Reason Sgw-context-replacement 419 +VALUE SN-Disconnect-Reason dup-static-ip-addr-req 420 +VALUE SN-Disconnect-Reason apn-restrict-violation 421 +VALUE SN-Disconnect-Reason invalid-wapn 422 +VALUE SN-Disconnect-Reason ttg-nsapi-allocation-failed 423 +VALUE SN-Disconnect-Reason mandatory-gtp-ie-missing 424 +VALUE SN-Disconnect-Reason aaa-unreachable 425 +VALUE SN-Disconnect-Reason asngw-service-flow-deletion 426 +VALUE SN-Disconnect-Reason CT-PMIP-RRQ-NVSE-Value-Change 427 +VALUE SN-Disconnect-Reason tcp-read-failed 428 +VALUE SN-Disconnect-Reason tcp-write-failed 429 +VALUE SN-Disconnect-Reason ssl-handshake-failed 430 +VALUE SN-Disconnect-Reason ssl-renegotiate-failed 431 +VALUE SN-Disconnect-Reason ssl-bad-message 432 +VALUE SN-Disconnect-Reason ssl-alert-received 433 +VALUE SN-Disconnect-Reason ssl-disconnect 434 +VALUE SN-Disconnect-Reason ssl-migration 435 +VALUE SN-Disconnect-Reason sgsn-ard-failure 436 +VALUE SN-Disconnect-Reason sgsn-camel-release 437 +VALUE SN-Disconnect-Reason Hotlining-Status-Change 447 +VALUE SN-Disconnect-Reason ggsn-no-rsp-from-sgsn 448 +VALUE SN-Disconnect-Reason diameter-protocol-error 449 +VALUE SN-Disconnect-Reason diameter-request-timeout 450 +VALUE SN-Disconnect-Reason operator-policy 451 +VALUE SN-Disconnect-Reason spr-connection-timeout 452 +VALUE SN-Disconnect-Reason mipha-dup-wimax-session 453 +VALUE SN-Disconnect-Reason invalid-version-attr 454 +VALUE SN-Disconnect-Reason sgsn-zone-code-failure 455 + +VALUE SN-PPP-Progress-Code Not-Defined 0 +VALUE SN-PPP-Progress-Code Call-Lcp-Down 1 +VALUE SN-PPP-Progress-Code Call-Disconnecting 2 +VALUE SN-PPP-Progress-Code Call-PPP-Renegotiating 3 +VALUE SN-PPP-Progress-Code Call-Lcp-Down_1 10 +VALUE SN-PPP-Progress-Code Call-Arrived 11 +VALUE SN-PPP-Progress-Code Call-Lcp-Up 12 +VALUE SN-PPP-Progress-Code Call-Authenticating 13 +VALUE SN-PPP-Progress-Code Call-Authenticated 14 +VALUE SN-PPP-Progress-Code Call-Ipcp-Up 15 +VALUE SN-PPP-Progress-Code Call-Simple-IP-Connected 16 +VALUE SN-PPP-Progress-Code Call-Mobile-IP-Connected 17 +#VALUE SN-PPP-Progress-Code Call-Disconnecting 20 +#VALUE SN-PPP-Progress-Code Call-PPP-Renegotiating 30 +#VALUE SN-PPP-Progress-Code Call-Arrived 40 +VALUE SN-PPP-Progress-Code Call-Pdg-Tcp-Connecting 45 +VALUE SN-PPP-Progress-Code Call-Pdg-Ssl-Connecting 46 +#VALUE SN-PPP-Progress-Code Call-Lcp-Up 50 +#VALUE SN-PPP-Progress-Code Call-Authenticating 60 +VALUE SN-PPP-Progress-Code Call-Bcmcs-Authenticating 70 +#VALUE SN-PPP-Progress-Code Call-Authenticated 80 +VALUE SN-PPP-Progress-Code Call-Tunnel-Connecting 85 +#VALUE SN-PPP-Progress-Code Call-Ipcp-Up 90 +VALUE SN-PPP-Progress-Code Call-Imsa-Authorizing 95 +VALUE SN-PPP-Progress-Code Call-Imsa-Authorized 97 +VALUE SN-PPP-Progress-Code Call-MBMS-UE-Authorizing 98 +VALUE SN-PPP-Progress-Code Call-MBMS-Bearer-Authorizing 99 +#VALUE SN-PPP-Progress-Code Call-Simple-IP-Connected 100 +#VALUE SN-PPP-Progress-Code Call-Mobile-IP-Connected 110 +VALUE SN-PPP-Progress-Code Call-Tunnel-Connected 115 +VALUE SN-PPP-Progress-Code Call-Pdp-Type-IP-Connected 120 +VALUE SN-PPP-Progress-Code Call-Pdp-Type-IPv6-Connected 125 +VALUE SN-PPP-Progress-Code Call-Pdp-Type-PPP-Connected 130 +VALUE SN-PPP-Progress-Code Call-Proxy-Mobile-IP-Connected 140 +VALUE SN-PPP-Progress-Code Call-Pdg-Connected 142 +VALUE SN-PPP-Progress-Code Call-Pdg-Ssl-Connected 141 +VALUE SN-PPP-Progress-Code Call-Pdg-Connected 142 +VALUE SN-PPP-Progress-Code Call-Pdg-Connected 142 +VALUE SN-PPP-Progress-Code Call-Ipsg-Connected 145 +VALUE SN-PPP-Progress-Code Call-Bcmcs-Connected 150 +VALUE SN-PPP-Progress-Code Call-MBMS-UE-Connected 155 +VALUE SN-PPP-Progress-Code Call-MBMS-Bearer-Connected 156 +VALUE SN-PPP-Progress-Code Call-Pending-Addr-From-DHCP 160 +VALUE SN-PPP-Progress-Code Call-Got-Addr-From-DHCP 170 +VALUE SN-PPP-Progress-Code Call-HA-IPSEC-Tunnel-Connecting 180 +VALUE SN-PPP-Progress-Code Call-HA-IPSEC-Connected 190 +VALUE SN-PPP-Progress-Code Call-ASN-Non-Anchor-Connected 200 +VALUE SN-PPP-Progress-Code Call-ASNPC-Connected 210 +VALUE SN-PPP-Progress-Code Call-Mobile-IPv6-Connected 220 +VALUE SN-PPP-Progress-Code Call-PMIPv6-Connected 221 +VALUE SN-PPP-Progress-Code Call-PHSPC-Connected 230 +VALUE SN-PPP-Progress-Code Call-GTP-IPv4-Connected 235 +VALUE SN-PPP-Progress-Code Call-GTP-IPv6-Connected 236 +VALUE SN-PPP-Progress-Code Call-GTP-IPv4-IPv6-Connected 237 +VALUE SN-PPP-Progress-Code Call-SGW-Connected 245 +VALUE SN-PPP-Progress-Code Call-MME-Attached 246 +VALUE SN-PPP-Progress-Code Call-Auth-Only-Connected 247 + +VALUE SN-PPP-Data-Compression None 0 +VALUE SN-PPP-Data-Compression Stac-LZS 1 +VALUE SN-PPP-Data-Compression MPPC 2 +VALUE SN-PPP-Data-Compression MPCC-Stac-LZS 3 +VALUE SN-PPP-Data-Compression Deflate 4 +VALUE SN-PPP-Data-Compression Deflate-Stac-LZS 5 +VALUE SN-PPP-Data-Compression Deflate-MPCC 6 +VALUE SN-PPP-Data-Compression Deflate-MPCC-Stac-LZS 7 + +VALUE SN-IP-Source-Validation No 0 +VALUE SN-IP-Source-Validation Yes 1 + +VALUE SN-Subscriber-Permission None 0 +VALUE SN-Subscriber-Permission Simple-IP 1 +VALUE SN-Subscriber-Permission Mobile-IP 2 +VALUE SN-Subscriber-Permission Simple-IP-Mobile-IP 3 +VALUE SN-Subscriber-Permission HA-Mobile-IP 4 +VALUE SN-Subscriber-Permission Simple-IP-HA-Mobile-IP 5 +VALUE SN-Subscriber-Permission Mobile-IP-HA-Mobile-IP 6 +VALUE SN-Subscriber-Permission All 7 +VALUE SN-Subscriber-Permission GGSN-PDP-TYPE-IP 8 +VALUE SN-Subscriber-Permission GGSN-PDP-TYPE-PPP 16 +VALUE SN-Subscriber-Permission Network-Mobility 32 +VALUE SN-Subscriber-Permission FA-HA-NEMO 38 +VALUE SN-Subscriber-Permission All_New 63 + +VALUE SN-Admin-Permission None 0 +VALUE SN-Admin-Permission CLI 1 +VALUE SN-Admin-Permission FTP 2 +VALUE SN-Admin-Permission CLI-FTP 3 +VALUE SN-Admin-Permission Intercept 4 +VALUE SN-Admin-Permission CLI-Intercept 5 +VALUE SN-Admin-Permission CLI-Intercept-FTP 7 +VALUE SN-Admin-Permission ECS 8 +VALUE SN-Admin-Permission CLI-ECS 9 +VALUE SN-Admin-Permission CLI-FTP-ECS 11 +VALUE SN-Admin-Permission CLI-Intercept-ECS 13 +VALUE SN-Admin-Permission CLI-Intercept-FTP-ECS 15 + +VALUE SN-Simultaneous-SIP-MIP Disabled 0 +VALUE SN-Simultaneous-SIP-MIP Enabled 1 + +VALUE SN-PPP-Data-Compression-Mode Normal 0 +VALUE SN-PPP-Data-Compression-Mode Stateless 1 + +VALUE SN-Access-link-IP-Frag Normal 0 +VALUE SN-Access-link-IP-Frag DF-Ignore 1 +VALUE SN-Access-link-IP-Frag DF-Fragment-ICMP-Notify 2 + +VALUE SN-Cause-Code Normal_End_Of_Session 0 +VALUE SN-Cause-Code Successful_Transaction 1 +VALUE SN-Cause-Code End_Of_Subscriber_Dialog 2 +VALUE SN-Cause-Code 3XX_Redirection 3 +VALUE SN-Cause-Code 4XX_Request_Failure 4 +VALUE SN-Cause-Code 5XX_Server_Failure 5 +VALUE SN-Cause-Code 6XX_Global_Failure 6 +VALUE SN-Cause-Code Unspecified_Error 7 +VALUE SN-Cause-Code Unsuccessful_Session_Setup 8 +VALUE SN-Cause-Code Internal_Error 9 + +VALUE SN-CF-Call-International Disable 0 +VALUE SN-CF-Call-International Enable 1 + +VALUE SN-CF-Call-Local Disable 0 +VALUE SN-CF-Call-Local Enable 1 + +VALUE SN-CF-Call-LongDistance Disable 0 +VALUE SN-CF-Call-LongDistance Enable 1 + +VALUE SN-CF-Call-Premium Disable 0 +VALUE SN-CF-Call-Premium Enable 1 + +VALUE SN-CF-Call-RoamingInternatnl Disable 0 +VALUE SN-CF-Call-RoamingInternatnl Enable 1 + +VALUE SN-CF-Call-Transfer Disable 0 +VALUE SN-CF-Call-Transfer Enable 1 + +VALUE SN-CF-Call-Waiting Disable 0 +VALUE SN-CF-Call-Waiting Enable 1 + +VALUE SN-CF-CId-Display Disable 0 +VALUE SN-CF-CId-Display Enable 1 + +VALUE SN-CF-CId-Display-Blocked Disable 0 +VALUE SN-CF-CId-Display-Blocked Enable 1 + +VALUE SN-Change-Condition QOSCHANGE 0 +VALUE SN-Change-Condition TARIFFTIMECHANGE 1 +VALUE SN-Change-Condition SGSNCHANGE 500 + +VALUE SN-Data-Tunnel-Ignore-DF-Bit Disabled 0 +VALUE SN-Data-Tunnel-Ignore-DF-Bit Enabled 1 + +VALUE SN-DHCP-Lease-Expiry-Policy auto-renew 0 +VALUE SN-DHCP-Lease-Expiry-Policy disconnect 1 + +VALUE SN-Direction Any 0 +VALUE SN-Direction Uplink 1 +VALUE SN-Direction Downlink 2 + +VALUE SN-DNS-Proxy-Use-Subscr-Addr Disable 0 +VALUE SN-DNS-Proxy-Use-Subscr-Addr Enable 1 + +VALUE SN-Enable-QoS-Renegotiation No 0 +VALUE SN-Enable-QoS-Renegotiation Yes 1 + +VALUE SN-Firewall-Enabled False 0 +VALUE SN-Firewall-Enabled True 1 + +VALUE SN-GGSN-MIP-Required Disabled 0 +VALUE SN-GGSN-MIP-Required Enabled 1 + +VALUE SN-Gratuitous-ARP-Aggressive Disabled 0 +VALUE SN-Gratuitous-ARP-Aggressive Enabled 1 + +VALUE SN-GTP-Version GTP_VERSION_0 0 +VALUE SN-GTP-Version GTP_VERSION_1 1 +VALUE SN-GTP-Version GTP_VERSION_2 2 + +VALUE SN-HA-Send-DNS-ADDRESS Disabled 0 +VALUE SN-HA-Send-DNS-ADDRESS Enabled 1 + +VALUE SN-Handoff-Indicator Active-Handoff 0 +VALUE SN-Handoff-Indicator Location-Update 1 + +VALUE SN-Home-Sub-Use-GGSN Deny 0 +VALUE SN-Home-Sub-Use-GGSN Accept 1 + +VALUE SN-IP-Alloc-Method Alloc_Local_Pool 0 +VALUE SN-IP-Alloc-Method Alloc_Dhcp_Client 1 +VALUE SN-IP-Alloc-Method Alloc_Radius 2 +VALUE SN-IP-Alloc-Method Alloc_No_Alloc 3 +VALUE SN-IP-Alloc-Method Alloc_Static_Alloc 4 +VALUE SN-IP-Alloc-Method Alloc_Dhcp_Relay 5 + +VALUE SN-IP-Header-Compression None 0 +VALUE SN-IP-Header-Compression VJ 1 +VALUE SN-IP-Header-Compression ROHC 2 +VALUE SN-IP-Header-Compression VJ_ROHC 3 + +VALUE SN-IP-Hide-Service-Address Disabled 0 +VALUE SN-IP-Hide-Service-Address Enabled 1 + +VALUE SN-IP-Source-Violate-No-Acct Disabled 0 +VALUE SN-IP-Source-Violate-No-Acct Enabled 1 + +VALUE SN-IPv6-DNS-Proxy Disabled 0 +VALUE SN-IPv6-DNS-Proxy Enabled 1 + +VALUE SN-IPv6-Egress-Filtering Disabled 0 +VALUE SN-IPv6-Egress-Filtering Enabled 1 + +VALUE SN-L3-to-L2-Tun-Addr-Policy no-local-alloc-validate 0 +VALUE SN-L3-to-L2-Tun-Addr-Policy local-alloc 1 +VALUE SN-L3-to-L2-Tun-Addr-Policy local-alloc-validate 2 + +VALUE SN-Long-Duration-Action Detection 1 +VALUE SN-Long-Duration-Action Disconnection 2 +VALUE SN-Long-Duration-Action Dormant-Only-Disconnection 3 +VALUE SN-Long-Duration-Action Dormant-Only-Detection 4 + +VALUE SN-Long-Duration-Notification Suppress 0 +VALUE SN-Long-Duration-Notification Send 1 + +VALUE SN-Mediation-Acct-Rsp-Action None 0 +VALUE SN-Mediation-Acct-Rsp-Action No_Early_PDUs 1 +VALUE SN-Mediation-Acct-Rsp-Action Delay_GTP_Response 2 + +VALUE SN-Mediation-Enabled Disabled 0 +VALUE SN-Mediation-Enabled Enabled 1 + +VALUE SN-Mediation-No-Interims Disabled 0 +VALUE SN-Mediation-No-Interims Enabled 1 + +VALUE SN-MIP-AAA-Assign-Addr Disabled 0 +VALUE SN-MIP-AAA-Assign-Addr Enabled 1 + +VALUE SN-MIP-Dual-Anchor Disabled 0 +VALUE SN-MIP-Dual-Anchor Enabled 1 + +VALUE SN-MIP-Match-AAA-Assign-Addr Disabled 0 +VALUE SN-MIP-Match-AAA-Assign-Addr Enabled 1 + +VALUE SN-MIP-Send-Ancid Disabled 0 +VALUE SN-MIP-Send-Ancid Enabled 1 + +VALUE SN-MIP-Send-Correlation-Info Disabled 0 +# In StarOS 8.3 and later, supported value 1 is NVSE_Starent, before 8.3 it is Enabled. +VALUE SN-MIP-Send-Correlation-Info EnabledOrNVSE_Starent 1 +VALUE SN-MIP-Send-Correlation-Info NVSE_CUstom1 2 +VALUE SN-MIP-Send-Correlation-Info NVSE_Custom2 3 + +VALUE SN-MIP-Send-Imsi NoneOrDisabled 0 +VALUE SN-MIP-Send-Imsi Starent_NVSE 1 +VALUE SN-MIP-Send-Imsi NVSE_Custom1 2 +VALUE SN-MIP-Send-Imsi NVSE_Custom2 3 + +VALUE SN-MIP-Send-Term-Verification Disabled 0 +VALUE SN-MIP-Send-Term-Verification EnabledOrNVSE_Custom1 1 +VALUE SN-MIP-Send-Term-Verification NVSE_Custom2 2 +VALUE SN-MIP-Send-Term-Verification NVSE_Starent 3 + +VALUE SN-MN-HA-Hash-Algorithm MD5 1 +VALUE SN-MN-HA-Hash-Algorithm MD5_RFC2002 2 +VALUE SN-MN-HA-Hash-Algorithm HMAC_MD5 3 + +VALUE SN-Mode Reliable 0 +VALUE SN-Mode Optimistic 1 +VALUE SN-Mode Unidirectional 2 + +VALUE SN-Node-Functionality S-CSCF 0 +VALUE SN-Node-Functionality P-CSCF 1 +VALUE SN-Node-Functionality I-CSCF 2 + +VALUE SN-NPU-Qos-Priority Best_Effort 0 +VALUE SN-NPU-Qos-Priority Bronze 1 +VALUE SN-NPU-Qos-Priority Silver 2 +VALUE SN-NPU-Qos-Priority Gold 3 +VALUE SN-NPU-Qos-Priority From_DSCP 4 + +VALUE SN-Ntk-Session-Disconnect-Flag Session-Disconnect 1 + +VALUE SN-PDG-TTG-Required No 0 +VALUE SN-PDG-TTG-Required Yes 1 + +VALUE SN-PDIF-MIP-Release-TIA No 0 +VALUE SN-PDIF-MIP-Release-TIA Yes 1 + +VALUE SN-PDIF-MIP-Required No 0 +VALUE SN-PDIF-MIP-Required Yes 1 + +VALUE SN-PDIF-MIP-Simple-IP-Fallback No 0 +VALUE SN-PDIF-MIP-Simple-IP-Fallback Yes 1 + +VALUE SN-PDSN-Handoff-Req-IP-Addr Disabled 0 +VALUE SN-PDSN-Handoff-Req-IP-Addr Enabled 1 + +VALUE SN-Permit-User-Mcast-PDUs Disabled 0 +VALUE SN-Permit-User-Mcast-PDUs Enabled 1 + +VALUE SN-PPP-Accept-Peer-v6Ifid Disabled 0 +VALUE SN-PPP-Accept-Peer-v6Ifid Enabled 1 + +VALUE SN-PPP-Always-On-Vse Disabled 0 +VALUE SN-PPP-Always-On-Vse Enabled 1 + +VALUE SN-PPP-NW-Layer-IPv4 Disabled 0 +VALUE SN-PPP-NW-Layer-IPv4 Enabled 1 +VALUE SN-PPP-NW-Layer-IPv4 Passive 2 + +VALUE SN-PPP-NW-Layer-IPv6 Disabled 0 +VALUE SN-PPP-NW-Layer-IPv6 Enabled 1 +VALUE SN-PPP-NW-Layer-IPv6 Passive 2 + +VALUE SN-PPP-Reneg-Disc Never 0 +VALUE SN-PPP-Reneg-Disc Always 1 +VALUE SN-PPP-Reneg-Disc NAI_Prefix_MSID_Mismatch 2 + +VALUE SN-Prepaid no_prepaid 0 +VALUE SN-Prepaid custom_prepaid 1 +VALUE SN-Prepaid standard_prepaid 2 +VALUE SN-Prepaid wimax_prepaid 4 + +VALUE SN-Prepaid-Compressed-Count Uncompressed 0 +VALUE SN-Prepaid-Compressed-Count Compressed 1 + +VALUE SN-Prepaid-Final-Duration-Alg current_time 0 +VALUE SN-Prepaid-Final-Duration-Alg last-user-layer3-activity-time 1 +VALUE SN-Prepaid-Final-Duration-Alg last-airlink-activity-time 2 +VALUE SN-Prepaid-Final-Duration-Alg last-airlink-activity-time-last-reported 3 + +VALUE SN-Prepaid-Preference prepaid_duration 0 +VALUE SN-Prepaid-Preference prepaid_volume 1 + +VALUE SN-Proxy-MIP Disabled 0 +VALUE SN-Proxy-MIP Enabled 1 + +VALUE SN-Proxy-MIPV6 Disabled 0 +VALUE SN-Proxy-MIPV6 Enabled 1 + +VALUE SN-QoS-Class-Background-PHB Best-Effort 0 +VALUE SN-QoS-Class-Background-PHB Pass-Through 1 +VALUE SN-QoS-Class-Background-PHB AF11 10 +VALUE SN-QoS-Class-Background-PHB AF12 12 +VALUE SN-QoS-Class-Background-PHB AF13 14 +VALUE SN-QoS-Class-Background-PHB AF21 18 +VALUE SN-QoS-Class-Background-PHB AF22 20 +VALUE SN-QoS-Class-Background-PHB AF23 22 +VALUE SN-QoS-Class-Background-PHB AF31 26 +VALUE SN-QoS-Class-Background-PHB AF32 28 +VALUE SN-QoS-Class-Background-PHB AF33 30 +VALUE SN-QoS-Class-Background-PHB AF41 34 +VALUE SN-QoS-Class-Background-PHB AF42 36 +VALUE SN-QoS-Class-Background-PHB AF43 38 +VALUE SN-QoS-Class-Background-PHB EF 46 + +VALUE SN-QoS-Class-Conversational-PHB Best-Effort 0 +VALUE SN-QoS-Class-Conversational-PHB Pass-Through 1 +VALUE SN-QoS-Class-Conversational-PHB AF11 10 +VALUE SN-QoS-Class-Conversational-PHB AF12 12 +VALUE SN-QoS-Class-Conversational-PHB AF13 14 +VALUE SN-QoS-Class-Conversational-PHB AF21 18 +VALUE SN-QoS-Class-Conversational-PHB AF22 20 +VALUE SN-QoS-Class-Conversational-PHB AF23 22 +VALUE SN-QoS-Class-Conversational-PHB AF31 26 +VALUE SN-QoS-Class-Conversational-PHB AF32 28 +VALUE SN-QoS-Class-Conversational-PHB AF33 30 +VALUE SN-QoS-Class-Conversational-PHB AF41 34 +VALUE SN-QoS-Class-Conversational-PHB AF42 36 +VALUE SN-QoS-Class-Conversational-PHB AF43 38 +VALUE SN-QoS-Class-Conversational-PHB EF 46 + +VALUE SN-QoS-Class-Interactive-1-PHB Best-Effort 0 +VALUE SN-QoS-Class-Interactive-1-PHB Pass-Through 1 +VALUE SN-QoS-Class-Interactive-1-PHB AF11 10 +VALUE SN-QoS-Class-Interactive-1-PHB AF12 12 +VALUE SN-QoS-Class-Interactive-1-PHB AF13 14 +VALUE SN-QoS-Class-Interactive-1-PHB AF21 18 +VALUE SN-QoS-Class-Interactive-1-PHB AF22 20 +VALUE SN-QoS-Class-Interactive-1-PHB AF23 22 +VALUE SN-QoS-Class-Interactive-1-PHB AF31 26 +VALUE SN-QoS-Class-Interactive-1-PHB AF32 28 +VALUE SN-QoS-Class-Interactive-1-PHB AF33 30 +VALUE SN-QoS-Class-Interactive-1-PHB AF41 34 +VALUE SN-QoS-Class-Interactive-1-PHB AF42 36 +VALUE SN-QoS-Class-Interactive-1-PHB AF43 38 +VALUE SN-QoS-Class-Interactive-1-PHB EF 46 + +VALUE SN-QoS-Class-Interactive-2-PHB Best-Effort 0 +VALUE SN-QoS-Class-Interactive-2-PHB Pass-Through 1 +VALUE SN-QoS-Class-Interactive-2-PHB AF11 10 +VALUE SN-QoS-Class-Interactive-2-PHB AF12 12 +VALUE SN-QoS-Class-Interactive-2-PHB AF13 14 +VALUE SN-QoS-Class-Interactive-2-PHB AF21 18 +VALUE SN-QoS-Class-Interactive-2-PHB AF22 20 +VALUE SN-QoS-Class-Interactive-2-PHB AF23 22 +VALUE SN-QoS-Class-Interactive-2-PHB AF31 26 +VALUE SN-QoS-Class-Interactive-2-PHB AF32 28 +VALUE SN-QoS-Class-Interactive-2-PHB AF33 30 +VALUE SN-QoS-Class-Interactive-2-PHB AF41 34 +VALUE SN-QoS-Class-Interactive-2-PHB AF42 36 +VALUE SN-QoS-Class-Interactive-2-PHB AF43 38 +VALUE SN-QoS-Class-Interactive-2-PHB EF 46 + +VALUE SN-QoS-Class-Interactive-3-PHB Best-Effort 0 +VALUE SN-QoS-Class-Interactive-3-PHB Pass-Through 1 +VALUE SN-QoS-Class-Interactive-3-PHB AF11 10 +VALUE SN-QoS-Class-Interactive-3-PHB AF12 12 +VALUE SN-QoS-Class-Interactive-3-PHB AF13 14 +VALUE SN-QoS-Class-Interactive-3-PHB AF21 18 +VALUE SN-QoS-Class-Interactive-3-PHB AF22 20 +VALUE SN-QoS-Class-Interactive-3-PHB AF23 22 +VALUE SN-QoS-Class-Interactive-3-PHB AF31 26 +VALUE SN-QoS-Class-Interactive-3-PHB AF32 28 +VALUE SN-QoS-Class-Interactive-3-PHB AF33 30 +VALUE SN-QoS-Class-Interactive-3-PHB AF41 34 +VALUE SN-QoS-Class-Interactive-3-PHB AF42 36 +VALUE SN-QoS-Class-Interactive-3-PHB AF43 38 +VALUE SN-QoS-Class-Interactive-3-PHB EF 46 + +VALUE SN-QoS-Class-Streaming-PHB Best-Effort 0 +VALUE SN-QoS-Class-Streaming-PHB Pass-Through 1 +VALUE SN-QoS-Class-Streaming-PHB AF11 10 +VALUE SN-QoS-Class-Streaming-PHB AF12 12 +VALUE SN-QoS-Class-Streaming-PHB AF13 14 +VALUE SN-QoS-Class-Streaming-PHB AF21 18 +VALUE SN-QoS-Class-Streaming-PHB AF22 20 +VALUE SN-QoS-Class-Streaming-PHB AF23 22 +VALUE SN-QoS-Class-Streaming-PHB AF31 26 +VALUE SN-QoS-Class-Streaming-PHB AF32 28 +VALUE SN-QoS-Class-Streaming-PHB AF33 30 +VALUE SN-QoS-Class-Streaming-PHB AF41 34 +VALUE SN-QoS-Class-Streaming-PHB AF42 36 +VALUE SN-QoS-Class-Streaming-PHB AF43 38 +VALUE SN-QoS-Class-Streaming-PHB EF 46 + +VALUE SN-QoS-Tp-Dnlk Disabled 0 +VALUE SN-QoS-Tp-Dnlk Policing 1 +VALUE SN-QoS-Tp-Dnlk Shaping 2 + +VALUE SN-QoS-Tp-Uplk Disabled 0 +VALUE SN-QoS-Tp-Uplk Policing 1 +VALUE SN-QoS-Tp-Uplk Shaping 2 + +VALUE SN-Radius-Returned-Username No 0 +VALUE SN-Radius-Returned-Username Yes 1 + +VALUE SN-Roaming-Sub-Use-GGSN Deny 0 +VALUE SN-Roaming-Sub-Use-GGSN Accept 1 + +VALUE SN-ROHC-Flow-Marking-Mode False 0 +VALUE SN-ROHC-Flow-Marking-Mode True 1 + +VALUE SN-Role-Of-Node ORIGINATING_ROLE 0 +VALUE SN-Role-Of-Node TERMINATING_ROLE 1 + +VALUE SN-Service-Type None 0 +VALUE SN-Service-Type PDSN 1 +VALUE SN-Service-Type Management 2 +VALUE SN-Service-Type HA 3 +VALUE SN-Service-Type GGSN 4 +VALUE SN-Service-Type LNS 5 +VALUE SN-Service-Type IPSG 6 +VALUE SN-Service-Type CSCF 7 +VALUE SN-Service-Type ASNGW 8 +VALUE SN-Service-Type PDIF 9 +VALUE SN-Service-Type STANDALONE_FA 10 +VALUE SN-Service-Type SGSN 11 +VALUE SN-Service-Type PHSGW 12 +VALUE SN-Service-Type PDG 13 +VALUE SN-Service-Type MIPV6HA 14 +VALUE SN-Service-Type PGW 15 +VALUE SN-Service-Type SGW 16 +VALUE SN-Service-Type FNG 17 +VALUE SN-Service-Type OGW 18 +VALUE SN-Service-Type HNBGW 19 +VALUE SN-Service-Type BNG 20 + +VALUE SN-Subs-Acc-Flow-Traffic-Valid Disabled 0 +VALUE SN-Subs-Acc-Flow-Traffic-Valid Enabled 1 + +VALUE SN-Subscriber-Accounting None 0 +VALUE SN-Subscriber-Accounting Radius 1 +VALUE SN-Subscriber-Accounting GTPP 2 + +VALUE SN-Subscriber-Acct-Interim Normal 0 +VALUE SN-Subscriber-Acct-Interim Suppress 1 + +VALUE SN-Subscriber-Acct-Mode flow-based-auxilliary 0 +VALUE SN-Subscriber-Acct-Mode flow-based-all 1 +VALUE SN-Subscriber-Acct-Mode flow-based-none 2 +VALUE SN-Subscriber-Acct-Mode session-based 3 +VALUE SN-Subscriber-Acct-Mode main-a10-only 4 + +VALUE SN-Subscriber-Acct-Rsp-Action None 0 +VALUE SN-Subscriber-Acct-Rsp-Action No_Early_PDUs 1 +VALUE SN-Subscriber-Acct-Rsp-Action Delay_GTP_Response 2 + +VALUE SN-Subscriber-Acct-Start Normal 0 +VALUE SN-Subscriber-Acct-Start Suppress 1 + +VALUE SN-Subscriber-Acct-Stop Normal 0 +VALUE SN-Subscriber-Acct-Stop Suppress 1 + +VALUE SN-Subscriber-Class Normal_Subscriber 0 +VALUE SN-Subscriber-Class Ting_100 1 +VALUE SN-Subscriber-Class Ting_500 2 +VALUE SN-Subscriber-Class Ting_Buddy 3 +VALUE SN-Subscriber-Class Ting_Star 4 +VALUE SN-Subscriber-Class Ting_Nolimit_SMS 5 +VALUE SN-Subscriber-Class Kids_Locator 6 +VALUE SN-Subscriber-Class Ting_2000 7 +VALUE SN-Subscriber-Class Handicapped_Welfare 8 +VALUE SN-Subscriber-Class Reserved 9 + +VALUE SN-Subscriber-IP-Hdr-Neg-Mode Force 0 +VALUE SN-Subscriber-IP-Hdr-Neg-Mode Detect 1 + +VALUE SN-Subscriber-IP-TOS-Copy None 0 +VALUE SN-Subscriber-IP-TOS-Copy Access-Tunnel 1 +VALUE SN-Subscriber-IP-TOS-Copy Data-Tunnel 2 +VALUE SN-Subscriber-IP-TOS-Copy Both 3 + +VALUE SN-Subscriber-No-Interims Disabled 0 +VALUE SN-Subscriber-No-Interims Enabled 1 + +VALUE SN-Subs-VJ-Slotid-Cmp-Neg-Mode None 0 +VALUE SN-Subs-VJ-Slotid-Cmp-Neg-Mode Receive 1 +VALUE SN-Subs-VJ-Slotid-Cmp-Neg-Mode Transmit 2 +VALUE SN-Subs-VJ-Slotid-Cmp-Neg-Mode Both 3 + +VALUE SN-Tp-Dnlk-Exceed-Action Transmit 0 +VALUE SN-Tp-Dnlk-Exceed-Action Drop 1 +VALUE SN-Tp-Dnlk-Exceed-Action Lower-IP-Precedence 2 +VALUE SN-Tp-Dnlk-Exceed-Action Buffer 3 +VALUE SN-Tp-Dnlk-Exceed-Action Transmit-On-Buffer-Full 4 + +VALUE SN-Tp-Dnlk-Violate-Action Transmit 0 +VALUE SN-Tp-Dnlk-Violate-Action Drop 1 +VALUE SN-Tp-Dnlk-Violate-Action Lower-IP-Precedence 2 +VALUE SN-Tp-Dnlk-Violate-Action Buffer 3 +VALUE SN-Tp-Dnlk-Violate-Action Transmit-On-Buffer-Full 4 + +VALUE SN-Tp-Uplk-Exceed-Action Transmit 0 +VALUE SN-Tp-Uplk-Exceed-Action Drop 1 +VALUE SN-Tp-Uplk-Exceed-Action Lower-IP-Precedence 2 +VALUE SN-Tp-Uplk-Exceed-Action Buffer 3 +VALUE SN-Tp-Uplk-Exceed-Action Transmit-On-Buffer-Full 4 + +VALUE SN-Tp-Uplk-Violate-Action Transmit 0 +VALUE SN-Tp-Uplk-Violate-Action Drop 1 +VALUE SN-Tp-Uplk-Violate-Action Lower-IP-Precedence 2 +VALUE SN-Tp-Uplk-Violate-Action Buffer 3 +VALUE SN-Tp-Uplk-Violate-Action Transmit-On-Buffer-Full 4 + +VALUE SN-Tun-Addr-Policy no-local-alloc-validate 0 +VALUE SN-Tun-Addr-Policy local-alloc 1 +VALUE SN-Tun-Addr-Policy local-alloc-validate 2 + +VALUE SN-Tunnel-Gn Disabled 0 +VALUE SN-Tunnel-Gn Enabled 1 + +VALUE SN-Tunnel-Load-Balancing random 1 +VALUE SN-Tunnel-Load-Balancing balanced 2 +VALUE SN-Tunnel-Load-Balancing prioritized 3 + +VALUE SN-Visiting-Sub-Use-GGSN Deny 0 +VALUE SN-Visiting-Sub-Use-GGSN Accept 1 + +VALUE SN-WiMAX-Auth-Only Disabled 0 +VALUE SN-WiMAX-Auth-Only Enabled 1 \ No newline at end of file